commit rubygem-mixlib-cli for openSUSE:Factory

2020-10-26 Thread root
Hello community,

here is the log from the commit of package rubygem-mixlib-cli for 
openSUSE:Factory checked in at 2020-10-26 16:13:53

Comparing /work/SRC/openSUSE:Factory/rubygem-mixlib-cli (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-mixlib-cli.new.3463 (New)


Package is "rubygem-mixlib-cli"

Mon Oct 26 16:13:53 2020 rev:15 rq:838051 version:2.1.8

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-mixlib-cli/rubygem-mixlib-cli.changes
2020-05-11 13:41:38.221155539 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-mixlib-cli.new.3463/rubygem-mixlib-cli.changes
  2020-10-26 16:15:09.942873748 +0100
@@ -1,0 +2,6 @@
+Fri Sep 25 14:18:16 UTC 2020 - Stephan Kulow 
+
+updated to version 2.1.8
+  no changelog found
+
+---

Old:

  mixlib-cli-2.1.6.gem

New:

  mixlib-cli-2.1.8.gem



Other differences:
--
++ rubygem-mixlib-cli.spec ++
--- /var/tmp/diff_new_pack.XAESfM/_old  2020-10-26 16:15:11.286874984 +0100
+++ /var/tmp/diff_new_pack.XAESfM/_new  2020-10-26 16:15:11.294874992 +0100
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-mixlib-cli
-Version:2.1.6
+Version:2.1.8
 Release:0
 %define mod_name mixlib-cli
 %define mod_full_name %{mod_name}-%{version}

++ mixlib-cli-2.1.6.gem -> mixlib-cli-2.1.8.gem ++
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/mixlib/cli/formatter.rb 
new/lib/mixlib/cli/formatter.rb
--- old/lib/mixlib/cli/formatter.rb 2019-12-22 03:17:39.0 +0100
+++ new/lib/mixlib/cli/formatter.rb 2020-08-21 20:54:20.0 +0200
@@ -19,7 +19,7 @@
 usage
   end
 
-  # @param opt_arry [Array]
+  # @param opt_array [Array]
   #
   # @return [String] a friendly quoted list of items complete with "or"
   def self.friendly_opt_list(opt_array)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/mixlib/cli/version.rb 
new/lib/mixlib/cli/version.rb
--- old/lib/mixlib/cli/version.rb   2019-12-22 03:17:39.0 +0100
+++ new/lib/mixlib/cli/version.rb   2020-08-21 20:54:20.0 +0200
@@ -1,5 +1,5 @@
 module Mixlib
   module CLI
-VERSION = "2.1.6".freeze
+VERSION = "2.1.8".freeze
   end
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/mixlib/cli.rb new/lib/mixlib/cli.rb
--- old/lib/mixlib/cli.rb   2019-12-22 03:17:39.0 +0100
+++ new/lib/mixlib/cli.rb   2020-08-21 20:54:20.0 +0200
@@ -16,7 +16,7 @@
 # limitations under the License.
 #
 
-require "optparse"
+require "optparse" unless defined?(OptionParser)
 require_relative "cli/formatter"
 module Mixlib
 
@@ -140,7 +140,7 @@
   #   and converts it to a value suitable for the new 
option.
   #   If not provided, the value provided to the 
deprecated option will be
   #   assigned directly to the converted option.
-  # keep :: Defaults to true, this ensure sthat 
`options[:deprecated_flag]` is
+  # keep :: Defaults to true, this ensures that 
`options[:deprecated_flag]` is
   #  populated when the deprecated flag is used. If set to 
false,
   #  only the value in `replacement` will be set.  Results 
undefined
   #  if no replacement is provided. You can use this to 
enforce the transition
@@ -194,7 +194,7 @@
   # === Returns
   # @options:: The current options hash.
   def options=(val)
-raise(ArgumentError, "Options must recieve a hash") unless 
val.is_a?(Hash)
+raise(ArgumentError, "Options must receive a hash") unless 
val.is_a?(Hash)
 
 @options = val
   end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata2019-12-22 03:17:39.0 +0100
+++ new/metadata2020-08-21 20:54:20.0 +0200
@@ -1,14 +1,14 @@
 --- !ruby/object:Gem::Specification
 name: mixlib-cli
 version: !ruby/object:Gem::Version
-  version: 2.1.6
+  version: 2.1.8
 platform: ruby
 authors:
 - Chef Software, Inc.
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2019-12-22 00:00:00.0 Z
+date: 2020-08-21 00:00:00.0 Z
 dependencies: []
 description: A simple mixin for CLI interfaces, including option parsing
 email: i...@chef.io




commit rubygem-mixlib-cli for openSUSE:Factory

2020-05-11 Thread root
Hello community,

here is the log from the commit of package rubygem-mixlib-cli for 
openSUSE:Factory checked in at 2020-05-11 13:41:35

Comparing /work/SRC/openSUSE:Factory/rubygem-mixlib-cli (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-mixlib-cli.new.2738 (New)


Package is "rubygem-mixlib-cli"

Mon May 11 13:41:35 2020 rev:14 rq:802347 version:2.1.6

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-mixlib-cli/rubygem-mixlib-cli.changes
2020-03-07 21:38:54.656299389 +0100
+++ 
/work/SRC/openSUSE:Factory/.rubygem-mixlib-cli.new.2738/rubygem-mixlib-cli.changes
  2020-05-11 13:41:38.221155539 +0200
@@ -1,0 +2,6 @@
+Thu May  7 21:03:26 UTC 2020 - Stephan Kulow 
+
+- updated to version 2.1.6
+  no changelog found
+
+---

Old:

  mixlib-cli-2.1.5.gem

New:

  mixlib-cli-2.1.6.gem



Other differences:
--
++ rubygem-mixlib-cli.spec ++
--- /var/tmp/diff_new_pack.cdKmu0/_old  2020-05-11 13:41:38.961157110 +0200
+++ /var/tmp/diff_new_pack.cdKmu0/_new  2020-05-11 13:41:38.961157110 +0200
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-mixlib-cli
-Version:2.1.5
+Version:2.1.6
 Release:0
 %define mod_name mixlib-cli
 %define mod_full_name %{mod_name}-%{version}

++ mixlib-cli-2.1.5.gem -> mixlib-cli-2.1.6.gem ++
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/mixlib/cli/version.rb 
new/lib/mixlib/cli/version.rb
--- old/lib/mixlib/cli/version.rb   2019-12-19 22:29:51.0 +0100
+++ new/lib/mixlib/cli/version.rb   2019-12-22 03:17:39.0 +0100
@@ -1,5 +1,5 @@
 module Mixlib
   module CLI
-VERSION = "2.1.5".freeze
+VERSION = "2.1.6".freeze
   end
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/mixlib/cli.rb new/lib/mixlib/cli.rb
--- old/lib/mixlib/cli.rb   2019-12-19 22:29:51.0 +0100
+++ new/lib/mixlib/cli.rb   2019-12-22 03:17:39.0 +0100
@@ -17,7 +17,7 @@
 #
 
 require "optparse"
-require "mixlib/cli/formatter"
+require_relative "cli/formatter"
 module Mixlib
 
   # == Mixlib::CLI
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata2019-12-19 22:29:51.0 +0100
+++ new/metadata2019-12-22 03:17:39.0 +0100
@@ -1,14 +1,14 @@
 --- !ruby/object:Gem::Specification
 name: mixlib-cli
 version: !ruby/object:Gem::Version
-  version: 2.1.5
+  version: 2.1.6
 platform: ruby
 authors:
 - Chef Software, Inc.
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2019-12-19 00:00:00.0 Z
+date: 2019-12-22 00:00:00.0 Z
 dependencies: []
 description: A simple mixin for CLI interfaces, including option parsing
 email: i...@chef.io




commit rubygem-mixlib-cli for openSUSE:Factory

2020-03-07 Thread root
Hello community,

here is the log from the commit of package rubygem-mixlib-cli for 
openSUSE:Factory checked in at 2020-03-07 21:38:51

Comparing /work/SRC/openSUSE:Factory/rubygem-mixlib-cli (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-mixlib-cli.new.26092 (New)


Package is "rubygem-mixlib-cli"

Sat Mar  7 21:38:51 2020 rev:13 rq:773789 version:2.1.5

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-mixlib-cli/rubygem-mixlib-cli.changes
2019-08-06 15:09:58.659787326 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-mixlib-cli.new.26092/rubygem-mixlib-cli.changes
 2020-03-07 21:38:54.656299389 +0100
@@ -1,0 +2,6 @@
+Mon Feb 10 15:08:41 UTC 2020 - Stephan Kulow 
+
+- updated to version 2.1.5
+  no changelog found
+
+---

Old:

  mixlib-cli-2.1.1.gem

New:

  mixlib-cli-2.1.5.gem



Other differences:
--
++ rubygem-mixlib-cli.spec ++
--- /var/tmp/diff_new_pack.k1Ipqx/_old  2020-03-07 21:38:55.184299746 +0100
+++ /var/tmp/diff_new_pack.k1Ipqx/_new  2020-03-07 21:38:55.188299749 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-mixlib-cli
 #
-# Copyright (c) 2019 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-mixlib-cli
-Version:2.1.1
+Version:2.1.5
 Release:0
 %define mod_name mixlib-cli
 %define mod_full_name %{mod_name}-%{version}
@@ -32,7 +32,7 @@
 BuildRequires:  %{ruby >= 2.4}
 BuildRequires:  %{rubygem gem2rpm}
 BuildRequires:  ruby-macros >= 5
-Url:https://github.com/chef/mixlib-cli
+URL:https://github.com/chef/mixlib-cli
 Source: https://rubygems.org/gems/%{mod_full_name}.gem
 Source1:gem2rpm.yml
 Summary:A simple mixin for CLI interfaces, including option parsing

++ mixlib-cli-2.1.1.gem -> mixlib-cli-2.1.5.gem ++
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/mixlib/cli/formatter.rb 
new/lib/mixlib/cli/formatter.rb
--- old/lib/mixlib/cli/formatter.rb 2019-06-10 13:14:12.0 +0200
+++ new/lib/mixlib/cli/formatter.rb 2019-12-19 22:29:51.0 +0100
@@ -25,6 +25,7 @@
   def self.friendly_opt_list(opt_array)
 opts = opt_array.map { |x| "'#{x}'" }
 return opts.join(" or ") if opts.size < 3
+
 opts[0..-2].join(", ") + ", or " + opts[-1]
   end
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/mixlib/cli/version.rb 
new/lib/mixlib/cli/version.rb
--- old/lib/mixlib/cli/version.rb   2019-06-10 13:14:12.0 +0200
+++ new/lib/mixlib/cli/version.rb   2019-12-19 22:29:51.0 +0100
@@ -1,5 +1,5 @@
 module Mixlib
   module CLI
-VERSION = "2.1.1".freeze
+VERSION = "2.1.5".freeze
   end
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/mixlib/cli.rb new/lib/mixlib/cli.rb
--- old/lib/mixlib/cli.rb   2019-06-10 13:14:12.0 +0200
+++ new/lib/mixlib/cli.rb   2019-12-19 22:29:51.0 +0100
@@ -52,8 +52,8 @@
   # contents will be iterated and cloned as well.
   def deep_dup(object)
 cloned_object = object.respond_to?(:dup) ? object.dup : object
-if cloned_object.kind_of?(Enumerable)
-  if cloned_object.kind_of?(Hash)
+if cloned_object.is_a?(Enumerable)
+  if cloned_object.is_a?(Hash)
 new_hash = cloned_object.class.new
 cloned_object.each do |key, value|
   cloned_key = deep_dup(key)
@@ -122,7 +122,8 @@
   # i
   def option(name, args)
 @options ||= {}
-raise(ArgumentError, "Option name must be a symbol") unless 
name.kind_of?(Symbol)
+raise(ArgumentError, "Option name must be a symbol") unless 
name.is_a?(Symbol)
+
 @options[name.to_sym] = args
   end
 
@@ -148,12 +149,12 @@
   # === Returns
   #  :: The config hash for the created option.
   def deprecated_option(name,
-replacement: nil,
-long: nil,
-short: nil,
-boolean: false,
-value_mapper: nil,
-keep: true)
+replacement: nil,
+long: nil,
+short: nil,
+boolean: false,
+value_mapper: nil,
+keep: true)
 
 description = if replacement
 

commit rubygem-mixlib-cli for openSUSE:Factory

2019-08-06 Thread root
Hello community,

here is the log from the commit of package rubygem-mixlib-cli for 
openSUSE:Factory checked in at 2019-08-06 15:09:58

Comparing /work/SRC/openSUSE:Factory/rubygem-mixlib-cli (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-mixlib-cli.new.4126 (New)


Package is "rubygem-mixlib-cli"

Tue Aug  6 15:09:58 2019 rev:12 rq:717308 version:2.1.1

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-mixlib-cli/rubygem-mixlib-cli.changes
2019-04-01 12:36:52.825871474 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-mixlib-cli.new.4126/rubygem-mixlib-cli.changes
  2019-08-06 15:09:58.659787326 +0200
@@ -1,0 +2,6 @@
+Fri Jul 19 09:22:24 UTC 2019 - Stephan Kulow 
+
+- updated to version 2.1.1
+  no changelog found
+
+---

Old:

  mixlib-cli-2.0.3.gem

New:

  mixlib-cli-2.1.1.gem



Other differences:
--
++ rubygem-mixlib-cli.spec ++
--- /var/tmp/diff_new_pack.o4XU9n/_old  2019-08-06 15:09:59.507786845 +0200
+++ /var/tmp/diff_new_pack.o4XU9n/_new  2019-08-06 15:09:59.511786843 +0200
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-mixlib-cli
-Version:2.0.3
+Version:2.1.1
 Release:0
 %define mod_name mixlib-cli
 %define mod_full_name %{mod_name}-%{version}
@@ -32,7 +32,7 @@
 BuildRequires:  %{ruby >= 2.4}
 BuildRequires:  %{rubygem gem2rpm}
 BuildRequires:  ruby-macros >= 5
-Url:https://www.github.com/mixlib-cli
+Url:https://github.com/chef/mixlib-cli
 Source: https://rubygems.org/gems/%{mod_full_name}.gem
 Source1:gem2rpm.yml
 Summary:A simple mixin for CLI interfaces, including option parsing

++ mixlib-cli-2.0.3.gem -> mixlib-cli-2.1.1.gem ++
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/mixlib/cli/formatter.rb 
new/lib/mixlib/cli/formatter.rb
--- old/lib/mixlib/cli/formatter.rb 1970-01-01 01:00:00.0 +0100
+++ new/lib/mixlib/cli/formatter.rb 2019-06-10 13:14:12.0 +0200
@@ -0,0 +1,32 @@
+
+module Mixlib
+  module CLI
+class Formatter
+  # Create a string that includes both versions (short/long) of a flag name
+  # based on on whether short/long/both/neither are provided
+  #
+  # @param short [String] the short name of the option. Can be nil.
+  # @param long [String] the long name of the option. Can be nil.
+  # @return [String] the formatted flag name as described above
+  def self.combined_option_display_name(short, long)
+usage = ""
+# short/long may have an argument (--long ARG)
+# splitting on " " and taking first ensures that we get just
+# the flag name without the argument if one is present.
+usage << short.split(" ").first if short
+usage << "/" if long && short
+usage << long.split(" ").first if long
+usage
+  end
+
+  # @param opt_arry [Array]
+  #
+  # @return [String] a friendly quoted list of items complete with "or"
+  def self.friendly_opt_list(opt_array)
+opts = opt_array.map { |x| "'#{x}'" }
+return opts.join(" or ") if opts.size < 3
+opts[0..-2].join(", ") + ", or " + opts[-1]
+  end
+end
+  end
+end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/mixlib/cli/version.rb 
new/lib/mixlib/cli/version.rb
--- old/lib/mixlib/cli/version.rb   2019-03-20 02:08:00.0 +0100
+++ new/lib/mixlib/cli/version.rb   2019-06-10 13:14:12.0 +0200
@@ -1,5 +1,5 @@
 module Mixlib
   module CLI
-VERSION = "2.0.3".freeze
+VERSION = "2.1.1".freeze
   end
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/mixlib/cli.rb new/lib/mixlib/cli.rb
--- old/lib/mixlib/cli.rb   2019-03-20 02:08:00.0 +0100
+++ new/lib/mixlib/cli.rb   2019-06-10 13:14:12.0 +0200
@@ -1,6 +1,6 @@
 #
 # Author:: Adam Jacob ()
-# Copyright:: Copyright (c) 2008-2016 Chef Software, Inc.
+# Copyright:: Copyright (c) 2008-2019 Chef Software, Inc.
 # License:: Apache License, Version 2.0
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
@@ -17,7 +17,7 @@
 #
 
 require "optparse"
-
+require "mixlib/cli/formatter"
 module Mixlib
 
   # == Mixlib::CLI
@@ -30,8 +30,9 @@
   # === DSL
   # When included, Mixlib::CLI also extends the including class with its
   # ClassMethods, which define the DSL. The primary methods of the DSL are
-  # ClassMethods#option, which defines a command line option, and
-  # ClassMethods#banner, which defines the "usage" banner.
+  # ClassMethods#option, which defines a 

commit rubygem-mixlib-cli for openSUSE:Factory

2019-04-01 Thread root
Hello community,

here is the log from the commit of package rubygem-mixlib-cli for 
openSUSE:Factory checked in at 2019-04-01 12:36:44

Comparing /work/SRC/openSUSE:Factory/rubygem-mixlib-cli (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-mixlib-cli.new.25356 (New)


Package is "rubygem-mixlib-cli"

Mon Apr  1 12:36:44 2019 rev:11 rq:689705 version:2.0.3

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-mixlib-cli/rubygem-mixlib-cli.changes
2019-03-04 09:20:10.068603221 +0100
+++ 
/work/SRC/openSUSE:Factory/.rubygem-mixlib-cli.new.25356/rubygem-mixlib-cli.changes
 2019-04-01 12:36:52.825871474 +0200
@@ -1,0 +2,6 @@
+Fri Mar 29 06:06:03 UTC 2019 - Stephan Kulow 
+
+- updated to version 2.0.3
+  no changelog found
+
+---

Old:

  mixlib-cli-2.0.1.gem

New:

  mixlib-cli-2.0.3.gem



Other differences:
--
++ rubygem-mixlib-cli.spec ++
--- /var/tmp/diff_new_pack.rBEOMR/_old  2019-04-01 12:36:54.113872104 +0200
+++ /var/tmp/diff_new_pack.rBEOMR/_new  2019-04-01 12:36:54.117872106 +0200
@@ -24,12 +24,12 @@
 #
 
 Name:   rubygem-mixlib-cli
-Version:2.0.1
+Version:2.0.3
 Release:0
 %define mod_name mixlib-cli
 %define mod_full_name %{mod_name}-%{version}
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  %{ruby >= 2.5}
+BuildRequires:  %{ruby >= 2.4}
 BuildRequires:  %{rubygem gem2rpm}
 BuildRequires:  ruby-macros >= 5
 Url:https://www.github.com/mixlib-cli

++ mixlib-cli-2.0.1.gem -> mixlib-cli-2.0.3.gem ++
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/mixlib/cli/version.rb 
new/lib/mixlib/cli/version.rb
--- old/lib/mixlib/cli/version.rb   2019-01-04 20:07:04.0 +0100
+++ new/lib/mixlib/cli/version.rb   2019-03-20 02:08:00.0 +0100
@@ -1,5 +1,5 @@
 module Mixlib
   module CLI
-VERSION = "2.0.1".freeze
+VERSION = "2.0.3".freeze
   end
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata2019-01-04 20:07:04.0 +0100
+++ new/metadata2019-03-20 02:08:00.0 +0100
@@ -1,14 +1,14 @@
 --- !ruby/object:Gem::Specification
 name: mixlib-cli
 version: !ruby/object:Gem::Version
-  version: 2.0.1
+  version: 2.0.3
 platform: ruby
 authors:
 - Chef Software, Inc.
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2019-01-04 00:00:00.0 Z
+date: 2019-03-20 00:00:00.0 Z
 dependencies: []
 description: A simple mixin for CLI interfaces, including option parsing
 email: i...@chef.io
@@ -32,15 +32,14 @@
   requirements:
   - - ">="
 - !ruby/object:Gem::Version
-  version: '2.5'
+  version: '2.4'
 required_rubygems_version: !ruby/object:Gem::Requirement
   requirements:
   - - ">="
 - !ruby/object:Gem::Version
   version: '0'
 requirements: []
-rubyforge_project: 
-rubygems_version: 2.7.6
+rubygems_version: 3.0.1
 signing_key: 
 specification_version: 4
 summary: A simple mixin for CLI interfaces, including option parsing




commit rubygem-mixlib-cli for openSUSE:Factory

2019-03-04 Thread root
Hello community,

here is the log from the commit of package rubygem-mixlib-cli for 
openSUSE:Factory checked in at 2019-03-04 09:20:07

Comparing /work/SRC/openSUSE:Factory/rubygem-mixlib-cli (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-mixlib-cli.new.28833 (New)


Package is "rubygem-mixlib-cli"

Mon Mar  4 09:20:07 2019 rev:10 rq:679522 version:2.0.1

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-mixlib-cli/rubygem-mixlib-cli.changes
2016-07-12 23:52:34.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-mixlib-cli.new.28833/rubygem-mixlib-cli.changes
 2019-03-04 09:20:10.068603221 +0100
@@ -1,0 +2,6 @@
+Mon Jan 14 13:46:16 UTC 2019 - Stephan Kulow 
+
+- updated to version 2.0.1
+  no changelog found
+
+---

Old:

  mixlib-cli-1.7.0.gem

New:

  mixlib-cli-2.0.1.gem



Other differences:
--
++ rubygem-mixlib-cli.spec ++
--- /var/tmp/diff_new_pack.TALLwz/_old  2019-03-04 09:20:10.804603088 +0100
+++ /var/tmp/diff_new_pack.TALLwz/_new  2019-03-04 09:20:10.808603088 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-mixlib-cli
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -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,16 +24,16 @@
 #
 
 Name:   rubygem-mixlib-cli
-Version:1.7.0
+Version:2.0.1
 Release:0
 %define mod_name mixlib-cli
 %define mod_full_name %{mod_name}-%{version}
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  %{ruby >= 2.5}
 BuildRequires:  %{rubygem gem2rpm}
-BuildRequires:  %{ruby}
 BuildRequires:  ruby-macros >= 5
-Url:https://www.chef.io
-Source: http://rubygems.org/gems/%{mod_full_name}.gem
+Url:https://www.github.com/mixlib-cli
+Source: https://rubygems.org/gems/%{mod_full_name}.gem
 Source1:gem2rpm.yml
 Summary:A simple mixin for CLI interfaces, including option parsing
 License:Apache-2.0
@@ -48,7 +48,7 @@
 
 %install
 %gem_install \
-  --doc-files="LICENSE README.md" \
+  --doc-files="LICENSE" \
   -f
 
 %gem_packages

++ mixlib-cli-1.7.0.gem -> mixlib-cli-2.0.1.gem ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Gemfile new/Gemfile
--- old/Gemfile 2016-07-06 15:58:04.0 +0200
+++ new/Gemfile 1970-01-01 01:00:00.0 +0100
@@ -1,3 +0,0 @@
-source "https://rubygems.org;
-
-gemspec
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/NOTICE new/NOTICE
--- old/NOTICE  2016-07-06 15:58:04.0 +0200
+++ new/NOTICE  2019-01-04 20:07:04.0 +0100
@@ -4,7 +4,7 @@
 Developed at Chef (http://www.chef.io).
 
 
- * Copyright 2009-2016, Chef Software, Inc. 
+ * Copyright 2009-2018, Chef Software, Inc. 
 
 Mixin::CLI incorporates code from Chef.  The Chef notice file follows:
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/README.md new/README.md
--- old/README.md   2016-07-06 15:58:04.0 +0200
+++ new/README.md   1970-01-01 01:00:00.0 +0100
@@ -1,109 +0,0 @@
-# Mixlib::CLI
-
-[![Build Status 
Master](https://travis-ci.org/chef/mixlib-cli.svg?branch=master)](https://travis-ci.org/chef/mixlib-cli)
 [![Gem 
Version](https://badge.fury.io/rb/mixlib-cli.svg)](https://badge.fury.io/rb/mixlib-cli)
-
-Mixlib::CLI provides a class-based command line option parsing object, like 
the one used in Chef, Ohai and Relish. To use in your project:
-
-```ruby
-require 'rubygems'
-require 'mixlib/cli'
-
-class MyCLI
-  include Mixlib::CLI
-
-  option :config_file,
-:short => "-c CONFIG",
-:long  => "--config CONFIG",
-:default => 'config.rb',
-:description => "The configuration file to use"
-
-  option :log_level,
-:short => "-l LEVEL",
-:long  => "--log_level LEVEL",
-:description => "Set the log level (debug, info, warn, error, fatal)",
-:required => true,
-:in => ['debug', 'info', 'warn', 'error', 'fatal'],
-:proc => Proc.new { |l| l.to_sym }
-
-  option :help,
-:short => "-h",
-:long => "--help",
-:description => "Show this message",
-:on => :tail,
-:boolean => true,
-:show_options => true,
-:exit => 0
-
-end
-
-# ARGV = [ '-c', 'foo.rb', 

commit rubygem-mixlib-cli for openSUSE:Factory

2016-07-12 Thread h_root
Hello community,

here is the log from the commit of package rubygem-mixlib-cli for 
openSUSE:Factory checked in at 2016-07-12 23:52:33

Comparing /work/SRC/openSUSE:Factory/rubygem-mixlib-cli (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-mixlib-cli.new (New)


Package is "rubygem-mixlib-cli"

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-mixlib-cli/rubygem-mixlib-cli.changes
2016-05-29 03:12:39.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-mixlib-cli.new/rubygem-mixlib-cli.changes   
2016-07-12 23:52:34.0 +0200
@@ -1,0 +2,6 @@
+Thu Jul  7 04:31:39 UTC 2016 - co...@suse.com
+
+- updated to version 1.7.0
+  no changelog found
+
+---

Old:

  mixlib-cli-1.6.0.gem

New:

  mixlib-cli-1.7.0.gem



Other differences:
--
++ rubygem-mixlib-cli.spec ++
--- /var/tmp/diff_new_pack.KAbbni/_old  2016-07-12 23:52:35.0 +0200
+++ /var/tmp/diff_new_pack.KAbbni/_new  2016-07-12 23:52:35.0 +0200
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-mixlib-cli
-Version:1.6.0
+Version:1.7.0
 Release:0
 %define mod_name mixlib-cli
 %define mod_full_name %{mod_name}-%{version}

++ mixlib-cli-1.6.0.gem -> mixlib-cli-1.7.0.gem ++
Files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/mixlib/cli/version.rb 
new/lib/mixlib/cli/version.rb
--- old/lib/mixlib/cli/version.rb   2016-05-05 12:34:03.0 +0200
+++ new/lib/mixlib/cli/version.rb   2016-07-06 15:58:04.0 +0200
@@ -1,5 +1,5 @@
 module Mixlib
   module CLI
-VERSION = "1.6.0"
+VERSION = "1.7.0"
   end
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/mixlib/cli.rb new/lib/mixlib/cli.rb
--- old/lib/mixlib/cli.rb   2016-05-05 12:34:03.0 +0200
+++ new/lib/mixlib/cli.rb   2016-07-06 15:58:04.0 +0200
@@ -281,7 +281,18 @@
 
   parse_block =
 Proc.new() do |c|
-  config[opt_key] = (opt_val[:proc] && opt_val[:proc].call(c)) || c
+  config[opt_key] = if opt_val[:proc]
+  if opt_val[:proc].arity == 2
+# New hotness to allow for reducer-style 
procs.
+opt_val[:proc].call(c, config[opt_key])
+  else
+# Older single-argument proc.
+opt_val[:proc].call(c)
+  end
+else
+  # No proc.
+  c
+end
   puts opts if opt_val[:show_options]
   exit opt_val[:exit] if opt_val[:exit]
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata2016-05-05 12:34:03.0 +0200
+++ new/metadata2016-07-06 15:58:04.0 +0200
@@ -1,14 +1,14 @@
 --- !ruby/object:Gem::Specification
 name: mixlib-cli
 version: !ruby/object:Gem::Version
-  version: 1.6.0
+  version: 1.7.0
 platform: ruby
 authors:
 - Chef Software, Inc.
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2016-05-05 00:00:00.0 Z
+date: 2016-07-06 00:00:00.0 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: rake
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/spec/mixlib/cli_spec.rb new/spec/mixlib/cli_spec.rb
--- old/spec/mixlib/cli_spec.rb 2016-05-05 12:34:03.0 +0200
+++ new/spec/mixlib/cli_spec.rb 2016-07-06 15:58:04.0 +0200
@@ -149,6 +149,16 @@
 @cli.config[:number].should == 4
   end
 
+  it "should pass the existing value to two-argument procs" do
+TestCLI.option(:number,
+  :short => "-n NUMBER",
+  :proc => Proc.new { |value, existing| existing ||= []; existing << 
value; existing }
+)
+@cli = TestCLI.new
+@cli.parse_options([ "-n", "2", "-n", "3" ])
+@cli.config[:number].should == %w{2 3}
+  end
+
   it "should set the corresponding config value to true for boolean 
arguments" do
 TestCLI.option(:i_am_boolean, :short => "-i", :boolean => true)
 @cli = TestCLI.new




commit rubygem-mixlib-cli for openSUSE:Factory

2016-05-28 Thread h_root
Hello community,

here is the log from the commit of package rubygem-mixlib-cli for 
openSUSE:Factory checked in at 2016-05-29 03:11:17

Comparing /work/SRC/openSUSE:Factory/rubygem-mixlib-cli (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-mixlib-cli.new (New)


Package is "rubygem-mixlib-cli"

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-mixlib-cli/rubygem-mixlib-cli.changes
2014-10-14 07:13:18.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-mixlib-cli.new/rubygem-mixlib-cli.changes   
2016-05-29 03:12:39.0 +0200
@@ -1,0 +2,6 @@
+Fri May  6 04:40:27 UTC 2016 - co...@suse.com
+
+- updated to version 1.6.0
+  no changelog found
+
+---

Old:

  mixlib-cli-1.5.0.gem

New:

  mixlib-cli-1.6.0.gem



Other differences:
--
++ rubygem-mixlib-cli.spec ++
--- /var/tmp/diff_new_pack.ZNUwFs/_old  2016-05-29 03:12:41.0 +0200
+++ /var/tmp/diff_new_pack.ZNUwFs/_new  2016-05-29 03:12:41.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-mixlib-cli
 #
-# Copyright (c) 2014 SUSE LINUX Products 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
@@ -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-mixlib-cli
-Version:1.5.0
+Version:1.6.0
 Release:0
 %define mod_name mixlib-cli
 %define mod_full_name %{mod_name}-%{version}
@@ -25,7 +32,7 @@
 BuildRequires:  %{rubygem gem2rpm}
 BuildRequires:  %{ruby}
 BuildRequires:  ruby-macros >= 5
-Url:http://www.opscode.com
+Url:https://www.chef.io
 Source: http://rubygems.org/gems/%{mod_full_name}.gem
 Source1:gem2rpm.yml
 Summary:A simple mixin for CLI interfaces, including option parsing
@@ -41,7 +48,7 @@
 
 %install
 %gem_install \
-  --doc-files="LICENSE README.rdoc" \
+  --doc-files="LICENSE README.md" \
   -f
 
 %gem_packages

++ mixlib-cli-1.5.0.gem -> mixlib-cli-1.6.0.gem ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Gemfile new/Gemfile
--- old/Gemfile 1970-01-01 01:00:00.0 +0100
+++ new/Gemfile 2016-05-05 12:34:03.0 +0200
@@ -0,0 +1,3 @@
+source "https://rubygems.org;
+
+gemspec
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/NOTICE new/NOTICE
--- old/NOTICE  1970-01-01 01:00:00.0 +0100
+++ new/NOTICE  2016-05-05 12:34:03.0 +0200
@@ -1,27 +1,26 @@
 Mixin::CLI NOTICE
 =
 
-Developed at Opscode (http://www.opscode.com).
+Developed at Chef (http://www.chef.io).
 
- * Copyright 2009, Opscode, Inc. 
+
+ * Copyright 2009-2016, Chef Software, Inc. 
 
 Mixin::CLI incorporates code from Chef.  The Chef notice file follows:
 
 Chef NOTICE
 ===
 
-Developed at Opscode (http://www.opscode.com).
+Developed at Chef (http://www.chef.io).
 
 Contributors and Copyright holders:
 
- * Copyright 2008, Adam Jacob 
+ * Copyright 2008, Adam Jacob 
  * Copyright 2008, Arjuna Christensen 
  * Copyright 2008, Bryan McLellan 
  * Copyright 2008, Ezra Zygmuntowicz 
  * Copyright 2009, Sean Cribbs 
- * Copyright 2009, Christopher Brown 
+ * Copyright 2009, Christopher Brown 
  * Copyright 2009, Thom May 
 
 Chef incorporates code modified from Open4 
(http://www.codeforpeople.com/lib/ruby/open4/), which was written by Ara T. 
Howard.
-
-Chef incorporates code modified from Merb (http://www.merbivore.com), which is 
Copyright (c) 2008 Engine Yard.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/README.md new/README.md
--- old/README.md   1970-01-01 01:00:00.0 +0100
+++ new/README.md   2016-05-05 12:34:03.0 +0200
@@ -0,0 +1,109 @@
+# Mixlib::CLI
+
+[![Build Status 
Master](https://travis-ci.org/chef/mixlib-cli.svg?branch=master)](https://travis-ci.org/chef/mixlib-cli)
 [![Gem 
Version](https://badge.fury.io/rb/mixlib-cli.svg)](https://badge.fury.io/rb/mixlib-cli)
+
+Mixlib::CLI provides a class-based command line option parsing object, like 
the one used in Chef, Ohai and Relish. To use in your 

commit rubygem-mixlib-cli for openSUSE:Factory

2014-10-13 Thread h_root
Hello community,

here is the log from the commit of package rubygem-mixlib-cli for 
openSUSE:Factory checked in at 2014-10-14 07:12:24

Comparing /work/SRC/openSUSE:Factory/rubygem-mixlib-cli (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-mixlib-cli.new (New)


Package is rubygem-mixlib-cli

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-mixlib-cli/rubygem-mixlib-cli.changes
2014-05-01 07:52:19.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-mixlib-cli.new/rubygem-mixlib-cli.changes   
2014-10-14 07:13:18.0 +0200
@@ -1,0 +2,5 @@
+Mon Oct 13 14:23:25 UTC 2014 - co...@suse.com
+
+- adapt to new rubygem packaging
+
+---

New:

  gem2rpm.yml



Other differences:
--
++ rubygem-mixlib-cli.spec ++
--- /var/tmp/diff_new_pack.NTI0P7/_old  2014-10-14 07:13:19.0 +0200
+++ /var/tmp/diff_new_pack.NTI0P7/_new  2014-10-14 07:13:19.0 +0200
@@ -21,62 +21,29 @@
 Release:0
 %define mod_name mixlib-cli
 %define mod_full_name %{mod_name}-%{version}
-
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  ruby-macros = 3
+BuildRequires:  %{rubygem gem2rpm}
+BuildRequires:  %{ruby}
+BuildRequires:  ruby-macros = 5
 Url:http://www.opscode.com
 Source: http://rubygems.org/gems/%{mod_full_name}.gem
+Source1:gem2rpm.yml
 Summary:A simple mixin for CLI interfaces, including option parsing
 License:Apache-2.0
 Group:  Development/Languages/Ruby
 
 %description
-A simple mixin for CLI interfaces, including option parsing
-
-%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.
+A simple mixin for CLI interfaces, including option parsing.
 
 %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}%{_docdir}/%{name}
-ln -s %{gem_base}/gems/%{mod_full_name}/LICENSE 
%buildroot/%{_docdir}/%{name}/LICENSE
-ln -s %{gem_base}/gems/%{mod_full_name}/README.rdoc 
%buildroot/%{_docdir}/%{name}/README.rdoc
-
-%files
-%defattr(-,root,root,-)
-%{_docdir}/%{name}
-%{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 \
+  --doc-files=LICENSE README.rdoc \
+  -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 -D -m 0644 %{S:1} %{buildroot}%{_bindir}/gem2rpm-opensuse
# ## used by gem2rpm
# :testsuite_command: |-
#   (pushd %{buildroot}%{gem_base}/gems/%{mod_full_name}  rake test)
# ## used by gem2rpm
# :filelist: |-
#   /usr/bin/gem2rpm-opensuse
# ## used by gem2rpm
# :scripts:
#   :post: |-
# /bin/echo foo
# ## used by gem_packages
# :main:
#   :preamble: |-
# Requires: util-linux
# Recommends: pwgen
#   :filelist: |-
# /usr/bin/gem2rpm-opensuse
# ## used by gem_packages
# :custom:
#   apache:
# :preamble: |-
#   Requires: .
# :filelist: |-
#   /etc/apache2/conf.d/passenger.conf
# :summary: Custom summary is optional
# :description: |-
#   Custom description is optional
#
#   bar
# :post: |-
#   /bin/echo foo
#
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For 

commit rubygem-mixlib-cli for openSUSE:Factory

2014-04-30 Thread h_root
Hello community,

here is the log from the commit of package rubygem-mixlib-cli for 
openSUSE:Factory checked in at 2014-05-01 07:52:18

Comparing /work/SRC/openSUSE:Factory/rubygem-mixlib-cli (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-mixlib-cli.new (New)


Package is rubygem-mixlib-cli

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-mixlib-cli/rubygem-mixlib-cli.changes
2013-12-12 11:26:13.0 +0100
+++ 
/work/SRC/openSUSE:Factory/.rubygem-mixlib-cli.new/rubygem-mixlib-cli.changes   
2014-05-01 07:52:19.0 +0200
@@ -1,0 +2,13 @@
+Tue Apr 29 07:57:14 UTC 2014 - tboer...@suse.com
+
+- Fixed license, valid spdx.org license
+
+---
+Mon Apr 28 12:21:53 UTC 2014 - tboer...@suse.com
+
+- Updated to version 1.5.0
+  - Add API to access option parser without parsing options
+- Updated spec file with current gem2rpm
+- Changed license to Apache-2 instead of Apache-2.0
+
+---

Old:

  mixlib-cli-1.4.0.gem

New:

  mixlib-cli-1.5.0.gem



Other differences:
--
++ rubygem-mixlib-cli.spec ++
--- /var/tmp/diff_new_pack.N1SobM/_old  2014-05-01 07:52:19.0 +0200
+++ /var/tmp/diff_new_pack.N1SobM/_new  2014-05-01 07:52:19.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-mixlib-cli
 #
-# 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,13 +17,13 @@
 
 
 Name:   rubygem-mixlib-cli
-Version:1.4.0
+Version:1.5.0
 Release:0
 %define mod_name mixlib-cli
 %define mod_full_name %{mod_name}-%{version}
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  ruby-macros = 1
+BuildRequires:  ruby-macros = 3
 Url:http://www.opscode.com
 Source: http://rubygems.org/gems/%{mod_full_name}.gem
 Summary:A simple mixin for CLI interfaces, including option parsing
@@ -60,23 +60,23 @@
 %install
 %gem_install -f
 mkdir -p %{buildroot}%{_docdir}/%{name}
-ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/LICENSE 
%buildroot/%{_docdir}/%{name}/LICENSE
-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}/LICENSE 
%buildroot/%{_docdir}/%{name}/LICENSE
+ln -s %{gem_base}/gems/%{mod_full_name}/README.rdoc 
%buildroot/%{_docdir}/%{name}/README.rdoc
 
 %files
 %defattr(-,root,root,-)
 %{_docdir}/%{name}
-%{_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-mixlib-cli for openSUSE:Factory

2013-12-12 Thread h_root
Hello community,

here is the log from the commit of package rubygem-mixlib-cli for 
openSUSE:Factory checked in at 2013-12-12 11:26:12

Comparing /work/SRC/openSUSE:Factory/rubygem-mixlib-cli (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-mixlib-cli.new (New)


Package is rubygem-mixlib-cli

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-mixlib-cli/rubygem-mixlib-cli.changes
2013-04-20 18:00:37.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-mixlib-cli.new/rubygem-mixlib-cli.changes   
2013-12-12 11:26:13.0 +0100
@@ -1,0 +2,5 @@
+Mon Dec  9 11:39:42 UTC 2013 - co...@suse.com
+
+- updated to version 1.4.0, no changelog
+
+---

Old:

  mixlib-cli-1.3.0.gem

New:

  mixlib-cli-1.4.0.gem



Other differences:
--
++ rubygem-mixlib-cli.spec ++
--- /var/tmp/diff_new_pack.poiWom/_old  2013-12-12 11:26:14.0 +0100
+++ /var/tmp/diff_new_pack.poiWom/_new  2013-12-12 11:26:14.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   rubygem-mixlib-cli
-Version:1.3.0
+Version:1.4.0
 Release:0
 %define mod_name mixlib-cli
 %define mod_full_name %{mod_name}-%{version}
@@ -59,9 +59,13 @@
 
 %install
 %gem_install -f
+mkdir -p %{buildroot}%{_docdir}/%{name}
+ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/LICENSE 
%buildroot/%{_docdir}/%{name}/LICENSE
+ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/README.rdoc 
%buildroot/%{_docdir}/%{name}/README.rdoc
 
 %files
 %defattr(-,root,root,-)
+%{_docdir}/%{name}
 %{_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-mixlib-cli for openSUSE:Factory

2013-04-20 Thread h_root
Hello community,

here is the log from the commit of package rubygem-mixlib-cli for 
openSUSE:Factory checked in at 2013-04-20 18:00:36

Comparing /work/SRC/openSUSE:Factory/rubygem-mixlib-cli (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-mixlib-cli.new (New)


Package is rubygem-mixlib-cli, Maintainer is radma...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-mixlib-cli/rubygem-mixlib-cli.changes
2013-04-08 14:55:34.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-mixlib-cli.new/rubygem-mixlib-cli.changes   
2013-04-20 18:00:37.0 +0200
@@ -1,0 +2,5 @@
+Sat Apr 13 06:22:28 UTC 2013 - co...@suse.com
+
+- updated to version 1.3.0, no changelog
+
+---

Old:

  mixlib-cli-1.2.2.gem

New:

  mixlib-cli-1.3.0.gem



Other differences:
--
++ rubygem-mixlib-cli.spec ++
--- /var/tmp/diff_new_pack.tYHx3c/_old  2013-04-20 18:00:39.0 +0200
+++ /var/tmp/diff_new_pack.tYHx3c/_new  2013-04-20 18:00:39.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-mixlib-cli
 #
-# 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,17 +17,15 @@
 
 
 Name:   rubygem-mixlib-cli
-Version:1.2.2
+Version:1.3.0
 Release:0
 %define mod_name mixlib-cli
 %define mod_full_name %{mod_name}-%{version}
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  ruby = 1.9
-Requires:   ruby = 1.9
 BuildRequires:  ruby-macros = 1
 Url:http://www.opscode.com
-Source: %{mod_full_name}.gem
+Source: http://rubygems.org/gems/%{mod_full_name}.gem
 Summary:A simple mixin for CLI interfaces, including option parsing
 License:Apache-2.0
 Group:  Development/Languages/Ruby

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-mixlib-cli for openSUSE:Factory

2013-04-08 Thread h_root
Hello community,

here is the log from the commit of package rubygem-mixlib-cli for 
openSUSE:Factory checked in at 2013-04-08 14:55:33

Comparing /work/SRC/openSUSE:Factory/rubygem-mixlib-cli (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-mixlib-cli.new (New)


Package is rubygem-mixlib-cli, Maintainer is radma...@suse.com

Changes:

New Changes file:

--- /dev/null   2013-04-05 00:01:41.916011506 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-mixlib-cli.new/rubygem-mixlib-cli.changes   
2013-04-08 14:55:34.0 +0200
@@ -0,0 +1,21 @@
+---
+Fri Apr  5 07:42:44 UTC 2013 - cfarr...@suse.com
+
+- license update: Apache-2.0
+  See data/LICENSE
+
+---
+Wed Aug  1 05:05:24 UTC 2012 - co...@suse.com
+
+- updated to version 1.2.2
+
+---
+Wed Nov 24 15:31:01 UTC 2010 - seife+...@b1-systems.com
+
+- spec recreated by gem2rpm-opensuse
+
+---
+Mon Nov 22 15:31:57 UTC 2010 - seife+...@b1-systems.com
+
+- initial package (spec partly imported from fedora)
+

New:

  mixlib-cli-1.2.2.gem
  rubygem-mixlib-cli.changes
  rubygem-mixlib-cli.spec



Other differences:
--
++ rubygem-mixlib-cli.spec ++
#
# spec file for package rubygem-mixlib-cli
#
# 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-mixlib-cli
Version:1.2.2
Release:0
%define mod_name mixlib-cli
%define mod_full_name %{mod_name}-%{version}

BuildRoot:  %{_tmppath}/%{name}-%{version}-build
BuildRequires:  ruby = 1.9
Requires:   ruby = 1.9
BuildRequires:  ruby-macros = 1
Url:http://www.opscode.com
Source: %{mod_full_name}.gem
Summary:A simple mixin for CLI interfaces, including option parsing
License:Apache-2.0
Group:  Development/Languages/Ruby

%description
A simple mixin for CLI interfaces, including option parsing

%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

%files
%defattr(-,root,root,-)
%{_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