bundler 1.8.2 → 1.8.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: 1bcba2f84dbe112eaa0ab87c1f9a8f858c122bf1
4
- data.tar.gz: 81ac16623fdb1018f15c12bb16b043a0a2b014f1
3
+ metadata.gz: 7cf30bcd207cba359961fa2c3f40503e76b184a1
4
+ data.tar.gz: e45c83872eeb29bd016d22b09440f4f323eb0505
5
5
  SHA512:
6
- metadata.gz: 2e17f209e0d5a3273e5907f96203fccade6dd7134dee50a62983afd4bf13e5a88ddccb5b131d596279b4a974710d403a7e56cc100d3b22e15e1a66c7644ec2dc
7
- data.tar.gz: f51142769540663b6df02b58cfa2ab8682ea793cee08b548d1a4f4816d0d8e26a1415850bd72209ea4816039147d234f724932bbb792e1b488e40e028d08d710
6
+ metadata.gz: afd262fe1efecca74d592abfa7d4c2c8488e4b17048202eaf45b8c276530d9698e4b999eed995dbebb23ebcc4a1608d5226f9879ffa2ee6d2101ed8eba69b2a6
7
+ data.tar.gz: d2c2c10768e70e684774d81fd019cf40a6f5af0ef180693c6f45f5a8249d490fcfbbb9848f9bebad6bede3821ee2f3166736a1f7aaf1cf3d9afb353d547038d5
@@ -1,15 +1,22 @@
1
+ ## 1.8.3 (2015-02-24)
2
+
3
+ Bugfixes:
4
+
5
+ - handle boolean values for gem settings (@EduardoBautista)
6
+ - stop always looking for updated `path` gems (#3414, #3417, #3429, @TimMoore)
7
+
1
8
  ## 1.8.2 (2015-02-14)
2
9
 
3
10
  Bugfixes:
4
11
 
5
- - allow config settings for gems with 'http' in the name again (#3398, @tmoore)
12
+ - allow config settings for gems with 'http' in the name again (#3398, @TimMoore)
6
13
 
7
14
  ## 1.8.1 (2015-02-13)
8
15
 
9
16
  Bugfixes:
10
17
 
11
18
  - synchronize building git gem native extensions (#3385, @antifuchs & @indirect)
12
- - set gemspec bindir correctly (#3392, @tmoore)
19
+ - set gemspec bindir correctly (#3392, @TimMoore)
13
20
  - request lockfile deletion when it is malformed (#3396, @indirect)
14
21
  - explain problem when mirror config is missing (#3386, @indirect)
15
22
  - explain problem when caching causes permission error (#3390, @indirect)
@@ -406,11 +406,18 @@ module Bundler
406
406
 
407
407
  if locked
408
408
  unlocking = @locked_specs.any? do |locked_spec|
409
- locked_spec.source != locked
409
+ locked_spec.source.class == locked.class && locked_spec.source != locked
410
410
  end
411
411
  end
412
412
 
413
- !locked || unlocking || source.specs != locked.specs
413
+ !locked || unlocking || dependencies_for_source_changed?(locked) || source.specs != locked.specs
414
+ end
415
+
416
+ def dependencies_for_source_changed?(source)
417
+ deps_for_source = @dependencies.select { |s| s.source == source }
418
+ locked_deps_for_source = @locked_deps.select { |s| s.source == source }
419
+
420
+ deps_for_source != locked_deps_for_source
414
421
  end
415
422
 
416
423
  # Get all locals and override their matching sources.
@@ -141,7 +141,7 @@ module Bundler
141
141
  end
142
142
 
143
143
  def to_bool(value)
144
- !(value.nil? || value == '' || value =~ /^(false|f|no|n|0)$/i)
144
+ !(value.nil? || value == '' || value =~ /^(false|f|no|n|0)$/i || value == false)
145
145
  end
146
146
 
147
147
  def set_key(key, value, hash, file)
@@ -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.2" unless defined?(::Bundler::VERSION)
5
+ VERSION = "1.8.3" unless defined?(::Bundler::VERSION)
6
6
  end
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.2
4
+ version: 1.8.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: 2015-02-14 00:00:00.000000000 Z
14
+ date: 2015-02-25 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: mustache