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 +4 -4
- data/lib/pinkman/serializer/scope.rb +1 -1
- data/lib/pinkman/version.rb +1 -1
- 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: cb10d76bda62a949e93ea052899855079e0a7aa1
|
4
|
+
data.tar.gz: 932cd458e17d3534e935a833f6ed34f7f5249c39
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/lib/pinkman/version.rb
CHANGED