hekenga 0.2.8 → 0.2.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/hekenga/parallel_job.rb +3 -1
- data/lib/hekenga/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 47ef6900a6fe0d6ac76e0c876136b8b09b0d8d710130d205f80220514a1b82de
|
4
|
+
data.tar.gz: 23e9f3d9b99025bc1f234839abaff74b9796378a90010c81578197b423937317
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 25c635a4d716da1637897c7ebe154a272d27b330e0c8339bc1d6a50a9e4d2d35c8fa1d0f9b6d5b3e6d4efa506a1bcee49dbda5b54e0637816f27588e537ed126
|
7
|
+
data.tar.gz: 678131a3a7c0d30ad0e263a66fe5969b097cb23e86c4376ed1fa257283ad8fa8cef7f5d6cd57ecf6f0fef28cabe1d998c604e88b00f2634ff9b16ab4105e6c3d
|
data/lib/hekenga/parallel_job.rb
CHANGED
@@ -1,7 +1,9 @@
|
|
1
1
|
require 'active_job'
|
2
2
|
module Hekenga
|
3
3
|
class ParallelJob < ActiveJob::Base
|
4
|
-
queue_as
|
4
|
+
queue_as do
|
5
|
+
ENV["HEKENGA_QUEUE"] || :migration
|
6
|
+
end
|
5
7
|
def perform(migration_key, task_idx, ids, test_mode)
|
6
8
|
migration = Hekenga.find_migration(migration_key)
|
7
9
|
migration.test_mode! if test_mode
|
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.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tapio Saarinen
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-05
|
11
|
+
date: 2018-07-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|