knife-sharp 0.1.7 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -138,7 +138,8 @@ module KnifeSharp
138
138
  end
139
139
 
140
140
  if all or answer == "Y"
141
- env.cookbook_versions[cb] = version
141
+ # Force "= a.b.c" in cookbook version, as chef11 will not accept "a.b.c"
142
+ env.cookbook_versions[cb] = "= #{version}"
142
143
  bumped << @loader[cb]
143
144
  else
144
145
  ui.msg "* Skipping #{cb} cookbook"
data/lib/knife-sharp.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module KnifeSharp
2
- VERSION = "0.1.7"
2
+ VERSION = "0.1.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-sharp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-02-27 00:00:00.000000000 Z
13
+ date: 2013-03-20 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: chef