wedge 0.1.22 → 0.1.23

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: 662e81aba05a015d63b468017ec5706974ee8609
4
- data.tar.gz: ee86bce9bb3950e77bbdd89056a246630b8ba470
3
+ metadata.gz: 2b1cef007c7e39778735ef8d90c8063a07a6bfce
4
+ data.tar.gz: 20706521f83123f90a403a58da2e4442a064c325
5
5
  SHA512:
6
- metadata.gz: 000e0d5c29b6cb4c3dc0607bc18b0c6ffd06d7a1a1caa8c0c2afd9b12a1ea8678f976163138821f33d86d131212caa02dbb68b432b074da6d9a233630f6c5dde
7
- data.tar.gz: ca112e7ccca556b165b68a74e76d7a2f021db4bb8beb8c1f5461c7171e0937c26ba33544ab67d91e527784c7687cc757cb0f9e1381bf1bf979fe4981925c2a65
6
+ metadata.gz: d60d7c4ac517bc04b23039e7e937657970b1b36385ca3e268db885fb4c1487dc4129edab88ba2e75bf20ebffa5bb03cf4a8c20d9aabc5c36b3eb6bdf0fd868c6
7
+ data.tar.gz: b665036f77c36336cc95da76ad68105a0c1c19ed9cd3fabb8cd8559161f5480ae673e6e4ed1bee5ffba65ccc9423cd382ee302d39ea824e80ac6ae413a2796d1
@@ -304,6 +304,8 @@ class Wedge
304
304
  _options[:_model_attributes] = for_model
305
305
 
306
306
  _keys.each do |att|
307
+ next unless _accessors.include? att.to_sym
308
+
307
309
  opts = _accessor_options[att]
308
310
  if _atts.can_read?(att) && (!opts[:hidden] || opts[:hidden].is_a?(Proc) && !self.instance_exec(&opts[:hidden]))
309
311
  is_form = opts[:form]
data/lib/wedge/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  class Wedge
2
- VERSION = '0.1.22'
2
+ VERSION = '0.1.23'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wedge
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.22
4
+ version: 0.1.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - cj