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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 14e3e1ec0e10a27b1e6b3fbed2a5265f20288a78
4
- data.tar.gz: 31ec1a3d172014c1791e00d28e9a043612963cbb
3
+ metadata.gz: be55378787dc1240c670fc01b68de5b616c0df95
4
+ data.tar.gz: b7d5be3123fec39a5a9d85504c9574758ed918c6
5
5
  SHA512:
6
- metadata.gz: 8eae1fcab0dc4eaa6837ee97f5aae878ca384509d6056663c32841d249e993d5b0bed3e2727f0895b92f72be0c3bbc7db79cdba6943d41d4424b6d55e033bf4e
7
- data.tar.gz: c3501970934ea59acfaabfa662e6186da5e25456713208ff057ae323be32163dfec7b048beaf8a16fc51a4cdfadb64f5f795ca467128017460448b258ed36b45
6
+ metadata.gz: 748924e200608f02f47e63e84e1ac2acf5de5c5411d8d9d6ec2ba47fa8523bdf2580ac7c5d584757f7baa9179004bc7a4c9278cd15ba4f1e78d21e43f6714daf
7
+ data.tar.gz: 5de3995fea10c3a725ec446abddb34312d7eaf48bf09c79088e67e5151656062aadde13eb6b73bc5cb2770ac51d88d8881c7f4b129cf018b90d6eca69426de79
data/CHANGELOG.md CHANGED
@@ -1,4 +1,11 @@
1
- ## 1.4.0 (Footh August, 2014)
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.0'
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.length > 0
90
- constraint_operator = cb_version.split.first
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-spork
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jon Cowie