Hello community,

here is the log from the commit of package rubygem-optimist for 
openSUSE:Factory checked in at 2020-05-11 13:39:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-optimist (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-optimist.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-optimist"

Mon May 11 13:39:11 2020 rev:2 rq:802359 version:3.0.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-optimist/rubygem-optimist.changes        
2019-08-29 17:17:43.811365319 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-optimist.new.2738/rubygem-optimist.changes  
    2020-05-11 13:39:15.348853706 +0200
@@ -1,0 +2,11 @@
+Thu May  7 21:11:10 UTC 2020 - Stephan Kulow <[email protected]>
+
+- updated to version 3.0.1
+ see installed History.txt
+
+  == [3.0.1] / 2020-04-20
+  
+  * Add a LICENSE.txt file to the released package
+  * Test fixes (thanks @aried3r, @neontapir, @npras)
+
+-------------------------------------------------------------------

Old:
----
  optimist-3.0.0.gem

New:
----
  gem2rpm.yml
  optimist-3.0.1.gem

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ rubygem-optimist.spec ++++++
--- /var/tmp/diff_new_pack.bDgsIj/_old  2020-05-11 13:39:15.964854998 +0200
+++ /var/tmp/diff_new_pack.bDgsIj/_new  2020-05-11 13:39:15.968855006 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-optimist
 #
-# 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
@@ -12,20 +12,29 @@
 # 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/
+#
+
+
+#
+# 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-optimist
-Version:        3.0.0
+Version:        3.0.1
 Release:        0
 %define mod_name optimist
 %define mod_full_name %{mod_name}-%{version}
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  ruby-macros >= 5
-BuildRequires:  %{ruby}
 BuildRequires:  %{rubygem gem2rpm}
-Url:            http://manageiq.github.io/optimist/
+BuildRequires:  %{ruby}
+BuildRequires:  ruby-macros >= 5
+URL:            http://manageiq.github.io/optimist/
 Source:         https://rubygems.org/gems/%{mod_full_name}.gem
+Source1:        gem2rpm.yml
 Summary:        Optimist is a commandline option parser for Ruby that just 
gets out
 License:        MIT
 Group:          Development/Languages/Ruby
@@ -43,7 +52,7 @@
 
 %install
 %gem_install \
-  --doc-files="History.txt README.md" \
+  --doc-files="History.txt LICENSE.txt README.md" \
   -f
 
 %gem_packages

++++++ 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:
# :post_patch:
#   if you need to fiddle with the source dir before rebuilding the gem
# ## 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_pkgs:
#   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
# :preamble: |-
#     %if 0%{?suse_version} && 0%{?suse_version} < 1330
#     %define rb_build_versions ruby24 ruby25
#     %define rb_default_ruby_abi ruby:2.4.0 ruby:2.5.0
#     %endif
++++++ optimist-3.0.0.gem -> optimist-3.0.1.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/.travis.yml new/.travis.yml
--- old/.travis.yml     2018-08-24 22:17:19.000000000 +0200
+++ new/.travis.yml     2020-04-20 18:19:54.000000000 +0200
@@ -1,9 +1,12 @@
 language: ruby
-sudo: false
+cache: bundler
 rvm:
-  - "2.2"
-  - "2.3.4"
-  - "2.5.1"
+  - 2.2
+  - 2.3
+  - 2.4
+  - 2.5
+  - 2.6
+  - 2.7
   - jruby-head
 matrix:
   allow_failures:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/History.txt new/History.txt
--- old/History.txt     2018-08-24 22:17:19.000000000 +0200
+++ new/History.txt     2020-04-20 18:19:54.000000000 +0200
@@ -1,3 +1,8 @@
+== [3.0.1] / 2020-04-20
+
+* Add a LICENSE.txt file to the released package
+* Test fixes (thanks @aried3r, @neontapir, @npras)
+
 == [3.0.0] / 2018-08-24
 
 * The gem has been officially renamed to optimist
@@ -163,6 +168,8 @@
 == 1.0 / 2007-01-29
 * Initial release.
 
+[3.0.1]: https://github.com/ManageIQ/optimist/compare/v3.0.0...v3.0.1
+[3.0.0]: https://github.com/ManageIQ/optimist/compare/v2.1.3...v3.0.0
 [2.1.3]: https://github.com/ManageIQ/optimist/compare/v2.1.2...v2.1.3
 [2.1.2]: https://github.com/ManageIQ/optimist/compare/v2.1.1...v2.1.2
 [2.1.1]: https://github.com/ManageIQ/optimist/compare/v2.1.0...v2.1.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/LICENSE.txt new/LICENSE.txt
--- old/LICENSE.txt     1970-01-01 01:00:00.000000000 +0100
+++ new/LICENSE.txt     2020-04-20 18:19:54.000000000 +0200
@@ -0,0 +1,23 @@
+Copyright (c) 2008-2014 William Morgan
+Copyright (c) 2014 Red Hat, Inc
+
+MIT License
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/optimist.rb new/lib/optimist.rb
--- old/lib/optimist.rb 2018-08-24 22:17:19.000000000 +0200
+++ new/lib/optimist.rb 2020-04-20 18:19:54.000000000 +0200
@@ -8,7 +8,7 @@
 module Optimist
   # note: this is duplicated in gemspec
   # please change over there too
-VERSION = "3.0.0"
+VERSION = "3.0.1"
 
 ## Thrown by Parser in the event of a commandline error. Not needed if
 ## you're using the Optimist::options entry.
@@ -590,11 +590,11 @@
     @optshash = Hash.new()
   end
 
-  def opts (key)
+  def opts(key)
     @optshash[key]
   end
 
-  def opts= (o)
+  def opts=(o)
     @optshash = o
   end
 
@@ -620,7 +620,7 @@
 
   def required? ; opts(:required) ; end
 
-  def parse (_paramlist, _neg_given)
+  def parse(_paramlist, _neg_given)
     raise NotImplementedError, "parse must be overridden for newly registered 
type"
   end
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2018-08-24 22:17:19.000000000 +0200
+++ new/metadata        2020-04-20 18:19:54.000000000 +0200
@@ -1,7 +1,7 @@
 --- !ruby/object:Gem::Specification
 name: optimist
 version: !ruby/object:Gem::Version
-  version: 3.0.0
+  version: 3.0.1
 platform: ruby
 authors:
 - William Morgan
@@ -10,7 +10,7 @@
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2018-08-24 00:00:00.000000000 Z
+date: 2020-04-20 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: minitest
@@ -70,6 +70,7 @@
 - FAQ.txt
 - Gemfile
 - History.txt
+- LICENSE.txt
 - README.md
 - Rakefile
 - lib/optimist.rb
@@ -106,8 +107,7 @@
     - !ruby/object:Gem::Version
       version: '0'
 requirements: []
-rubyforge_project: 
-rubygems_version: 2.6.13
+rubygems_version: 3.1.2
 signing_key: 
 specification_version: 4
 summary: Optimist is a commandline option parser for Ruby that just gets out 
of your
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/test/optimist/parser_test.rb 
new/test/optimist/parser_test.rb
--- old/test/optimist/parser_test.rb    2018-08-24 22:17:19.000000000 +0200
+++ new/test/optimist/parser_test.rb    2020-04-20 18:19:54.000000000 +0200
@@ -390,12 +390,12 @@
     opts = @p.parse %w(-a -b)
     assert_equal true, opts[:arg1]
     assert_equal true, opts[:arg2]
-    assert_equal nil, opts[:arg3]
+    assert_nil opts[:arg3]
 
     opts = @p.parse %w(-ab)
     assert_equal true, opts[:arg1]
     assert_equal true, opts[:arg2]
-    assert_equal nil, opts[:arg3]
+    assert_nil opts[:arg3]
 
     opts = @p.parse %w(-ac 4 -b)
     assert_equal true, opts[:arg1]
@@ -464,7 +464,7 @@
     assert_equal 5, opts[:arg]
   end
 
-  def test_integer_formatting
+  def test_integer_formatting_default
     @p.opt :arg, "desc", :type => :integer, :short => "i", :default => 3
     opts = @p.parse %w(-i)
     assert_equal 3, opts[:arg]


Reply via email to