simple_action 1.5.1 → 1.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/Gemfile.lock +1 -1
- data/lib/simple_action/concerns/delegates_to_params.rb +5 -7
- data/lib/simple_action/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MzZmODY1MWQ3YWZiNDk3N2E2NGU4NjgxZDA0YWEwY2JhNThlNDQ3Yg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YWZmZTAxNTIwMTFiZTkxNjEwMjc1MjI5ZWMzNGUwNjY0MDA1NTYxOA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NTgwMzliNDRjYTZkNTJmNjQ5YmY5NTYwNmIwNWZlMmNhY2RkYjg2ODRiMWE0
|
10
|
+
Y2VjYjhiZGZjMDFlMWRjZDkyNDlmZGM4NjgxNDM4ZmNkOTZiYjI4ZDgzNTVi
|
11
|
+
YmI5MGUwMWFhYTc5Mjk5Nzk2N2IwNzlhNzBhZTRmNDc2ZTdhNWU=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZTg5NjljMTQwOGQ3MWU0OTE4ZDE3OGQ3MjYzM2VkYWYyNzU3OTAwM2QyOTY4
|
14
|
+
MDA1NGU4YmI1YjAzYjJiMTFhYjA2NDQ3NDIwZWQxODExYjdjZDI2YzI1ZmQy
|
15
|
+
ODhjM2ZlZDNiMjQ5MWYyOWJkOTU1MDcxODk1YTUwNmIwZDYwNWI=
|
data/Gemfile.lock
CHANGED
@@ -5,7 +5,11 @@ module SimpleAction
|
|
5
5
|
module DelegatesToParams
|
6
6
|
extend ActiveSupport::Concern
|
7
7
|
|
8
|
-
|
8
|
+
module ClassMethods
|
9
|
+
def reflect_on_association(sym)
|
10
|
+
params_class.reflect_on_association(sym)
|
11
|
+
end
|
12
|
+
|
9
13
|
def respond_to?(sym, include_private = false)
|
10
14
|
pass_to_params_class?(sym) || super(sym, include_private)
|
11
15
|
end
|
@@ -60,11 +64,5 @@ module SimpleAction
|
|
60
64
|
def build_method?(sym)
|
61
65
|
sym.to_s.gsub('=', '').start_with?('build_')
|
62
66
|
end
|
63
|
-
|
64
|
-
module ClassMethods
|
65
|
-
def reflect_on_association(sym)
|
66
|
-
params_class.reflect_on_association(sym)
|
67
|
-
end
|
68
|
-
end
|
69
67
|
end
|
70
68
|
end
|