hekenga 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/hekenga/migration.rb +2 -2
- data/lib/hekenga/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 35c1fbccf2bd601d681d2803ad8b35211d14dc79
|
4
|
+
data.tar.gz: 989ed14b5c1c0fdd91fed77eea714d42d10c7e90
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f26baf56f54169f2735f3fbb21ad68ccb234f8220e3a261a218ebb4b9f2eab390826ab3fc8ab8931933c97918c390bfc6f76028ae37061d7a566b7802c964016
|
7
|
+
data.tar.gz: e20a04f148c19b1430693f6becf200c8d0f3fecd4fb5cc7cc75318a6370530c1eec23086ab61a46d2d43fe9f7455f5859da9e9fcdff0d9a3ee5883301d51ecc2
|
data/lib/hekenga/migration.rb
CHANGED
@@ -398,7 +398,7 @@ module Hekenga
|
|
398
398
|
log.add_failure({
|
399
399
|
message: error.to_s,
|
400
400
|
backtrace: error.backtrace,
|
401
|
-
document:
|
401
|
+
document: deep_clone(record),
|
402
402
|
batch_start: batch_start_id
|
403
403
|
}, Hekenga::Failure::Error)
|
404
404
|
log_cancel!
|
@@ -420,7 +420,7 @@ module Hekenga
|
|
420
420
|
log.add_failure({
|
421
421
|
doc_id: record.id,
|
422
422
|
errs: record.errors.full_messages,
|
423
|
-
document:
|
423
|
+
document: deep_clone(record),
|
424
424
|
}, Hekenga::Failure::Validation)
|
425
425
|
log.set(error: true)
|
426
426
|
log.incr_and_return(processed: 1, unvalid: 1)
|
data/lib/hekenga/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hekenga
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tapio Saarinen
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-05
|
11
|
+
date: 2017-06-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|