bundler-multilock 1.0.5 → 1.0.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3acaa706bf6ffde2f5fb070a729895371cfbebf2dbe2c97d249acbb698a0b6c0
4
- data.tar.gz: 416ddd8252d1254472dfe5ee60b2cb7eb54e88b0ea25f58d2f34888dbe6b6f2a
3
+ metadata.gz: 120fec48596049892548e831194ad633d30c88048f4dc333ca70be729fb1aee1
4
+ data.tar.gz: 1cc4f39d08b2c99cf608cbe0221f41702f0deaeecf661ecefb61b7e4d9204f14
5
5
  SHA512:
6
- metadata.gz: 7adc856fa4149e2f814d7aac9181addc3a7ad378a44b9d1f9855d277e84ef58e56d59aab99d81a59f0ad539a6735c1a233e58be86fe7f887d01bb6cf4d60c1fb
7
- data.tar.gz: 60f364edd123e881827ab24c9bf18cb6e2bccad0156b8346096a8ed221ed4f8409ce5bab2a8752e2aedc1cc6a0d8c9ca5035490ccb41a014242c57817c92dc64
6
+ metadata.gz: 01e41aee6dc834bacab9aa4f7006f1fbdaa07ac880b3e1fb97598b3fa116c74d6d8f4179c117ceddac8e617f9ff354417df95eb4c058912a6f0e9e6dc1bc8320
7
+ data.tar.gz: fe4619b9a9e9a890310e6fc748b0d2b6581471f6e463d1d76cf9aa84a040177d622546d47e1f6820f3b0087ed9e737af77c8062f59b451ee5f4fcc8cb10fd6d9
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Bundler
4
4
  module Multilock
5
- VERSION = "1.0.5"
5
+ VERSION = "1.0.7"
6
6
  end
7
7
  end
@@ -85,10 +85,13 @@ module Bundler
85
85
  defined?(CLI::Install) ||
86
86
  defined?(CLI::Lock) ||
87
87
  defined?(CLI::Update)) &&
88
- !defined?(CLI::Cache)
88
+ !defined?(CLI::Cache) && !env_lockfile
89
89
  # always use Gemfile.lock for `bundle check`, `bundle install`,
90
90
  # `bundle lock`, and `bundle update`. `bundle cache` delegates to
91
91
  # `bundle install`, but we want that to run as normal.
92
+ # If they're using BUNDLE_LOCKFILE, then they really do want to
93
+ # use a particular lockfile, and it overrides whatever they
94
+ # dynamically set in their gemfile
92
95
  current = lockfile == Bundler.default_lockfile(force_original: true)
93
96
  end
94
97
 
@@ -272,6 +275,8 @@ module Bundler
272
275
  end
273
276
  end
274
277
  end
278
+ ensure
279
+ Bundler.root = default_root
275
280
  end
276
281
 
277
282
  exit 1 unless checker.run(skip_base_checks: !synced_any)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bundler-multilock
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Instructure
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-15 00:00:00.000000000 Z
11
+ date: 2023-09-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler