setting_accessors 0.0.5 → 0.0.6

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: d0b13cae5880dc3e448d1d26d64ff6bce9149d81
4
- data.tar.gz: 7b56e7cec309297d20edfb0a90a346c028c98ad9
3
+ metadata.gz: 912a9cc992d18c425f566cb38e4d13f8d40e98a2
4
+ data.tar.gz: 6a97b4452c34bcf03ba558a80dcffe0fc8e374a2
5
5
  SHA512:
6
- metadata.gz: 062e4ad9c0fb336a109aae63f9987715dbfce2d9ac5b2b607a8a4a5f339e0e64a020e98606e76cdb2fdcb615de895a42843307dd50d988165d18faf6919430e3
7
- data.tar.gz: e140c13822008a93b770ece981ea8be7b75d1b155df28bb5d1fe5f39d6477f7f1cc9fe63f170e081030a79405b3f59cc1bc4917b501bfb40d834c9ba1e2b4c65
6
+ metadata.gz: cff208b475cadc713e358a4314929cb904160a24b2d76eee9c2e2004011684949612cfeda01bf985f02fc2d86aff5206c1125ecd7c3a66143c213c8e08cc0d80
7
+ data.tar.gz: 21651ebb8af2fc3d395240402c88fb937e37b6bd0402046cc322c165eea1f73600cfb84e6b1074076e16cd08309ef10f34d8b5127f840596c8559ee1cfbb1aa3
@@ -119,7 +119,7 @@ module SettingAccessors
119
119
  # @return [Array<String>] all setting accessor names defined in the given +class+
120
120
  #
121
121
  def self.setting_accessor_names(klass)
122
- self.lookup_nested_hash(@@setting_accessor_names, klass.to_s)
122
+ self.lookup_nested_hash(@@setting_accessor_names, klass.to_s) || []
123
123
  end
124
124
 
125
125
  end
@@ -1,3 +1,3 @@
1
1
  module SettingAccessors
2
- VERSION = '0.0.5'
2
+ VERSION = '0.0.6'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: setting_accessors
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefan Exner