knife-supermarket 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/chef/knife/supermarket_show.rb +2 -2
- data/lib/knife-supermarket/version.rb +1 -1
- 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: 730fb00dec79b044cd5bc239ad8d090536e6a098
|
4
|
+
data.tar.gz: 46dca0e39defb5852b7574be500ab792c6a2493a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a485fc218e7f42f8f59cefeb94023d1deca8011bca0c0df2f10897c1e394afc0954cb4b45b5f04d07125826fbd96c51b478d3830f96866196f105fb19777e92d
|
7
|
+
data.tar.gz: b14337171118721dfb06bc037815b7363038819ae8d4080572f8bb75ba3265db93459a0894959d7548173610b513ca0f7a3ec1d201148f42d3c631c88b3562fb
|
@@ -38,9 +38,9 @@ class Chef
|
|
38
38
|
def get_cookbook_data
|
39
39
|
case @name_args.length
|
40
40
|
when 1
|
41
|
-
noauth_rest.
|
41
|
+
noauth_rest.get("#{config[:supermarket_site]}/api/v1/cookbooks/#{@name_args[0]}")
|
42
42
|
when 2
|
43
|
-
noauth_rest.
|
43
|
+
noauth_rest.get("#{config[:supermarket_site]}/api/v1/cookbooks/#{@name_args[0]}/versions/#{name_args[1].gsub('.', '_')}")
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|