Skip to content
  1. Nov 27, 2013
  2. Nov 26, 2013
  3. Nov 25, 2013
    • Rene Saarsoo's avatar
      Speed up options testing. · 7e1fe717
      Rene Saarsoo authored
      Reset the defaults every time the Options::Parser#parse method is
      called.  This allows us to re-use the parser which is slow to instantiate.
      
      Some tests still need to re-instatiate the parser every time - move
      these to a separate suite, so only the tests that need it will run
      slower.
      7e1fe717
    • Rene Saarsoo's avatar
      Write most boolean options in --[no-]opt style. · da4eacac
      Rene Saarsoo authored
      Implement full tests for them all.
      da4eacac
    • Rene Saarsoo's avatar
      Add tests for command line options. · 732ccc98
      Rene Saarsoo authored
      Improve NullObject with the ability of values to be Proc's, which
      will be invoked to provide more complicated logic.
      
      Give names for all validators, so we can call them out by name in our
      tests.
      
      Add validator for :processes option.
      732ccc98
    • Rene Saarsoo's avatar
      Create a little DSL for describing options. · 0c5d4eb7
      Rene Saarsoo authored
      Instead of calling optparser.on and opts.attribute directly, call
      option and attribute methods that simply delegate to these objects.
      This will also make it easier to refactor things in the future.
      0c5d4eb7
  4. Nov 22, 2013
  5. Nov 21, 2013