simple_action 1.4.6 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/Gemfile +3 -1
- data/Gemfile.lock +14 -10
- data/lib/simple_action/params.rb +1 -6
- data/lib/simple_action/version.rb +1 -1
- data/simple_action.gemspec +1 -1
- data/spec/acceptance_spec.rb +2 -2
- metadata +2 -22
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
OTQyMTcwZTVkY2YxNTI5NjA3MzBhZGNlZjMwM2NmOWM3MWY3ZGRhMw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NGM5ZDEwNmRiMTQ5M2E1MDNlYzgzMGNjYjM2MGFiM2UwNmY5MmFjOQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MjdmNTAyZTIwYmQ2OTc3NmI0YTk1ZTVkNTU2NWZhNmNhY2IzMTI3OWRhZWNl
|
10
|
+
MDQxMmU0OTY0N2Q5NDA2OTRhZTBmZjdjZDA0NWIwNmVmZDg0YWVmZDkxZWYy
|
11
|
+
ZTZlYWZjMTlkYTJjYWUzNTY5M2E5MDE2N2VjMzQwMzE0ZDkyODI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZmNjZThkNWFlNzE4Y2IwZjIwYjY3Mzg3MzMzYmE0NTgxMTUyMDc4MGJiZjAy
|
14
|
+
OGY3ZTRiZDY3NmUxYWU3MjEyMzNlZmRhODU3NTJiNTk4Y2IxMmIxZmRlYjg2
|
15
|
+
ZDRiYWM1YTZiOWNiZTc5YTJiNWMwMGY3NzQ3ZjFmOWUwNjY3ZmI=
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,16 +1,23 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
simple_action (1.4.
|
5
|
-
|
4
|
+
simple_action (1.4.6)
|
5
|
+
|
6
|
+
PATH
|
7
|
+
remote: /home/bryce/Code/simple_params
|
8
|
+
specs:
|
9
|
+
simple_params (1.5.2)
|
10
|
+
activemodel (>= 3.0, < 5.0)
|
11
|
+
shoulda-matchers (~> 2.8)
|
12
|
+
virtus (>= 1.0.0)
|
6
13
|
|
7
14
|
GEM
|
8
15
|
remote: https://rubygems.org/
|
9
16
|
specs:
|
10
|
-
activemodel (4.2.
|
11
|
-
activesupport (= 4.2.
|
17
|
+
activemodel (4.2.5)
|
18
|
+
activesupport (= 4.2.5)
|
12
19
|
builder (~> 3.1)
|
13
|
-
activesupport (4.2.
|
20
|
+
activesupport (4.2.5)
|
14
21
|
i18n (~> 0.7)
|
15
22
|
json (~> 1.7, >= 1.7.7)
|
16
23
|
minitest (~> 5.1)
|
@@ -32,7 +39,7 @@ GEM
|
|
32
39
|
ice_nine (0.11.1)
|
33
40
|
json (1.8.3)
|
34
41
|
method_source (0.8.2)
|
35
|
-
minitest (5.8.
|
42
|
+
minitest (5.8.3)
|
36
43
|
pry (0.10.1)
|
37
44
|
coderay (~> 1.1.0)
|
38
45
|
method_source (~> 0.8.1)
|
@@ -48,10 +55,6 @@ GEM
|
|
48
55
|
rspec-mocks (2.99.3)
|
49
56
|
shoulda-matchers (2.8.0)
|
50
57
|
activesupport (>= 3.0.0)
|
51
|
-
simple_params (1.4.5)
|
52
|
-
activemodel (>= 3.0, < 5.0)
|
53
|
-
shoulda-matchers (~> 2.8)
|
54
|
-
virtus (>= 1.0.0)
|
55
58
|
slop (3.6.0)
|
56
59
|
thread_safe (0.3.5)
|
57
60
|
tzinfo (1.2.2)
|
@@ -71,3 +74,4 @@ DEPENDENCIES
|
|
71
74
|
rake (~> 10.1)
|
72
75
|
rspec (~> 2.6)
|
73
76
|
simple_action!
|
77
|
+
simple_params!
|
data/lib/simple_action/params.rb
CHANGED
data/simple_action.gemspec
CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
|
-
spec.add_dependency "simple_params", ">= 1.
|
21
|
+
# spec.add_dependency "simple_params", ">= 1.5", "< 2.0"
|
22
22
|
spec.add_development_dependency "bundler", "~> 1.5"
|
23
23
|
spec.add_development_dependency "rake", "~> 10.1"
|
24
24
|
spec.add_development_dependency "rspec", "~> 2.6"
|
data/spec/acceptance_spec.rb
CHANGED
@@ -230,7 +230,7 @@ describe "SimpleAction acceptance spec" do
|
|
230
230
|
{
|
231
231
|
name: name,
|
232
232
|
date_of_birth: Date.new(1984, 6, 5),
|
233
|
-
phones:
|
233
|
+
phones: {
|
234
234
|
"0" => {
|
235
235
|
phone_number: "8005551210",
|
236
236
|
_destroy: "1"
|
@@ -238,7 +238,7 @@ describe "SimpleAction acceptance spec" do
|
|
238
238
|
"1" => {
|
239
239
|
phone_number: "8005551212"
|
240
240
|
}
|
241
|
-
|
241
|
+
}
|
242
242
|
}
|
243
243
|
end
|
244
244
|
|
metadata
CHANGED
@@ -1,35 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple_action
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- brycesenz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-12-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: simple_params
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - ! '>='
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: 1.4.5
|
20
|
-
- - <
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: '2.0'
|
23
|
-
type: :runtime
|
24
|
-
prerelease: false
|
25
|
-
version_requirements: !ruby/object:Gem::Requirement
|
26
|
-
requirements:
|
27
|
-
- - ! '>='
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: 1.4.5
|
30
|
-
- - <
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: '2.0'
|
33
13
|
- !ruby/object:Gem::Dependency
|
34
14
|
name: bundler
|
35
15
|
requirement: !ruby/object:Gem::Requirement
|