Hello community,

here is the log from the commit of package rubygem-bundler for openSUSE:Factory 
checked in at 2015-02-16 22:12:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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-02-11 16:45:11.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-bundler.new/rubygem-bundler.changes     
2015-02-16 22:12:29.000000000 +0100
@@ -1,0 +2,10 @@
+Sun Feb 15 05:28:40 UTC 2015 - [email protected]
+
+- updated to version 1.8.2
+
+-------------------------------------------------------------------
+Sat Feb 14 05:28:43 UTC 2015 - [email protected]
+
+- updated to version 1.8.1
+
+-------------------------------------------------------------------

Old:
----
  bundler-1.8.0.gem

New:
----
  bundler-1.8.2.gem

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

Other differences:
------------------
++++++ rubygem-bundler.spec ++++++
--- /var/tmp/diff_new_pack.fPBqHX/_old  2015-02-16 22:12:30.000000000 +0100
+++ /var/tmp/diff_new_pack.fPBqHX/_new  2015-02-16 22:12:30.000000000 +0100
@@ -24,7 +24,7 @@
 #
 
 Name:           rubygem-bundler
-Version:        1.8.0
+Version:        1.8.2
 Release:        0
 %define mod_name bundler
 %define mod_full_name %{mod_name}-%{version}

++++++ bundler-1.8.0.gem -> bundler-1.8.2.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md    2015-02-10 09:54:55.000000000 +0100
+++ new/CHANGELOG.md    2015-02-14 11:48:35.000000000 +0100
@@ -1,14 +1,31 @@
+## 1.8.2 (2015-02-14)
+
+Bugfixes:
+
+  - allow config settings for gems with 'http' in the name again (#3398, 
@tmoore)
+
+## 1.8.1 (2015-02-13)
+
+Bugfixes:
+
+  - synchronize building git gem native extensions (#3385, @antifuchs & 
@indirect)
+  - set gemspec bindir correctly (#3392, @tmoore)
+  - request lockfile deletion when it is malformed (#3396, @indirect)
+  - explain problem when mirror config is missing (#3386, @indirect)
+  - explain problem when caching causes permission error (#3390, @indirect)
+  - normalize URLs in config keys (#3391, @indirect)
+
 ## 1.8.0 (2015-02-10)
 
 Bugfixes:
 
-  - Gemfile `github` blocks now work (#3379, @indirect)
+  - gemfile `github` blocks now work (#3379, @indirect)
 
 Bugfixes from v1.7.13:
 
-  - Look up installed gems in remote sources (#3300, #3368, #3377, #3380, 
#3381, @indirect)
-  - Look up gems across all sources to satisfy dependencies (#3365, 
@keiths-osc)
-  - Request dependencies for no more than 100 gems at a time (#3367, 
@segiddins)
+  - look up installed gems in remote sources (#3300, #3368, #3377, #3380, 
#3381, @indirect)
+  - look up gems across all sources to satisfy dependencies (#3365, 
@keiths-osc)
+  - request dependencies for no more than 100 gems at a time (#3367, 
@segiddins)
 
 ## 1.8.0.rc (2015-01-26)
 
Files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/bundler/fetcher.rb new/lib/bundler/fetcher.rb
--- old/lib/bundler/fetcher.rb  2015-02-10 09:54:55.000000000 +0100
+++ new/lib/bundler/fetcher.rb  2015-02-14 11:48:35.000000000 +0100
@@ -323,7 +323,7 @@
       gem_list = []
       deps_list = []
 
-      gem_names.each_slice(Source::Rubygems::API_REQUEST_LIMIT) do |names|
+      gem_names.each_slice(Source::Rubygems::API_REQUEST_SIZE) do |names|
         marshalled_deps = fetch dependency_api_uri(names)
         gem_list += Bundler.load_marshal(marshalled_deps)
       end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/bundler/installer.rb new/lib/bundler/installer.rb
--- old/lib/bundler/installer.rb        2015-02-10 09:54:55.000000000 +0100
+++ new/lib/bundler/installer.rb        2015-02-14 11:48:35.000000000 +0100
@@ -195,13 +195,12 @@
   private
 
     def can_install_in_parallel?
-      min_rubygems = "2.0.7"
-      if Bundler.current_ruby.mri? || Bundler.rubygems.provides?(">= 
#{min_rubygems}")
+      if Bundler.rubygems.provides?(">= 2.1.0")
         true
       else
         Bundler.ui.warn "Rubygems #{Gem::VERSION} is not threadsafe, so your "\
-          "gems must be installed one at a time. Upgrade to Rubygems " \
-          "#{min_rubygems} or higher to enable parallel gem installation."
+          "gems must be installed one at a time. Upgrade to Rubygems 2.1.0 " \
+          "or higher to enable parallel gem installation."
         false
       end
     end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/bundler/lockfile_parser.rb 
new/lib/bundler/lockfile_parser.rb
--- old/lib/bundler/lockfile_parser.rb  2015-02-10 09:54:55.000000000 +0100
+++ new/lib/bundler/lockfile_parser.rb  2015-02-14 11:48:35.000000000 +0100
@@ -47,6 +47,10 @@
       end
       @sources << @rubygems_aggregate
       @specs = @specs.values
+    rescue ArgumentError => e
+      Bundler.ui.debug(e)
+      raise LockfileError, "Your lockfile is unreadable. Run `rm Gemfile.lock` 
" \
+        "and then `bundle install` to generate a new lockfile."
     end
 
   private
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/bundler/rubygems_integration.rb 
new/lib/bundler/rubygems_integration.rb
--- old/lib/bundler/rubygems_integration.rb     2015-02-10 09:54:55.000000000 
+0100
+++ new/lib/bundler/rubygems_integration.rb     2015-02-14 11:48:35.000000000 
+0100
@@ -1,3 +1,4 @@
+require 'monitor'
 require 'rubygems'
 require 'rubygems/config_file'
 
@@ -134,6 +135,10 @@
       Gem::DefaultUserInteraction.ui = obj
     end
 
+    def ext_lock
+      @ext_lock ||= Monitor.new
+    end
+
     def fetch_specs(all, pre, &blk)
       specs = Gem::SpecFetcher.new.list(all, pre)
       specs.each { yield } if block_given?
@@ -554,9 +559,37 @@
       end
     end
 
+    class MoreFuture < Future
+      def initialize
+        super
+        backport_ext_builder_monitor
+      end
+
+      def backport_ext_builder_monitor
+        require 'rubygems/ext'
+
+        Gem::Ext::Builder.class_eval do
+          if !const_defined?(:CHDIR_MONITOR)
+            const_set(:CHDIR_MONITOR, Monitor.new)
+          end
+
+          if const_defined?(:CHDIR_MUTEX)
+            remove_const(:CHDIR_MUTEX)
+            const_set(:CHDIR_MUTEX, const_get(:CHDIR_MONITOR))
+          end
+        end
+      end
+
+      def ext_lock
+        Gem::Ext::Builder::CHDIR_MONITOR
+      end
+    end
+
   end
 
-  if RubygemsIntegration.provides?(">= 1.99.99")
+  if RubygemsIntegration.provides?(">= 2.1.0")
+    @rubygems = RubygemsIntegration::MoreFuture.new
+  elsif RubygemsIntegration.provides?(">= 1.99.99")
     @rubygems = RubygemsIntegration::Future.new
   elsif RubygemsIntegration.provides?('>= 1.8.20')
     @rubygems = RubygemsIntegration::MoreModern.new
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-02-10 09:54:55.000000000 +0100
+++ new/lib/bundler/settings.rb 2015-02-14 11:48:35.000000000 +0100
@@ -1,3 +1,5 @@
+require 'uri'
+
 module Bundler
   class Settings
     BOOL_KEYS = %w(frozen cache_all no_prune disable_local_branch_check 
gem.mit gem.coc).freeze
@@ -127,6 +129,9 @@
 
   private
     def key_for(key)
+      if key.is_a?(String) && /https?:/ =~ key
+        key = normalize_uri(key).to_s
+      end
       key = key.to_s.gsub(".", "__").upcase
       "BUNDLE_#{key}"
     end
@@ -182,7 +187,9 @@
       uri = uri.to_s
       uri = "#{uri}/" unless uri =~ %r[/\Z]
       uri = URI(uri)
-      raise ArgumentError, "Gem mirror sources must be absolute URIs 
(configured: #{mirror_source})" unless uri.absolute?
+      unless uri.absolute?
+        raise ArgumentError, "Gem sources must be absolute. You provided 
'#{uri}'."
+      end
       uri
     end
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/bundler/shared_helpers.rb 
new/lib/bundler/shared_helpers.rb
--- old/lib/bundler/shared_helpers.rb   2015-02-10 09:54:55.000000000 +0100
+++ new/lib/bundler/shared_helpers.rb   2015-02-14 11:48:35.000000000 +0100
@@ -1,4 +1,3 @@
-require 'monitor'
 require 'pathname'
 require 'rubygems'
 
@@ -19,7 +18,6 @@
 module Bundler
   module SharedHelpers
     attr_accessor :gem_loaded
-    CHDIR_MONITOR = Monitor.new
 
     def default_gemfile
       gemfile = find_gemfile
@@ -52,7 +50,7 @@
     end
 
     def chdir_monitor
-      CHDIR_MONITOR
+      Bundler.rubygems.ext_lock
     end
 
     def chdir(dir, &blk)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/bundler/source/path.rb 
new/lib/bundler/source/path.rb
--- old/lib/bundler/source/path.rb      2015-02-10 09:54:55.000000000 +0100
+++ new/lib/bundler/source/path.rb      2015-02-14 11:48:35.000000000 +0100
@@ -172,7 +172,7 @@
       end
 
       def generate_bin(spec, disable_extensions = false)
-        gem_dir  = Pathname.new(spec.full_gem_path)
+        gem_dir = Pathname.new(spec.full_gem_path)
 
         # Some gem authors put absolute paths in their gemspec
         # and we have to save them from themselves
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/bundler/source/rubygems.rb 
new/lib/bundler/source/rubygems.rb
--- old/lib/bundler/source/rubygems.rb  2015-02-10 09:54:55.000000000 +0100
+++ new/lib/bundler/source/rubygems.rb  2015-02-14 11:48:35.000000000 +0100
@@ -5,8 +5,10 @@
 module Bundler
   class Source
     class Rubygems < Source
-      # threshold for switching back to the modern index instead of fetching 
every spec
-      API_REQUEST_LIMIT = 100
+      # Use the API when installing less than X gems
+      API_REQUEST_LIMIT = 500
+      # Ask for X gems per API request
+      API_REQUEST_SIZE = 50
 
       attr_reader :remotes, :caches
 
@@ -149,6 +151,9 @@
         return if File.dirname(cached_path) == Bundler.app_cache.to_s
         Bundler.ui.info "  * #{File.basename(cached_path)}"
         FileUtils.cp(cached_path, Bundler.app_cache(custom_path))
+      rescue Errno::EACCES => e
+        Bundler.ui.debug(e)
+        raise InstallError, e.message
       end
 
       def cached_built_in_gem(spec)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/bundler/templates/newgem/README.md.tt 
new/lib/bundler/templates/newgem/README.md.tt
--- old/lib/bundler/templates/newgem/README.md.tt       2015-02-10 
09:54:55.000000000 +0100
+++ new/lib/bundler/templates/newgem/README.md.tt       2015-02-14 
11:48:35.000000000 +0100
@@ -26,7 +26,7 @@
 
 ## Development
 
-After checking out the repo, run `bin/setup` to install dependencies. Then, 
run `bin/console` for an interactive prompt that will allow you to experiment. 
<% if config[:bin] %>Run `bundle exec <%= config[:name] %>` to use the code 
located in this directory, ignoring other installed copies of this gem.<% end %>
+After checking out the repo, run `bin/setup` to install dependencies. Then, 
run `bin/console` for an interactive prompt that will allow you to 
experiment.<% if config[:bin] %> Run `bundle exec <%= config[:name] %>` to use 
the code located in this directory, ignoring other installed copies of this 
gem.<% end %>
 
 To install this gem onto your local machine, run `bundle exec rake install`. 
To release a new version, update the version number in `version.rb`, and then 
run `bundle exec rake release` to create a git tag for the version, push git 
commits and tags, and push the `.gem` file to 
[rubygems.org](https://rubygems.org).
 
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-02-10 
09:54:55.000000000 +0100
+++ new/lib/bundler/templates/newgem/newgem.gemspec.tt  2015-02-14 
11:48:35.000000000 +0100
@@ -19,6 +19,7 @@
   spec.license       = "MIT"
 
   spec.files         = `git ls-files -z`.split("\x0").reject { |f| 
f.match(%r{^(test|spec|features)/}) }
+  spec.bindir        = "exe"
   spec.executables   = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
   spec.require_paths = ["lib"]
 <%- 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-02-10 09:54:55.000000000 +0100
+++ new/lib/bundler/version.rb  2015-02-14 11:48: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.0" unless defined?(::Bundler::VERSION)
+  VERSION = "1.8.2" unless defined?(::Bundler::VERSION)
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2015-02-10 09:54:55.000000000 +0100
+++ new/metadata        2015-02-14 11:48:35.000000000 +0100
@@ -1,7 +1,7 @@
 --- !ruby/object:Gem::Specification
 name: bundler
 version: !ruby/object:Gem::Version
-  version: 1.8.0
+  version: 1.8.2
 platform: ruby
 authors:
 - André Arko
@@ -11,7 +11,7 @@
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2015-02-10 00:00:00.000000000 Z
+date: 2015-02-14 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