summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* 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
* | Handle equals character for non-option valuespedantic-equalsLee Jarvis2018-03-122-2/+7
|/ | | | | | | If the string includes an equals char but doesn't look like it's a possible candidate for a flag=value, we should ignore it see #226
* Bump version to v4.6.1v4.6.1Lee Jarvis2017-11-202-3/+3
|
* Update CHANGELOGLee Jarvis2017-11-171-0/+8
|
* Add more tests for Options#separatorLee Jarvis2017-11-172-1/+26
| | | | | | And fixed the inevitable missed last separator.. Fixes #222
* Merge pull request #223 from marcandre/separatorLee Jarvis2017-11-172-2/+11
|\ | | | | Fix separator so it doesn't mutate user data
| * Fix separator so it doesn't mutate user dataMarc-Andre Lafortune2017-11-132-2/+11
|/
* Merge pull request #221 from woodruffw/readme-example-fixOlle Jonsson2017-10-281-2/+3
|\ | | | | README: Fix example to include required option
| * README: Fix example to include required optionWilliam Woodruff2017-10-271-2/+3
|/
* Bump version to 4.6.0v4.6.0Lee Jarvis2017-10-062-1/+7
| | | | includes (closes #218)
* Merge pull request #218 from woodruffw/required-optionsOlle Jonsson2017-10-055-0/+36
|\ | | | | Support for required options
| * Support for required optionsWilliam Woodruff2017-09-295-0/+36
|/ | | | | | | | | | | This commit introduces support for required options, which are options that cause the parser to raise a `MissingRequiredOption` exception if not present. Options can be marked as required by passing `required: true` in their configuration, and any errors caused by missing required options can be suppressed via `suppress_errors: true`.
* Merge pull request #216 from olleolleolle/patch-2Olle Jonsson2017-09-081-1/+1
|\ | | | | Travis: jruby-9.1.13.0
| * Travis: jruby-9.1.13.0Olle Jonsson2017-09-081-1/+1
|/
* Merge pull request #214 from TomCrypto/masterLee Jarvis2017-08-082-0/+7
|\ | | | | Fix bug preventing '--' being passed as the first argument.
| * Fix bug preventing '--' being passed as the first argument.Thomas Bénéteau2017-08-052-0/+7
|/
* Add README note about NullOption callbacksLee Jarvis2017-07-261-0/+6
| | | | closes #213
* Merge pull request #211 from olleolleolle/patch-2Lee Jarvis2017-06-191-1/+1
|\ | | | | Travis: jruby-9.1.12.0
| * Travis: jruby-9.1.12.0Olle Jonsson2017-06-191-1/+1
|/
* Merge pull request #209 from olleolleolle/patch-2Lee Jarvis2017-05-261-1/+1
|\ | | | | Travis: jruby-9.1.10.0
| * Travis: jruby-9.1.10.0Olle Jonsson2017-05-261-1/+1
|/
* Bump version to 4.5.0v4.5.0Lee Jarvis2017-05-222-3/+3
|
* Merge tag 'v4.4.3'Lee Jarvis2017-05-022-2/+8
|\ | | | | | | Version 4.4.3
| * Bump version to 4.4.3v4.4.3v4.4.3Lee Jarvis2017-05-021-1/+1
| |
| * Update changelogLee Jarvis2017-05-021-1/+7
| |
| * Fix non-deterministic testLee Jarvis2017-05-021-1/+1
| | | | | | | | There's a FooOption defined in options_test.rb
| * Fix Ruby 2.0.0 broken `private def ...`Lee Jarvis2017-05-022-1/+2
| | | | | | | | and re-add to the CI