stronger_parameters 2.1.0 → 2.1.1

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: 4e7aaa9a7cb26020a2926630e2c3c00f79b05af0
4
- data.tar.gz: 742c82725fec863995a17a92e44be9e96524865f
3
+ metadata.gz: 525d834e2beebfd2da81d1f0d490a67e5c029a3d
4
+ data.tar.gz: 2c41894bc114e6b198f1987cea613ff5c02a304f
5
5
  SHA512:
6
- metadata.gz: 01dcbac263513c9c0b704c02f6816d3c207509483a32d490371d6aabb57a90aa7bf2769cdf69cefbeef5d83678fbb02a7fe8372455c842fe17129f0e46fa48d8
7
- data.tar.gz: 6315290dc0afc3a20c2eddfad1d6e4ccf5820500c39e650d3486c23a6a99cf1e3f5276a411e9b5b1377e3130f1c83f0d788c50b60f70fcaa0b817ad2db9c6bbb
6
+ metadata.gz: bc56b310ee86f92a3b96504bbd0800cb2b26a65181f1fec698370e2675054526afec7800388053a4609619fc2dce11c471b4c967c7bc03dfc0332bdf46d01f8c
7
+ data.tar.gz: 86f7578c4726833dfe917672e21fe2e949fed6eead0c41f7c42857c80bfb35f85c1f944ad932a08b9026b448ff84e6a93ee791965bd0f063ecdde371a94fb17e
@@ -7,7 +7,7 @@ module StrongerParameters
7
7
 
8
8
  begin
9
9
  DateTime.parse v
10
- rescue ArgumentError
10
+ rescue ArgumentError, TypeError
11
11
  StrongerParameters::InvalidValue.new(v, "must be a date")
12
12
  end
13
13
  end
@@ -1,3 +1,3 @@
1
1
  module StrongerParameters
2
- VERSION = '2.1.0'
2
+ VERSION = '2.1.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stronger_parameters
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mick Staugaard
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-18 00:00:00.000000000 Z
11
+ date: 2015-06-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -209,7 +209,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
209
209
  version: '0'
210
210
  requirements: []
211
211
  rubyforge_project:
212
- rubygems_version: 2.2.2
212
+ rubygems_version: 2.4.5
213
213
  signing_key:
214
214
  specification_version: 4
215
215
  summary: Type checking and type casting of parameters for Action Pack