hekenga 0.2.4 → 0.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/exe/hekenga +3 -1
- data/lib/hekenga/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7e863d0b139d813bf31a9d32f7c42015a67aead4
|
|
4
|
+
data.tar.gz: e6f8fe9a761b6c4015628a3988810f22502f6448
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 85f92c511e107d2867895580798632c763c2c7d1f976e27cefbb4a19545f604016cfc4a80ab1005b9ecb32290c308f181777f8b9a01dc56a781f67ece5e20429
|
|
7
|
+
data.tar.gz: cc9fa498b84fc0fbdbe76c74e69480c125bba08bc685f98466fbcff50c8a9cccabf53d72b0de745137a58cd7d614ec9d607a36afe4d6fcc481e7276d2b8fe292
|
data/exe/hekenga
CHANGED
|
@@ -22,6 +22,8 @@ class HekengaCLI < Thor
|
|
|
22
22
|
"FAILED"
|
|
23
23
|
when :complete
|
|
24
24
|
"COMPLT"
|
|
25
|
+
when :skipped
|
|
26
|
+
"SKIPPD"
|
|
25
27
|
else
|
|
26
28
|
"UN-RUN"
|
|
27
29
|
end
|
|
@@ -100,7 +102,7 @@ class HekengaCLI < Thor
|
|
|
100
102
|
migration = load_migration(path_or_pkey)
|
|
101
103
|
puts "Skipping #{migration.to_key}.."
|
|
102
104
|
migration.tasks.each.with_index do |task, idx|
|
|
103
|
-
log = Hekenga::Log.where(pkey:
|
|
105
|
+
log = Hekenga::Log.where(pkey: migration.to_key, task_idx: idx).first ||
|
|
104
106
|
Hekenga::Log.new(migration: migration, task_idx: idx)
|
|
105
107
|
|
|
106
108
|
log.done = true
|
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.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tapio Saarinen
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2018-04-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -198,7 +198,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
198
198
|
version: '0'
|
|
199
199
|
requirements: []
|
|
200
200
|
rubyforge_project:
|
|
201
|
-
rubygems_version: 2.6.
|
|
201
|
+
rubygems_version: 2.6.14.1
|
|
202
202
|
signing_key:
|
|
203
203
|
specification_version: 4
|
|
204
204
|
summary: Sophisticated migration framework for mongoid, with the ability to parallelise
|