advanced 0.1.0 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/advanced/search_form.rb +4 -2
- data/lib/advanced/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: 65afbbcb3725f8de370cb12364ce11445a4b2180
|
4
|
+
data.tar.gz: a7af9898058816118e0a2c17000de8127421deef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e6173e22bcfcd7af9e6c3f83b15a8b5ec99a7ab046c285348461ab281a07e50252f4ff63b8b92cb60dca5f5d62d00bdfe8a3980eb123065f07a3116e39284f3
|
7
|
+
data.tar.gz: 50097e33a3d6287efceefcc44d8d3c9de04cb28d100ae3578d4edaf9cf883c2154d168ec4678653d9bb43386dba9422ff2db2866e1b8e2f13ab6cc74d6b86620
|
data/lib/advanced/search_form.rb
CHANGED
@@ -34,8 +34,10 @@ module Advanced
|
|
34
34
|
instance_variable_set(ivar, form.new)
|
35
35
|
end
|
36
36
|
|
37
|
-
|
38
|
-
|
37
|
+
["#{key}=", "#{key}_attributes="].each do |name|
|
38
|
+
define_method(name) do |values|
|
39
|
+
instance_variable_set(ivar, form.new(values))
|
40
|
+
end
|
39
41
|
end
|
40
42
|
end
|
41
43
|
|
data/lib/advanced/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: advanced
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ray Zane
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-08-
|
11
|
+
date: 2017-08-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|