reaction 1.0.3 → 1.0.4

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: e9a60d89e61486f6efad35627c71414e6d928e31
4
- data.tar.gz: b54420b3e1f347d7ce9311c33863f0470df8c6cb
3
+ metadata.gz: ce9046108073872d8f8e37cb0e2d78781cc253bf
4
+ data.tar.gz: 26ff2b61c56b418c30ffd5b0ac952a327f7b97ca
5
5
  SHA512:
6
- metadata.gz: 5a1efc95c948da004d4bac324554efa5dd19282c3b324f3c288db0391b92fd28a004de3c77513a9aa00cad900825d0a23d0dc4ea3f4333a9bea209cc60b5d7f5
7
- data.tar.gz: 61324a1ffb2456472c6d60c22027c811072d1e869981dd1889c6a63d8e6dd81698ede48d770fea6fef459d2a18b50e25752c30489786b51e5b05af397e0e9aa5
6
+ metadata.gz: 042c13568ba3424f2baf08cf7f7e8af05c8006b4d47496e1f4fc8b70571b2fa3f16b17b8f9e50c0306ba61bdd49382854a91851f9feb2a161bad3c83c968ee04
7
+ data.tar.gz: d0303e340a37ee62426f9276c0ea7bf4b40e2d4d190af0c918ddc915eb6989266a46b2e00d6adb7971cd692e56340bf50fe63e56790c48846c0d2477d49b1693
@@ -48,7 +48,7 @@ module Reaction
48
48
  ret = {}
49
49
  _params.each do |name, param|
50
50
  if mode == :raw
51
- ret[name] = param.raw_value if param_provided?
51
+ ret[name] = param.raw_value if param.provided?
52
52
  else
53
53
  ret[name] = param.result if param.provided?
54
54
  end
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |gem|
6
6
  gem.name = 'reaction'
7
- gem.version = '1.0.3'
7
+ gem.version = '1.0.4'
8
8
  gem.authors = ["Jon Calhoun", "Jon Calhoun", "Ryan Jackson"]
9
9
  gem.email = ["joncalhoun@gmail.com", "jon@paidlabs.com", "ryan@paidlabs.com"]
10
10
  gem.description = 'Reaction makes it easy to build reusable controller actions along with reusable validators and param type converters.'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: reaction
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jon Calhoun