valigator-csv 1.1.2 → 1.1.3

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: 79c058d569e6eefd399b4fd007a382ee87df9981
4
- data.tar.gz: 7e7ee08daf2cf3e55c752feaf7a1a226e9cd8811
3
+ metadata.gz: ff830cd1bad0287cbffc5ab322b6602cfe96392d
4
+ data.tar.gz: 2a51f21c64af6f890a141abbd9e1094a2536ce23
5
5
  SHA512:
6
- metadata.gz: dff04e9f289d741f7c4471943aa470956289b63a9ede53f4086e45da95b6583c3624f02af8e4c2ef02cbad1532769721baa0dd4e47783d9e15a68f86a445f539
7
- data.tar.gz: 1d6d11b3c8e84fc472bed9d93fcc948f4b69fd3d48b60d56e6a1b3f9d60b1ed263da3f629034077b0c5dc93ec732ad978c7a2fff6de10adeac2ace414b39662a
6
+ metadata.gz: 809ae1b7602956ecdf53c591e79dc42ba42b55d04fcfd1c474cb4441a6a6e3f66baaf6615ee73198ce78cd1cf63c73f025d1987e9d55d4e9bec2b776713507e9
7
+ data.tar.gz: 9ca6d4f36aab4939e5aeb1c7195cfd83819f9b2bf8e79d63a8df07c17a2f35408b5554913e3981fa9c84d25b67fca9957ea75512e14024a47944a7db87d89dd0
@@ -23,6 +23,16 @@ module Valigator
23
23
 
24
24
 
25
25
 
26
+ def to_hash
27
+ {
28
+ row: row,
29
+ type: type,
30
+ message: message
31
+ }
32
+ end
33
+
34
+
35
+
26
36
  private
27
37
 
28
38
  def build_from_hash(error)
@@ -1,5 +1,5 @@
1
1
  module Valigator
2
2
  module CSV
3
- VERSION = "1.1.2"
3
+ VERSION = "1.1.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: valigator-csv
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Nagy