gemika 0.6.0 → 0.6.1

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: 28fcdd23de5b84ea13740d1e535b117ab7ba9d984ded03ab60f5f9411af0b95c
4
- data.tar.gz: e79e1336fc8c93c36c6d77ee667c177cb52b73e126ba3f98f8fdb4714c040f2e
3
+ metadata.gz: 3c7ab1dd1d59d375e354fb1f813fc99a4069c4ca6bdf9809b9dde265dd3a6303
4
+ data.tar.gz: 4c939b12f8e97fab3dc3b9167755ad3c75515c336350e2e9b290f242db7306fe
5
5
  SHA512:
6
- metadata.gz: 8b18d4a2a9224419f7b76fe1510bcbcbd0985e3a34af88874a0f81afe64e915b8f22bf427567b37eb4bb84d939b066df09d51e4c86f14eba8d5b5a5969f92697
7
- data.tar.gz: d9fabf8b76359a1c6e41d9e617c8a633a70ef9150ac6e400dfe43a7548ef200a54f961480bf3bda9330ee887dfc7774dbf1fa100ba4d27f044b8887b5a6f4fed
6
+ metadata.gz: bcc629b0f418542484818474228f7c3df7a146bfb00d470f2a46a58fcfb64393d775a57a3b3da7e9bed602c7af17dcc7cac5e84fc3dbdb0cd5dee1471e787bcf
7
+ data.tar.gz: 03a1396b343eb55039ed22d62744cef219be934d946dc02a83912c7117a40a0b0e8e049675d87f98286a07ac34b589af6c4db2792a4493dcbc7872e0573a4a4c
data/CHANGELOG.md CHANGED
@@ -13,6 +13,12 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html
13
13
 
14
14
  -
15
15
 
16
+ ## 0.6.1 - 2021-04-20
17
+
18
+ ### Compatible changes
19
+
20
+ - fix deprecation warning for Bundler.with_clean_env on Bundler >= 2
21
+
16
22
  ## 0.6.0 - 2021-04-20
17
23
 
18
24
  ### Compatible changes
@@ -8,7 +8,7 @@ GIT
8
8
  PATH
9
9
  remote: .
10
10
  specs:
11
- gemika (0.6.0)
11
+ gemika (0.6.1)
12
12
 
13
13
  GEM
14
14
  remote: https://rubygems.org/
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gemika (0.6.0)
4
+ gemika (0.6.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/Gemfile.4.2.pg.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gemika (0.6.0)
4
+ gemika (0.6.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gemika (0.6.0)
4
+ gemika (0.6.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/Gemfile.5.2.pg.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gemika (0.6.0)
4
+ gemika (0.6.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gemika (0.6.0)
4
+ gemika (0.6.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/Gemfile.6.1.pg.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gemika (0.6.0)
4
+ gemika (0.6.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/lib/gemika/env.rb CHANGED
@@ -35,7 +35,15 @@ module Gemika
35
35
  # process, regardless of what's in ENV temporarily
36
36
  @gemfile_changed = true
37
37
  @process_gemfile = ENV['BUNDLE_GEMFILE']
38
- Bundler.with_clean_env do
38
+
39
+ # .with_clean_env is deprecated since Bundler ~> 2.
40
+ bundler_method = if Gemika::Env.gem?('bundler', '< 2')
41
+ :with_clean_env
42
+ else
43
+ :with_unbundled_env
44
+ end
45
+
46
+ Bundler.send(bundler_method) do
39
47
  ENV['BUNDLE_GEMFILE'] = path
40
48
  block.call(*args)
41
49
  end
@@ -1,3 +1,3 @@
1
1
  module Gemika
2
- VERSION = '0.6.0'
2
+ VERSION = '0.6.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gemika
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Henning Koch
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-04-20 00:00:00.000000000 Z
11
+ date: 2021-06-29 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Helpers for testing Ruby gems
14
14
  email: henning.koch@makandra.de
@@ -101,7 +101,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
101
101
  - !ruby/object:Gem::Version
102
102
  version: '0'
103
103
  requirements: []
104
- rubygems_version: 3.2.15
104
+ rubygems_version: 3.0.3
105
105
  signing_key:
106
106
  specification_version: 4
107
107
  summary: Helpers for testing Ruby gems