berkshelf 8.0.2 → 8.0.5

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: eca450739cdb53861e1a527e0147f702b71c898bac6d3ab317fa53f8b7150dc2
4
- data.tar.gz: 625a9e32681e15e4d553c9d56653cb16396255c347fcc45f1e9a51e61fc41324
3
+ metadata.gz: ef3b782c88bc9fe560b6c02c84ab32f6df5e2bf39d3c4b56d441079952e56a96
4
+ data.tar.gz: bd6f6b271645d42e62c29fa74e3a7d4633533b8dd104e386d064374d175dd27e
5
5
  SHA512:
6
- metadata.gz: 2079eaf58a614ed63b85335a02fe19bd8ae8083856341905a95c83ba4eca1185744e5164c683d8610f0b2bbb332bd5636a1814daaf7c37a149d76b979be7ccf7
7
- data.tar.gz: 7fd481876fab292339aac18016d5727bbe197186c3e92e6093dfebba962fc7540b0141b55fce6235263db945fc7423b0e138094d3fbe85a68d041a713268977d
6
+ metadata.gz: 8f9111b9f7a17c8dd8a65463e963a4a6f5c662d3affd9cec1125f90b0d5d71b7a742ef51e6b50161791cdd94f920acd2240ba2fc1472054f596d2e7dd1b18d25
7
+ data.tar.gz: d5113a1ebeb056843f92b6ae6e25d6850127e257cea2596a4c7bc55d42ba8f81c76388c8451a5fca126231f029271b6f6197e57504fa201113219721aef0a619
@@ -152,7 +152,7 @@ module Berkshelf
152
152
  unpack_dir = Pathname.new(tmp_dir) + "#{name}-#{version}"
153
153
 
154
154
  url = remote_cookbook.location_path
155
- open(url, "rb") do |remote_file|
155
+ URI.open(url, "rb") do |remote_file|
156
156
  archive_path.open("wb") { |local_file| local_file.write remote_file.read }
157
157
  end
158
158
 
@@ -1,3 +1,3 @@
1
1
  module Berkshelf
2
- VERSION = "8.0.2".freeze
2
+ VERSION = "8.0.5".freeze
3
3
  end
@@ -231,8 +231,8 @@ describe Berkshelf::Lockfile do
231
231
  expect(Chef::Environment).to receive(:from_hash).with(env_hash).and_return(environment)
232
232
 
233
233
  expect(environment).to receive(:cookbook_versions).with(
234
- "apt" => "= 1.0.0",
235
- "jenkins" => "= 1.4.5"
234
+ {"apt" => "= 1.0.0",
235
+ "jenkins" => "= 1.4.5"}
236
236
  )
237
237
 
238
238
  expect(environment).to receive(:save)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: berkshelf
3
3
  version: !ruby/object:Gem::Version
4
- version: 8.0.2
4
+ version: 8.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jamie Winsor
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2022-06-02 00:00:00.000000000 Z
15
+ date: 2022-10-27 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: mixlib-shellout
@@ -378,7 +378,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
378
378
  - !ruby/object:Gem::Version
379
379
  version: 2.0.0
380
380
  requirements: []
381
- rubygems_version: 3.2.32
381
+ rubygems_version: 3.1.4
382
382
  signing_key:
383
383
  specification_version: 4
384
384
  summary: Manages a Chef cookbook's dependencies