commit rubygem-commander for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-commander for openSUSE:Factory checked in at 2020-05-11 13:40:36 Comparing /work/SRC/openSUSE:Factory/rubygem-commander (Old) and /work/SRC/openSUSE:Factory/.rubygem-commander.new.2738 (New) Package is "rubygem-commander" Mon May 11 13:40:36 2020 rev:27 rq:802329 version:4.5.2 Changes: --- /work/SRC/openSUSE:Factory/rubygem-commander/rubygem-commander.changes 2020-03-07 21:37:37.872247544 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-commander.new.2738/rubygem-commander.changes 2020-05-11 13:40:39.585031110 +0200 @@ -1,0 +2,16 @@ +Thu May 7 20:34:32 UTC 2020 - Stephan Kulow + +- updated to version 4.5.2 + see installed History.rdoc + + === 4.5.2 / 2020-03-12 + + * Fix bug handling global options provided in option=value form (#47). (@orien) + * Fix ERB warnings under Ruby 2.7. (@esotericpig) + * Fix bug handling global options placed before command name (#32). (@orien) + + === 4.5.1 / 2020-03-08 + + * Fix bug causing global options to be ignored when arguments are present (#86). (@orien) + +--- Old: commander-4.5.0.gem New: commander-4.5.2.gem Other differences: -- ++ rubygem-commander.spec ++ --- /var/tmp/diff_new_pack.6QT7C2/_old 2020-05-11 13:40:40.369032773 +0200 +++ /var/tmp/diff_new_pack.6QT7C2/_new 2020-05-11 13:40:40.369032773 +0200 @@ -24,7 +24,7 @@ # Name: rubygem-commander -Version:4.5.0 +Version:4.5.2 Release:0 %define mod_name commander %define mod_full_name %{mod_name}-%{version} ++ commander-4.5.0.gem -> commander-4.5.2.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/History.rdoc new/History.rdoc --- old/History.rdoc2020-01-21 19:34:25.0 +0100 +++ new/History.rdoc2020-03-12 22:42:42.0 +0100 @@ -1,3 +1,13 @@ +=== 4.5.2 / 2020-03-12 + +* Fix bug handling global options provided in option=value form (#47). (@orien) +* Fix ERB warnings under Ruby 2.7. (@esotericpig) +* Fix bug handling global options placed before command name (#32). (@orien) + +=== 4.5.1 / 2020-03-08 + +* Fix bug causing global options to be ignored when arguments are present (#86). (@orien) + === 4.5.0 / 2020-01-21 * Drop support for Ruby < 2.3. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.md new/README.md --- old/README.md 2020-01-21 19:34:25.0 +0100 +++ new/README.md 2020-03-12 22:42:42.0 +0100 @@ -1,5 +1,5 @@ -[https://api.travis-ci.org/commander-rb/commander.svg"; alt="Build Status" />](http://travis-ci.org/commander-rb/commander) -[![Inline docs](http://inch-ci.org/github/commander-rb/commander.svg)](http://inch-ci.org/github/commander-rb/commander) +[https://api.travis-ci.org/commander-rb/commander.svg"; alt="Build Status" />](https://travis-ci.org/commander-rb/commander) +[![Inline docs](https://inch-ci.org/github/commander-rb/commander.svg)](https://inch-ci.org/github/commander-rb/commander) # Commander @@ -243,8 +243,8 @@ ## Growl Notifications Commander provides methods for displaying Growl notifications. To use these -methods you need to install http://github.com/tj/growl which utilizes -the [growlnotify](http://growl.info/extras.php#growlnotify) executable. Note that +methods you need to install https://github.com/tj/growl which utilizes +the [growlnotify](https://growl.info/extras.php#growlnotify) executable. Note that growl is auto-imported by Commander when available, no need to require. ```ruby @@ -449,7 +449,7 @@ ## ASCII Tables -For feature rich ASCII tables for your terminal app check out the terminal-table gem at http://github.com/tj/terminal-table +For feature rich ASCII tables for your terminal app check out the terminal-table gem at https://github.com/tj/terminal-table +--+---+++---+ | Terminal | Table | Is | Wicked | Awesome | @@ -468,7 +468,7 @@ ## Contrib Feel free to fork and request a pull, or submit a ticket -http://github.com/commander-rb/commander/issues +https://github.com/commander-rb/commander/issues ## License Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/commander.gemspec new/commander.gemspec --- old/commander.gemspec 2020-01-21 19:34:25.0 +0100 +++ new/commander.gemspec 2020-03-12 22:42:42.0 +0100 @@ -12,6 +12,13 @@ s.homepage= 'https://github.com/commander-rb/commander' s.summary = 'Th
commit rubygem-commander for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-commander for openSUSE:Factory checked in at 2020-03-07 21:37:37 Comparing /work/SRC/openSUSE:Factory/rubygem-commander (Old) and /work/SRC/openSUSE:Factory/.rubygem-commander.new.26092 (New) Package is "rubygem-commander" Sat Mar 7 21:37:37 2020 rev:26 rq:773747 version:4.5.0 Changes: --- /work/SRC/openSUSE:Factory/rubygem-commander/rubygem-commander.changes 2019-01-21 10:25:59.261708814 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-commander.new.26092/rubygem-commander.changes 2020-03-07 21:37:37.872247544 +0100 @@ -1,0 +2,11 @@ +Mon Feb 10 14:22:00 UTC 2020 - Stephan Kulow + +- updated to version 4.5.0 + see installed History.rdoc + + === 4.5.0 / 2020-01-21 + + * Drop support for Ruby < 2.3. + * Fix bug parsing double dash (#75). + +--- Old: commander-4.4.7.gem New: commander-4.5.0.gem Other differences: -- ++ rubygem-commander.spec ++ --- /var/tmp/diff_new_pack.AwVEQQ/_old 2020-03-07 21:37:38.308247838 +0100 +++ /var/tmp/diff_new_pack.AwVEQQ/_new 2020-03-07 21:37:38.312247841 +0100 @@ -1,7 +1,7 @@ # # spec file for package rubygem-commander # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,7 +24,7 @@ # Name: rubygem-commander -Version:4.4.7 +Version:4.5.0 Release:0 %define mod_name commander %define mod_full_name %{mod_name}-%{version} @@ -33,7 +33,7 @@ BuildRequires: %{ruby} BuildRequires: ruby-macros >= 5 BuildRequires: update-alternatives -Url:https://github.com/commander-rb/commander +URL:https://github.com/commander-rb/commander Source: https://rubygems.org/gems/%{mod_full_name}.gem Source1:gem2rpm.yml Summary:The complete solution for Ruby command-line executables ++ commander-4.4.7.gem -> commander-4.5.0.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.travis.yml new/.travis.yml --- old/.travis.yml 2018-10-22 23:58:30.0 +0200 +++ new/.travis.yml 2020-01-21 19:34:25.0 +0100 @@ -4,11 +4,10 @@ - gem update --system - gem update bundler rvm: - - 1.9.3 - - 2.0.0 - - 2.1.10 - - 2.2.9 - - 2.3.6 - - 2.4.3 - - 2.5.0 - - jruby-19mode + - 2.3 + - 2.4 + - 2.5 + - 2.6 + - 2.7 + - jruby + - ruby-head diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/History.rdoc new/History.rdoc --- old/History.rdoc2018-10-22 23:58:30.0 +0200 +++ new/History.rdoc2020-01-21 19:34:25.0 +0100 @@ -1,3 +1,8 @@ +=== 4.5.0 / 2020-01-21 + +* Drop support for Ruby < 2.3. +* Fix bug parsing double dash (#75). + === 4.4.7 / 2018-10-22 * Update HighLine dependency to 2.0.0. (@rohitpaulk) Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/commander/runner.rb new/lib/commander/runner.rb --- old/lib/commander/runner.rb 2018-10-22 23:58:30.0 +0200 +++ new/lib/commander/runner.rb 2020-01-21 19:34:25.0 +0100 @@ -328,7 +328,6 @@ # again for the command. def remove_global_options(options, args) - # TODO: refactor with flipflop, please TJ ! have time to refactor me ! options.each do |option| switches = option[:switches].dup next if switches.empty? @@ -341,6 +340,7 @@ past_switch, arg_removed = false, false args.delete_if do |arg| + break if arg == '--' if switches.any? { |s| s[0, arg.length] == arg } arg_removed = !switch_has_arg past_switch = true diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/commander/version.rb new/lib/commander/version.rb --- old/lib/commander/version.rb2018-10-22 23:58:30.0 +0200 +++ new/lib/commander/version.rb2020-01-21 19:34:25.0 +0100 @@ -1,3 +1,3 @@ module Commander - VERSION = '4.4.7'.freeze + VERSION = '4.5.0'.freeze end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata2018-10-22 23:58:30.0 +0200 +++ new/metadata2020-01-21 19:34:25.0 +0100 @@ -1,7 +1,7 @@ --- !ruby/object:Gem::Specification name: commander version: !ruby/object:Gem::Version - version: 4.4.7 + version: 4.5.0 platfor
commit rubygem-commander for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-commander for openSUSE:Factory checked in at 2019-01-21 10:25:57 Comparing /work/SRC/openSUSE:Factory/rubygem-commander (Old) and /work/SRC/openSUSE:Factory/.rubygem-commander.new.28833 (New) Package is "rubygem-commander" Mon Jan 21 10:25:57 2019 rev:25 rq:656382 version:4.4.7 Changes: --- /work/SRC/openSUSE:Factory/rubygem-commander/rubygem-commander.changes 2018-10-25 08:21:02.255946537 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-commander.new.28833/rubygem-commander.changes 2019-01-21 10:25:59.261708814 +0100 @@ -1,0 +2,10 @@ +Sat Dec 8 16:19:53 UTC 2018 - Stephan Kulow + +- updated to version 4.4.7 + see installed History.rdoc + + === 4.4.7 / 2018-10-22 + + * Update HighLine dependency to 2.0.0. (@rohitpaulk) + +--- Old: commander-4.4.6.gem New: commander-4.4.7.gem Other differences: -- ++ rubygem-commander.spec ++ --- /var/tmp/diff_new_pack.eSlm0Z/_old 2019-01-21 10:25:59.649708388 +0100 +++ /var/tmp/diff_new_pack.eSlm0Z/_new 2019-01-21 10:25:59.665708370 +0100 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -24,7 +24,7 @@ # Name: rubygem-commander -Version:4.4.6 +Version:4.4.7 Release:0 %define mod_name commander %define mod_full_name %{mod_name}-%{version} ++ commander-4.4.6.gem -> commander-4.4.7.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/History.rdoc new/History.rdoc --- old/History.rdoc2018-08-01 05:56:22.0 +0200 +++ new/History.rdoc2018-10-22 23:58:30.0 +0200 @@ -1,3 +1,7 @@ +=== 4.4.7 / 2018-10-22 + +* Update HighLine dependency to 2.0.0. (@rohitpaulk) + === 4.4.6 / 2018-07-31 * Fix unexpected internal behavior change introduced in 4.4.5. Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/commander.gemspec new/commander.gemspec --- old/commander.gemspec 2018-08-01 05:56:22.0 +0200 +++ new/commander.gemspec 2018-10-22 23:58:30.0 +0200 @@ -18,7 +18,7 @@ s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) } s.require_paths = ['lib'] - s.add_runtime_dependency('highline', '~> 1.7.2') + s.add_runtime_dependency('highline', '~> 2.0.0') s.add_development_dependency('rspec', '~> 3.2') s.add_development_dependency('rake') diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/commander/core_ext/array.rb new/lib/commander/core_ext/array.rb --- old/lib/commander/core_ext/array.rb 2018-08-01 05:56:22.0 +0200 +++ new/lib/commander/core_ext/array.rb 2018-10-22 23:58:30.0 +0200 @@ -1,7 +1,7 @@ class Array ## # Split _string_ into an array. Used in - # conjunction with Highline's #ask, or #ask_for_array + # conjunction with HighLine's #ask, or #ask_for_array # methods, which must respond to #parse. # # This method allows escaping of whitespace. For example diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/commander/help_formatters/terminal/command_help.erb new/lib/commander/help_formatters/terminal/command_help.erb --- old/lib/commander/help_formatters/terminal/command_help.erb 2018-08-01 05:56:22.0 +0200 +++ new/lib/commander/help_formatters/terminal/command_help.erb 2018-10-22 23:58:30.0 +0200 @@ -1,22 +1,22 @@ - <%= $terminal.color "NAME", :bold %>: + <%= HighLine.default_instance.color "NAME", :bold %>: <%= @name %> <% if @syntax -%> - <%= $terminal.color "SYNOPSIS", :bold %>: + <%= HighLine.default_instance.color "SYNOPSIS", :bold %>: <%= @syntax -%> <% end -%> - <%= $terminal.color "DESCRIPTION", :bold %>: + <%= HighLine.default_instance.color "DESCRIPTION", :bold %>: <%= Commander::HelpFormatter.indent 4, (@description || @summary || 'No description.') -%> <% unless @examples.empty? -%> - <%= $terminal.color "EXAMPLES", :bold %>: + <%= HighLine.default_instance.color "EXAMPLES", :bold %>: <% for description, command in @examples -%> # <%= description %> @@ -25,10 +25,10 @@ <% end -%> <% unless @options.empty? -%> - <%= $terminal.color "OPTIONS", :bold %>: + <%= HighLine.default_instance.color "OPTIONS", :bold %>: <% f
commit rubygem-commander for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-commander for openSUSE:Factory checked in at 2018-10-25 08:20:46 Comparing /work/SRC/openSUSE:Factory/rubygem-commander (Old) and /work/SRC/openSUSE:Factory/.rubygem-commander.new (New) Package is "rubygem-commander" Thu Oct 25 08:20:46 2018 rev:24 rq:643122 version:4.4.6 Changes: --- /work/SRC/openSUSE:Factory/rubygem-commander/rubygem-commander.changes 2018-07-18 22:48:57.347952467 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-commander.new/rubygem-commander.changes 2018-10-25 08:21:02.255946537 +0200 @@ -1,0 +2,10 @@ +Wed Sep 5 10:07:33 UTC 2018 - co...@suse.com + +- updated to version 4.4.6 + see installed History.rdoc + + === 4.4.6 / 2018-07-31 + + * Fix unexpected internal behavior change introduced in 4.4.5. + +--- Old: commander-4.4.5.gem New: commander-4.4.6.gem Other differences: -- ++ rubygem-commander.spec ++ --- /var/tmp/diff_new_pack.8RJDIY/_old 2018-10-25 08:21:02.731946325 +0200 +++ /var/tmp/diff_new_pack.8RJDIY/_new 2018-10-25 08:21:02.731946325 +0200 @@ -24,7 +24,7 @@ # Name: rubygem-commander -Version:4.4.5 +Version:4.4.6 Release:0 %define mod_name commander %define mod_full_name %{mod_name}-%{version} ++ commander-4.4.5.gem -> commander-4.4.6.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/History.rdoc new/History.rdoc --- old/History.rdoc2018-05-22 20:58:31.0 +0200 +++ new/History.rdoc2018-08-01 05:56:22.0 +0200 @@ -1,3 +1,7 @@ +=== 4.4.6 / 2018-07-31 + +* Fix unexpected internal behavior change introduced in 4.4.5. + === 4.4.5 / 2018-05-22 * Make internal command state less mutable. (@doriantaylor) Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/commander/command.rb new/lib/commander/command.rb --- old/lib/commander/command.rb2018-05-22 20:58:31.0 +0200 +++ new/lib/commander/command.rb2018-08-01 05:56:22.0 +0200 @@ -161,6 +161,9 @@ def parse_options_and_call_procs(*args) return args if args.empty? + # empty proxy_options before populating via OptionParser + # prevents duplication of options if the command is run twice + proxy_options.clear @options.each_with_object(OptionParser.new) do |option, opts| opts.on(*option[:args], &option[:proc]) opts @@ -175,9 +178,6 @@ meth ||= :call options = proxy_option_struct - # empty the proxy option stack before the next invocation - proxy_options.clear - case object when Proc then object.call(args, options) when Class then meth != :call ? object.new.send(meth, args, options) : object.new(args, options) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/commander/version.rb new/lib/commander/version.rb --- old/lib/commander/version.rb2018-05-22 20:58:31.0 +0200 +++ new/lib/commander/version.rb2018-08-01 05:56:22.0 +0200 @@ -1,3 +1,3 @@ module Commander - VERSION = '4.4.5'.freeze + VERSION = '4.4.6'.freeze end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata2018-05-22 20:58:31.0 +0200 +++ new/metadata2018-08-01 05:56:22.0 +0200 @@ -1,7 +1,7 @@ --- !ruby/object:Gem::Specification name: commander version: !ruby/object:Gem::Version - version: 4.4.5 + version: 4.4.6 platform: ruby authors: - TJ Holowaychuk @@ -9,7 +9,7 @@ autorequire: bindir: bin cert_chain: [] -date: 2018-05-22 00:00:00.0 Z +date: 2018-08-01 00:00:00.0 Z dependencies: - !ruby/object:Gem::Dependency name: highline @@ -157,7 +157,7 @@ version: '0' requirements: [] rubyforge_project: -rubygems_version: 2.6.11 +rubygems_version: 2.7.4 signing_key: specification_version: 4 summary: The complete solution for Ruby command-line executables diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spec/command_spec.rb new/spec/command_spec.rb --- old/spec/command_spec.rb2018-05-22 20:58:31.0 +0200 +++ new/spec/command_spec.rb2018-08-01 05:56:22.0 +0200 @@ -80,9 +80,11 @@ expect(@command.run('twice')).to eql('test twice') end - it 'should empty @proxy_options after running' do + it 'should not accumulate entries in @proxy_options when run twice' do expect(@command.r
commit rubygem-commander for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-commander for openSUSE:Factory checked in at 2018-07-18 22:48:52 Comparing /work/SRC/openSUSE:Factory/rubygem-commander (Old) and /work/SRC/openSUSE:Factory/.rubygem-commander.new (New) Package is "rubygem-commander" Wed Jul 18 22:48:52 2018 rev:23 rq:620993 version:4.4.5 Changes: --- /work/SRC/openSUSE:Factory/rubygem-commander/rubygem-commander.changes 2018-02-10 17:59:49.408534752 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-commander.new/rubygem-commander.changes 2018-07-18 22:48:57.347952467 +0200 @@ -1,0 +2,10 @@ +Tue May 22 19:02:56 UTC 2018 - factory-a...@kulow.org + +- updated to version 4.4.5 + see installed History.rdoc + + === 4.4.5 / 2018-05-22 + + * Make internal command state less mutable. (@doriantaylor) + +--- Old: commander-4.4.4.gem New: commander-4.4.5.gem Other differences: -- ++ rubygem-commander.spec ++ --- /var/tmp/diff_new_pack.3PYYId/_old 2018-07-18 22:48:57.959950438 +0200 +++ /var/tmp/diff_new_pack.3PYYId/_new 2018-07-18 22:48:57.959950438 +0200 @@ -24,7 +24,7 @@ # Name: rubygem-commander -Version:4.4.4 +Version:4.4.5 Release:0 %define mod_name commander %define mod_full_name %{mod_name}-%{version} ++ commander-4.4.4.gem -> commander-4.4.5.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/History.rdoc new/History.rdoc --- old/History.rdoc2018-01-19 00:03:31.0 +0100 +++ new/History.rdoc2018-05-22 20:58:31.0 +0200 @@ -1,3 +1,7 @@ +=== 4.4.5 / 2018-05-22 + +* Make internal command state less mutable. (@doriantaylor) + === 4.4.4 / 2018-01-18 * Fix deprecated constant warnings on Ruby 2.5. (@mattbrictson) Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/commander/command.rb new/lib/commander/command.rb --- old/lib/commander/command.rb2018-01-19 00:03:31.0 +0100 +++ new/lib/commander/command.rb2018-05-22 20:58:31.0 +0200 @@ -171,9 +171,13 @@ # Call the commands when_called block with _args_. def call(args = []) - object = @when_called.shift - meth = @when_called.shift || :call + object, meth = @when_called[0, 2] + meth ||= :call options = proxy_option_struct + + # empty the proxy option stack before the next invocation + proxy_options.clear + case object when Proc then object.call(args, options) when Class then meth != :call ? object.new.send(meth, args, options) : object.new(args, options) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/commander/version.rb new/lib/commander/version.rb --- old/lib/commander/version.rb2018-01-19 00:03:31.0 +0100 +++ new/lib/commander/version.rb2018-05-22 20:58:31.0 +0200 @@ -1,3 +1,3 @@ module Commander - VERSION = '4.4.4'.freeze + VERSION = '4.4.5'.freeze end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata2018-01-19 00:03:31.0 +0100 +++ new/metadata2018-05-22 20:58:31.0 +0200 @@ -1,7 +1,7 @@ --- !ruby/object:Gem::Specification name: commander version: !ruby/object:Gem::Version - version: 4.4.4 + version: 4.4.5 platform: ruby authors: - TJ Holowaychuk @@ -9,7 +9,7 @@ autorequire: bindir: bin cert_chain: [] -date: 2018-01-18 00:00:00.0 Z +date: 2018-05-22 00:00:00.0 Z dependencies: - !ruby/object:Gem::Dependency name: highline @@ -157,7 +157,7 @@ version: '0' requirements: [] rubyforge_project: -rubygems_version: 2.7.4 +rubygems_version: 2.6.11 signing_key: specification_version: 4 summary: The complete solution for Ruby command-line executables diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spec/command_spec.rb new/spec/command_spec.rb --- old/spec/command_spec.rb2018-01-19 00:03:31.0 +0100 +++ new/spec/command_spec.rb2018-05-22 20:58:31.0 +0200 @@ -74,6 +74,16 @@ it 'should raise an error when no handler is present' do expect { @command.when_called }.to raise_error(ArgumentError) end + + it 'should be able to be run more than once' do +expect(@command.run('once')).to eql('test once') +expect(@command.run('twice')).to eql('test twice') + end + + it 'should empty @proxy_options after running' do +expect(@command.run
commit rubygem-commander for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-commander for openSUSE:Factory checked in at 2018-02-10 17:59:49 Comparing /work/SRC/openSUSE:Factory/rubygem-commander (Old) and /work/SRC/openSUSE:Factory/.rubygem-commander.new (New) Package is "rubygem-commander" Sat Feb 10 17:59:49 2018 rev:22 rq:574927 version:4.4.4 Changes: --- /work/SRC/openSUSE:Factory/rubygem-commander/rubygem-commander.changes 2017-01-15 11:18:55.567197173 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-commander.new/rubygem-commander.changes 2018-02-10 17:59:49.408534752 +0100 @@ -1,0 +2,10 @@ +Thu Feb 8 05:57:41 UTC 2018 - co...@suse.com + +- updated to version 4.4.4 + see installed History.rdoc + + === 4.4.4 / 2018-01-18 + + * Fix deprecated constant warnings on Ruby 2.5. (@mattbrictson) + +--- Old: commander-4.4.3.gem New: commander-4.4.4.gem Other differences: -- ++ rubygem-commander.spec ++ --- /var/tmp/diff_new_pack.OAELWK/_old 2018-02-10 17:59:50.272503476 +0100 +++ /var/tmp/diff_new_pack.OAELWK/_new 2018-02-10 17:59:50.276503331 +0100 @@ -1,7 +1,7 @@ # # spec file for package rubygem-commander # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -24,7 +24,7 @@ # Name: rubygem-commander -Version:4.4.3 +Version:4.4.4 Release:0 %define mod_name commander %define mod_full_name %{mod_name}-%{version} @@ -34,7 +34,7 @@ BuildRequires: ruby-macros >= 5 BuildRequires: update-alternatives Url:https://github.com/commander-rb/commander -Source: http://rubygems.org/gems/%{mod_full_name}.gem +Source: https://rubygems.org/gems/%{mod_full_name}.gem Source1:gem2rpm.yml Summary:The complete solution for Ruby command-line executables License:MIT ++ commander-4.4.3.gem -> commander-4.4.4.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.rubocop.yml new/.rubocop.yml --- old/.rubocop.yml2016-12-28 22:04:30.0 +0100 +++ new/.rubocop.yml2018-01-19 00:03:31.0 +0100 @@ -1,5 +1,12 @@ inherit_from: .rubocop_todo.yml +AllCops: + TargetRubyVersion: 1.9 + +# not Ruby 1.9.3 compatible +Style/PercentLiteralDelimiters: + Enabled: false + # Offense count: 5 Encoding: Enabled: false @@ -23,10 +30,10 @@ Style/MethodMissing: Enabled: false -Style/SpaceInsideStringInterpolation: +Layout/SpaceInsideStringInterpolation: Enabled: false -Style/MultilineOperationIndentation: +Layout/MultilineOperationIndentation: Enabled: false Style/EmptyMethod: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.rubocop_todo.yml new/.rubocop_todo.yml --- old/.rubocop_todo.yml 2016-12-28 22:04:30.0 +0100 +++ new/.rubocop_todo.yml 2018-01-19 00:03:31.0 +0100 @@ -6,7 +6,7 @@ # versions of RuboCop, may require this file to be generated again. # Offense count: 2 -Lint/Eval: +Security/Eval: Enabled: false # Offense count: 2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.travis.yml new/.travis.yml --- old/.travis.yml 2016-12-28 22:04:30.0 +0100 +++ new/.travis.yml 2018-01-19 00:03:31.0 +0100 @@ -1,4 +1,5 @@ language: ruby +cache: bundler before_install: - gem update --system - gem update bundler @@ -6,7 +7,8 @@ - 1.9.3 - 2.0.0 - 2.1.10 - - 2.2.6 - - 2.3.3 - - 2.4.0 + - 2.2.9 + - 2.3.6 + - 2.4.3 + - 2.5.0 - jruby-19mode diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/History.rdoc new/History.rdoc --- old/History.rdoc2016-12-28 22:04:30.0 +0100 +++ new/History.rdoc2018-01-19 00:03:31.0 +0100 @@ -1,3 +1,7 @@ +=== 4.4.4 / 2018-01-18 + +* Fix deprecated constant warnings on Ruby 2.5. (@mattbrictson) + === 4.4.3 / 2016-12-28 * Fix deprecated constant warnings on Ruby 2.4. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.md new/README.md --- old/README.md 2016-12-28 22:04:30.0 +0100 +++ new/README.md 2018-01-19 00:03:31.0 +0100 @@ -1,5 +1,5 @@ -[https://secure.travis-ci.org/commander-rb/commander.png?branch=master"; alt="Build Status" />](http://travis-ci.org/commander-rb/commander) -[![Inline docs](http://inch-ci.org/github/commander-rb/commander.png)](http://inch-
commit rubygem-commander for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-commander for openSUSE:Factory checked in at 2016-03-07 13:27:57 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 2016-03-01 09:42:38.0 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-commander.new/rubygem-commander.changes 2016-03-07 13:29:19.0 +0100 @@ -1,0 +2,22 @@ +Wed Mar 2 05:30:16 UTC 2016 - co...@suse.com + +- updated to version 4.4.0 + see installed History.rdoc + + === 4.4.0 / 2016-02-19 + + * Add modular style template initialization. (@lebogan) + * Allow option names that start with a global option name. + * Fix handling of negatable global flags. (@mfurtak) + +--- +Wed Feb 10 05:29:02 UTC 2016 - co...@suse.com + +- updated to version 4.3.8 + see installed History.rdoc + + === 4.3.8 / 2016-02-09 + + * Fix regression for deprecation warnings. + +--- Old: commander-4.3.7.gem New: commander-4.4.0.gem Other differences: -- ++ rubygem-commander.spec ++ --- /var/tmp/diff_new_pack.98v12D/_old 2016-03-07 13:29:20.0 +0100 +++ /var/tmp/diff_new_pack.98v12D/_new 2016-03-07 13:29:20.0 +0100 @@ -24,7 +24,7 @@ # Name: rubygem-commander -Version:4.3.7 +Version:4.4.0 Release:0 %define mod_name commander %define mod_full_name %{mod_name}-%{version} ++ commander-4.3.7.gem -> commander-4.4.0.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.rubocop_todo.yml new/.rubocop_todo.yml --- old/.rubocop_todo.yml 2016-01-27 01:55:01.0 +0100 +++ new/.rubocop_todo.yml 2016-02-19 22:39:21.0 +0100 @@ -20,7 +20,7 @@ # Offense count: 1 # Configuration parameters: CountComments. Metrics/ClassLength: - Max: 230 + Enabled: false # Offense count: 4 Metrics/CyclomaticComplexity: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/History.rdoc new/History.rdoc --- old/History.rdoc2016-01-27 01:55:01.0 +0100 +++ new/History.rdoc2016-02-19 22:39:21.0 +0100 @@ -1,3 +1,13 @@ +=== 4.4.0 / 2016-02-19 + +* Add modular style template initialization. (@lebogan) +* Allow option names that start with a global option name. +* Fix handling of negatable global flags. (@mfurtak) + +=== 4.3.8 / 2016-02-09 + +* Fix regression for deprecation warnings. + === 4.3.7 / 2016-01-26 * Fix regression in help formatter introduced in 4.3.6. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.md new/README.md --- old/README.md 2016-01-27 01:55:01.0 +0100 +++ new/README.md 2016-02-19 22:39:21.0 +0100 @@ -37,6 +37,10 @@ $ commander init yourfile.rb +To generate a quick modular style template for a commander app, run: + +$ commander init --modular yourfile.rb + ## Example For more option examples view the `Commander::Command#option` method. Also diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bin/commander new/bin/commander --- old/bin/commander 2016-01-27 01:55:01.0 +0100 +++ new/bin/commander 2016-02-19 22:39:21.0 +0100 @@ -8,30 +8,78 @@ program :description, 'Commander utility program.' command :init do |c| - c.syntax = 'commander init ' + c.syntax = 'commander init [option] ' c.summary = 'Initialize a commander template' c.description = 'Initialize an empty with a commander template, allowing very quick creation of commander executables.' - c.example 'Create a new file with a commander template.', 'commander init bin/my_executable' - c.action do |args, _options| + c.example 'Create a new classic style template file.', 'commander init bin/my_executable' + c.example 'Create a new modular style template file.', 'commander init --modular bin/my_executable' + c.option '-m', '--modular', 'Initialize a modular style template' + c.action do |args, options| file = args.shift || abort('file argument required.') name = ask 'Machine name of program: ' description = ask 'Describe your program: ' commands = ask_for_array 'List the commands you wish to create: ' begin - File.open(file, 'w') do |f| -f.write <<-"...".gsub!(/^ {10}/, '') + if options.modular +File.open(file, 'w') do |f| + f.write <<-"...".gsub!(/^ {10}/, '') +
commit rubygem-commander for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-commander for openSUSE:Factory checked in at 2016-03-01 09:42:34 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 2015-08-21 07:40:44.0 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-commander.new/rubygem-commander.changes 2016-03-01 09:42:38.0 +0100 @@ -1,0 +2,15 @@ +Wed Jan 27 05:28:55 UTC 2016 - co...@suse.com + +- updated to version 4.3.7 + see installed History.rdoc + + === 4.3.7 / 2016-01-26 + + * Fix regression in help formatter introduced in 4.3.6. + + === 4.3.6 / 2016-01-26 [YANKED] + + * Fix deprecation warnings on Ruby 2.3.0. + * Indent option descriptions the same way as program and command descriptions. (@badeball) + +--- Old: commander-4.3.5.gem New: commander-4.3.7.gem Other differences: -- ++ rubygem-commander.spec ++ --- /var/tmp/diff_new_pack.uIpews/_old 2016-03-01 09:42:40.0 +0100 +++ /var/tmp/diff_new_pack.uIpews/_new 2016-03-01 09:42:40.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package rubygem-commander # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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 @@ -24,7 +24,7 @@ # Name: rubygem-commander -Version:4.3.5 +Version:4.3.7 Release:0 %define mod_name commander %define mod_full_name %{mod_name}-%{version} ++ commander-4.3.5.gem -> commander-4.3.7.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.travis.yml new/.travis.yml --- old/.travis.yml 2015-08-09 10:15:09.0 +0200 +++ new/.travis.yml 2016-01-27 01:55:01.0 +0100 @@ -1,8 +1,10 @@ language: ruby -before_install: gem update --system +before_install: + - gem update --system + - gem update bundler rvm: - 1.9.3 - 2.0.0 - 2.1.0 + - 2.2.0 - jruby-19mode - - rbx-2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Gemfile new/Gemfile --- old/Gemfile 2015-08-09 10:15:09.0 +0200 +++ new/Gemfile 2016-01-27 01:55:01.0 +0100 @@ -1,3 +1,3 @@ -source 'http://rubygems.org' +source 'https://rubygems.org' gemspec diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/History.rdoc new/History.rdoc --- old/History.rdoc2015-08-09 10:15:09.0 +0200 +++ new/History.rdoc2016-01-27 01:55:01.0 +0100 @@ -1,3 +1,12 @@ +=== 4.3.7 / 2016-01-26 + +* Fix regression in help formatter introduced in 4.3.6. + +=== 4.3.6 / 2016-01-26 [YANKED] + +* Fix deprecation warnings on Ruby 2.3.0. +* Indent option descriptions the same way as program and command descriptions. (@badeball) + === 4.3.5 / 2015-08-09 * Fixed a bug with small terminal widths, changed minimum screen width for wrapping to 40 columns. (@toolmantim) Files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/commander/help_formatters/terminal/command_help.erb new/lib/commander/help_formatters/terminal/command_help.erb --- old/lib/commander/help_formatters/terminal/command_help.erb 2015-08-09 10:15:09.0 +0200 +++ new/lib/commander/help_formatters/terminal/command_help.erb 2016-01-27 01:55:01.0 +0100 @@ -29,7 +29,7 @@ <% for option in @options -%> <%= option[:switches].join ', ' %> -<%= option[:description] %> +<%= Commander::HelpFormatter.indent 8, option[:description] %> <% end -%> <% end -%> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/commander/help_formatters.rb new/lib/commander/help_formatters.rb --- old/lib/commander/help_formatters.rb2015-08-09 10:15:09.0 +0200 +++ new/lib/commander/help_formatters.rb2016-01-27 01:55:01.0 +0100 @@ -43,7 +43,7 @@ module_function def indent(amount, text) - text.gsub("\n", "\n" + (' ' * amount)) + text.to_s.gsub("\n", "\n" + (' ' * amount)) end end end 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 2
commit rubygem-commander for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-commander for openSUSE:Factory checked in at 2015-08-21 07:40:37 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 2015-05-06 07:49:42.0 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-commander.new/rubygem-commander.changes 2015-08-21 07:40:44.0 +0200 @@ -1,0 +2,10 @@ +Mon Aug 10 04:29:17 UTC 2015 - co...@suse.com + +- updated to version 4.3.5 + see installed History.rdoc + + === 4.3.5 / 2015-08-09 + + * Fixed a bug with small terminal widths, changed minimum screen width for wrapping to 40 columns. (@toolmantim) + +--- Old: commander-4.3.4.gem New: commander-4.3.5.gem Other differences: -- ++ rubygem-commander.spec ++ --- /var/tmp/diff_new_pack.KYasOw/_old 2015-08-21 07:40:45.0 +0200 +++ /var/tmp/diff_new_pack.KYasOw/_new 2015-08-21 07:40:45.0 +0200 @@ -24,7 +24,7 @@ # Name: rubygem-commander -Version:4.3.4 +Version:4.3.5 Release:0 %define mod_name commander %define mod_full_name %{mod_name}-%{version} ++ commander-4.3.4.gem -> commander-4.3.5.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/History.rdoc new/History.rdoc --- old/History.rdoc2015-05-04 04:02:45.0 +0200 +++ new/History.rdoc2015-08-09 10:15:09.0 +0200 @@ -1,3 +1,7 @@ +=== 4.3.5 / 2015-08-09 + +* Fixed a bug with small terminal widths, changed minimum screen width for wrapping to 40 columns. (@toolmantim) + === 4.3.4 / 2015-05-03 * Fixed a regression with the compact help formatter. Files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/commander/import.rb new/lib/commander/import.rb --- old/lib/commander/import.rb 2015-05-04 04:02:45.0 +0200 +++ new/lib/commander/import.rb 2015-08-09 10:15:09.0 +0200 @@ -1,8 +1,5 @@ require 'commander' -include Commander::UI -include Commander::UI::AskForClass -include Commander::Delegates +include Commander::Methods -$terminal.wrap_at = HighLine::SystemExtensions.terminal_size.first - 5 rescue 80 if $stdin.tty? at_exit { run! } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/commander/methods.rb new/lib/commander/methods.rb --- old/lib/commander/methods.rb2015-05-04 04:02:45.0 +0200 +++ new/lib/commander/methods.rb2015-08-09 10:15:09.0 +0200 @@ -4,6 +4,8 @@ include Commander::UI::AskForClass include Commander::Delegates -$terminal.wrap_at = HighLine::SystemExtensions.terminal_size.first - 5 rescue 80 if $stdin.tty? +if $stdin.tty? && (cols = $terminal.output_cols) >= 40 + $terminal.wrap_at = cols - 5 +end end 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.rb2015-05-04 04:02:45.0 +0200 +++ new/lib/commander/version.rb2015-08-09 10:15:09.0 +0200 @@ -1,3 +1,3 @@ module Commander - VERSION = '4.3.4' + VERSION = '4.3.5' end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata2015-05-04 04:02:45.0 +0200 +++ new/metadata2015-08-09 10:15:09.0 +0200 @@ -1,7 +1,7 @@ --- !ruby/object:Gem::Specification name: commander version: !ruby/object:Gem::Version - version: 4.3.4 + version: 4.3.5 platform: ruby authors: - TJ Holowaychuk @@ -9,7 +9,7 @@ autorequire: bindir: bin cert_chain: [] -date: 2015-05-04 00:00:00.0 Z +date: 2015-08-09 00:00:00.0 Z dependencies: - !ruby/object:Gem::Dependency name: highline @@ -157,7 +157,7 @@ version: '0' requirements: [] rubyforge_project: -rubygems_version: 2.2.2 +rubygems_version: 2.4.8 signing_key: specification_version: 4 summary: The complete solution for Ruby command-line executables
commit rubygem-commander for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-commander for openSUSE:Factory checked in at 2015-05-06 07:49:22 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 2015-04-25 14:09:06.0 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-commander.new/rubygem-commander.changes 2015-05-06 07:49:42.0 +0200 @@ -1,0 +2,10 @@ +Mon May 4 04:29:01 UTC 2015 - co...@suse.com + +- updated to version 4.3.4 + see installed History.rdoc + + === 4.3.4 / 2015-05-03 + + * Fixed a regression with the compact help formatter. + +--- Old: commander-4.3.3.gem New: commander-4.3.4.gem Other differences: -- ++ rubygem-commander.spec ++ --- /var/tmp/diff_new_pack.NdoVwT/_old 2015-05-06 07:49:42.0 +0200 +++ /var/tmp/diff_new_pack.NdoVwT/_new 2015-05-06 07:49:42.0 +0200 @@ -24,7 +24,7 @@ # Name: rubygem-commander -Version:4.3.3 +Version:4.3.4 Release:0 %define mod_name commander %define mod_full_name %{mod_name}-%{version} ++ commander-4.3.3.gem -> commander-4.3.4.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/History.rdoc new/History.rdoc --- old/History.rdoc2015-04-21 20:31:51.0 +0200 +++ new/History.rdoc2015-05-04 04:02:45.0 +0200 @@ -1,6 +1,11 @@ +=== 4.3.4 / 2015-05-03 + +* Fixed a regression with the compact help formatter. + === 4.3.3 / 2015-04-21 * Updated to highline 1.7.2 to fix a regression with terminal size (https://github.com/JEG2/highline/pull/139). +* Help formatting updated to look better for commands with long names. (@jszwedko) === 4.3.2 / 2015-03-31 Files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/commander/help_formatters/terminal/help.erb new/lib/commander/help_formatters/terminal/help.erb --- old/lib/commander/help_formatters/terminal/help.erb 2015-04-21 20:31:51.0 +0200 +++ new/lib/commander/help_formatters/terminal/help.erb 2015-05-04 04:02:45.0 +0200 @@ -1,10 +1,3 @@ -<% - # TODO: move into formatter? - longest_command = @commands.keys.max_by(&:size) - max_command_length = longest_command ? longest_command.size : 20 - longest_alias = @aliases.keys.max_by(&:size) - max_aliases_length = longest_alias ? longest_alias.size : 20 -%> <%= $terminal.color "NAME", :bold %>: <%= program :name %> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/commander/help_formatters/terminal.rb new/lib/commander/help_formatters/terminal.rb --- old/lib/commander/help_formatters/terminal.rb 2015-04-21 20:31:51.0 +0200 +++ new/lib/commander/help_formatters/terminal.rb 2015-05-04 04:02:45.0 +0200 @@ -4,11 +4,11 @@ module HelpFormatter class Terminal < Base def render -template(:help).result @runner.get_binding +template(:help).result(ProgramContext.new(@runner).get_binding) end def render_command(command) -template(:command_help).result command.get_binding +template(:command_help).result(Context.new(command).get_binding) end def template(name) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/commander/help_formatters/terminal_compact/help.erb new/lib/commander/help_formatters/terminal_compact/help.erb --- old/lib/commander/help_formatters/terminal_compact/help.erb 2015-04-21 20:31:51.0 +0200 +++ new/lib/commander/help_formatters/terminal_compact/help.erb 2015-05-04 04:02:45.0 +0200 @@ -1,5 +1,3 @@ -<% max_command_length = @commands.keys.max_by(&:size).size %> -<% max_aliases_length = @aliases.keys.max_by(&:size).size %> <%= program :name %> <%= program :description %> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/commander/help_formatters.rb new/lib/commander/help_formatters.rb --- old/lib/commander/help_formatters.rb2015-04-21 20:31:51.0 +0200 +++ new/lib/commander/help_formatters.rb2015-05-04 04:02:45.0 +0200 @@ -4,6 +4,42 @@ autoload :Terminal, 'commander/help_formatters/terminal' autoload :TerminalCompact, 'commander/help_formatters/terminal_compact' +class Context + def initialize(target) +@target = target + end + + de
commit rubygem-commander for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-commander for openSUSE:Factory checked in at 2015-04-25 14:09:05 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 2015-04-10 09:53:05.0 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-commander.new/rubygem-commander.changes 2015-04-25 14:09:06.0 +0200 @@ -1,0 +2,10 @@ +Thu Apr 23 08:07:36 UTC 2015 - co...@suse.com + +- updated to version 4.3.3 + see installed History.rdoc + + === 4.3.3 / 2015-04-21 + + * Updated to highline 1.7.2 to fix a regression with terminal size (https://github.com/JEG2/highline/pull/139). + +--- Old: commander-4.3.2.gem New: commander-4.3.3.gem Other differences: -- ++ rubygem-commander.spec ++ --- /var/tmp/diff_new_pack.P5xoEA/_old 2015-04-25 14:09:06.0 +0200 +++ /var/tmp/diff_new_pack.P5xoEA/_new 2015-04-25 14:09:06.0 +0200 @@ -24,7 +24,7 @@ # Name: rubygem-commander -Version:4.3.2 +Version:4.3.3 Release:0 %define mod_name commander %define mod_full_name %{mod_name}-%{version} ++ commander-4.3.2.gem -> commander-4.3.3.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/History.rdoc new/History.rdoc --- old/History.rdoc2015-04-01 07:55:48.0 +0200 +++ new/History.rdoc2015-04-21 20:31:51.0 +0200 @@ -1,3 +1,7 @@ +=== 4.3.3 / 2015-04-21 + +* Updated to highline 1.7.2 to fix a regression with terminal size (https://github.com/JEG2/highline/pull/139). + === 4.3.2 / 2015-03-31 * Version bump to publish new location of Commander to Rubygems. Moved to https://github.com/commander-rb/commander Files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/commander.gemspec new/commander.gemspec --- old/commander.gemspec 2015-04-01 07:55:48.0 +0200 +++ new/commander.gemspec 2015-04-21 20:31:51.0 +0200 @@ -17,7 +17,7 @@ s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) } s.require_paths = ['lib'] - s.add_runtime_dependency('highline', '~> 1.7.1') + s.add_runtime_dependency('highline', '~> 1.7.2') s.add_development_dependency('rspec', '~> 3.2') s.add_development_dependency('rake') diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/commander/help_formatters/terminal/help.erb new/lib/commander/help_formatters/terminal/help.erb --- old/lib/commander/help_formatters/terminal/help.erb 2015-04-01 07:55:48.0 +0200 +++ new/lib/commander/help_formatters/terminal/help.erb 2015-04-21 20:31:51.0 +0200 @@ -1,3 +1,10 @@ +<% + # TODO: move into formatter? + longest_command = @commands.keys.max_by(&:size) + max_command_length = longest_command ? longest_command.size : 20 + longest_alias = @aliases.keys.max_by(&:size) + max_aliases_length = longest_alias ? longest_alias.size : 20 +%> <%= $terminal.color "NAME", :bold %>: <%= program :name %> @@ -9,13 +16,13 @@ <%= $terminal.color "COMMANDS", :bold %>: <% for name, command in @commands.sort -%> <% unless alias? name %> -<%= "%-20s %s" % [command.name, command.summary || command.description] -%> +<%= "%-#{max_command_length}s %s" % [command.name, command.summary || command.description] -%> <% end -%> <% end %> <% unless @aliases.empty? %> <%= $terminal.color "ALIASES", :bold %>: <% for alias_name, args in @aliases.sort %> -<%= "%-20s %s %s" % [alias_name, command(alias_name).name, args.join(' ')] -%> +<%= "%-#{max_aliases_length}s %s %s" % [alias_name, command(alias_name).name, args.join(' ')] -%> <% end %> <% end %> <% unless @options.empty? -%> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/commander/help_formatters/terminal_compact/help.erb new/lib/commander/help_formatters/terminal_compact/help.erb --- old/lib/commander/help_formatters/terminal_compact/help.erb 2015-04-01 07:55:48.0 +0200 +++ new/lib/commander/help_formatters/terminal_compact/help.erb 2015-04-21 20:31:51.0 +0200 @@ -1,3 +1,5 @@ +<% max_command_length = @commands.keys.max_by(&:size).size %> +<% max_aliases_length = @aliases.keys.max_by(&:size).size %> <%= program :name %> <%= program :description %> @@ -5,13 +7,13 @@ Commands: <% for name, command in @comman
commit rubygem-commander for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-commander for openSUSE:Factory checked in at 2015-02-11 16:45:16 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 2015-02-10 20:22:07.0 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-commander.new/rubygem-commander.changes 2015-02-11 16:45:17.0 +0100 @@ -1,0 +2,5 @@ +Tue Feb 10 17:33:13 UTC 2015 - co...@suse.com + +- updated to version 4.3.0 + +--- Old: commander-4.2.1.gem New: commander-4.3.0.gem Other differences: -- ++ rubygem-commander.spec ++ --- /var/tmp/diff_new_pack.A9acwJ/_old 2015-02-11 16:45:17.0 +0100 +++ /var/tmp/diff_new_pack.A9acwJ/_new 2015-02-11 16:45:17.0 +0100 @@ -24,7 +24,7 @@ # Name: rubygem-commander -Version:4.2.1 +Version:4.3.0 Release:0 %define mod_name commander %define mod_full_name %{mod_name}-%{version} @@ -33,7 +33,7 @@ BuildRequires: %{ruby} BuildRequires: ruby-macros >= 5 BuildRequires: update-alternatives -Url:http://visionmedia.github.com/commander +Url:https://github.com/tj/commander Source: http://rubygems.org/gems/%{mod_full_name}.gem Source1:gem2rpm.yml Summary:The complete solution for Ruby command-line executables ++ commander-4.2.1.gem -> commander-4.3.0.gem ++ 2635 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit rubygem-commander for openSUSE:Factory
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.0 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-commander.new/rubygem-commander.changes 2015-02-10 20:22:07.0 +0100 @@ -1,0 +2,6 @@ +Fri Feb 6 18:18:13 UTC 2015 - co...@suse.com + +- 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.0 +0100 +++ /var/tmp/diff_new_pack.SAPPAV/_new 2015-02-10 20:22:08.0 +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.0 +0200 +++ new/.travis.yml 2014-09-29 07:04:44.0 +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.rdoc2014-04-30 07:05:19.0 +0200 +++ new/History.rdoc2014-09-29 07:04:44.0 +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.0 +0200 +++ new/README.md 2014-09-29 07:04:44.0 +0200 @@ -1,5 +1,5 @@ [https://secure.travis-ci.org/ggilder/commander.png?branch=master"; alt="Build Status" />](http://travis-ci.org/ggilder/commander) -[![Inline docs](http://inch-pages.github.io/github/visionmedia/commander.png)](http://inch-pages.github.io/github/visionmedia/commander) +[![Inline docs](http://inch-ci.org/github/visionmedia/commander.png)](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.0 +0200 +++ new/lib/commander/user_interaction.rb 2014-09-29 07:04:44.0 +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.rb2014-04-30 07:05:20.0 +0200 +++ new/lib/commander/version.rb2014-09-29 07:04:44.0 +0200 @@ -1,3 +1,3 @@ module Commander - VERSION
commit rubygem-commander for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-commander for openSUSE:Factory checked in at 2014-10-14 07:12:05 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-05-21 16:25:32.0 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-commander.new/rubygem-commander.changes 2014-10-14 07:12:52.0 +0200 @@ -1,0 +2,5 @@ +Mon Oct 13 09:46:55 UTC 2014 - co...@suse.com + +- adapt to new rubygem packaging + +--- New: gem2rpm.yml Other differences: -- ++ rubygem-commander.spec ++ --- /var/tmp/diff_new_pack.6bg4CE/_old 2014-10-14 07:12:53.0 +0200 +++ /var/tmp/diff_new_pack.6bg4CE/_new 2014-10-14 07:12:53.0 +0200 @@ -21,14 +21,14 @@ Release:0 %define mod_name commander %define mod_full_name %{mod_name}-%{version} -%define mod_branch -%{version} -%define mod_weight 40200 - BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: ruby-macros >= 3 +BuildRequires: %{rubygem gem2rpm} +BuildRequires: %{ruby} +BuildRequires: ruby-macros >= 5 BuildRequires: update-alternatives Url:http://visionmedia.github.com/commander Source: http://rubygems.org/gems/%{mod_full_name}.gem +Source1:gem2rpm.yml Summary:The complete solution for Ruby command-line executables License:MIT Group: Development/Languages/Ruby @@ -39,68 +39,16 @@ gap between other terminal related libraries you know and love (OptionParser, HighLine), while providing many new features, and an elegant API. -%package doc -Summary:RDoc documentation for %{mod_name} -Group: Development/Languages/Ruby -Requires: %{name} = %{version} - -%description doc -Documentation generated at gem installation time. -Usually in RDoc and RI formats. - -%package testsuite -Summary:Test suite for %{mod_name} -Group: Development/Languages/Ruby -Requires: %{name} = %{version} - -%description testsuite -Test::Unit or RSpec files, useful for developers. - %prep -#gem_unpack -#if you need patches, apply them here and replace the # with a % sign in the surrounding lines -#gem_build %build %install -%gem_install -f -mkdir -p %{buildroot}%{_sysconfdir}/alternatives -mv %{buildroot}%{_bindir}/commander{,%{mod_branch}} -touch %{buildroot}%{_sysconfdir}/alternatives/commander -ln -s %{_sysconfdir}/alternatives/commander %{buildroot}%{_bindir}/commander - -mkdir -p %{buildroot}%{_docdir}/%{name} -ln -s %{gem_base}/gems/%{mod_full_name}/History.rdoc %buildroot/%{_docdir}/%{name}/History.rdoc -ln -s %{gem_base}/gems/%{mod_full_name}/LICENSE %buildroot/%{_docdir}/%{name}/LICENSE -ln -s %{gem_base}/gems/%{mod_full_name}/README.md %buildroot/%{_docdir}/%{name}/README.md - -%post -/usr/sbin/update-alternatives --install \ -%{_bindir}/commander commander %{_bindir}/commander%{mod_branch} %{mod_weight} - -%preun -if [ "$1" = 0 ] ; then -/usr/sbin/update-alternatives --remove commander %{_bindir}/commander%{mod_branch} -fi - -%files -%defattr(-,root,root,-) -%{_docdir}/%{name} -%{_bindir}/commander%{mod_branch} -%{_bindir}/commander -%ghost %{_sysconfdir}/alternatives/commander -%{gem_base}/cache/%{mod_full_name}.gem -%{gem_base}/gems/%{mod_full_name}/ -%exclude %{gem_base}/gems/%{mod_full_name}/spec -%{gem_base}/specifications/%{mod_full_name}.gemspec - -%files doc -%defattr(-,root,root,-) -%doc %{gem_base}/doc - -%files testsuite -%defattr(-,root,root,-) -%{gem_base}/gems/%{mod_full_name}/spec +%gem_install \ + --symlink-binaries \ + --doc-files="History.rdoc LICENSE README.md" \ + -f + +%gem_packages %changelog ++ gem2rpm.yml ++ # --- # ## used by gem2rpm # :summary: this is a custom summary # ## used by gem2rpm # :description: |- # this is a custom description # # it can be multiline # ## used by gem2rpm # :license: MIT or Ruby # ## used by gem2rpm and gem_packages # :version_suffix: -x_y # ## used by gem2rpm and gem_packages # :disable_docs: true # ## used by gem2rpm # :disable_automatic_rdoc_dep: true # ## used by gem2rpm # :preamble: |- # BuildRequires: foobar # Requires: foobar # ## used by gem2rpm # :patches: # foo.patch: -p1 # bar.patch: # ## used by gem2rpm :sources: # - foo.desktop # - bar.desktop # :gem_install_args: '' # ## used by gem2rpm # :pre_install: |- # %if 0%{?use_system_libev} # export USE_VENDORED_LIBEV="no" # %endif # ## used by gem2rpm # :post_install: |- # # delete custom files here or do other fancy stuff # install -
commit rubygem-commander for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-commander for openSUSE:Factory checked in at 2014-05-21 16:25:29 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-02-25 07:36:00.0 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-commander.new/rubygem-commander.changes 2014-05-21 16:25:32.0 +0200 @@ -1,0 +2,6 @@ +Sun May 18 09:04:33 UTC 2014 - co...@suse.com + +- updated to version 4.2.0 + * Add ability to use commander without importing into the global namespace (#61) (@krissi) + +--- Old: commander-4.1.6.gem New: commander-4.2.0.gem Other differences: -- ++ rubygem-commander.spec ++ --- /var/tmp/diff_new_pack.u9xytT/_old 2014-05-21 16:25:33.0 +0200 +++ /var/tmp/diff_new_pack.u9xytT/_new 2014-05-21 16:25:33.0 +0200 @@ -17,12 +17,12 @@ Name: rubygem-commander -Version:4.1.6 +Version:4.2.0 Release:0 %define mod_name commander %define mod_full_name %{mod_name}-%{version} %define mod_branch -%{version} -%define mod_weight 40106 +%define mod_weight 40200 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: ruby-macros >= 3 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit rubygem-commander for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-commander for openSUSE:Factory checked in at 2014-02-25 07:35:59 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 2013-09-27 18:06:09.0 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-commander.new/rubygem-commander.changes 2014-02-25 07:36:00.0 +0100 @@ -1,0 +2,7 @@ +Sat Feb 22 06:25:41 UTC 2014 - co...@suse.com + +- updated to version 4.1.6 + * Respect environment setting for $LESS (@ellemenno) + * Add ability to hide trace flags and globally enable tracing (#16, #17) (@jamesrwhite) + +--- Old: commander-4.1.5.gem New: commander-4.1.6.gem Other differences: -- ++ rubygem-commander.spec ++ --- /var/tmp/diff_new_pack.0IEIt9/_old 2014-02-25 07:36:01.0 +0100 +++ /var/tmp/diff_new_pack.0IEIt9/_new 2014-02-25 07:36:01.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package rubygem-commander # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,15 +17,15 @@ Name: rubygem-commander -Version:4.1.5 +Version:4.1.6 Release:0 %define mod_name commander %define mod_full_name %{mod_name}-%{version} %define mod_branch -%{version} -%define mod_weight 40105 +%define mod_weight 40106 BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: ruby-macros >= 1 +BuildRequires: ruby-macros >= 3 BuildRequires: update-alternatives Url:http://visionmedia.github.com/commander Source: http://rubygems.org/gems/%{mod_full_name}.gem @@ -71,8 +71,9 @@ ln -s %{_sysconfdir}/alternatives/commander %{buildroot}%{_bindir}/commander mkdir -p %{buildroot}%{_docdir}/%{name} -ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/History.rdoc %buildroot/%{_docdir}/%{name}/History.rdoc -ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/README.rdoc %buildroot/%{_docdir}/%{name}/README.rdoc +ln -s %{gem_base}/gems/%{mod_full_name}/History.rdoc %buildroot/%{_docdir}/%{name}/History.rdoc +ln -s %{gem_base}/gems/%{mod_full_name}/LICENSE %buildroot/%{_docdir}/%{name}/LICENSE +ln -s %{gem_base}/gems/%{mod_full_name}/README.md %buildroot/%{_docdir}/%{name}/README.md %post /usr/sbin/update-alternatives --install \ @@ -89,17 +90,17 @@ %{_bindir}/commander%{mod_branch} %{_bindir}/commander %ghost %{_sysconfdir}/alternatives/commander -%{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_full_name}.gem -%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/ -%exclude %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/spec -%{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_full_name}.gemspec +%{gem_base}/cache/%{mod_full_name}.gem +%{gem_base}/gems/%{mod_full_name}/ +%exclude %{gem_base}/gems/%{mod_full_name}/spec +%{gem_base}/specifications/%{mod_full_name}.gemspec %files doc %defattr(-,root,root,-) -%doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_full_name}/ +%doc %{gem_base}/doc %files testsuite %defattr(-,root,root,-) -%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/spec +%{gem_base}/gems/%{mod_full_name}/spec %changelog -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit rubygem-commander for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-commander for openSUSE:Factory checked in at 2013-09-27 18:06:08 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 2013-08-05 20:51:24.0 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-commander.new/rubygem-commander.changes 2013-09-27 18:06:09.0 +0200 @@ -1,0 +2,6 @@ +Mon Aug 26 05:05:53 UTC 2013 - co...@suse.com + +- updated to version 4.1.5 + * Prevent deprecation warning when loaded in a Rails 4 environment (#58) + +--- Old: commander-4.1.4.gem New: commander-4.1.5.gem Other differences: -- ++ rubygem-commander.spec ++ --- /var/tmp/diff_new_pack.OH953d/_old 2013-09-27 18:06:09.0 +0200 +++ /var/tmp/diff_new_pack.OH953d/_new 2013-09-27 18:06:09.0 +0200 @@ -17,12 +17,12 @@ Name: rubygem-commander -Version:4.1.4 +Version:4.1.5 Release:0 %define mod_name commander %define mod_full_name %{mod_name}-%{version} %define mod_branch -%{version} -%define mod_weight 40104 +%define mod_weight 40105 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: ruby-macros >= 1 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit rubygem-commander for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-commander for openSUSE:Factory checked in at 2013-08-05 20:51:22 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 2013-01-02 13:01:20.0 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-commander.new/rubygem-commander.changes 2013-08-05 20:51:24.0 +0200 @@ -1,0 +2,8 @@ +Tue Jul 30 16:10:18 UTC 2013 - co...@suse.com + +- updated to version 4.1.4 + * Improve help formatting for multiline program and command descriptions + * Add ability to set speaking rate (@kethomassen) + * Clean up examples in docs (@parkr) + +--- Old: commander-4.1.3.gem New: commander-4.1.4.gem Other differences: -- ++ rubygem-commander.spec ++ --- /var/tmp/diff_new_pack.pWVqu3/_old 2013-08-05 20:51:25.0 +0200 +++ /var/tmp/diff_new_pack.pWVqu3/_new 2013-08-05 20:51:25.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package rubygem-commander # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,18 +17,22 @@ Name: rubygem-commander -Version:4.1.3 +Version:4.1.4 Release:0 %define mod_name commander %define mod_full_name %{mod_name}-%{version} +%define mod_branch -%{version} +%define mod_weight 40104 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: ruby-macros >= 1 +BuildRequires: update-alternatives Url:http://visionmedia.github.com/commander -Source: %{mod_full_name}.gem +Source: http://rubygems.org/gems/%{mod_full_name}.gem Summary:The complete solution for Ruby command-line executables License:MIT Group: Development/Languages/Ruby +PreReq: update-alternatives %description The complete solution for Ruby command-line executables. Commander bridges the @@ -61,10 +65,30 @@ %install %gem_install -f +mkdir -p %{buildroot}%{_sysconfdir}/alternatives +mv %{buildroot}%{_bindir}/commander{,%{mod_branch}} +touch %{buildroot}%{_sysconfdir}/alternatives/commander +ln -s %{_sysconfdir}/alternatives/commander %{buildroot}%{_bindir}/commander + +mkdir -p %{buildroot}%{_docdir}/%{name} +ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/History.rdoc %buildroot/%{_docdir}/%{name}/History.rdoc +ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/README.rdoc %buildroot/%{_docdir}/%{name}/README.rdoc + +%post +/usr/sbin/update-alternatives --install \ +%{_bindir}/commander commander %{_bindir}/commander%{mod_branch} %{mod_weight} + +%preun +if [ "$1" = 0 ] ; then +/usr/sbin/update-alternatives --remove commander %{_bindir}/commander%{mod_branch} +fi %files %defattr(-,root,root,-) +%{_docdir}/%{name} +%{_bindir}/commander%{mod_branch} %{_bindir}/commander +%ghost %{_sysconfdir}/alternatives/commander %{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_full_name}.gem %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/ %exclude %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/spec -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit rubygem-commander for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-commander for openSUSE:Factory checked in at 2013-01-02 13:01:17 Comparing /work/SRC/openSUSE:Factory/rubygem-commander (Old) and /work/SRC/openSUSE:Factory/.rubygem-commander.new (New) Package is "rubygem-commander", Maintainer is "" Changes: --- /work/SRC/openSUSE:Factory/rubygem-commander/rubygem-commander.changes 2012-12-05 14:07:03.0 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-commander.new/rubygem-commander.changes 2013-01-02 13:01:20.0 +0100 @@ -1,0 +2,8 @@ +Tue Dec 25 10:19:17 UTC 2012 - co...@suse.com + +- updated to version 4.1.3 + * Remove use of eval in Array.parse + * Make generated template executable and set better defaults (@suan) + * Fixed valid_command_names_from to match exact commands only (@fgalassi) + +--- Old: commander-4.1.2.gem New: commander-4.1.3.gem Other differences: -- ++ rubygem-commander.spec ++ --- /var/tmp/diff_new_pack.5pnP2L/_old 2013-01-02 13:01:21.0 +0100 +++ /var/tmp/diff_new_pack.5pnP2L/_new 2013-01-02 13:01:21.0 +0100 @@ -17,19 +17,13 @@ Name: rubygem-commander -Version:4.1.2 +Version:4.1.3 Release:0 %define mod_name commander %define mod_full_name %{mod_name}-%{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build - -BuildRequires: rubygems_with_buildroot_patch -BuildRequires: rubygem-highline >= 1.6.11 - -Requires: ruby -Requires: rubygem-highline >= 1.6.11 - +BuildRequires: ruby-macros >= 1 Url:http://visionmedia.github.com/commander Source: %{mod_full_name}.gem Summary:The complete solution for Ruby command-line executables @@ -66,8 +60,7 @@ %build %install -%gem_install %{S:0} -rm %{buildroot}%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/{.travis.yml,.gitignore} +%gem_install -f %files %defattr(-,root,root,-) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit rubygem-commander for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-commander for openSUSE:Factory checked in at 2012-12-05 14:07:03 Comparing /work/SRC/openSUSE:Factory/rubygem-commander (Old) and /work/SRC/openSUSE:Factory/.rubygem-commander.new (New) Package is "rubygem-commander", Maintainer is "" Changes: New Changes file: --- /dev/null 2012-11-30 12:21:47.308011256 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-commander.new/rubygem-commander.changes 2012-12-05 14:07:03.0 +0100 @@ -0,0 +1,5 @@ +--- +Tue Sep 11 19:48:34 UTC 2012 - dmi...@roshchin.org + +- Initial package +- Version 4.1.2 New: commander-4.1.2.gem rubygem-commander.changes rubygem-commander.spec Other differences: -- ++ rubygem-commander.spec ++ # # spec file for package rubygem-commander # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: rubygem-commander Version:4.1.2 Release:0 %define mod_name commander %define mod_full_name %{mod_name}-%{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: rubygems_with_buildroot_patch BuildRequires: rubygem-highline >= 1.6.11 Requires: ruby Requires: rubygem-highline >= 1.6.11 Url:http://visionmedia.github.com/commander Source: %{mod_full_name}.gem Summary:The complete solution for Ruby command-line executables License:MIT Group: Development/Languages/Ruby %description The complete solution for Ruby command-line executables. Commander bridges the gap between other terminal related libraries you know and love (OptionParser, HighLine), while providing many new features, and an elegant API. %package doc Summary:RDoc documentation for %{mod_name} Group: Development/Languages/Ruby Requires: %{name} = %{version} %description doc Documentation generated at gem installation time. Usually in RDoc and RI formats. %package testsuite Summary:Test suite for %{mod_name} Group: Development/Languages/Ruby Requires: %{name} = %{version} %description testsuite Test::Unit or RSpec files, useful for developers. %prep #gem_unpack #if you need patches, apply them here and replace the # with a % sign in the surrounding lines #gem_build %build %install %gem_install %{S:0} rm %{buildroot}%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/{.travis.yml,.gitignore} %files %defattr(-,root,root,-) %{_bindir}/commander %{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_full_name}.gem %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/ %exclude %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/spec %{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_full_name}.gemspec %files doc %defattr(-,root,root,-) %doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_full_name}/ %files testsuite %defattr(-,root,root,-) %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/spec %changelog -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org