Revisions of rubygem-slop
Stephan Kulow (coolo)
committed
(revision 25)
update
buildservice-autocommit
accepted
request 208105
from
Factory Maintainer (factory-maintainer)
(revision 24)
baserev update by copy to link target
Stephan Kulow (coolo)
committed
(revision 23)
update
buildservice-autocommit
accepted
request 185551
from
Factory Maintainer (factory-maintainer)
(revision 22)
baserev update by copy to link target
Stephan Kulow (coolo)
committed
(revision 21)
- updated to version 3.4.6 * Ensure short-options still consume trailing arguments, ie `-abc foo` should assign `foo` to the option `c` if it expects an argument (#114).
buildservice-autocommit
accepted
request 176315
from
Factory Maintainer (factory-maintainer)
(revision 20)
baserev update by copy to link target
Stephan Kulow (coolo)
committed
(revision 19)
- updated to version 3.4.5 * Allow specifying long options starting with numbers (#110, Peter Zotov)
buildservice-autocommit
accepted
request 160865
from
Factory Maintainer (factory-maintainer)
(revision 18)
baserev update by copy to link target
Stephan Kulow (coolo)
committed
(revision 17)
- updated to version 3.4.4 * Disable the run callback when the help option is used and `-h` or `--help` is passed. #106 * Ensure default `--help` option exits by default (#107, Autumn Perrault).
buildservice-autocommit
accepted
request 157757
from
Factory Maintainer (factory-maintainer)
(revision 16)
baserev update by copy to link target
Stephan Kulow (coolo)
committed
(revision 15)
- updated to version 3.4.3 * Ensure `parse!` removes commands and their options. * Expose the Hash commands as public API. * Deprecated `Slop.optspec`. * Ensure help output prints to stdout, not stderr. * Ensure options replace any existing duplicates * Command config options now inherit config options from top level Slop. * Command help output now adds command in usage string. * Implement new command system (#95) * Deprecate Slop::Commands * Ensure 'no-foo' options are not inverted when parsing '--no-foo' (#86) * Code refactoring and simplification (Kenichi Kamiya, #84, #85)
buildservice-autocommit
accepted
request 132008
from
Stephan Kulow (coolo)
(revision 14)
baserev update by copy to link target
Stephan Kulow (coolo)
committed
(revision 13)
- update to 3.3.3 and merge rubygem-slop-3_3 - Update to version 2.4.4: * No upstream changelog for this version (yet) - update to version 2.4.3 * Allow the `:as` option to accept an object responding to :call for custom type conversions (#45) * Ensure negative integers are not parsed as possible options (#46) - additional changes from 2.4.2 * Fix checking of required options (Dominik Honnef) - additional changes from 2.4.1 * Ensure optional arguments are returned correctly - additional changes from 2.4.0 * Avoid `define_method` for checking an options presence (and caching it) #37 * Ensure the short option allows an appended `=` for accepting arguments * Implement `respond_to?` - additional changes from 2.3.1 * Return `nil` for any options using casting which don't expect arguments (#33) * Fix parenthesis warning on 1.8.7 (@shevegen) * Ensure long argument is a string before attempting to use `#[]` method on it - additional changes from 2.3.0 * Allow flags to have suffixed `=` char for options which accept an argument - additional changes from 2.2.0 * Support `bup.options` style optspec parsing * http://apenwarr.ca/log/?m=201111
Stephan Kulow (coolo)
committed
(revision 12)
- update to 3.3.3 and rename to suffixless name * Ensure autocreate arguments are not created as options (#77) * Ensure options are not swallowed when using short options with argument included (#74) - initial split for 3.3
Stephan Kulow (coolo)
accepted
request 125263
from
Sascha Peilicke (saschpe)
(revision 11)
initialized devel package after accepting 125263
Sascha Peilicke (saschpe)
committed
(revision 10)
- Update to version 2.4.4: * No upstream changelog for this version (yet)
Marcus Rueckert (darix)
committed
(revision 9)
- update to version 2.4.3 * Allow the `:as` option to accept an object responding to :call for custom type conversions (#45) * Ensure negative integers are not parsed as possible options (#46) - additional changes from 2.4.2 * Fix checking of required options (Dominik Honnef) - additional changes from 2.4.1 * Ensure optional arguments are returned correctly - additional changes from 2.4.0 * Avoid `define_method` for checking an options presence (and caching it) #37 * Ensure the short option allows an appended `=` for accepting arguments * Implement `respond_to?` - additional changes from 2.3.1 * Return `nil` for any options using casting which don't expect arguments (#33) * Fix parenthesis warning on 1.8.7 (@shevegen) * Ensure long argument is a string before attempting to use `#[]` method on it - additional changes from 2.3.0 * Allow flags to have suffixed `=` char for options which accept an argument - additional changes from 2.2.0 * Support `bup.options` style optspec parsing * http://apenwarr.ca/log/?m=201111 * Allow `:as` to accept a `count` value (Conrad Irwin): `on :v, :verbose, :as => :count # -vv; opts[:verbose] #=> 2`
Marcus Rueckert (darix)
committed
(revision 8)
- update to version 2.1.0 * Added `Slop#missing` for returning a list of missing options parsed * Allow `Slop#present?` to accept multiple arguments * Added `:all_accept_arguments` to Slop configuration options, this saves having to specify that every option takes an argument * Added `Slop#to_struct` for building new classes from options - additional changes from 2.0.0 * Deprecations: * Removed `Slop::Options#to_hash` continue using `Slop#to_hash` directly. This method also now returns symbols by default instead of strings. If you want strings use `opts.to_hash(false)` * `:multiple_switches` is now enabled by default, to parse `fbar` as the option `f` with value `bar` you must disable `:multiple_switches` * Removed `Slop::Options#to_help` and merged its contents into `Slop#help` * Removed `lib/slop/options.rb` and merged `Slop::Options` into slop.rb * Removed `lib/slop/option.rb` and merged `Slop::Option` into slop.rb * These changes make Slop much easier to vendor in libraries * `Slop::Option` now inherits from `Struct.new` * Added Slop::Error subclassing from StandardError which all exception classes should inherit from * Added Slop::MissingOptionError and `:required` option to Slop::Option. This exception is raised when a mandatory option is not used
Marcus Rueckert (darix)
committed
(revision 7)
- update to slop 1.9.1 * Ensure optional items with no arguments still return true when searching for presence - additional changes from 1.9.1 * Add command completion and support for an error message when ambiguous commands are used * Add command aliases * Fix: Ensure parsed elements are removed from original arguments when using `:multiple_switches` * Ensure anything after `--` is parsed as an argument and not option even if prefixed with `/--?/` * Performance improvements when making many calls to `Slop#option?` for checking an options presence (Rob Gleeson) * Ensure `execute` passes command arguments to the block * Support for summary and description (Denis Defreyne) - additional changes from 1.8.0 * Added `execute` method to Slop for commands. This block will be invoked when a specific command is used. The Slop object will be yielded to the block * Allow passing a class name to `on` to be used as an `:as` option. ie: `on :people, 'Some people', Array` * Get smart with parsing options optparse style: `on '--name NAME'` and `on 'password [OPTIONAL]'` * Feature: `:arguments` setting to enable argument passing for all options - additional changes from 1.7.0 * Feature: Autocreate (auto create options at parse time, making assumptions) * Feature: When parsing options as arrays, push multiple arguments into a single array
Marcus Rueckert (darix)
committed
(revision 6)
- slop 1.6.0 * Add `:ignore_case` to Slop options for case insensitive option matching * Add `:on_noopts` for triggering an event when the arguments contain no options * Add `:unless` to Slop::Option for omitting execution of the * Options block when this object exists in the Array of items * passed to Slop.new * Bugfix: Do not parse negative integers as options. A valid option must start with an alphabet character * Bugfix: Allow a Range to accept a negative Integer at either end
Displaying revisions 41 - 60 of 65