pinkman 0.9.1.23 → 0.9.1.24

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: 1783e5a5c20b525c29e2a72315385c50677604dc
4
- data.tar.gz: e77f236792e02c18b72175932f832f879e51df34
3
+ metadata.gz: cb10d76bda62a949e93ea052899855079e0a7aa1
4
+ data.tar.gz: 932cd458e17d3534e935a833f6ed34f7f5249c39
5
5
  SHA512:
6
- metadata.gz: 768bfcc52e5f49fa7d5a2ca6db2515fcab2b2fe97e61de57a3c9d10bf97459bd6492f2ee38a8372399b3669a5488cd7d53e7e0a149bdcc3714c30ec8c959154d
7
- data.tar.gz: 4db65212d133e2769f2519bdc9023119d0f269d831068599d26d5383af19f905309650fc1c1b75fcd43608cea4842c6c08d0715a24f05a37ea707a1013e72242
6
+ metadata.gz: 95319f0e82e999d1f748484cf5e7a65a9438fd2c3ce045c79b60065f65c0894696f12af71f2f63d47a5618cb206aba7a9bac7db06bde9310d9a128cb678b1f08
7
+ data.tar.gz: d1761e54da101e5423ff2ee76befd6c97cd6600c863a04bd767bfecc71af42179f25d5ecf251f08f5786e41ab085bb35c445a92513c26a62af9cbc83756b7f33
@@ -31,7 +31,7 @@ module Pinkman
31
31
  end
32
32
 
33
33
  def can_write? attribute
34
- (write.include?(:all) or write.include?(attribute.to_sym)) and (serializer.model.column_names.include?(attribute.to_s) or serializer.model.instance_methods.include?("#{attribute.to_s}=".to_sym))
34
+ (write.include?(:all) or write.include?(attribute.to_sym)) and (serializer.model.column_names.include?(attribute.to_s) or (serializer.model.instance_methods.include?("#{attribute.to_s}=".to_sym) and write.include?(attribute.to_sym)))
35
35
  end
36
36
 
37
37
  def can_access? action
@@ -1,3 +1,3 @@
1
1
  module Pinkman
2
- VERSION = "0.9.1.23"
2
+ VERSION = "0.9.1.24"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pinkman
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1.23
4
+ version: 0.9.1.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - Agilso Oliveira