bundler 1.8.3 → 1.8.4

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of bundler might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7cf30bcd207cba359961fa2c3f40503e76b184a1
4
- data.tar.gz: e45c83872eeb29bd016d22b09440f4f323eb0505
3
+ metadata.gz: 94dcf8415141822172726fafaafc71de5639e1b7
4
+ data.tar.gz: 2c99b2539d93bd15af0a51c6167bf1825d5f7fd5
5
5
  SHA512:
6
- metadata.gz: afd262fe1efecca74d592abfa7d4c2c8488e4b17048202eaf45b8c276530d9698e4b999eed995dbebb23ebcc4a1608d5226f9879ffa2ee6d2101ed8eba69b2a6
7
- data.tar.gz: d2c2c10768e70e684774d81fd019cf40a6f5af0ef180693c6f45f5a8249d490fcfbbb9848f9bebad6bede3821ee2f3166736a1f7aaf1cf3d9afb353d547038d5
6
+ metadata.gz: 767a8471e930fd16d98b2bad05bf8719cf86996a9ed592a619c12d8ef1728450cfc52f0c7897acf7cfe3557e2720d26ad091da21a5d0af6f0107d4836f54ae2a
7
+ data.tar.gz: 368ac2c806d1e2e90c998fb5e9df1c0b41ace6db7f8a40aed9a9f4c665cb2f3254a88b0a45a67bd10b13d57a045d71dd7e5cc7f9eb663cde0791450271423c68
@@ -1,3 +1,10 @@
1
+ ## 1.8.4 (2015-03-05)
2
+
3
+ Bugfixes:
4
+
5
+ - document --all-platforms option (#3449, @moeffju)
6
+ - find gems from all sources on exec after install (#3450, @TimMoore)
7
+
1
8
  ## 1.8.3 (2015-02-24)
2
9
 
3
10
  Bugfixes:
@@ -29,7 +29,7 @@ module Bundler
29
29
  @state = :source
30
30
  @specs = {}
31
31
 
32
- @rubygems_aggregate = Source::LocalRubygems.new
32
+ @rubygems_aggregate = Source::Rubygems.new
33
33
 
34
34
  if lockfile.match(/<<<<<<<|=======|>>>>>>>|\|\|\|\|\|\|\|/)
35
35
  raise LockfileError, "Your Gemfile.lock contains merge conflicts.\n" \
@@ -1,9 +1,8 @@
1
1
  module Bundler
2
2
  class Source
3
- autoload :Rubygems, 'bundler/source/rubygems'
4
- autoload :LocalRubygems, 'bundler/source/local_rubygems'
5
- autoload :Path, 'bundler/source/path'
6
- autoload :Git, 'bundler/source/git'
3
+ autoload :Rubygems, 'bundler/source/rubygems'
4
+ autoload :Path, 'bundler/source/path'
5
+ autoload :Git, 'bundler/source/git'
7
6
 
8
7
  def self.mirror_for(uri)
9
8
  uri = URI(uri.to_s) unless uri.is_a?(URI)
@@ -68,10 +68,15 @@ module Bundler
68
68
  alias_method :name, :to_s
69
69
 
70
70
  def specs
71
- # remote_specs usually generates a way larger Index than the other
72
- # sources, and large_idx.use small_idx is way faster than
73
- # small_idx.use large_idx.
74
- @specs ||= @allow_remote ? remote_specs.dup : Index.new
71
+ @specs ||= begin
72
+ # remote_specs usually generates a way larger Index than the other
73
+ # sources, and large_idx.use small_idx is way faster than
74
+ # small_idx.use large_idx.
75
+ idx = @allow_remote ? remote_specs.dup : Index.new
76
+ idx.use(cached_specs, :override_dupes) if @allow_cached || @allow_remote
77
+ idx.use(installed_specs, :override_dupes)
78
+ idx
79
+ end
75
80
  end
76
81
 
77
82
  def install(spec)
@@ -6,7 +6,7 @@ module Bundler
6
6
  def initialize
7
7
  @path_sources = []
8
8
  @git_sources = []
9
- @rubygems_aggregate = Source::LocalRubygems.new
9
+ @rubygems_aggregate = Source::Rubygems.new
10
10
  @rubygems_sources = []
11
11
  end
12
12
 
@@ -57,7 +57,8 @@ module Bundler
57
57
  end
58
58
  end
59
59
 
60
- replacement_rubygems = replacement_sources.detect { |s| s.is_a?(Source::LocalRubygems) }
60
+ replacement_rubygems =
61
+ replacement_sources.detect { |s| s.is_a?(Source::Rubygems) }
61
62
  @rubygems_aggregate = replacement_rubygems if replacement_rubygems
62
63
 
63
64
  # Return true if there were changes
@@ -2,5 +2,5 @@ module Bundler
2
2
  # We're doing this because we might write tests that deal
3
3
  # with other versions of bundler and we are unsure how to
4
4
  # handle this better.
5
- VERSION = "1.8.3" unless defined?(::Bundler::VERSION)
5
+ VERSION = "1.8.4" unless defined?(::Bundler::VERSION)
6
6
  end
@@ -17,6 +17,13 @@ Since Bundler 1.2, the `bundle package` command can also package `:git` and
17
17
  `:path` dependencies besides .gem files. This needs to be explicitly enabled
18
18
  via the `--all` option. Once used, the `--all` option will be remembered.
19
19
 
20
+ ## SUPPORT FOR MULTIPLE PLATFORMS
21
+
22
+ When using gems that have different packages for different platforms, Bundler
23
+ 1.8 and newer support caching of gems for other platforms in `vendor/cache`.
24
+ This needs to be enabled via the `--all-platforms` option. This setting will be
25
+ remembered in your local bundler configuration.
26
+
20
27
  ## REMOTE FETCHING
21
28
 
22
29
  By default, if you simply run [bundle install(1)][bundle-install] after running
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bundler
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.3
4
+ version: 1.8.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - André Arko
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2015-02-25 00:00:00.000000000 Z
14
+ date: 2015-03-05 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: mustache
@@ -175,7 +175,6 @@ files:
175
175
  - lib/bundler/source.rb
176
176
  - lib/bundler/source/git.rb
177
177
  - lib/bundler/source/git/git_proxy.rb
178
- - lib/bundler/source/local_rubygems.rb
179
178
  - lib/bundler/source/path.rb
180
179
  - lib/bundler/source/path/installer.rb
181
180
  - lib/bundler/source/rubygems.rb
@@ -1,16 +0,0 @@
1
- module Bundler
2
- class Source
3
- class LocalRubygems < Rubygems
4
-
5
- def specs
6
- @specs ||= begin
7
- idx = super
8
- idx.use(cached_specs, :override_dupes) if @allow_cached || @allow_remote
9
- idx.use(installed_specs, :override_dupes)
10
- idx
11
- end
12
- end
13
-
14
- end
15
- end
16
- end