index
:
delta/ruby-gems/slop.git
4.0
Travis-jruby-9.2.0.0
add-changelog-note-about-270
allow-blank-values-with-shortarg-syntax
break-tests
ci-jruby-new
fix/update-ci-matrix
fix/update-jruby
gh-pages
lbriais-feature/add_config_for_underscore_switch
master
next
pedantic-equals
use-jruby-9.2.8.0
v3
v4.4.3
github.com: leejarvis/slop.git
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
test
/
option_test.rb
Commit message (
Expand
)
Author
Age
Files
Lines
*
Tests on Ruby 2.7.0
Juha Ylitalo
2020-01-07
1
-2
/
+2
*
Add config option underscore_flags
lbriais-feature/add_config_for_underscore_switch
Laurent B
2017-05-01
1
-0
/
+4
*
Better handling of option names with multiple words
Tim Rogers
2015-06-13
1
-0
/
+4
*
Add Result#to_hash
Lee Jarvis
2014-11-19
1
-0
/
+10
*
Add Options#to_s help string
Lee Jarvis
2014-11-19
1
-0
/
+14
*
Start of rewrite
Lee Jarvis
2014-11-18
1
-122
/
+0
*
Beginning of Slop 4.0 rewrite
Lee Jarvis
2013-08-29
1
-93
/
+81
*
Slop is now strict by default, and adds --help by default
Lee Jarvis
2013-08-13
1
-4
/
+4
*
fix 1.9 test warnings
Lee Jarvis
2012-08-14
1
-9
/
+9
*
add the ability to concat list arguments together as a single value
Lee Jarvis
2012-07-31
1
-0
/
+1
*
ensure multiple switches respect count increases
Lee Jarvis
2012-05-29
1
-0
/
+1
*
ensure range 'typecast' allows negative range values
Lee Jarvis
2012-05-28
1
-0
/
+1
*
added :as => :count functionality
Lee Jarvis
2012-05-28
1
-1
/
+6
*
Add strict checks for integer and float arguments
Amon Sha
2012-01-27
1
-1
/
+9
*
ensure tests run green on 1.8.7
Lee Jarvis
2012-01-27
1
-1
/
+4
*
value_to_range return a range even if the value looks like an
Lee Jarvis
2012-01-23
1
-0
/
+4
*
overwriting option help text
Lee Jarvis
2012-01-15
1
-9
/
+15
*
ensure help strings are formatted
Lee Jarvis
2012-01-15
1
-0
/
+11
*
remove Option::DEFAULT_TYPES and push types into ivar
Lee Jarvis
2012-01-12
1
-2
/
+2
*
test :default value
Lee Jarvis
2012-01-12
1
-0
/
+7
*
types keys should be symbols
Lee Jarvis
2012-01-06
1
-1
/
+1
*
added test for adding custom types
Lee Jarvis
2012-01-06
1
-1
/
+11
*
clean up array cast tests
Lee Jarvis
2012-01-06
1
-19
/
+5
*
ensure :as => Array splits string arguments
Lee Jarvis
2012-01-06
1
-20
/
+20
*
ensure option arguments can be negative ranges
Lee Jarvis
2012-01-06
1
-1
/
+1
*
added basic type casting tests
Lee Jarvis
2012-01-06
1
-0
/
+57
*
added tests for Option#call
Lee Jarvis
2011-12-23
1
-0
/
+9
*
initial basic pass at public api
Lee Jarvis
2011-12-23
1
-189
/
+12
*
ensure optional argument values are returned
Lee Jarvis
2011-12-08
1
-0
/
+3
*
ensure short options accept an appended =
Lee Jarvis
2011-11-22
1
-0
/
+1
*
return nil for casts which dont expect arguments
Lee Jarvis
2011-11-10
1
-0
/
+8
*
allow foo= long flag options for options which accept an argument
Lee Jarvis
2011-11-04
1
-0
/
+5
*
Support :as => 'count'
Conrad Irwin
2011-10-13
1
-0
/
+5
*
added :required option to Slop::Option for mandatory options
Lee Jarvis
2011-06-23
1
-0
/
+9
*
allow a range to accept a negative integer at either end
Lee Jarvis
2011-05-17
1
-0
/
+2
*
do not parse negative integers as options
Lee Jarvis
2011-05-17
1
-0
/
+5
*
add Option#omit_exec? for use with the :unless option
Lee Jarvis
2011-05-16
1
-0
/
+12
*
remove the Option.callback accessor and instead have Option respond to a
Lee Jarvis
2011-05-16
1
-3
/
+7
*
push test into the load path before running tests
Lee Jarvis
2011-04-27
1
-1
/
+1
*
ensure tests can be ran solo
Lee Jarvis
2011-04-27
1
-1
/
+1
*
add Option#count method which increases every time an option is invoked
Lee Jarvis
2011-04-24
1
-0
/
+7
*
Revert "add :as => Dir option for globbing directories"
Lee Jarvis
2011-04-24
1
-11
/
+0
*
add :as => Dir option for globbing directories
Lee Jarvis
2011-04-24
1
-0
/
+11
*
add test for abbreviated :sym
Lee Jarvis
2011-04-23
1
-0
/
+1
*
fix tpyo
Lee Jarvis
2011-04-23
1
-1
/
+1
*
allow :help to accept an optional string to append to the help
Lee Jarvis
2011-04-19
1
-0
/
+6
*
do not display help for options with :help => false
Lee Jarvis
2011-04-19
1
-0
/
+6
*
have :as => Range return an integer if the value is numeric only
Lee Jarvis
2011-04-14
1
-0
/
+2
*
add test for this
Lee Jarvis
2011-04-14
1
-0
/
+4
*
first try at ranges
Lee Jarvis
2011-04-14
1
-0
/
+7
[next]