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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: eb07ac878d2d43280ac04eccaa46383f2c65dc92
4
- data.tar.gz: 11619bebb76c36865c479f061febc07ba3e336e0
3
+ metadata.gz: ba4d10e6a54785f131916c5fb218a0822766a2d4
4
+ data.tar.gz: 3436527f5e44dda5ae8bf931498d9f0ae7380b4b
5
5
  SHA512:
6
- metadata.gz: dc0566cc122ba0f654e0c0b934fc4e2a4495cf396ccbdaab7877c1b062b343fa3727e7c4d4da4882ed895e7e25d60664c646a2523ae59b548313cf72fb4ffb6c
7
- data.tar.gz: c9466ecb6da4bb99ba207b3c94d520b432605735171ade1b6f03766dcb34ae9001ce285d57350c79d1bd364ea7f10bf3770ec5b8c400c7410e35ab95d54fea85
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|
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
  module Pragma
3
3
  module Operation
4
- VERSION = '1.6.1'
4
+ VERSION = '1.6.2'
5
5
  end
6
6
  end
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.1
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-01-26 00:00:00.000000000 Z
11
+ date: 2017-03-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: interactor