pinkman 1.2.4 → 1.2.5
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 +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4dcaf797b4a5ad853160980d98fa22692c3e8a462c08c68dfbe53d6e38ecf7a8
|
4
|
+
data.tar.gz: 58d670668d361d176af2268ea2909512d274d1b952d6a5de8ff2187610ab1725
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 63390829547bb193fee127133eae03de318bf7bac1defa040f4316b78b67561e66648ddd5a3669eb0994a454d9620e3251650d09d620a76f646a1b41ff0de229
|
7
|
+
data.tar.gz: 589ef4bb7e1383b264c0f042b054b44cc9922f9ad884aca25fd430a3ed20e4fe33326cf69a5410f11178b9f5e69d79daaee389289b923f612cc020f097fca5be
|
@@ -87,7 +87,7 @@ module Pinkman
|
|
87
87
|
end
|
88
88
|
|
89
89
|
def can_write? attribute
|
90
|
-
(write.include?(:all) or write.include?(attribute.to_sym)) and (serializer.model.column_names.include?(attribute.to_s) or (serializer.instance_methods.include?("#{attribute.to_s}=".to_sym) and write.include?(attribute.to_sym)))
|
90
|
+
(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)))
|
91
91
|
end
|
92
92
|
|
93
93
|
def can_access? action
|
data/lib/pinkman/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pinkman
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Agilso Oliveira
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-05-
|
11
|
+
date: 2019-05-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|