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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c13bb79393ae9579e24ece570350fa0c0c75dc9a
4
- data.tar.gz: 190acf9ea6c8b0a6cf4eac8d6c3f86edd50b0455
3
+ metadata.gz: b2d4cfd04cfc13622f677ff20ca6eaa3aa011dfc
4
+ data.tar.gz: 42e8fad3fb600b38bb6d2fc30cd8bac000e84c43
5
5
  SHA512:
6
- metadata.gz: 3c971599312170cc42e6754ad7f7e386cc6df2d52fa1c78e5eec880ed5192e1a908c1afbc6be374e251a0912566409b77ac378d4c394528452bea29105ee0212
7
- data.tar.gz: 7ad190b146864f5a2c27377d190131cdf11ee308a97c1a65fa82a172659b1fddcc899e02125f66ee52563f8c7873388240ed051d618bb3daa4d8b9f27fef0db7
6
+ metadata.gz: 53dd9b10209d003954f54030b683a564a678e12eb1cf7231ee4a2638e3125d6dcde8747ae04524cd89cfcbcf0d8cd2d705d61807b21cf7601508054004310cd0
7
+ data.tar.gz: e53814be3deb00bca584920142f3887d4e1276c5a97ad8282d628cb7acf84265735f3331ddd90a34201a05b8641ce12013c6ecd10690d98ccf55c3f700a6837d
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.10
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.10 ruby lib
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.10"
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"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: maestrano-connector-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.10
4
+ version: 0.2.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pierre Berard