summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Bump version to v.8.0v4.8.0Lee Jarvis2020-01-172-4/+6
|
* Merge pull request #250 from flavono123/float-scientific-notationLee Jarvis2020-01-172-3/+30
|\ | | | | FloatOption: Add support for scientific notation and + sign
| * admit commentsHansuk2020-01-172-1/+7
| | | | | | | | | | | | | | - https://github.com/leejarvis/slop/pull/250#discussion_r367361652 - https://github.com/leejarvis/slop/pull/250#discussion_r367420001 Signed-off-by: Hansuk <flavono123@gmail.com>
| * support scientific nations for float optionsHansuk2020-01-162-3/+20
| | | | | | | | | | | | | | - reference: https://stackoverflow.com/questions/638565/parsing-scientific-notation-sensibly - remove the todo comment(no idea for etc) Signed-off-by: Hansuk <flavono123@gmail.com>
| * support + sign for float optionsHansuk2020-01-162-2/+6
|/ | | | Signed-off-by: Hansuk <flavono123@gmail.com>
* Merge pull request #249 from leejarvis/add-changelog-note-about-270Olle Jonsson2020-01-091-1/+6
|\ | | | | CHANGELOG: Update about adding 2.7.0 to CI
| * CHANGELOG: Update about add 2.7.0 to CIadd-changelog-note-about-270Olle Jonsson2020-01-071-1/+6
|/ | | - Fix a Markdown link
* Merge pull request #248 from jylitalo/ruby_2.7.0Olle Jonsson2020-01-075-9/+10
|\ | | | | Tests on Ruby 2.7.0: avoid warnings; add 2.7.0 to CI
| * Added Ruby 2.7.0 to test matrixAndrew Kane2020-01-071-0/+1
| |
| * Tests on Ruby 2.7.0Juha Ylitalo2020-01-074-9/+9
|/
* Merge pull request #242 from leejarvis/use-jruby-9.2.8.0Olle Jonsson2019-11-061-4/+6
|\ | | | | CI: Use ruby 2.4.9, 2.5.7, 2.6.5, jruby-9.2.9.0
| * CI: Use jruby-9.2.9.0Olle Jonsson2019-11-061-1/+1
| |
| * CI: Use ruby 2.4.9, 2.5.7, 2.6.5use-jruby-9.2.8.0Olle Jonsson2019-10-021-3/+3
| |
| * CI: Use 2.4.7, 2.5.6, 2.6.4, and openjdk8Olle Jonsson2019-09-091-2/+4
| |
| * CI: Use jruby-9.2.8.0Olle Jonsson2019-08-161-1/+1
| |
* | Merge pull request #245 from tylermercier/remove-orig_argLee Jarvis2019-10-231-1/+0
|\ \ | | | | | | remove unused variable
| * | remove unused variableTyler Mercier2019-10-221-1/+0
|/ /
* | Update changelogLee Jarvis2019-09-091-0/+7
| |
* | Merge pull request #243 from jylitalo/plus_prefixLee Jarvis2019-09-092-2/+6
|\ \ | |/ |/| Support '+' as prefix for integer
| * Test integer with plus sign as prefixJuha Ylitalo2019-08-301-1/+5
| |
| * Support '+' as prefix for integerJuha Ylitalo2019-08-231-1/+1
|/
* Merge pull request #240 from leejarvis/fix/update-ci-matrixLee Jarvis2019-08-051-4/+4
|\ | | | | CI: Use jruby-9.2.7.0, 2.6.3, 2.5.5, 2.4.6 in matrix
| * CI: Use 2.6.3fix/update-ci-matrixOlle Jonsson2019-04-181-1/+1
| |
| * CI: 2.4.6, jruby-9.2.7.0Olle Jonsson2019-04-101-2/+2
| |
| * CI: 2.5.5, 2.6.2Olle Jonsson2019-03-161-2/+2
| |
| * CI: Use jruby-9.2.6.0, 2.6.1 in matrixOlle Jonsson2019-02-121-2/+2
| |
* | Bump version to 4.7.0v4.7.0Lee Jarvis2019-06-291-1/+1
| |
* | Update changelogLee Jarvis2019-06-291-2/+4
| |
* | Merge pull request #241 from kou/fix-unconsumed-argumentLee Jarvis2019-06-292-1/+14
|\ \ | |/ |/| Fix a bug that flag value is processed as flag
| * Fix a bug that flag value is processed as flagSutou Kouhei2019-06-292-1/+14
|/ | | | | | | | If flag value starts with "-", unknown option error is raised. The current flag value check is "orig_arg == opt.value.to_s". There are some objects such as Regexp and Time that input value and its #to_s aren't same.
* Tweak READMELee Jarvis2019-01-211-14/+12
|
* Fix deprecation warning in testsLee Jarvis2019-01-211-1/+1
|
* CHANGELOG: Thank Teemu Matilainen for a PROlle Jonsson2019-01-201-0/+1
|
* Merge pull request #238 from tmatilai/empty-separatorOlle Jonsson2019-01-202-1/+7
|\ | | | | Allow calling `Options#separator` without args, defaulting to an empty string
| * Allow calling `Options#separator` without args, defaulting to an empty stringTeemu Matilainen2019-01-202-1/+7
|/ | | | | | | | It's clear that we want an empty line when calling `opts.separator` without arguments. Leave the examples in the Readme still for a while with the empty string to avoid confusion when using older versions.
* Merge pull request #239 from olleolleolle/fix/ci-give-older-rubies-older-bundlerOlle Jonsson2019-01-201-1/+8
|\ | | | | CI: On Rubies < 2.3 install Bundler < 2
| * CI: On Rubies < 2.3 install Bundler < 2Olle Jonsson2019-01-201-1/+8
|/
* Travis: include latest JRuby, latest RubyOlle Jonsson2018-12-281-1/+3
|
* CHANGELOG.md: Add feature to Unreleased sectionOlle Jonsson2018-06-271-0/+7
|
* Merge pull request #233 from leejarvis/fix-changelogOlle Jonsson2018-06-271-24/+25
|\ | | | | CHANGELOG.md: Linkify, format heading
| * CHANGELOG.md: Linkify, format headingOlle Jonsson2018-06-271-24/+25
| |
* | Merge pull request #232 from giovannibenussi/add-result-fetchOlle Jonsson2018-06-273-9/+49
|\ \ | | | | | | Add Slop::Result#fetch
| * | add Slop::Result#fetchGiovanni Benussi2018-06-273-9/+49
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | use Slop::Result#clean_key in Slop::Result#option fix typo in Slop::Result#[] and Slop::Result#fetch descriptions handle case when Slop::Result#fetch tries to fetch an option that is not provided and does not have a default value raise Slop::UnknownOption when Slop::Result#fetch tries to fetch an unexisting key set Slop::Result#clean_key method as private remove redundant Slop::Result#fetch tests update description of Slop::Result#fetch test when trying to access an unexisting option update error message when an option is not present on Slop::Result#fetch description of Slop::Result#fetch update expected error message on test for Slop::Result#fetch when an option is not present
* | Merge pull request #231 from leejarvis/Travis-jruby-9.2.0.0Olle Jonsson2018-06-271-1/+1
|\ \ | |/ |/| Travis: jruby-9.2.0.0
| * Travis: jruby-9.2.0.0Travis-jruby-9.2.0.0Olle Jonsson2018-05-241-1/+1
|/
* Travis: use jruby-9.1.17.0Olle Jonsson2018-04-241-1/+1
|
* Merge pull request #225 from leejarvis/fix/update-jrubyOlle Jonsson2018-03-281-1/+1
|\ | | | | Travis: use JRuby 9.1.16.0 in the CI matrix
| * Travis CI: use latest JRubyOlle Jonsson2018-03-281-1/+1
| |
| * Travis: Jruby 9.1.15.0fix/update-jrubyOlle Jonsson2017-12-081-1/+1
| |
* | Bump version to 4.6.2v4.6.2Lee Jarvis2018-03-122-1/+6
| | | | | | | | Closes #226