Hello community,

here is the log from the commit of package rubygem-bundler for openSUSE:Factory 
checked in at 2015-03-18 13:05:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-bundler (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-bundler.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-bundler"

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-bundler/rubygem-bundler.changes  
2015-03-09 10:09:53.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-bundler.new/rubygem-bundler.changes     
2015-03-18 13:05:04.000000000 +0100
@@ -1,0 +2,9 @@
+Mon Mar 16 06:53:57 UTC 2015 - [email protected]
+
+- updated to version 1.8.5
+ Bugfixes:
+ 
+   - remove MIT license from gemspec when removing license file (@indirect)
+   - respect 'no' immediately as well as saving it in `gem` config (@kirs)
+
+-------------------------------------------------------------------

Old:
----
  bundler-1.8.4.gem

New:
----
  bundler-1.8.5.gem

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

Other differences:
------------------
++++++ rubygem-bundler.spec ++++++
--- /var/tmp/diff_new_pack.AON41c/_old  2015-03-18 13:05:05.000000000 +0100
+++ /var/tmp/diff_new_pack.AON41c/_new  2015-03-18 13:05:05.000000000 +0100
@@ -24,7 +24,7 @@
 #
 
 Name:           rubygem-bundler
-Version:        1.8.4
+Version:        1.8.5
 Release:        0
 %define mod_name bundler
 %define mod_full_name %{mod_name}-%{version}

++++++ bundler-1.8.4.gem -> bundler-1.8.5.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md    2015-03-06 00:04:04.000000000 +0100
+++ new/CHANGELOG.md    2015-03-11 10:12:35.000000000 +0100
@@ -1,3 +1,10 @@
+## 1.8.5 (2015-03-11)
+
+Bugfixes:
+
+  - remove MIT license from gemspec when removing license file (@indirect)
+  - respect 'no' immediately as well as saving it in `gem` config (@kirs)
+
 ## 1.8.4 (2015-03-05)
 
 Bugfixes:
Files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/bundler/cli/gem.rb new/lib/bundler/cli/gem.rb
--- old/lib/bundler/cli/gem.rb  2015-03-06 00:04:04.000000000 +0100
+++ new/lib/bundler/cli/gem.rb  2015-03-11 10:12:35.000000000 +0100
@@ -26,7 +26,7 @@
       git_user_name = `git config user.name`.chomp
       git_user_email = `git config user.email`.chomp
 
-      opts = {
+      config = {
         :name             => name,
         :underscored_name => underscored_name,
         :namespaced_path  => namespaced_path,
@@ -67,6 +67,7 @@
           "for free as long as they admit you created it. You can read more 
about the MIT license " \
           "at choosealicense.com/licenses/mit."
         )
+        config[:mit] = true
         templates.merge!("LICENSE.txt.tt" => "LICENSE.txt")
       end
 
@@ -99,7 +100,7 @@
       end
 
       templates.each do |src, dst|
-        thor.template("newgem/#{src}", target.join(dst), opts)
+        thor.template("newgem/#{src}", target.join(dst), config)
       end
 
       Bundler.ui.info "Initializing git repo in #{target}"
@@ -118,17 +119,15 @@
     end
 
     def ask_and_set(key, header, message)
-      result = options[key]
-      if !Bundler.settings.all.include?("gem.#{key}")
-        if result.nil?
-          Bundler.ui.confirm header
-          result = Bundler.ui.ask("#{message} y/(n):") == "y"
-        end
+      choice = options[key] || Bundler.settings["gem.#{key}"]
 
-        Bundler.settings.set_global("gem.#{key}", result)
+      if choice.nil?
+        Bundler.ui.confirm header
+        choice = (Bundler.ui.ask("#{message} y/(n):") =~ /y|yes/)
+        Bundler.settings.set_global("gem.#{key}", choice)
       end
 
-      result || Bundler.settings["gem.#{key}"]
+      choice
     end
 
     def validate_ext_name
@@ -143,6 +142,7 @@
 
     def ask_and_set_test_framework
       test_framework = options[:test] || Bundler.settings["gem.test"]
+
       if test_framework.nil?
         Bundler.ui.confirm "Do you want to generate tests with your gem?"
         result = Bundler.ui.ask "Type 'rspec' or 'minitest' to generate those 
test files now and " \
@@ -150,7 +150,7 @@
         if result =~ /rspec|minitest/
           test_framework = result
         else
-          test_framework = "false"
+          test_framework = false
         end
       end
 
@@ -158,7 +158,6 @@
         Bundler.settings.set_global("gem.test", test_framework)
       end
 
-      return if test_framework == "false"
       test_framework
     end
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/bundler/settings.rb new/lib/bundler/settings.rb
--- old/lib/bundler/settings.rb 2015-03-06 00:04:04.000000000 +0100
+++ new/lib/bundler/settings.rb 2015-03-11 10:12:35.000000000 +0100
@@ -10,10 +10,15 @@
       @global_config = load_config(global_config_file)
     end
 
-    def [](key)
-      the_key = key_for(key)
-      value = (@local_config[the_key] || ENV[the_key] || 
@global_config[the_key])
-      is_bool(key) ? to_bool(value) : value
+    def [](name)
+      key = key_for(name)
+      value = (@local_config[key] || ENV[key] || @global_config[key])
+
+      if !value.nil? && is_bool(name)
+        to_bool(value)
+      else
+        value
+      end
     end
 
     def []=(key, value)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/bundler/templates/newgem/newgem.gemspec.tt 
new/lib/bundler/templates/newgem/newgem.gemspec.tt
--- old/lib/bundler/templates/newgem/newgem.gemspec.tt  2015-03-06 
00:04:04.000000000 +0100
+++ new/lib/bundler/templates/newgem/newgem.gemspec.tt  2015-03-11 
10:12:35.000000000 +0100
@@ -9,14 +9,12 @@
   spec.authors       = [<%=config[:author].inspect%>]
   spec.email         = [<%=config[:email].inspect%>]
 
-  if spec.respond_to?(:metadata)
-    spec.metadata['allowed_push_host'] = "TODO: Set to 
'http://mygemserver.com' to prevent pushes to rubygems.org, or delete to allow 
pushes to any server."
-  end
-
   spec.summary       = %q{TODO: Write a short summary, because Rubygems 
requires one.}
   spec.description   = %q{TODO: Write a longer description or delete this 
line.}
   spec.homepage      = "TODO: Put your gem's website or public repo URL here."
+<%- if config[:mit] -%>
   spec.license       = "MIT"
+<%- end -%>
 
   spec.files         = `git ls-files -z`.split("\x0").reject { |f| 
f.match(%r{^(test|spec|features)/}) }
   spec.bindir        = "exe"
@@ -26,6 +24,10 @@
   spec.extensions    = ["ext/<%=config[:underscored_name]%>/extconf.rb"]
 <%- end -%>
 
+  if spec.respond_to?(:metadata)
+    spec.metadata['allowed_push_host'] = "TODO: Set to 
'http://mygemserver.com' to prevent pushes to rubygems.org, or delete to allow 
pushes to any server."
+  end
+
   spec.add_development_dependency "bundler", "~> <%= 
Bundler::VERSION.split(".")[0..1].join(".") %>"
   spec.add_development_dependency "rake", "~> 10.0"
 <%- if config[:ext] -%>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/bundler/version.rb new/lib/bundler/version.rb
--- old/lib/bundler/version.rb  2015-03-06 00:04:04.000000000 +0100
+++ new/lib/bundler/version.rb  2015-03-11 10:12:35.000000000 +0100
@@ -2,5 +2,5 @@
   # We're doing this because we might write tests that deal
   # with other versions of bundler and we are unsure how to
   # handle this better.
-  VERSION = "1.8.4" unless defined?(::Bundler::VERSION)
+  VERSION = "1.8.5" unless defined?(::Bundler::VERSION)
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2015-03-06 00:04:04.000000000 +0100
+++ new/metadata        2015-03-11 10:12:35.000000000 +0100
@@ -1,7 +1,7 @@
 --- !ruby/object:Gem::Specification
 name: bundler
 version: !ruby/object:Gem::Version
-  version: 1.8.4
+  version: 1.8.5
 platform: ruby
 authors:
 - André Arko
@@ -11,7 +11,7 @@
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2015-03-05 00:00:00.000000000 Z
+date: 2015-03-11 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: mustache

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to