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 +4 -4
- data/lib/berkshelf/downloader.rb +1 -1
- data/lib/berkshelf/version.rb +1 -1
- data/spec/unit/berkshelf/lockfile_spec.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ef3b782c88bc9fe560b6c02c84ab32f6df5e2bf39d3c4b56d441079952e56a96
|
4
|
+
data.tar.gz: bd6f6b271645d42e62c29fa74e3a7d4633533b8dd104e386d064374d175dd27e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f9111b9f7a17c8dd8a65463e963a4a6f5c662d3affd9cec1125f90b0d5d71b7a742ef51e6b50161791cdd94f920acd2240ba2fc1472054f596d2e7dd1b18d25
|
7
|
+
data.tar.gz: d5113a1ebeb056843f92b6ae6e25d6850127e257cea2596a4c7bc55d42ba8f81c76388c8451a5fca126231f029271b6f6197e57504fa201113219721aef0a619
|
data/lib/berkshelf/downloader.rb
CHANGED
@@ -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
|
|
data/lib/berkshelf/version.rb
CHANGED
@@ -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.
|
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-
|
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.
|
381
|
+
rubygems_version: 3.1.4
|
382
382
|
signing_key:
|
383
383
|
specification_version: 4
|
384
384
|
summary: Manages a Chef cookbook's dependencies
|