cheffish 0.5.beta.4 → 0.5

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: 7a87f40fc8918ad4c4369793ce52e7225a3e247b
4
- data.tar.gz: 31d0880879944224b618d8fe0f94ac3721b3a6da
3
+ metadata.gz: 1ddab480a3b4a6de49b00633583e17cc04d6c90a
4
+ data.tar.gz: 249421b4118a974b9ae6d100394d9af3c1d45628
5
5
  SHA512:
6
- metadata.gz: ee94ebeffd807d0a8394577c91905df559d9fca13aa5a0448ae08a5c5a958c10fe119aa6269e55cf4449e5ecf71de3607a234e1bf790e43cd3d253abc283b09a
7
- data.tar.gz: 893b6b0e32d7e7c8c9079ffc274dd3245d6b0207db544fbadedb26d6a02b880799d94b00c7953627b39e2afaf13fa17973bb833937111e80e36bf31c874375ca
6
+ metadata.gz: c3c48ef29afb2df5f61ceb44efc65011cfe037426948d80a2e80e2061713fbac97cb6ffe3a60cdb9ea41d12fee792faa13a24d81407a9c35462eb6d5940161ad
7
+ data.tar.gz: 79723d6d54d41ab88ec8a6ec71a7539536910c59a26b2d753ea0aa6f4c365709183d3198d85aaf210a5c40005fc8783c3c16a65df0e67eb8e09ae2ba54a3c2a4
@@ -49,10 +49,12 @@ module Cheffish
49
49
  self[name]
50
50
  end
51
51
 
52
- def has_key?(name)
52
+ def key?(name)
53
53
  configs.any? { |config| config.has_key?(name) }
54
54
  end
55
55
 
56
+ alias_method :has_key?, :key?
57
+
56
58
  def keys
57
59
  configs.map { |c| c.keys }.flatten(1).uniq
58
60
  end
@@ -1,3 +1,3 @@
1
1
  module Cheffish
2
- VERSION = '0.5.beta.4'
2
+ VERSION = '0.5'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cheffish
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.beta.4
4
+ version: '0.5'
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Keiser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-31 00:00:00.000000000 Z
11
+ date: 2014-06-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chef
@@ -130,9 +130,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
130
130
  version: '0'
131
131
  required_rubygems_version: !ruby/object:Gem::Requirement
132
132
  requirements:
133
- - - ">"
133
+ - - ">="
134
134
  - !ruby/object:Gem::Version
135
- version: 1.3.1
135
+ version: '0'
136
136
  requirements: []
137
137
  rubyforge_project:
138
138
  rubygems_version: 2.2.2