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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NTZhMGY1MDVmNTI5MWI0MTYyMTA5Mzc0OGYwN2JlMjU2MzI1MWM3OA==
4
+ OTQyMTcwZTVkY2YxNTI5NjA3MzBhZGNlZjMwM2NmOWM3MWY3ZGRhMw==
5
5
  data.tar.gz: !binary |-
6
- NzYwMzVkYzE4NWM0NTVmODU5NGU2OWEyZjM3ODhjYWExMWIzZmY1MA==
6
+ NGM5ZDEwNmRiMTQ5M2E1MDNlYzgzMGNjYjM2MGFiM2UwNmY5MmFjOQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NTUyMWNmODk1Mjg0YWEzMzg3MzVhMDAwODQ0ZDcxMTBhZTdlOTIwMDk1Yjk4
10
- NjUzN2E2ZWZmZTQ5ZmI5ZjE4OGY5NTg3ZTdlN2U2ZmU4ZTgxMzZhNzk1Yjk0
11
- MzJmYjdhNjI3YjI1MzcxZTdkNGUzNThlNjg2YWVkODE5YjhjOTU=
9
+ MjdmNTAyZTIwYmQ2OTc3NmI0YTk1ZTVkNTU2NWZhNmNhY2IzMTI3OWRhZWNl
10
+ MDQxMmU0OTY0N2Q5NDA2OTRhZTBmZjdjZDA0NWIwNmVmZDg0YWVmZDkxZWYy
11
+ ZTZlYWZjMTlkYTJjYWUzNTY5M2E5MDE2N2VjMzQwMzE0ZDkyODI=
12
12
  data.tar.gz: !binary |-
13
- NTIwYzg5MDQxYmMzYmY1Y2ViYjcwMjQ1OWEwZDk2NjA2NWI0ZDU4NDU5NmEy
14
- Y2E3Y2FiODBkYTg3NjIyMmM4YTdhZWUxNGM2N2ZkODkxODYxNTM0Y2Y3Njc0
15
- MzYwM2NmM2E5YTMwNGE2ZmRiNDkxYzJmNDJmZTQxYWFkYzJhNjA=
13
+ ZmNjZThkNWFlNzE4Y2IwZjIwYjY3Mzg3MzMzYmE0NTgxMTUyMDc4MGJiZjAy
14
+ OGY3ZTRiZDY3NmUxYWU3MjEyMzNlZmRhODU3NTJiNTk4Y2IxMmIxZmRlYjg2
15
+ ZDRiYWM1YTZiOWNiZTc5YTJiNWMwMGY3NzQ3ZjFmOWUwNjY3ZmI=
data/Gemfile CHANGED
@@ -1,3 +1,5 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- gemspec
3
+ gemspec
4
+
5
+ gem 'simple_params', path: '/home/bryce/Code/simple_params'
data/Gemfile.lock CHANGED
@@ -1,16 +1,23 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- simple_action (1.4.5)
5
- simple_params (>= 1.4.5, < 2.0)
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.4)
11
- activesupport (= 4.2.4)
17
+ activemodel (4.2.5)
18
+ activesupport (= 4.2.5)
12
19
  builder (~> 3.1)
13
- activesupport (4.2.4)
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.0)
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!
@@ -2,11 +2,6 @@ require "simple_params"
2
2
 
3
3
  module SimpleAction
4
4
  class Params < ::SimpleParams::Params
5
- # Use Rails Helpers by default
6
- # class << self
7
- # def using_rails_helpers?
8
- # true
9
- # end
10
- # end
5
+ with_rails_helpers
11
6
  end
12
7
  end
@@ -1,3 +1,3 @@
1
1
  module SimpleAction
2
- VERSION = "1.4.6"
2
+ VERSION = "1.5.0"
3
3
  end
@@ -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.4.5", "< 2.0"
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"
@@ -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.6
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-09-22 00:00:00.000000000 Z
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