bundler 1.7.1.pre.2 → 1.7.1.pre.3

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: e2f0d1093a7e58d8388b0a73a7383b6c7f789c19
4
- data.tar.gz: 3533a868f32638343917003e64b777e6d679c1c5
3
+ metadata.gz: fc692c8241f936d7f717b3158e1d03d2211282fe
4
+ data.tar.gz: e6f763ac040a1929f022dd06d010effb7a73fe66
5
5
  SHA512:
6
- metadata.gz: 00bd2550673546576a04534a080216f38af0a6096e5053b01c68ae180d01c547cf8bd83217b60005c2b20fedeedf804683d52b2b9159581cab4a46746dde7b94
7
- data.tar.gz: dc413aec796d574b8321a5624574aa845f07344a9f0499fd3c9f471ffcf32d2f2d248c46c83f1074f6d43c41b6f84f76bf754f4e08514363862c9fa8f57dc799
6
+ metadata.gz: 97a25a35ded3d73946e4327c18a44033d34e306cfee4e64ef01a94a1ee363d9ed904c8e496c45bb14115fabdf5c66c95d736fb495659bc7b4b80eb16c1133b90
7
+ data.tar.gz: 1240e4ebe756ee67394e2cb8736d5d033bac3669830258b1d6de2f22c5400b1a148f8895f8853ba36e47db5083abeeaed448a084be72c604df7eb8ffd8a10c86
@@ -4,6 +4,7 @@ Bugfixes:
4
4
 
5
5
  - Install gems from one source needed by gems in another source (@indirect)
6
6
  - Install the same gem versions even after some are installed (@tmoore)
7
+ - Download specs only when installing from servers (@indirect)
7
8
 
8
9
  ## 1.7.0 (2014-08-13)
9
10
 
@@ -179,7 +179,7 @@ module Bundler
179
179
  end
180
180
 
181
181
  def unmet_deps
182
- if fetchers.any? && fetchers.all?{|f| f.use_api }
182
+ if @allow_remote && api_fetchers.any?
183
183
  remote_specs.unmet_dependency_names
184
184
  else
185
185
  []
@@ -276,9 +276,12 @@ module Bundler
276
276
  end
277
277
  end
278
278
 
279
+ def api_fetchers
280
+ fetchers.select{|f| f.use_api }
281
+ end
282
+
279
283
  def remote_specs
280
284
  @remote_specs ||= Index.build do |idx|
281
- api_fetchers = fetchers.select { |f| f.use_api }
282
285
  index_fetchers = fetchers - api_fetchers
283
286
 
284
287
  # gather lists from non-api sites
@@ -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.7.1.pre.2" unless defined?(::Bundler::VERSION)
5
+ VERSION = "1.7.1.pre.3" unless defined?(::Bundler::VERSION)
6
6
  end
@@ -157,8 +157,8 @@ describe "gemcutter's dependency API" do
157
157
  gem "rack"
158
158
  G
159
159
 
160
- bundle :install, :artifice => "endpoint_marshal_fail"
161
- expect(out).to include("Fetching source index from #{source_uri}")
160
+ bundle :install, :verbose => true, :artifice => "endpoint_marshal_fail"
161
+ expect(out).to include("could not fetch from the dependency API, trying the full index")
162
162
  should_be_installed "rack 1.0.0"
163
163
  end
164
164
 
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.7.1.pre.2
4
+ version: 1.7.1.pre.3
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: 2014-08-18 00:00:00.000000000 Z
14
+ date: 2014-08-19 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rdiscount