Hello community, here is the log from the commit of package rubygem-mixlib-config for openSUSE:Factory checked in at 2015-05-15 07:44:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-mixlib-config (Old) and /work/SRC/openSUSE:Factory/.rubygem-mixlib-config.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-mixlib-config" Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-mixlib-config/rubygem-mixlib-config.changes 2013-12-12 11:26:31.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-mixlib-config.new/rubygem-mixlib-config.changes 2015-05-15 07:44:27.000000000 +0200 @@ -1,0 +2,12 @@ +Wed May 13 04:29:59 UTC 2015 - co...@suse.com + +- updated to version 2.2.1 + no changelog found + +------------------------------------------------------------------- +Tue May 12 07:24:26 UTC 2015 - co...@suse.com + +- updated to version 2.2.0 + no changelog found + +------------------------------------------------------------------- Old: ---- mixlib-config-2.1.0.gem New: ---- gem2rpm.yml mixlib-config-2.2.1.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-mixlib-config.spec ++++++ --- /var/tmp/diff_new_pack.lLrJUN/_old 2015-05-15 07:44:28.000000000 +0200 +++ /var/tmp/diff_new_pack.lLrJUN/_new 2015-05-15 07:44:28.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package rubygem-mixlib-config # -# Copyright (c) 2013 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,67 +16,41 @@ # +# +# 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-config -Version: 2.1.0 +Version: 2.2.1 Release: 0 %define mod_name mixlib-config %define mod_full_name %{mod_name}-%{version} - BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: ruby-macros >= 1 -Url: http://www.opscode.com +BuildRequires: %{rubygem gem2rpm} +BuildRequires: %{ruby} +BuildRequires: ruby-macros >= 5 +Url: http://www.chef.io Source: http://rubygems.org/gems/%{mod_full_name}.gem +Source1: gem2rpm.yml Summary: A class based configuration library License: Apache-2.0 Group: Development/Languages/Ruby %description -A class based configuration library - -%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 class based configuration library. %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 %{_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.md %buildroot/%{_docdir}/%{name}/README.md - -%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 - -%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 +%gem_install \ + --doc-files="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 -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 # ++++++ mixlib-config-2.1.0.gem -> mixlib-config-2.2.1.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/config/version.rb new/lib/mixlib/config/version.rb --- old/lib/mixlib/config/version.rb 1970-01-01 01:00:00.000000000 +0100 +++ new/lib/mixlib/config/version.rb 2015-05-12 23:35:17.000000000 +0200 @@ -19,7 +19,7 @@ module Mixlib module Config - VERSION = "2.1.0" + VERSION = "2.2.1" end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/mixlib/config.rb new/lib/mixlib/config.rb --- old/lib/mixlib/config.rb 1970-01-01 01:00:00.000000000 +0100 +++ new/lib/mixlib/config.rb 2015-05-12 23:35:17.000000000 +0200 @@ -50,7 +50,7 @@ # Pass Mixlib::Config.configure() a block, and it will yield itself # # === Parameters - # block<Block>:: A block that is called with self.configuration as the arugment. + # block<Block>:: A block that is called with self.configuration as the argument. def configure(&block) block.call(self.configuration) end @@ -402,7 +402,7 @@ # === Parameters # symbol<Symbol>:: Name of the method (variable setter) # value<Object>:: Value to be set in config hash - # + # def internal_set(symbol,value) if configurables.has_key?(symbol) configurables[symbol].set(self.configuration, value) @@ -410,9 +410,9 @@ config_contexts[symbol].restore(value) else if config_strict_mode == :warn - Chef::Log.warn("Setting unsupported config value #{method_name}..") + Chef::Log.warn("Setting unsupported config value #{symbol}.") elsif config_strict_mode - raise UnknownConfigOptionError, "Cannot set unsupported config value #{method_name}." + raise UnknownConfigOptionError, "Cannot set unsupported config value #{symbol}." end configuration[symbol] = value end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata 1970-01-01 01:00:00.000000000 +0100 +++ new/metadata 2015-05-12 23:35:17.000000000 +0200 @@ -1,59 +1,59 @@ --- !ruby/object:Gem::Specification name: mixlib-config version: !ruby/object:Gem::Version - version: 2.1.0 + version: 2.2.1 platform: ruby authors: -- Opscode, Inc. +- Chef Software, Inc. autorequire: bindir: bin cert_chain: [] -date: 2013-12-05 00:00:00.000000000 Z +date: 2015-05-12 00:00:00.000000000 Z dependencies: - !ruby/object:Gem::Dependency name: rake requirement: !ruby/object:Gem::Requirement requirements: - - - '>=' + - - ">=" - !ruby/object:Gem::Version version: '0' type: :development prerelease: false version_requirements: !ruby/object:Gem::Requirement requirements: - - - '>=' + - - ">=" - !ruby/object:Gem::Version version: '0' - !ruby/object:Gem::Dependency name: rspec requirement: !ruby/object:Gem::Requirement requirements: - - - '>=' + - - "~>" - !ruby/object:Gem::Version - version: '0' + version: '2.99' type: :development prerelease: false version_requirements: !ruby/object:Gem::Requirement requirements: - - - '>=' + - - "~>" - !ruby/object:Gem::Version - version: '0' + version: '2.99' - !ruby/object:Gem::Dependency name: rdoc requirement: !ruby/object:Gem::Requirement requirements: - - - '>=' + - - ">=" - !ruby/object:Gem::Version version: '0' type: :development prerelease: false version_requirements: !ruby/object:Gem::Requirement requirements: - - - '>=' + - - ">=" - !ruby/object:Gem::Version version: '0' description: A class based configuration library -email: i...@opscode.com +email: le...@chef.io executables: [] extensions: [] extra_rdoc_files: @@ -64,16 +64,17 @@ - NOTICE - README.md - Rakefile +- lib/mixlib/config.rb - lib/mixlib/config/configurable.rb - lib/mixlib/config/reopened_config_context_with_configurable_error.rb - lib/mixlib/config/reopened_configurable_with_config_context_error.rb - lib/mixlib/config/unknown_config_option_error.rb - lib/mixlib/config/version.rb -- lib/mixlib/config.rb - spec/mixlib/config_spec.rb - spec/spec_helper.rb -homepage: http://www.opscode.com -licenses: [] +homepage: http://www.chef.io +licenses: +- Apache-2.0 metadata: {} post_install_message: rdoc_options: [] @@ -81,17 +82,17 @@ - lib required_ruby_version: !ruby/object:Gem::Requirement requirements: - - - '>=' + - - ">=" - !ruby/object:Gem::Version version: '0' required_rubygems_version: !ruby/object:Gem::Requirement requirements: - - - '>=' + - - ">=" - !ruby/object:Gem::Version version: '0' requirements: [] rubyforge_project: -rubygems_version: 2.0.3 +rubygems_version: 2.4.5 signing_key: specification_version: 4 summary: A class based configuration library diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spec/mixlib/config_spec.rb new/spec/mixlib/config_spec.rb --- old/spec/mixlib/config_spec.rb 1970-01-01 01:00:00.000000000 +0100 +++ new/spec/mixlib/config_spec.rb 2015-05-12 23:35:17.000000000 +0200 @@ -102,23 +102,23 @@ end it "raises an error when you get an arbitrary config option with .y" do - lambda { StrictClass.y }.should raise_error(Mixlib::Config::UnknownConfigOptionError) + lambda { StrictClass.y }.should raise_error(Mixlib::Config::UnknownConfigOptionError, "Reading unsupported config value y.") end it "raises an error when you get an arbitrary config option with [:y]" do - lambda { StrictClass[:y] }.should raise_error(Mixlib::Config::UnknownConfigOptionError) + lambda { StrictClass[:y] }.should raise_error(Mixlib::Config::UnknownConfigOptionError, "Reading unsupported config value y.") end it "raises an error when you set an arbitrary config option with .y = 10" do - lambda { StrictClass.y = 10 }.should raise_error(Mixlib::Config::UnknownConfigOptionError) + lambda { StrictClass.y = 10 }.should raise_error(Mixlib::Config::UnknownConfigOptionError, "Cannot set unsupported config value y.") end - it "raises an error when you get an arbitrary config option with .y 10" do - lambda { StrictClass.y 10 }.should raise_error(Mixlib::Config::UnknownConfigOptionError) + it "raises an error when you set an arbitrary config option with .y 10" do + lambda { StrictClass.y 10 }.should raise_error(Mixlib::Config::UnknownConfigOptionError, "Cannot set unsupported config value y.") end - it "raises an error when you get an arbitrary config option with [:y] = 10" do - lambda { StrictClass[:y] = 10 }.should raise_error(Mixlib::Config::UnknownConfigOptionError) + it "raises an error when you set an arbitrary config option with [:y] = 10" do + lambda { StrictClass[:y] = 10 }.should raise_error(Mixlib::Config::UnknownConfigOptionError, "Cannot set unsupported config value y.") end end @@ -225,7 +225,7 @@ raise NopeError, "NOPE" end end - + it 'Normal classes call the extra method' do normal_class = Class.new normal_class.extend(::Mixlib::Config) @@ -887,7 +887,7 @@ end it "The nested class does not allow you to set arbitrary config options" do - lambda { StrictClass2.c.y = 10 }.should raise_error(Mixlib::Config::UnknownConfigOptionError) + lambda { StrictClass2.c.y = 10 }.should raise_error(Mixlib::Config::UnknownConfigOptionError, "Cannot set unsupported config value y.") end end @@ -900,11 +900,11 @@ end it "The parent class does not allow you to set arbitrary config options" do - lambda { StrictClass3.y = 10 }.should raise_error(Mixlib::Config::UnknownConfigOptionError) + lambda { StrictClass3.y = 10 }.should raise_error(Mixlib::Config::UnknownConfigOptionError, "Cannot set unsupported config value y.") end it "The nested class does not allow you to set arbitrary config options" do - lambda { StrictClass3.y = 10 }.should raise_error(Mixlib::Config::UnknownConfigOptionError) + lambda { StrictClass3.y = 10 }.should raise_error(Mixlib::Config::UnknownConfigOptionError, "Cannot set unsupported config value y.") end end