maestrano-connector-rails 2.1.1 → 2.1.2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d879c0830748c6b3e1b278b8fe6009fb4cc831d2
|
4
|
+
data.tar.gz: cf2d4e2bf3147a0f14e6d841778eaf5164d06be8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bcdbcbdf6bd8df45b6279a42944fad721bde471590502c674ce9be6c6a9f95da77eddc47069ba51923c244595d010eee7ce0183a78a9b8e1f82d04b4161483a5
|
7
|
+
data.tar.gz: 4812a5a394a9a4f31f5e2e57c37347c35afa71cdfe7634e031bcfaee094092e560dd74f2448ec522f848f12aa4465b4127bda39c258027a6685fb415f5dd2aa4
|
data/CHANGELOG.md
CHANGED
@@ -121,7 +121,11 @@ module Maestrano::Connector::Rails::Concerns::Organization
|
|
121
121
|
end
|
122
122
|
|
123
123
|
def last_synchronization_date
|
124
|
-
last_successful_synchronization&.updated_at ||
|
124
|
+
last_successful_synchronization&.updated_at || historical_not_enabled_and_not_first_sync || date_filtering_limit
|
125
|
+
end
|
126
|
+
|
127
|
+
def historical_not_enabled_and_not_first_sync
|
128
|
+
!historical_data && synchronizations&.first&.created_at
|
125
129
|
end
|
126
130
|
|
127
131
|
def reset_synchronized_entities(default = false)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: maestrano-connector-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Maestrano
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-09-
|
11
|
+
date: 2017-09-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|