Hello community, here is the log from the commit of package rubygem-commander for openSUSE:Factory checked in at 2015-02-10 20:22:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-commander (Old) and /work/SRC/openSUSE:Factory/.rubygem-commander.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-commander" Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-commander/rubygem-commander.changes 2014-10-14 07:12:52.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-commander.new/rubygem-commander.changes 2015-02-10 20:22:07.000000000 +0100 @@ -1,0 +2,6 @@ +Fri Feb 6 18:18:13 UTC 2015 - [email protected] + +- updated to version 4.2.1 + * Improve `choose` compatibility with HighLine's version (#79) + +------------------------------------------------------------------- Old: ---- commander-4.2.0.gem New: ---- commander-4.2.1.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-commander.spec ++++++ --- /var/tmp/diff_new_pack.SAPPAV/_old 2015-02-10 20:22:08.000000000 +0100 +++ /var/tmp/diff_new_pack.SAPPAV/_new 2015-02-10 20:22:08.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package rubygem-commander # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,8 +16,15 @@ # +# +# This file was generated with a gem2rpm.yml and not just plain gem2rpm. +# All sections marked as MANUAL, license headers, summaries and descriptions +# can be maintained in that file. Please consult this file before editing any +# of those fields +# + Name: rubygem-commander -Version: 4.2.0 +Version: 4.2.1 Release: 0 %define mod_name commander %define mod_full_name %{mod_name}-%{version} ++++++ commander-4.2.0.gem -> commander-4.2.1.gem ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.travis.yml new/.travis.yml --- old/.travis.yml 2014-04-30 07:05:19.000000000 +0200 +++ new/.travis.yml 2014-09-29 07:04:44.000000000 +0200 @@ -7,4 +7,4 @@ - 2.1.0 - jruby-18mode - jruby-19mode - - rbx + - rbx-2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/History.rdoc new/History.rdoc --- old/History.rdoc 2014-04-30 07:05:19.000000000 +0200 +++ new/History.rdoc 2014-09-29 07:04:44.000000000 +0200 @@ -1,3 +1,7 @@ +=== 4.2.1 / 2014-09-28 + +* Improve `choose` compatibility with HighLine's version (#79) + === 4.2.0 / 2014-04-29 * Add ability to use commander without importing into the global namespace (#61) (@krissi) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.md new/README.md --- old/README.md 2014-04-30 07:05:19.000000000 +0200 +++ new/README.md 2014-09-29 07:04:44.000000000 +0200 @@ -1,5 +1,5 @@ [<img src="https://secure.travis-ci.org/ggilder/commander.png?branch=master" alt="Build Status" />](http://travis-ci.org/ggilder/commander) -[](http://inch-pages.github.io/github/visionmedia/commander) +[](http://inch-ci.org/github/visionmedia/commander) # Commander @@ -96,7 +96,15 @@ program :version, '1.0.0' program :description, 'Stupid command that prints foo or bar.' - # see classic style example for options + command :foo do |c| + c.syntax = 'foobar foo' + c.description = 'Displays foo' + c.action do |args, options| + say 'foo' + end + end + + run! end end Files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/commander/user_interaction.rb new/lib/commander/user_interaction.rb --- old/lib/commander/user_interaction.rb 2014-04-30 07:05:20.000000000 +0200 +++ new/lib/commander/user_interaction.rb 2014-09-29 07:04:44.000000000 +0200 @@ -40,9 +40,9 @@ ## # Choose from a set array of _choices_. - def choose message, *choices - say message - super(*choices) + def choose message = nil, *choices, &block + say message if message + super(*choices, &block) end ## diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/commander/version.rb new/lib/commander/version.rb --- old/lib/commander/version.rb 2014-04-30 07:05:20.000000000 +0200 +++ new/lib/commander/version.rb 2014-09-29 07:04:44.000000000 +0200 @@ -1,3 +1,3 @@ module Commander - VERSION = '4.2.0' + VERSION = '4.2.1' end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata 2014-04-30 07:05:19.000000000 +0200 +++ new/metadata 2014-09-29 07:04:44.000000000 +0200 @@ -1,7 +1,7 @@ --- !ruby/object:Gem::Specification name: commander version: !ruby/object:Gem::Version - version: 4.2.0 + version: 4.2.1 platform: ruby authors: - TJ Holowaychuk @@ -9,7 +9,7 @@ autorequire: bindir: bin cert_chain: [] -date: 2014-04-30 00:00:00.000000000 Z +date: 2014-09-29 00:00:00.000000000 Z dependencies: - !ruby/object:Gem::Dependency name: highline -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
