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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 664be1faba55f9a4fc5e7470aad3f5255fbad864
4
- data.tar.gz: 064da14ead80ae301204ec420a6db57911aeff65
3
+ metadata.gz: 730fb00dec79b044cd5bc239ad8d090536e6a098
4
+ data.tar.gz: 46dca0e39defb5852b7574be500ab792c6a2493a
5
5
  SHA512:
6
- metadata.gz: 9a2257ce3511909d32c7007ef91c5b2073c9e284fb7d72c0e542f8b4a6a0d05384043180665e9f4935bcf6b8e629f9495653e7262e8bbd131dade69315052ee3
7
- data.tar.gz: 1ade202fa76908aa37d1478228d2547cfce40e256f7fc8deaab196bb4dcac8807bd5d9b911a6bf229f30ea3cd4f755313e450dbc819c1413153a186b0cf57969
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.get_rest("#{config[:supermarket_site]}/api/v1/cookbooks/#{@name_args[0]}")
41
+ noauth_rest.get("#{config[:supermarket_site]}/api/v1/cookbooks/#{@name_args[0]}")
42
42
  when 2
43
- noauth_rest.get_rest("#{config[:supermarket_site]}/api/v1/cookbooks/#{@name_args[0]}/versions/#{name_args[1].gsub('.', '_')}")
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
 
@@ -1,6 +1,6 @@
1
1
  module Knife
2
2
  module Supermarket
3
- VERSION = '0.2.3'
3
+ VERSION = '0.2.4'
4
4
  MAJOR, MINOR, TINY = VERSION.split('.')
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-supermarket
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christopher Webber