Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Travis: Jruby 9.1.15.0fix/update-jruby | Olle Jonsson | 2017-12-08 | 1 | -1/+1 |
| | |||||
* | Bump version to v4.6.1v4.6.1 | Lee Jarvis | 2017-11-20 | 2 | -3/+3 |
| | |||||
* | Update CHANGELOG | Lee Jarvis | 2017-11-17 | 1 | -0/+8 |
| | |||||
* | Add more tests for Options#separator | Lee Jarvis | 2017-11-17 | 2 | -1/+26 |
| | | | | | | And fixed the inevitable missed last separator.. Fixes #222 | ||||
* | Merge pull request #223 from marcandre/separator | Lee Jarvis | 2017-11-17 | 2 | -2/+11 |
|\ | | | | | Fix separator so it doesn't mutate user data | ||||
| * | Fix separator so it doesn't mutate user data | Marc-Andre Lafortune | 2017-11-13 | 2 | -2/+11 |
|/ | |||||
* | Merge pull request #221 from woodruffw/readme-example-fix | Olle Jonsson | 2017-10-28 | 1 | -2/+3 |
|\ | | | | | README: Fix example to include required option | ||||
| * | README: Fix example to include required option | William Woodruff | 2017-10-27 | 1 | -2/+3 |
|/ | |||||
* | Bump version to 4.6.0v4.6.0 | Lee Jarvis | 2017-10-06 | 2 | -1/+7 |
| | | | | includes (closes #218) | ||||
* | Merge pull request #218 from woodruffw/required-options | Olle Jonsson | 2017-10-05 | 5 | -0/+36 |
|\ | | | | | Support for required options | ||||
| * | Support for required options | William Woodruff | 2017-09-29 | 5 | -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-2 | Olle Jonsson | 2017-09-08 | 1 | -1/+1 |
|\ | | | | | Travis: jruby-9.1.13.0 | ||||
| * | Travis: jruby-9.1.13.0 | Olle Jonsson | 2017-09-08 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #214 from TomCrypto/master | Lee Jarvis | 2017-08-08 | 2 | -0/+7 |
|\ | | | | | Fix bug preventing '--' being passed as the first argument. | ||||
| * | Fix bug preventing '--' being passed as the first argument. | Thomas Bénéteau | 2017-08-05 | 2 | -0/+7 |
|/ | |||||
* | Add README note about NullOption callbacks | Lee Jarvis | 2017-07-26 | 1 | -0/+6 |
| | | | | closes #213 | ||||
* | Merge pull request #211 from olleolleolle/patch-2 | Lee Jarvis | 2017-06-19 | 1 | -1/+1 |
|\ | | | | | Travis: jruby-9.1.12.0 | ||||
| * | Travis: jruby-9.1.12.0 | Olle Jonsson | 2017-06-19 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #209 from olleolleolle/patch-2 | Lee Jarvis | 2017-05-26 | 1 | -1/+1 |
|\ | | | | | Travis: jruby-9.1.10.0 | ||||
| * | Travis: jruby-9.1.10.0 | Olle Jonsson | 2017-05-26 | 1 | -1/+1 |
|/ | |||||
* | Bump version to 4.5.0v4.5.0 | Lee Jarvis | 2017-05-22 | 2 | -3/+3 |
| | |||||
* | Merge tag 'v4.4.3' | Lee Jarvis | 2017-05-02 | 2 | -2/+8 |
|\ | | | | | | | Version 4.4.3 | ||||
| * | Bump version to 4.4.3v4.4.3v4.4.3 | Lee Jarvis | 2017-05-02 | 1 | -1/+1 |
| | | |||||
| * | Update changelog | Lee Jarvis | 2017-05-02 | 1 | -1/+7 |
| | | |||||
| * | Fix non-deterministic test | Lee Jarvis | 2017-05-02 | 1 | -1/+1 |
| | | | | | | | | There's a FooOption defined in options_test.rb | ||||
| * | Fix Ruby 2.0.0 broken `private def ...` | Lee Jarvis | 2017-05-02 | 2 | -1/+2 |
| | | | | | | | | and re-add to the CI | ||||
* | | Fix Ruby 2.0.0 broken `private def ...` | Lee Jarvis | 2017-05-02 | 2 | -1/+2 |
| | | | | | | | | and re-add to the CI | ||||
* | | Fix non-deterministic test | Lee Jarvis | 2017-05-01 | 1 | -1/+1 |
| | | | | | | | | There's a FooOption defined in options_test.rb | ||||
* | | Update changelog | Lee Jarvis | 2017-05-01 | 1 | -0/+7 |
| | | |||||
* | | Add config option underscore_flagslbriais-feature/add_config_for_underscore_switch | Laurent B | 2017-05-01 | 4 | -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 travis | Lee Jarvis | 2017-04-29 | 1 | -1/+0 |
| | | | | it's broken and it's annoying | ||||
* | Bump version to 4.2.2v4.4.2 | Lee Jarvis | 2017-04-29 | 2 | -3/+3 |
| | |||||
* | Update changelog | Lee Jarvis | 2017-04-29 | 1 | -0/+1 |
| | |||||
* | Fix ridiculous minitest warning | Lee Jarvis | 2017-04-29 | 2 | -3/+3 |
| | | | | wat? | ||||
* | Avoid deleting args after '--' | Lee Jarvis | 2017-04-29 | 2 | -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-1 | Lee Jarvis | 2017-03-31 | 1 | -2/+2 |
|\ | | | | | Travis: Update rubies in CI | ||||
| * | Travis: Update rubies in CI | Olle Jonsson | 2017-03-31 | 1 | -2/+2 |
|/ | |||||
* | Merge pull request #200 from olleolleolle/patch-1 | Lee Jarvis | 2017-03-16 | 1 | -6/+4 |
|\ | | | | | Travis: use 2.4.0, latest stable JRuby | ||||
| * | Travis: Use gem install bundler | Olle Jonsson | 2017-03-16 | 1 | -5/+1 |
| | | | | | | - this supports Ruby installations that do not come with a Bundler yet | ||||
| * | Travis: use 2.4.0, latest stable JRuby | Olle Jonsson | 2017-03-16 | 1 | -1/+3 |
|/ | |||||
* | Update changelog | Lee Jarvis | 2017-01-29 | 1 | -0/+6 |
| | |||||
* | Remove rbx from travis | Lee Jarvis | 2017-01-29 | 1 | -1/+0 |
| | | | | It gets error'ing and I'm not too bothered about supporting it | ||||
* | Fix support for parsing -x5 | Lee Jarvis | 2017-01-29 | 2 | -7/+33 |
| | | | | | | | Thanks to @RickHull for the "smashing" terminology and various conversations Fixes #199 | ||||
* | Bump version to 4.4.1v4.4.1 | Lee Jarvis | 2016-08-21 | 2 | -1/+8 |
| | |||||
* | Handle bad constant names in Slop.option_defined? | Lee Jarvis | 2016-08-21 | 2 | -0/+21 |
| | | | | Closes #198 | ||||
* | Bump version 4.4.0v4.4.0 | Lee Jarvis | 2016-08-15 | 2 | -3/+3 |
| | |||||
* | Update changelog | Lee Jarvis | 2016-04-15 | 1 | -0/+9 |
| | |||||
* | Merge pull request #193 from kch/order-fix | Lee Jarvis | 2016-04-15 | 1 | -1/+1 |
|\ | | | | | inside tail sort, retain original sort order | ||||
| * | inside tail sort, retain original sort order | Caio Chassot | 2016-04-14 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #192 from aclemons/leading_dash | Lee Jarvis | 2016-04-15 | 3 | -3/+32 |
|\ \ | |/ |/| | Support arguments to options with leading - |