pragma-operation 1.6.1 → 1.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pragma/operation/authorization.rb +0 -5
- data/lib/pragma/operation/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ba4d10e6a54785f131916c5fb218a0822766a2d4
|
4
|
+
data.tar.gz: 3436527f5e44dda5ae8bf931498d9f0ae7380b4b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c51282d6a7efbe1e853d733c8aefd844b8fad9a8ad822f540a86ad785f4835b3466c70a1021d60fa35cb66f618ec117363fdf1366e51e1d1b409f7c37be91c96
|
7
|
+
data.tar.gz: 737aa91fa48b5384b64f2d8393520537ef6d4a2b8875ba14b6514ddaa6c172e6fc33d7234ce79345fbf4752353fd2eb7bc89895fc73f394d4182cd88511b76a4
|
@@ -70,11 +70,6 @@ module Pragma
|
|
70
70
|
|
71
71
|
if Object.const_defined?('Pragma::Contract::Base') && authorizable.is_a?(Pragma::Contract::Base)
|
72
72
|
authorizable.deserialize(params)
|
73
|
-
else
|
74
|
-
params.each_pair do |name, value|
|
75
|
-
next unless policy.resource.respond_to?("#{name}=")
|
76
|
-
policy.resource.send("#{name}=", value)
|
77
|
-
end
|
78
73
|
end
|
79
74
|
|
80
75
|
policy.send("#{self.class.operation_name}?").tap do |result|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pragma-operation
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alessandro Desantis
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-03-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: interactor
|