knife-supermarket 0.1.0 → 0.2.0

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: e44f3c7622e723d19115bc0c317d8a5b148a7542
4
- data.tar.gz: fca3200e2c3a45d737c2b1484a7da554769eeefc
3
+ metadata.gz: bcc161bf2cd8fd29483a6e6edaef9ce22e81e13c
4
+ data.tar.gz: b6e10ebb089cfb2aa93ac9dcb46b30ea83084ef2
5
5
  SHA512:
6
- metadata.gz: 30e5dd9d1750911cc98047c03e016dca7b2785d61c3ac6fa6c63187acbfee6618e88f91690b0d94da7a54de0e5c54cf20960a44a0751e00795e15c6c55c5506d
7
- data.tar.gz: a579be762ee0d10bf0db5fea3c12f9b5d13afc1a9bc054f8268c2a22181f830747328cbd52f1d2419f012c4110fddd624c480459b577adb66f94355139adf156
6
+ metadata.gz: 83910ba6e26da78c05f5df73e3a53f02a229fa3fc7f022b85df97b15fafdc5647964e14be8fc85c0a9f48391403d41e5c9b2734e22a8e30d7141b4e81d9bf43e
7
+ data.tar.gz: 1fd733b3f5f2d39b15b2d9ff370faffb0c2625d4d53486966f4b3acf994159177af8a79a42374cbe81d01a5336cdcdc0ff89d24b141fdead528713ae78a02568
@@ -1,3 +1,6 @@
1
+ ## v0.2.0
2
+ * Add support for specifying --cookbook-path on `knife supermarket share`
3
+
1
4
  ## v0.0.2
2
5
  * Fix `knife supermarket search` after removal of the `run` method
3
6
 
@@ -38,6 +38,12 @@ class Chef
38
38
  :default => 'https://supermarket.getchef.com',
39
39
  :proc => Proc.new { |supermarket| Chef::Config[:knife][:supermarket_site] = supermarket }
40
40
 
41
+ option :cookbook_path,
42
+ :short => "-o PATH:PATH",
43
+ :long => "--cookbook-path PATH:PATH",
44
+ :description => "A colon-separated path to look for cookbooks in",
45
+ :proc => lambda { |o| Chef::Config.cookbook_path = o.split(":") }
46
+
41
47
  def do_upload(cookbook_filename, cookbook_category, user_id, user_secret_filename)
42
48
  uri = "#{config[:supermarket_site]}/api/v1/cookbooks"
43
49
 
@@ -1,6 +1,6 @@
1
1
  module Knife
2
2
  module Supermarket
3
- VERSION = '0.1.0'
3
+ VERSION = '0.2.0'
4
4
  MAJOR, MINOR, TINY = VERSION.split('.')
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-supermarket
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christopher Webber
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-23 00:00:00.000000000 Z
11
+ date: 2014-08-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chef