knife-spork 1.4.0 → 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -1
- data/knife-spork.gemspec +1 -1
- data/lib/chef/knife/spork-promote.rb +7 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: be55378787dc1240c670fc01b68de5b616c0df95
|
4
|
+
data.tar.gz: b7d5be3123fec39a5a9d85504c9574758ed918c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 748924e200608f02f47e63e84e1ac2acf5de5c5411d8d9d6ec2ba47fa8523bdf2580ac7c5d584757f7baa9179004bc7a4c9278cd15ba4f1e78d21e43f6714daf
|
7
|
+
data.tar.gz: 5de3995fea10c3a725ec446abddb34312d7eaf48bf09c79088e67e5151656062aadde13eb6b73bc5cb2770ac51d88d8881c7f4b129cf018b90d6eca69426de79
|
data/CHANGELOG.md
CHANGED
@@ -1,4 +1,11 @@
|
|
1
|
-
## 1.4.
|
1
|
+
## 1.4.1 (21st August, 2014)
|
2
|
+
|
3
|
+
Bugfixes:
|
4
|
+
|
5
|
+
- Fix bug with preserving constraint operators on new cookbooks (https://github.com/jonlives/knife-spork/issues/139)
|
6
|
+
|
7
|
+
|
8
|
+
## 1.4.0 (21st August, 2014)
|
2
9
|
|
3
10
|
Bugfixes:
|
4
11
|
|
@@ -11,6 +18,7 @@ Features:
|
|
11
18
|
|
12
19
|
- Hipchat plugin now supports custom server URL and API version (Thanks to @hrak https://github.com/jonlives/knife-spork/pull/135)
|
13
20
|
- Slack plugin (Thanks to @chrisferry https://github.com/jonlives/knife-spork/pull/134)
|
21
|
+
- Rubocop plugin (Thanks to @chazzly https://github.com/jonlives/knife-spork/pull/120)
|
14
22
|
- Add skip_berkshelf flag to allow Berkshelf operations to be skipped even when Berkshelf is loaded (https://github.com/jonlives/knife-spork/issues/138)
|
15
23
|
|
16
24
|
|
data/knife-spork.gemspec
CHANGED
@@ -2,7 +2,7 @@ $:.push File.expand_path('../lib', __FILE__)
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |gem|
|
4
4
|
gem.name = 'knife-spork'
|
5
|
-
gem.version = '1.4.
|
5
|
+
gem.version = '1.4.1'
|
6
6
|
gem.authors = ["Jon Cowie"]
|
7
7
|
gem.email = 'jonlives@gmail.com'
|
8
8
|
gem.homepage = 'https://github.com/jonlives/knife-spork'
|
@@ -86,12 +86,16 @@ module KnifeSpork
|
|
86
86
|
if spork_config.preserve_constraint_operators
|
87
87
|
|
88
88
|
cb_version = environment.cookbook_versions[cookbook]
|
89
|
-
if cb_version
|
90
|
-
|
89
|
+
if cb_version
|
90
|
+
if cb_version.length > 0
|
91
|
+
constraint_operator = cb_version.split.first
|
92
|
+
else
|
93
|
+
constraint_operator = "="
|
94
|
+
end
|
95
|
+
ui.msg "Preserving existing version constraint operator: #{constraint_operator}"
|
91
96
|
else
|
92
97
|
constraint_operator = "="
|
93
98
|
end
|
94
|
-
ui.msg "Preserving existing version constraint operator: #{constraint_operator}"
|
95
99
|
else
|
96
100
|
constraint_operator = "="
|
97
101
|
end
|