consyncful 0.7.1 → 0.7.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/lib/consyncful/tasks/consyncful.rake +5 -0
- data/lib/consyncful/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: d2f62207463a8f75a74abef31265619b16425ef9b8cfa9cecc8935ab8fd74937
|
4
|
+
data.tar.gz: 5eca96bb788eb38855afa49cafaf5091eabbb5343f09828266f4f7e95cba3d29
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c9188b10e74d92bf2078e3227ecf7f189a749e088a5a64990f7f66fe0256eccc9628b07cb287ef78307f15287c2a7f57992688170b574e802fbc5f03b916508
|
7
|
+
data.tar.gz: a63b5e7ddca0cab2dc969b8a83b48ca66c4957b7641ddf7caa6be22e45733cb9bebb405187bb867280bd5149b2c2b2bd2e7399694df80fba39e1874979887dbd
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
consyncful (0.7.
|
4
|
+
consyncful (0.7.2)
|
5
5
|
contentful (>= 2.11.1, < 3.0.0)
|
6
6
|
hooks (>= 0.4.1)
|
7
7
|
mongoid (>= 7.0.2, < 8.0.0)
|
@@ -45,7 +45,7 @@ GEM
|
|
45
45
|
http-form_data (2.3.0)
|
46
46
|
http-parser (1.2.3)
|
47
47
|
ffi-compiler (>= 1.0, < 2.0)
|
48
|
-
i18n (1.
|
48
|
+
i18n (1.12.0)
|
49
49
|
concurrent-ruby (~> 1.0)
|
50
50
|
minitest (5.16.2)
|
51
51
|
mongo (2.17.1)
|
@@ -10,6 +10,11 @@ namespace :consyncful do
|
|
10
10
|
end
|
11
11
|
|
12
12
|
task :sync, [:seconds] => %i[environment update_model_names] do |_task, args|
|
13
|
+
Signal.trap('TERM') do
|
14
|
+
puts Rainbow("Graceful shutdown PID=#{Process.pid}").red
|
15
|
+
exit 0
|
16
|
+
end
|
17
|
+
|
13
18
|
seconds = args[:seconds].to_i
|
14
19
|
seconds = 15 if seconds.zero?
|
15
20
|
loop do
|
data/lib/consyncful/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: consyncful
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andy Anastasiadis-Gray
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-07-
|
11
|
+
date: 2022-07-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|