fittings 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/fittings.gemspec +1 -1
- data/lib/setting.rb +5 -0
- 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: d19bed4628889e5f691e41d64e6aee335b35ef5f
|
4
|
+
data.tar.gz: 98847a90b2da1820d399a0deb402c266259c16c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7546b878a218ffa0f9070f96d8600b9c137544c0d6cf65f643d653be03c1586d8e0ece6ef11ad2dd4ff19cf1da254d523455fb2ee9603353ea485dc65de41f83
|
7
|
+
data.tar.gz: 48f069598de163e189b1ccfdfa1b8add134d10e22dd9a0943749f4cb707937953f3ed9c2f08581d733dd7b5b54feb44a23bc5c221af41fc1551224ac8e9dfcd0
|
data/Gemfile.lock
CHANGED
data/fittings.gemspec
CHANGED
data/lib/setting.rb
CHANGED
@@ -71,6 +71,11 @@ class Setting
|
|
71
71
|
end
|
72
72
|
end
|
73
73
|
|
74
|
+
def self.respond_to?(method_name, include_private = false)
|
75
|
+
self.instance.available_settings.has_key?(method_name.to_s.sub(/\?\z/, '')) ||
|
76
|
+
super
|
77
|
+
end
|
78
|
+
|
74
79
|
# In [] invocation syntax, we return settings value 'as is' without
|
75
80
|
# Hash conversions.
|
76
81
|
#
|