bundler 1.12.2 → 1.12.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: f54e9406657c9cbddf32e89288ac35910b1529a2
4
- data.tar.gz: cc760f3dd023d2a9159b62d930abf0a2cda52333
3
+ metadata.gz: 5c15aaa11ff788fac27d745977d65c170a91071b
4
+ data.tar.gz: eb9e4cb055efa20be455f6c537c6ffcf4678adbe
5
5
  SHA512:
6
- metadata.gz: b66eee7c1e92eb57df7fad62c4811a08cffaf25650ecf3f53d479b793bae0ebfd2e10017042d784cbf8df0beb6cfe8f023c08737b8d310fe0f172149ab54244c
7
- data.tar.gz: 7b7cf53500de4c9359e1a136a3b0703412bd98cd0e88bb599855ad45f6231e388bd95d2e35a73fe2001869c15114f896e476f620e94e42e25d5523c2dbd11d6b
6
+ metadata.gz: 9c3435f9a2b65a9ad4d04b4ca7138186792189579de8cc5adc9656ae07e044adbb84ad7f2ad4c29f1b270435afd9c65fc08e00949abcc6b9f591eebd4ae3b2e7
7
+ data.tar.gz: 685ea90c4ad254f3637e155658d9a3f54fa618f06c73854d0752619b36286b772a1c80e727b9c0670e8c9afcb535d49caa982b00c2a35501052fd102433311bd
@@ -1,3 +1,9 @@
1
+ ## 1.12.3 (2016-05-06)
2
+
3
+ Bugfixes:
4
+ - fix uncoditionally writing `.bundle/config` when running `bundle install` (@segiddins)
5
+ - fall back to the dependency API and the full index when the home directory is not writable (@segiddins)
6
+
1
7
  ## 1.12.2 (2016-05-04)
2
8
 
3
9
  Bugfixes:
@@ -171,10 +171,10 @@ module Bundler
171
171
  def install
172
172
  require "bundler/cli/install"
173
173
  no_install = Bundler.settings[:no_install]
174
- Bundler.settings[:no_install] = false
174
+ Bundler.settings[:no_install] = false if no_install == true
175
175
  Install.new(options.dup).run
176
176
  ensure
177
- Bundler.settings[:no_install] = no_install
177
+ Bundler.settings[:no_install] = no_install unless no_install.nil?
178
178
  end
179
179
 
180
180
  desc "update [OPTIONS]", "update the current environment"
@@ -59,6 +59,8 @@ module Bundler
59
59
  compact_index_request :fetch_spec
60
60
 
61
61
  def available?
62
+ user_home = Pathname.new(Bundler.rubygems.user_home)
63
+ return nil unless user_home.directory? && user_home.writable?
62
64
  # Read info file checksums out of /versions, so we can know if gems are up to date
63
65
  fetch_uri.scheme != "file" && compact_index_client.update_and_parse_checksums!
64
66
  rescue CompactIndexClient::Updater::MisMatchedChecksumError => e
@@ -7,5 +7,5 @@ module Bundler
7
7
  # We're doing this because we might write tests that deal
8
8
  # with other versions of bundler and we are unsure how to
9
9
  # handle this better.
10
- VERSION = "1.12.2" unless defined?(::Bundler::VERSION)
10
+ VERSION = "1.12.3" unless defined?(::Bundler::VERSION)
11
11
  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.12.2
4
+ version: 1.12.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - André Arko
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: exe
13
13
  cert_chain: []
14
- date: 2016-05-04 00:00:00.000000000 Z
14
+ date: 2016-05-06 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: automatiek