chef 12.13.30 → 12.13.37
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -4
- data/VERSION +1 -1
- data/acceptance/Gemfile.lock +19 -19
- data/lib/chef/recipe.rb +0 -9
- data/lib/chef/version.rb +1 -1
- data/tasks/bin/gem-version-diff +37 -0
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23b3b446b1cdba1e268f0a8daee5910a8dbe0b63
|
4
|
+
data.tar.gz: 4c0af49479450161cb1a91df04b77fa7ead095c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5cfefc441c6e7803423eb64c455d1ebecef6645bb7f5af3de87ce0c52e734ce7b6f79a5bc2c1723dd705921ce50df8356b7d6375866c72f776138e7c55c50423
|
7
|
+
data.tar.gz: b7dcab2e65ded0284c5cd99c44d4b6603201e48e487ff3253442312b89a4a31ea6666d9b5b7e77e15dd1b2b5ff77de56db96a7105bc5ff056f8568c41ead131a
|
data/Gemfile
CHANGED
@@ -75,15 +75,12 @@ end
|
|
75
75
|
|
76
76
|
group(:changelog) do
|
77
77
|
gem "github_changelog_generator"
|
78
|
-
# Until https://github.com/piotrmurach/github/pull/274 is merged
|
79
|
-
gem "github_api", git: "https://github.com/jkeiser/github.git", branch: "pin-less"
|
80
78
|
end
|
81
79
|
|
82
80
|
group(:travis) do
|
83
81
|
# See `bundler-audit` in .travis.yml
|
84
82
|
gem "bundler-audit", git: "https://github.com/rubysec/bundler-audit.git"
|
85
|
-
|
86
|
-
gem "travis", git: "https://github.com/jkeiser/travis.rb", branch: "update-typheous"
|
83
|
+
gem "travis"
|
87
84
|
end
|
88
85
|
|
89
86
|
instance_eval(ENV["GEMFILE_MOD"]) if ENV["GEMFILE_MOD"]
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
12.13.
|
1
|
+
12.13.37
|
data/acceptance/Gemfile.lock
CHANGED
@@ -8,10 +8,10 @@ GIT
|
|
8
8
|
|
9
9
|
GIT
|
10
10
|
remote: git://github.com/chef/train.git
|
11
|
-
revision:
|
11
|
+
revision: 11ec2db8a2c06757335660a2704ca140b24b7ec3
|
12
12
|
branch: winrm-v2
|
13
13
|
specs:
|
14
|
-
train (0.15.
|
14
|
+
train (0.15.1)
|
15
15
|
docker-api (~> 1.26)
|
16
16
|
json (~> 1.8)
|
17
17
|
mixlib-shellout (~> 2.0)
|
@@ -31,7 +31,7 @@ GIT
|
|
31
31
|
|
32
32
|
GIT
|
33
33
|
remote: git://github.com/test-kitchen/test-kitchen.git
|
34
|
-
revision:
|
34
|
+
revision: c4b42161729572b95a93468fb8d653d15935bc74
|
35
35
|
branch: winrm-v2
|
36
36
|
specs:
|
37
37
|
test-kitchen (1.10.2)
|
@@ -44,7 +44,7 @@ GIT
|
|
44
44
|
|
45
45
|
GIT
|
46
46
|
remote: git://github.com/winrb/winrm-elevated.git
|
47
|
-
revision:
|
47
|
+
revision: fcf1d3490412d780d17ac4db09a9101b9794f6f4
|
48
48
|
branch: winrm-v2
|
49
49
|
specs:
|
50
50
|
winrm-elevated (1.0.0)
|
@@ -53,7 +53,7 @@ GIT
|
|
53
53
|
|
54
54
|
GIT
|
55
55
|
remote: git://github.com/winrb/winrm-fs.git
|
56
|
-
revision:
|
56
|
+
revision: d8fa7d648d797c434b20d8f45aa91ddb8f2d2c82
|
57
57
|
branch: winrm-v2
|
58
58
|
specs:
|
59
59
|
winrm-fs (1.0.0)
|
@@ -64,7 +64,7 @@ GIT
|
|
64
64
|
|
65
65
|
GIT
|
66
66
|
remote: git://github.com/winrb/winrm.git
|
67
|
-
revision:
|
67
|
+
revision: d6ae35d857234676916054344070d601519ec102
|
68
68
|
branch: winrm-v2
|
69
69
|
specs:
|
70
70
|
winrm (2.0.0)
|
@@ -82,12 +82,12 @@ GEM
|
|
82
82
|
specs:
|
83
83
|
addressable (2.4.0)
|
84
84
|
artifactory (2.3.3)
|
85
|
-
aws-sdk (2.5.
|
86
|
-
aws-sdk-resources (= 2.5.
|
87
|
-
aws-sdk-core (2.5.
|
85
|
+
aws-sdk (2.5.3)
|
86
|
+
aws-sdk-resources (= 2.5.3)
|
87
|
+
aws-sdk-core (2.5.3)
|
88
88
|
jmespath (~> 1.0)
|
89
|
-
aws-sdk-resources (2.5.
|
90
|
-
aws-sdk-core (= 2.5.
|
89
|
+
aws-sdk-resources (2.5.3)
|
90
|
+
aws-sdk-core (= 2.5.3)
|
91
91
|
berkshelf (4.3.5)
|
92
92
|
addressable (~> 2.3, >= 2.3.4)
|
93
93
|
berkshelf-api-client (~> 2.0, >= 2.0.2)
|
@@ -124,14 +124,14 @@ GEM
|
|
124
124
|
celluloid-io (0.16.2)
|
125
125
|
celluloid (>= 0.16.0)
|
126
126
|
nio4r (>= 1.1.0)
|
127
|
-
chef-config (12.
|
128
|
-
fuzzyurl
|
127
|
+
chef-config (12.13.30)
|
128
|
+
fuzzyurl
|
129
129
|
mixlib-config (~> 2.0)
|
130
130
|
mixlib-shellout (~> 2.0)
|
131
131
|
cleanroom (1.0.0)
|
132
132
|
coderay (1.1.1)
|
133
133
|
diff-lcs (1.2.5)
|
134
|
-
docker-api (1.
|
134
|
+
docker-api (1.31.0)
|
135
135
|
excon (>= 0.38.0)
|
136
136
|
json
|
137
137
|
erubis (2.7.0)
|
@@ -139,7 +139,7 @@ GEM
|
|
139
139
|
faraday (0.9.2)
|
140
140
|
multipart-post (>= 1.2, < 3)
|
141
141
|
ffi (1.9.14)
|
142
|
-
fuzzyurl (0.
|
142
|
+
fuzzyurl (0.9.0)
|
143
143
|
gssapi (1.2.0)
|
144
144
|
ffi (>= 1.0.1)
|
145
145
|
gyoku (1.3.1)
|
@@ -147,7 +147,7 @@ GEM
|
|
147
147
|
hashie (3.4.4)
|
148
148
|
hitimes (1.2.4)
|
149
149
|
httpclient (2.7.2)
|
150
|
-
inspec (0.
|
150
|
+
inspec (0.28.1)
|
151
151
|
hashie (~> 3.4)
|
152
152
|
json (~> 1.8)
|
153
153
|
method_source (~> 0.8)
|
@@ -157,10 +157,10 @@ GEM
|
|
157
157
|
rspec-its (~> 1.2)
|
158
158
|
rubyzip (~> 1.1)
|
159
159
|
thor (~> 0.19)
|
160
|
-
train (
|
160
|
+
train (>= 0.15.1, < 1.0)
|
161
161
|
jmespath (1.3.1)
|
162
162
|
json (1.8.3)
|
163
|
-
kitchen-ec2 (1.0
|
163
|
+
kitchen-ec2 (1.1.0)
|
164
164
|
aws-sdk (~> 2)
|
165
165
|
excon
|
166
166
|
multi_json
|
@@ -183,7 +183,7 @@ GEM
|
|
183
183
|
artifactory
|
184
184
|
mixlib-shellout
|
185
185
|
mixlib-versioning
|
186
|
-
mixlib-log (1.7.
|
186
|
+
mixlib-log (1.7.1)
|
187
187
|
mixlib-shellout (2.2.6)
|
188
188
|
mixlib-versioning (1.1.0)
|
189
189
|
molinillo (0.4.5)
|
data/lib/chef/recipe.rb
CHANGED
@@ -18,16 +18,7 @@
|
|
18
18
|
#
|
19
19
|
|
20
20
|
require "chef/dsl/recipe"
|
21
|
-
require "chef/dsl/data_query"
|
22
|
-
require "chef/dsl/platform_introspection"
|
23
|
-
require "chef/dsl/include_recipe"
|
24
|
-
require "chef/dsl/registry_helper"
|
25
|
-
require "chef/dsl/reboot_pending"
|
26
|
-
require "chef/dsl/audit"
|
27
|
-
require "chef/dsl/powershell"
|
28
|
-
|
29
21
|
require "chef/mixin/from_file"
|
30
|
-
|
31
22
|
require "chef/mixin/deprecation"
|
32
23
|
|
33
24
|
class Chef
|
data/lib/chef/version.rb
CHANGED
@@ -0,0 +1,37 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require_relative "../../version_policy"
|
4
|
+
|
5
|
+
old_version, new_version = ARGV[0..1]
|
6
|
+
|
7
|
+
require "set"
|
8
|
+
ENV["BUNDLE_WITHOUT"] = INSTALL_WITHOUT_GROUPS.join(":")
|
9
|
+
relevant_gems = Set.new
|
10
|
+
`bundle list`.each_line do |line|
|
11
|
+
next unless line =~ /^ \* (\S+)/
|
12
|
+
relevant_gems.add($1)
|
13
|
+
end
|
14
|
+
|
15
|
+
old_gems = {}
|
16
|
+
old_file = `git show #{old_version}:Gemfile.lock`
|
17
|
+
old_file.each_line do |line|
|
18
|
+
next unless line =~ /^ (\S+) \(([^\)]+)\)$/
|
19
|
+
next unless relevant_gems.include?($1)
|
20
|
+
old_gems[$1] = $2
|
21
|
+
end
|
22
|
+
|
23
|
+
new_gems = {}
|
24
|
+
new_file = `git show #{new_version}:Gemfile.lock`
|
25
|
+
new_file.each_line do |line|
|
26
|
+
next unless line =~ /^ (\S+) \(([^\)]+)\)$/
|
27
|
+
next unless relevant_gems.include?($1)
|
28
|
+
new_gems[$1] = $2
|
29
|
+
end
|
30
|
+
|
31
|
+
modified_gems = (old_gems.keys & new_gems.keys).sort.select { |name| new_gems[name] != old_gems[name] }.map { |name| "#{name} - #{new_gems[name]} (was #{old_gems[name]})" }
|
32
|
+
removed_gems = (old_gems.keys - new_gems.keys).sort.map { |name| "#{name} - #{old_gems[name]}" }
|
33
|
+
added_gems = (new_gems.keys - old_gems.keys).sort.map { |name| "#{name} - #{new_gems[name]}" }
|
34
|
+
|
35
|
+
puts "MODIFIED:\n#{modified_gems.join("\n")}" if modified_gems.any?
|
36
|
+
puts "\nADDED:\n#{added_gems.join("\n")}" if added_gems.any?
|
37
|
+
puts "\nREMOVED:\n#{removed_gems.join("\n")}" if removed_gems.any?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chef
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 12.13.
|
4
|
+
version: 12.13.37
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Jacob
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-08-
|
11
|
+
date: 2016-08-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: chef-config
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 12.13.
|
19
|
+
version: 12.13.37
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 12.13.
|
26
|
+
version: 12.13.37
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: mixlib-cli
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -2512,6 +2512,7 @@ files:
|
|
2512
2512
|
- tasks/bin/bundle-platform
|
2513
2513
|
- tasks/bin/bundle-platform.bat
|
2514
2514
|
- tasks/bin/create-override-gemfile
|
2515
|
+
- tasks/bin/gem-version-diff
|
2515
2516
|
- tasks/bin/run_external_test
|
2516
2517
|
- tasks/bundle.rb
|
2517
2518
|
- tasks/bundle_util.rb
|