stove 6.1.1 → 7.0.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
  SHA256:
3
- metadata.gz: b05eab328bf53a62f22bbf1715c19bd8c4668aa8956f2250d3018596c17684c9
4
- data.tar.gz: 88ac3b3ac4aebe029d7fec57ae2690feead05fc1abbb8f161e0146bad21cb022
3
+ metadata.gz: 9d41cb20196130bd7e01b028e7dd7eb5cd72c5d8ed23f26b67acaa1a323c6b2f
4
+ data.tar.gz: ba5a548d6b5dc9895595535281346816d604178d19c45ad039024c21854ef0a8
5
5
  SHA512:
6
- metadata.gz: 41359d2b7159866ac2b09491c04fb76b414a7bbcff1bfb9f14f098514759128620fc70879911b1f2b2515c47c444f61bc2824c2faaaf69c6955c580e8e2671dc
7
- data.tar.gz: e30bce7df9a308c442180e190dfcac3a557c17248bdca5f2389902dea9277b2ae001ad6aa9811c653d2264065f174ea26d218b1a244c883d77bdb0b04bf7f95f
6
+ metadata.gz: d59ab257fae548ed7ae06ca6dbf10fa9225b9144bcef7085bb0945c08fc16b3861ea8ef978fb1cbfa32858f2a8ba377514c8baf726da17f4036f9eadb7521267
7
+ data.tar.gz: 65c28443fd4c73ef427261574ba8c1a15b3f50457fd277d6dc54384b897934bfb10e703355a3ffa28be86eb8b51580d917a38759d1e83d80a9f882b67e1444b5
@@ -51,21 +51,6 @@ module Stove
51
51
  log.info("Options: #{options.inspect}")
52
52
  log.info("ARGV: #{@argv.inspect}")
53
53
 
54
- # Yank command
55
- if @argv.first == 'yank'
56
- name = @argv[1] || Cookbook.new(options[:path]).name
57
-
58
- if Supermarket.yank(name)
59
- @stdout.puts "Successfully yanked #{name}!"
60
- @kernel.exit(0)
61
- else
62
- @stderr.puts "I could not find a cookbook named #{name}!"
63
- @kernel.exit(1)
64
- end
65
-
66
- return
67
- end
68
-
69
54
  # Make a new cookbook object - this will raise an exception if there is
70
55
  # no cookbook at the given path
71
56
  cookbook = Cookbook.new(options[:path])
@@ -13,7 +13,7 @@ module Stove
13
13
  'CHANGELOG.*',
14
14
  'CONTRIBUTING.md',
15
15
  'MAINTAINERS.md',
16
- 'metadata.json',
16
+ 'metadata.{json,rb}',
17
17
  'attributes/*.rb',
18
18
  'definitions/*.rb',
19
19
  'files/**/*',
@@ -62,23 +62,6 @@ module Stove
62
62
  })
63
63
  end
64
64
 
65
- #
66
- # Delete the given cookbook from the supermarket.
67
- #
68
- # @param [String] name
69
- # the name of the cookbook to delete
70
- #
71
- # @return [true, false]
72
- # true if the cookbook was deleted, false otherwise
73
- #
74
- def yank(name)
75
- connection.delete("/cookbooks/#{name}")
76
- true
77
- rescue ChefAPI::Error::HTTPBadRequest,
78
- ChefAPI::Error::HTTPNotFound,
79
- false
80
- end
81
-
82
65
  private
83
66
 
84
67
  #
@@ -1,3 +1,3 @@
1
1
  module Stove
2
- VERSION = '6.1.1'
2
+ VERSION = '7.0.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stove
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.1.1
4
+ version: 7.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Seth Vargo