can_has_validations 0.6.1 → 0.6.2

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
  SHA256:
3
- metadata.gz: f14277d359dfd7f7a00e948c866c90497ac39d025fc753c83e0770c66102654b
4
- data.tar.gz: 747a36b1d4e4c3723e5bb3455b9f5023570a1c0913520a1c21a5a9d18cf6ebae
3
+ metadata.gz: 8be9db4769da71714aaf241907b6f4a25c08ba8e107e9c707aa28f9085fa8404
4
+ data.tar.gz: 7839b571a0e5a397b6fd645bba0b28b3af5b0ea7c5fdbccca0d21e9dc1c7a9ac
5
5
  SHA512:
6
- metadata.gz: b6891aa12d3765c1338807e0b6de3fa799cacbe7c0eb44f1b8685b105b5cb5dc11eea40962ed637fd00e1cd1d68f1419fedae3ecd3bc4dfafd64bad441afb3e6
7
- data.tar.gz: d92195ac58fa2ea3c9bae481b9dbdbcaccc0a2a8afa23c6607b46d1917d636500fd6c410c11cb3839d79ecfbd724fc57193555ce35e5ca728cf9804a274210ba
6
+ metadata.gz: c06cad10d8a65d2c943ff3dd55c7e8d3d7a8c5a6461f0a7c153875b14c60733d539c01b4424b5fa7b204066d1956bf56e270ae24595dba5b10e0daed139a548f
7
+ data.tar.gz: b9d5dd930c534575fe75a70589b18111f7c47d22978ceb53e1eab2f600908c8ebc2623e1b7a359f12a8873ca7ef6c014921279c9230122e4837b3160a85073c6
@@ -20,7 +20,7 @@ module ActiveModel::Validations
20
20
  end
21
21
  end
22
22
  unless all_match
23
- record.errors.add(attribute, :invalid, options.except(:allow_nil, :parent, :scope).merge!(value: value))
23
+ record.errors.add(attribute, :invalid, options.except(:allow_nil, :parent, :scope))
24
24
  end
25
25
  end
26
26
  end
@@ -1,3 +1,3 @@
1
1
  module CanHasValidations
2
- VERSION = '0.6.1'
2
+ VERSION = '0.6.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: can_has_validations
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - thomas morgan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-07-28 00:00:00.000000000 Z
11
+ date: 2018-08-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails