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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/exe/hekenga +3 -1
  3. data/lib/hekenga/version.rb +1 -1
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ca40e90f26d9f7c6db5c0e04cacc015ded2ecf46
4
- data.tar.gz: 4a113362de291b1f1d0a15c1f55ff9e256f9b134
3
+ metadata.gz: 7e863d0b139d813bf31a9d32f7c42015a67aead4
4
+ data.tar.gz: e6f8fe9a761b6c4015628a3988810f22502f6448
5
5
  SHA512:
6
- metadata.gz: 2f27c6cb7d481bd0aab5c544baeb619b51826a850493c63b6229dca379f77e8c774e0334c7e049063d2ccca4f29c3c7f807da013fa06b8d371489d99607e4162
7
- data.tar.gz: 42fe58bcf966bffbaf9dddb653c5a28f62ff6209645dbd0d4d8c10f97037d6616c6d46eecfbcf4444794fce83cb0c91d22ed7977c9ce050ab6588503c833cdcf
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: task.to_key, task_idx: idx).first ||
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
@@ -1,3 +1,3 @@
1
1
  module Hekenga
2
- VERSION = "0.2.4"
2
+ VERSION = "0.2.5"
3
3
  end
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
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: 2017-10-12 00:00:00.000000000 Z
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.13
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