summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Travis: Jruby 9.1.15.0fix/update-jrubyOlle Jonsson2017-12-081-1/+1
|
* 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
* | Fix Ruby 2.0.0 broken `private def ...`Lee Jarvis2017-05-022-1/+2
| | | | | | | | and re-add to the CI
* | Fix non-deterministic testLee Jarvis2017-05-011-1/+1
| | | | | | | | There's a FooOption defined in options_test.rb
* | Update changelogLee Jarvis2017-05-011-0/+7
| |
* | Add config option underscore_flagslbriais-feature/add_config_for_underscore_switchLaurent B2017-05-014-5/+22
|/ | | | | | | | | | | | | | The default behaviour of translation flags-with-dashes is to underscore them so they're symbol friendly. This config option allows us to avoid this translation and simply return the flags verbatim: opts = Slop.parse(underscore_flags: false) do |o| o.on "--foo-bar" end opts.to_hash #=> { :"foo-bar" => true } closes #204
* Ignore Ruby 2.0.0 from travisLee Jarvis2017-04-291-1/+0
| | | | it's broken and it's annoying
* Bump version to 4.2.2v4.4.2Lee Jarvis2017-04-292-3/+3
|
* Update changelogLee Jarvis2017-04-291-0/+1
|
* Fix ridiculous minitest warningLee Jarvis2017-04-292-3/+3
| | | | wat?
* Avoid deleting args after '--'Lee Jarvis2017-04-292-7/+16
| | | | | | | | Everything after -- is sacred and shouldn't be mutated. So lets just remove it all straight away and add it to our arguments list after we're done parsing Closes #194
* Merge pull request #201 from olleolleolle/patch-1Lee Jarvis2017-03-311-2/+2
|\ | | | | Travis: Update rubies in CI
| * Travis: Update rubies in CIOlle Jonsson2017-03-311-2/+2
|/
* Merge pull request #200 from olleolleolle/patch-1Lee Jarvis2017-03-161-6/+4
|\ | | | | Travis: use 2.4.0, latest stable JRuby
| * Travis: Use gem install bundlerOlle Jonsson2017-03-161-5/+1
| | | | | | - this supports Ruby installations that do not come with a Bundler yet
| * Travis: use 2.4.0, latest stable JRubyOlle Jonsson2017-03-161-1/+3
|/
* Update changelogLee Jarvis2017-01-291-0/+6
|
* Remove rbx from travisLee Jarvis2017-01-291-1/+0
| | | | It gets error'ing and I'm not too bothered about supporting it
* Fix support for parsing -x5Lee Jarvis2017-01-292-7/+33
| | | | | | | Thanks to @RickHull for the "smashing" terminology and various conversations Fixes #199
* Bump version to 4.4.1v4.4.1Lee Jarvis2016-08-212-1/+8
|
* Handle bad constant names in Slop.option_defined?Lee Jarvis2016-08-212-0/+21
| | | | Closes #198
* Bump version 4.4.0v4.4.0Lee Jarvis2016-08-152-3/+3
|
* Update changelogLee Jarvis2016-04-151-0/+9
|
* Merge pull request #193 from kch/order-fixLee Jarvis2016-04-151-1/+1
|\ | | | | inside tail sort, retain original sort order
| * inside tail sort, retain original sort orderCaio Chassot2016-04-141-1/+1
| |
* | Merge pull request #192 from aclemons/leading_dashLee Jarvis2016-04-153-3/+32
|\ \ | |/ |/| Support arguments to options with leading -