Hello community, here is the log from the commit of package rubygem-bundler for openSUSE:Factory checked in at 2015-03-09 10:09:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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-27 11:00:37.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-bundler.new/rubygem-bundler.changes 2015-03-09 10:09:53.000000000 +0100 @@ -1,0 +2,8 @@ +Fri Mar 6 05:28:43 UTC 2015 - co...@suse.com + +- updated to version 1.8.4 + Bugfixes: + - document --all-platforms option (#3449, @moeffju) + - find gems from all sources on exec after install (#3450, @TimMoore) + +------------------------------------------------------------------- Old: ---- bundler-1.8.3.gem New: ---- bundler-1.8.4.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-bundler.spec ++++++ --- /var/tmp/diff_new_pack.e4tGxo/_old 2015-03-09 10:09:54.000000000 +0100 +++ /var/tmp/diff_new_pack.e4tGxo/_new 2015-03-09 10:09:54.000000000 +0100 @@ -24,7 +24,7 @@ # Name: rubygem-bundler -Version: 1.8.3 +Version: 1.8.4 Release: 0 %define mod_name bundler %define mod_full_name %{mod_name}-%{version} ++++++ bundler-1.8.3.gem -> bundler-1.8.4.gem ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md --- old/CHANGELOG.md 2015-02-25 03:29:48.000000000 +0100 +++ new/CHANGELOG.md 2015-03-06 00:04:04.000000000 +0100 @@ -1,3 +1,10 @@ +## 1.8.4 (2015-03-05) + +Bugfixes: + + - document --all-platforms option (#3449, @moeffju) + - find gems from all sources on exec after install (#3450, @TimMoore) + ## 1.8.3 (2015-02-24) 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/lockfile_parser.rb new/lib/bundler/lockfile_parser.rb --- old/lib/bundler/lockfile_parser.rb 2015-02-25 03:29:48.000000000 +0100 +++ new/lib/bundler/lockfile_parser.rb 2015-03-06 00:04:04.000000000 +0100 @@ -29,7 +29,7 @@ @state = :source @specs = {} - @rubygems_aggregate = Source::LocalRubygems.new + @rubygems_aggregate = Source::Rubygems.new if lockfile.match(/<<<<<<<|=======|>>>>>>>|\|\|\|\|\|\|\|/) raise LockfileError, "Your Gemfile.lock contains merge conflicts.\n" \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/bundler/man/bundle-package new/lib/bundler/man/bundle-package --- old/lib/bundler/man/bundle-package 2015-02-25 03:29:48.000000000 +0100 +++ new/lib/bundler/man/bundle-package 2015-03-06 00:04:04.000000000 +0100 @@ -1,7 +1,7 @@ .\" generated with Ronn/v0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3 . -.TH "BUNDLE\-PACKAGE" "1" "December 2014" "" "" +.TH "BUNDLE\-PACKAGE" "1" "March 2015" "" "" . .SH "NAME" \fBbundle\-package\fR \- Package your needed \fB\.gem\fR files into your application @@ -15,6 +15,9 @@ .SH "GIT AND PATH GEMS" Since Bundler 1\.2, the \fBbundle package\fR command can also package \fB:git\fR and \fB:path\fR dependencies besides \.gem files\. This needs to be explicitly enabled via the \fB\-\-all\fR option\. Once used, the \fB\-\-all\fR option will be remembered\. . +.SH "SUPPORT FOR MULTIPLE PLATFORMS" +When using gems that have different packages for different platforms, Bundler 1\.8 and newer support caching of gems for other platforms in \fBvendor/cache\fR\. This needs to be enabled via the \fB\-\-all\-platforms\fR option\. This setting will be remembered in your local bundler configuration\. +. .SH "REMOTE FETCHING" By default, if you simply run bundle install(1) \fIbundle\-install\.1\.html\fR after running bundle package(1) \fIbundle\-package\.1\.html\fR, bundler will still connect to \fBrubygems\.org\fR to check whether a platform\-specific gem exists for any of the gems in \fBvendor/cache\fR\. . diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/bundler/man/bundle-package.txt new/lib/bundler/man/bundle-package.txt --- old/lib/bundler/man/bundle-package.txt 2015-02-25 03:29:48.000000000 +0100 +++ new/lib/bundler/man/bundle-package.txt 2015-03-06 00:04:04.000000000 +0100 @@ -20,10 +20,16 @@ enabled via the --all option. Once used, the --all option will be remembered. +SUPPORT FOR MULTIPLE PLATFORMS + When using gems that have different packages for different platforms, + Bundler 1.8 and newer support caching of gems for other platforms in + vendor/cache. This needs to be enabled via the --all-platforms option. + This setting will be remembered in your local bundler configuration. + REMOTE FETCHING - By default, if you simply run bundle install(1) bundle-install.1.html - after running bundle package(1) bundle-package.1.html, bundler will - still connect to rubygems.org to check whether a platform-specific gem + By default, if you simply run bundle install(1) bundle-install.1.html + after running bundle package(1) bundle-package.1.html, bundler will + still connect to rubygems.org to check whether a platform-specific gem exists for any of the gems in vendor/cache. For instance, consider this Gemfile(5): @@ -36,14 +42,14 @@ - If you run bundle package under C Ruby, bundler will retrieve the ver- - sion of nokogiri for the "ruby" platform. If you deploy to JRuby and - run bundle install, bundler is forced to check to see whether a "java" + If you run bundle package under C Ruby, bundler will retrieve the ver- + sion of nokogiri for the "ruby" platform. If you deploy to JRuby and + run bundle install, bundler is forced to check to see whether a "java" platformed nokogiri exists. - Even though the nokogiri gem for the Ruby platform is technically + Even though the nokogiri gem for the Ruby platform is technically acceptable on JRuby, it actually has a C extension that does not run on - JRuby. As a result, bundler will, by default, still connect to + JRuby. As a result, bundler will, by default, still connect to rubygems.org to check whether it has a version of one of your gems more specific to your platform. @@ -51,17 +57,17 @@ (common) problem can happen when developing on Windows and deploying to Linux, or even when developing on OSX and deploying to Linux. - If you know for sure that the gems packaged in vendor/cache are appro- - priate for the platform you are on, you can run bundle install --local - to skip checking for more appropriate gems, and just use the ones in + If you know for sure that the gems packaged in vendor/cache are appro- + priate for the platform you are on, you can run bundle install --local + to skip checking for more appropriate gems, and just use the ones in vendor/cache. - One way to be sure that you have the right platformed versions of all + One way to be sure that you have the right platformed versions of all your gems is to run bundle package on an identical machine and check in - the gems. For instance, you can run bundle package on an identical - staging box during your staging process, and check in the vendor/cache + the gems. For instance, you can run bundle package on an identical + staging box during your staging process, and check in the vendor/cache before deploying to production. - December 2014 BUNDLE-PACKAGE(1) + March 2015 BUNDLE-PACKAGE(1) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/bundler/source/local_rubygems.rb new/lib/bundler/source/local_rubygems.rb --- old/lib/bundler/source/local_rubygems.rb 2015-02-25 03:29:48.000000000 +0100 +++ new/lib/bundler/source/local_rubygems.rb 1970-01-01 01:00:00.000000000 +0100 @@ -1,16 +0,0 @@ -module Bundler - class Source - class LocalRubygems < Rubygems - - def specs - @specs ||= begin - idx = super - idx.use(cached_specs, :override_dupes) if @allow_cached || @allow_remote - idx.use(installed_specs, :override_dupes) - idx - end - end - - end - end -end 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-25 03:29:48.000000000 +0100 +++ new/lib/bundler/source/rubygems.rb 2015-03-06 00:04:04.000000000 +0100 @@ -68,10 +68,15 @@ alias_method :name, :to_s def specs - # remote_specs usually generates a way larger Index than the other - # sources, and large_idx.use small_idx is way faster than - # small_idx.use large_idx. - @specs ||= @allow_remote ? remote_specs.dup : Index.new + @specs ||= begin + # remote_specs usually generates a way larger Index than the other + # sources, and large_idx.use small_idx is way faster than + # small_idx.use large_idx. + idx = @allow_remote ? remote_specs.dup : Index.new + idx.use(cached_specs, :override_dupes) if @allow_cached || @allow_remote + idx.use(installed_specs, :override_dupes) + idx + end end def install(spec) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/bundler/source.rb new/lib/bundler/source.rb --- old/lib/bundler/source.rb 2015-02-25 03:29:48.000000000 +0100 +++ new/lib/bundler/source.rb 2015-03-06 00:04:04.000000000 +0100 @@ -1,9 +1,8 @@ module Bundler class Source - autoload :Rubygems, 'bundler/source/rubygems' - autoload :LocalRubygems, 'bundler/source/local_rubygems' - autoload :Path, 'bundler/source/path' - autoload :Git, 'bundler/source/git' + autoload :Rubygems, 'bundler/source/rubygems' + autoload :Path, 'bundler/source/path' + autoload :Git, 'bundler/source/git' def self.mirror_for(uri) uri = URI(uri.to_s) unless uri.is_a?(URI) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/bundler/source_list.rb new/lib/bundler/source_list.rb --- old/lib/bundler/source_list.rb 2015-02-25 03:29:48.000000000 +0100 +++ new/lib/bundler/source_list.rb 2015-03-06 00:04:04.000000000 +0100 @@ -6,7 +6,7 @@ def initialize @path_sources = [] @git_sources = [] - @rubygems_aggregate = Source::LocalRubygems.new + @rubygems_aggregate = Source::Rubygems.new @rubygems_sources = [] end @@ -57,7 +57,8 @@ end end - replacement_rubygems = replacement_sources.detect { |s| s.is_a?(Source::LocalRubygems) } + replacement_rubygems = + replacement_sources.detect { |s| s.is_a?(Source::Rubygems) } @rubygems_aggregate = replacement_rubygems if replacement_rubygems # Return true if there were changes 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-25 03:29:48.000000000 +0100 +++ new/lib/bundler/version.rb 2015-03-06 00:04:04.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.3" unless defined?(::Bundler::VERSION) + VERSION = "1.8.4" unless defined?(::Bundler::VERSION) end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/man/bundle-package.ronn new/man/bundle-package.ronn --- old/man/bundle-package.ronn 2015-02-25 03:29:48.000000000 +0100 +++ new/man/bundle-package.ronn 2015-03-06 00:04:04.000000000 +0100 @@ -17,6 +17,13 @@ `:path` dependencies besides .gem files. This needs to be explicitly enabled via the `--all` option. Once used, the `--all` option will be remembered. +## SUPPORT FOR MULTIPLE PLATFORMS + +When using gems that have different packages for different platforms, Bundler +1.8 and newer support caching of gems for other platforms in `vendor/cache`. +This needs to be enabled via the `--all-platforms` option. This setting will be +remembered in your local bundler configuration. + ## REMOTE FETCHING By default, if you simply run [bundle install(1)][bundle-install] after running diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata 2015-02-25 03:29:48.000000000 +0100 +++ new/metadata 2015-03-06 00:04:04.000000000 +0100 @@ -1,7 +1,7 @@ --- !ruby/object:Gem::Specification name: bundler version: !ruby/object:Gem::Version - version: 1.8.3 + version: 1.8.4 platform: ruby authors: - André Arko @@ -11,7 +11,7 @@ autorequire: bindir: bin cert_chain: [] -date: 2015-02-25 00:00:00.000000000 Z +date: 2015-03-05 00:00:00.000000000 Z dependencies: - !ruby/object:Gem::Dependency name: mustache @@ -175,7 +175,6 @@ - lib/bundler/source.rb - lib/bundler/source/git.rb - lib/bundler/source/git/git_proxy.rb -- lib/bundler/source/local_rubygems.rb - lib/bundler/source/path.rb - lib/bundler/source/path/installer.rb - lib/bundler/source/rubygems.rb -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org