maestrano-connector-rails 0.2.10 → 0.2.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/app/jobs/maestrano/connector/rails/synchronization_job.rb +1 -1
- data/maestrano-connector-rails.gemspec +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b2d4cfd04cfc13622f677ff20ca6eaa3aa011dfc
|
4
|
+
data.tar.gz: 42e8fad3fb600b38bb6d2fc30cd8bac000e84c43
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 53dd9b10209d003954f54030b683a564a678e12eb1cf7231ee4a2638e3125d6dcde8747ae04524cd89cfcbcf0d8cd2d705d61807b21cf7601508054004310cd0
|
7
|
+
data.tar.gz: e53814be3deb00bca584920142f3887d4e1276c5a97ad8282d628cb7acf84265735f3331ddd90a34201a05b8641ce12013c6ecd10690d98ccf55c3f700a6837d
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.11
|
@@ -12,7 +12,7 @@ module Maestrano::Connector::Rails
|
|
12
12
|
|
13
13
|
# Check if previous synchronization is still running
|
14
14
|
previous_synchronization = Synchronization.where(organization_id: organization.id).order(created_at: :desc).first
|
15
|
-
if previous_synchronization && previous_synchronization.status == 'RUNNING'
|
15
|
+
if previous_synchronization && previous_synchronization.status == 'RUNNING' && previous_synchronization.created_at > (Time.now - 30.minutes)
|
16
16
|
ConnectorLogger.log('info', organization, "Previous synchronization is still running")
|
17
17
|
return
|
18
18
|
end
|
@@ -2,11 +2,11 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: maestrano-connector-rails 0.2.
|
5
|
+
# stub: maestrano-connector-rails 0.2.11 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "maestrano-connector-rails"
|
9
|
-
s.version = "0.2.
|
9
|
+
s.version = "0.2.11"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|