summaryrefslogtreecommitdiff
path: root/test
Commit message (Expand)AuthorAgeFilesLines
* Merge branch 'master' of github.com:injekt/slopLee Jarvis2012-09-191-0/+26
|\
| * fix block-scope of "Slop.new" and other constructors(e.g: Slop.parse), these ...Kenichi Kamiya2012-09-171-0/+26
* | support opts.foo_bar? check falling back on 'foo-bar' optionLee Jarvis2012-09-191-0/+8
|/
* fix block-scope of "Slop::Commands#new" is influenced by arity numberKenichi Kamiya2012-09-171-0/+14
* avoid using #present? when checking for an options present in autocreateLee Jarvis2012-08-241-0/+7
* ensure autocreate arguments are not created as optionsLee Jarvis2012-08-211-0/+1
* Implement basic support for command argumentsKyrylo Silin2012-08-181-3/+9
* Add `Slop::Commands#present?` methodKyrylo Silin2012-08-181-0/+6
* fix 1.9 test warningsLee Jarvis2012-08-141-9/+9
* ensure options are not swallowed when using options with arguments included i...Lee Jarvis2012-08-141-0/+5
* sweep warnings on ruby-1.9.nKenichi Kamiya2012-08-141-0/+2
* add the ability to concat list arguments together as a single valueLee Jarvis2012-07-311-0/+1
* Stop multiple switches from trashing argumentsConrad Irwin2012-05-311-0/+6
* ensure multiple switches respect count increasesLee Jarvis2012-05-291-0/+1
* ensure range 'typecast' allows negative range valuesLee Jarvis2012-05-281-0/+1
* added :as => :count functionalityLee Jarvis2012-05-281-1/+6
* Merge branch 'master' into to_hash_boolean_optionsLee Jarvis2012-05-151-0/+7
|\
| * an explicit test for underscore supportchuck son2012-05-141-0/+7
* | avoid using instance_variable_defined? for checking valueLee Jarvis2012-04-301-1/+1
* | added failing assertion for to_hash boolean optionsLee Jarvis2012-04-301-3/+3
* | Merge branch 'to_hash_take2' of https://github.com/no6v/slop into no6v-to_has...Lee Jarvis2012-04-301-4/+4
|\ \ | |/ |/|
| * fix test for to_hash and get/[]Nobuhiro IMAI2012-02-291-4/+4
* | ensure separator before any options is still being processedLee Jarvis2012-04-241-0/+6
* | ensure separators arent replacing existing separatorsLee Jarvis2012-04-231-1/+2
|/
* ensure opt=arg syntax does not consume following argumentLee Jarvis2012-01-311-0/+7
* fix option terminator parsingLee Jarvis2012-01-301-0/+7
* 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
* | Add strict checks for integer and float argumentsAmon Sha2012-01-271-1/+9
* | ensure --opt=value is being evaluated before multiple switchesLee Jarvis2012-01-271-0/+6
* | ensure tests run green on 1.8.7Lee Jarvis2012-01-271-1/+4
|/
* value_to_range return a range even if the value looks like anLee Jarvis2012-01-231-0/+4
* #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
* tests for gathering global/default command optionsLee Jarvis2012-01-161-0/+12
* more tests for Slop::CommandsLee Jarvis2012-01-161-0/+24
* added basic Slop::Commands API and testsLee Jarvis2012-01-161-0/+24
* added basic Slop::Command testsLee Jarvis2012-01-161-0/+30
* added test for negative integers (#46)Lee Jarvis2012-01-161-0/+6
* overwriting option help textLee Jarvis2012-01-151-9/+15
* ensure help strings are formattedLee Jarvis2012-01-151-0/+11
* 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