mixlib-config 2.2.0 → 2.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mixlib/config.rb +1 -2
- data/lib/mixlib/config/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 296050d1a5c2f3ff92d2f1d7dcfc115c0ab52f66
|
4
|
+
data.tar.gz: cafb4a53a1abd9c29d4c0cd07c225495888e3263
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9428d5a806a0f13db201e7b7b948f57dae0169ee84b0ab496cdec060ab502afe4ef0a73bd3a41f4069d182e3d2120a81a5586b3f798e616f15fe679416cd73f1
|
7
|
+
data.tar.gz: 68cac05d6a99ca9bad0f5be9d95c4931db9958ff35b25e0836b26ff0a5bf49917339e14c5f5ef6ea44ddb4d3ba2e35fb46d11a2efe4e4a1fb95689904578c8dc
|
data/lib/mixlib/config.rb
CHANGED
@@ -92,10 +92,9 @@ module Mixlib
|
|
92
92
|
# === Returns
|
93
93
|
# <True>:: If the config option exists
|
94
94
|
# <False>:: If the config option does not exist
|
95
|
-
def
|
95
|
+
def has_key?(key)
|
96
96
|
self.configuration.has_key?(key.to_sym)
|
97
97
|
end
|
98
|
-
alias_method :has_key?, :key?
|
99
98
|
|
100
99
|
# Resets a config option to its default.
|
101
100
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mixlib-config
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chef Software, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-05-
|
11
|
+
date: 2015-05-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|