summaryrefslogtreecommitdiff
path: root/test/slop_test.rb
Commit message (Expand)AuthorAgeFilesLines
...
* allow dashes to be treated as underscroes to help api method style #51Lee Jarvis2012-01-291-5/+2
* Merge branch 'dash_arg' of https://github.com/eric1234/slop into eric1234-das...Lee Jarvis2012-01-291-1/+11
|\
| * New support_dash option. Will treat --database-name like --database_nameEric Anderson2012-01-261-1/+11
* | ensure --opt=value is being evaluated before multiple switchesLee Jarvis2012-01-271-0/+6
|/
* #each enumerates Slop::Option objectsLee Jarvis2012-01-211-0/+4
* enumerable interface for Slop classLee Jarvis2012-01-211-0/+4
* test for no_options callbackLee Jarvis2012-01-161-0/+8
* added temp_stderr helper method in testsLee Jarvis2012-01-161-6/+12
* added test for :help => trueLee Jarvis2012-01-161-0/+9
* added Slop#separatorLee Jarvis2012-01-161-0/+9
* added test for negative integers (#46)Lee Jarvis2012-01-161-0/+6
* test disabling multiple switchesLee Jarvis2012-01-121-0/+6
* added tests for multiple switchesLee Jarvis2012-01-121-0/+7
* remove unused options from optspec testLee Jarvis2012-01-121-3/+0
* ensure multiple_switches still raise if an unknown option is foundLee Jarvis2012-01-121-0/+1
* ensure we raise InvalidOptionError for invalid optionsLee Jarvis2012-01-121-0/+5
* ensure we tell an option it was autocreatedLee Jarvis2012-01-121-0/+1
* Revert "test for option=value"Lee Jarvis2012-01-121-6/+0
* added optspec parsingLee Jarvis2012-01-121-0/+22
* test for ignoring caseLee Jarvis2012-01-121-0/+10
* test for option=valueLee Jarvis2012-01-121-0/+6
* tests for #present?Lee Jarvis2012-01-121-0/+7
* tests for get/[]Lee Jarvis2012-01-121-0/+8
* added banner setter/getterLee Jarvis2012-01-121-0/+13
* added tests for exception raisingLee Jarvis2012-01-121-0/+15
* added autocreate() method and testsLee Jarvis2012-01-121-0/+8
* added missing() method and testsLee Jarvis2012-01-121-0/+6
* added to_hash() testLee Jarvis2012-01-121-0/+6
* added test for empty callbackLee Jarvis2012-01-121-0/+8
* added tests for parse!Lee Jarvis2012-01-121-1/+4
* added more testsLee Jarvis2012-01-121-2/+22
* ensure block is being evald and added testsLee Jarvis2012-01-121-0/+31
* parse_items should only ever except an arrayLee Jarvis2012-01-061-1/+1
* added autocreated? methodLee Jarvis2012-01-051-0/+1
* have build_option return an instance of Slop::OptionLee Jarvis2011-12-241-8/+11
* ensure --no-foo options return value as falseLee Jarvis2011-12-241-0/+1
* ensure slop options pass to OptionLee Jarvis2011-12-241-8/+8
* ensure items is an array, force this behaviour if notLee Jarvis2011-12-241-0/+6
* added tests for extract_option and yielding non optsLee Jarvis2011-12-241-0/+19
* ensure fetch_option accepts options with prefixed -Lee Jarvis2011-12-241-0/+1
* initial basic pass at public apiLee Jarvis2011-12-231-579/+25
* avoid define_method and caching present?() calls making the Slop objectLee Jarvis2011-11-241-0/+10
* implement respond_to?Lee Jarvis2011-11-241-0/+6
* initial pass at implementing optspec bup.options style parsingLee Jarvis2011-11-021-0/+19
* added Slop#missingLee Jarvis2011-08-031-0/+7
* allow Slop#present? to accept multiple argsLee Jarvis2011-07-291-0/+1
* added :all_accept_arguments config optionsLee Jarvis2011-07-071-0/+12
* added Slop#to_structLee Jarvis2011-07-071-0/+15
* enable :multiple_switches by defaultLee Jarvis2011-07-071-3/+3
* removed deprecated Slop::Options#to_hashLee Jarvis2011-07-071-1/+1