berkshelf 7.0.5 → 7.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a4fbbe4a556c48c3ed25b98b1cf0dd3088d942f2a7e1d559b55fbadc73ddfa33
4
- data.tar.gz: 293fc6d34c5802174f8643fa814c65870654cf224f5fe26b3b21ca014d8d3937
3
+ metadata.gz: 547a8faa0841fb8dbd0c8f534bcc47d765dd0a36ac9414248a0d60e5cb55bb0f
4
+ data.tar.gz: cc0b2093ad106ce83f9ff8903e78783d01aab14f71cb00983ef050ddf37c5252
5
5
  SHA512:
6
- metadata.gz: 6a426d00f6b0dbeff9b8120fe7a857736ffe2381dbc41b8df90572174661786fbb058000935e7355208c00ff7bfad8d962e29e5bbe978f0219154b284579123b
7
- data.tar.gz: e2e7723963c41c211360ef3dab9b210e0078c6e3fc0ca2480010dc3a818c7454c7d2560ab98d88f5e1f6703d1f4ea09de4e63896a624b744769aa6dd902bd3c4
6
+ metadata.gz: 4feca3fb0ac9ad3f92dc8e97cc3ffd1b265d70e8d6bacbc381cf9dddf183f3529c464923d7d24f69344a20fcaf623e72093900bd2f5adccb141e769a8e538e71
7
+ data.tar.gz: dac1553f7c1b03774847482c4adeee183deb874b9b2565ff71022bd4f88f38894f559ad01434f398d86e6ae98a1e4857e0aa12017e1aeb11b757c4600f78ce69
@@ -1,5 +1,22 @@
1
1
  # Change Log
2
2
 
3
+ ## [v7.0.5](https://github.com/berkshelf/berkshelf/tree/v7.0.5) (2018-08-06)
4
+ [Full Changelog](https://github.com/berkshelf/berkshelf/compare/v6.3.3...v7.0.5)
5
+
6
+ **Merged pull requests:**
7
+
8
+ - Add a Chef::CookbookManifestVersions to RidleyCompat [\#1789](https://github.com/berkshelf/berkshelf/pull/1789) ([ryancragun](https://github.com/ryancragun))
9
+
10
+ ## [v6.3.3](https://github.com/berkshelf/berkshelf/tree/v6.3.3) (2018-08-03)
11
+ [Full Changelog](https://github.com/berkshelf/berkshelf/compare/v7.0.4...v6.3.3)
12
+
13
+ **Merged pull requests:**
14
+
15
+ - \[SHACK-295\] Missing require for ChefDK 2.x patch release [\#1788](https://github.com/berkshelf/berkshelf/pull/1788) ([tyler-ball](https://github.com/tyler-ball))
16
+ - Additional generator removal cleanup [\#1786](https://github.com/berkshelf/berkshelf/pull/1786) ([lamont-granquist](https://github.com/lamont-granquist))
17
+ - fixes for latest chefstyle updates [\#1784](https://github.com/berkshelf/berkshelf/pull/1784) ([lamont-granquist](https://github.com/lamont-granquist))
18
+ - remove hashrockets syntax [\#1783](https://github.com/berkshelf/berkshelf/pull/1783) ([lamont-granquist](https://github.com/lamont-granquist))
19
+
3
20
  ## [v7.0.4](https://github.com/berkshelf/berkshelf/tree/v7.0.4) (2018-06-08)
4
21
  [Full Changelog](https://github.com/berkshelf/berkshelf/compare/v7.0.3...v7.0.4)
5
22
 
@@ -70,7 +87,6 @@
70
87
 
71
88
  **Merged pull requests:**
72
89
 
73
- - Prepare 6.3.0 Release [\#1725](https://github.com/berkshelf/berkshelf/pull/1725) ([jaym](https://github.com/jaym))
74
90
  - Remove stale comment [\#1724](https://github.com/berkshelf/berkshelf/pull/1724) ([jaym](https://github.com/jaym))
75
91
  - Fix up Dir.glob for windows [\#1722](https://github.com/berkshelf/berkshelf/pull/1722) ([jaym](https://github.com/jaym))
76
92
  - bump the gemfile.lock [\#1721](https://github.com/berkshelf/berkshelf/pull/1721) ([lamont-granquist](https://github.com/lamont-granquist))
@@ -1,12 +1,12 @@
1
1
  GIT
2
2
  remote: https://github.com/chef/chef
3
- revision: 975395a2812c20d326a9f83d5510b848dabc79ef
3
+ revision: 111bb019fed2eea16f43acd52635607f3a33373e
4
4
  branch: master
5
5
  specs:
6
- chef (14.4.22)
6
+ chef (14.4.23)
7
7
  addressable
8
8
  bundler (>= 1.10)
9
- chef-config (= 14.4.22)
9
+ chef-config (= 14.4.23)
10
10
  chef-zero (>= 13.0)
11
11
  diff-lcs (~> 1.2, >= 1.2.4)
12
12
  erubis (~> 2.7)
@@ -34,7 +34,7 @@ GIT
34
34
  specinfra (~> 2.10)
35
35
  syslog-logger (~> 1.6)
36
36
  uuidtools (~> 2.1.5)
37
- chef-config (14.4.22)
37
+ chef-config (14.4.23)
38
38
  addressable
39
39
  fuzzyurl
40
40
  mixlib-config (>= 2.2.12, < 3.0)
@@ -43,7 +43,7 @@ GIT
43
43
 
44
44
  GIT
45
45
  remote: https://github.com/chef/chefstyle.git
46
- revision: 121db02686d148ad2c60ac68d2fb7a5ab8e95edb
46
+ revision: 4a885da4a201b55f2a5568bc0ea054860ccbf3c3
47
47
  branch: master
48
48
  specs:
49
49
  chefstyle (0.10.0)
@@ -52,7 +52,7 @@ GIT
52
52
  PATH
53
53
  remote: .
54
54
  specs:
55
- berkshelf (7.0.5)
55
+ berkshelf (7.0.6)
56
56
  chef (>= 13.6.52)
57
57
  chef-config
58
58
  cleanroom (~> 1.0)
@@ -130,7 +130,7 @@ GEM
130
130
  ffi (1.9.25)
131
131
  ffi-yajl (2.3.1)
132
132
  libyajl2 (~> 1.2)
133
- fuubar (2.3.1)
133
+ fuubar (2.3.2)
134
134
  rspec-core (~> 3.0)
135
135
  ruby-progressbar (~> 1.4)
136
136
  fuzzyurl (0.9.0)
@@ -201,7 +201,7 @@ GEM
201
201
  systemu (~> 2.6.4)
202
202
  wmi-lite (~> 1.0)
203
203
  parallel (1.12.1)
204
- parser (2.5.1.0)
204
+ parser (2.5.1.2)
205
205
  ast (~> 2.4.0)
206
206
  plist (3.4.0)
207
207
  powerpack (0.1.2)
@@ -275,7 +275,7 @@ GEM
275
275
  crack (>= 0.3.2)
276
276
  hashdiff
277
277
  wmi-lite (1.0.0)
278
- yard (0.9.14)
278
+ yard (0.9.15)
279
279
 
280
280
  PLATFORMS
281
281
  ruby
@@ -109,9 +109,11 @@ module Berkshelf
109
109
  raise ConfigurationError.new "Missing github endpoint configuration for #{cookbook_uri.scheme}://#{cookbook_uri.host}" if options.nil?
110
110
  end
111
111
 
112
- github_client = Octokit::Client.new(access_token: options[:access_token],
113
- api_endpoint: options[:api_endpoint], web_endpoint: options[:web_endpoint],
114
- connection_options: { ssl: { verify: options[:ssl_verify].nil? ? true : options[:ssl_verify] } })
112
+ github_client = Octokit::Client.new(
113
+ access_token: options["access_token"],
114
+ api_endpoint: options["api_endpoint"], web_endpoint: options["web_endpoint"],
115
+ connection_options: { ssl: { verify: options["ssl_verify"].nil? ? true : options["ssl_verify"] } }
116
+ )
115
117
 
116
118
  begin
117
119
  url = URI(github_client.archive_link(cookbook_uri.path.gsub(/^\//, ""), ref: "v#{version}"))
@@ -122,7 +124,7 @@ module Berkshelf
122
124
  # We use Net::HTTP.new and then get here, because Net::HTTP.get does not support proxy settings.
123
125
  http = Net::HTTP.new(url.host, url.port)
124
126
  http.use_ssl = url.scheme == "https"
125
- http.verify_mode = (options[:ssl_verify].nil? || options[:ssl_verify]) ? OpenSSL::SSL::VERIFY_PEER : OpenSSL::SSL::VERIFY_NONE
127
+ http.verify_mode = (options["ssl_verify"].nil? || options["ssl_verify"]) ? OpenSSL::SSL::VERIFY_PEER : OpenSSL::SSL::VERIFY_NONE
126
128
  resp = http.get(url.request_uri)
127
129
  return nil unless resp.is_a?(Net::HTTPSuccess)
128
130
  open(archive_path, "wb") { |file| file.write(resp.body) }
@@ -169,13 +171,13 @@ module Berkshelf
169
171
  raise ConfigurationError.new "Missing github endpoint configuration for #{cookbook_uri.scheme}://#{cookbook_uri.host}" if options.nil?
170
172
  end
171
173
 
172
- connection ||= Faraday.new(url: options[:web_endpoint]) do |faraday|
174
+ connection ||= Faraday.new(url: options["web_endpoint"]) do |faraday|
173
175
  faraday.headers[:accept] = "application/x-tar"
174
176
  faraday.response :logger, @logger unless @logger.nil?
175
177
  faraday.adapter Faraday.default_adapter # make requests with Net::HTTP
176
178
  end
177
179
 
178
- resp = connection.get(cookbook_uri.request_uri + "&private_token=" + options[:private_token])
180
+ resp = connection.get(cookbook_uri.request_uri + "&private_token=" + options["private_token"])
179
181
  return nil unless resp.status == 200
180
182
  open(archive_path, "wb") { |file| file.write(resp.body) }
181
183
 
@@ -1,3 +1,3 @@
1
1
  module Berkshelf
2
- VERSION = "7.0.5".freeze
2
+ VERSION = "7.0.6".freeze
3
3
  end
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: 7.0.5
4
+ version: 7.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jamie Winsor