knife_cookbook_sync 0.0.3 → 0.0.4

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.
@@ -1,3 +1,9 @@
1
+ 0.0.4
2
+ =====
3
+
4
+ * Deal with cookbook sync's exit statuses a little more clearly in the
5
+ chef-workflow task.
6
+
1
7
  0.0.3
2
8
  =====
3
9
 
@@ -7,8 +13,10 @@
7
13
  =====
8
14
  * honor knife.rb configuration of cookbook path
9
15
  * add a quiet option (-q). dry run is unaffected.
10
- * check if the cookbook exists before loading it. vastly improves upload performance for new cookbooks.
11
- * exploit recent threaded upload improvements in Chef API: 0.1s slower than knife cookbook upload for all new content (worst case for sync).
16
+ * check if the cookbook exists before loading it. vastly improves upload
17
+ performance for new cookbooks.
18
+ * exploit recent threaded upload improvements in Chef API: 0.1s slower than
19
+ knife cookbook upload for all new content (worst case for sync).
12
20
 
13
21
  0.0.1
14
22
  =====
@@ -7,7 +7,7 @@ namespace :chef do
7
7
  task :sync => [ "bootstrap:knife" ] do
8
8
  Rake::Task["chef:cookbooks:resolve"].invoke rescue nil
9
9
  result = knife %W[cookbook sync -a]
10
- fail if result != 0
10
+ fail unless [0, 5].include?(result)
11
11
  end
12
12
  end
13
13
  end
@@ -1,3 +1,3 @@
1
1
  module KnifeCookbookSync
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife_cookbook_sync
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-02-26 00:00:00.000000000 Z
12
+ date: 2013-02-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: chef