synced 1.6.0 → 1.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/synced/model.rb +1 -2
- data/lib/synced/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1ea40c30211956a680d7ef2a3030fbf97cfe45c2
|
|
4
|
+
data.tar.gz: 3cbc1b4d38f7aabc32e54eac1ddf73667de1f13c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8dbad6127fda57a74cb2d4c8fd443fbd8b4d6e7da07a2bb8203d07175f64bc4d146b43da406cfe28175d5a345542373beb5edcb3b5539e9e1a338be6bdb476a9
|
|
7
|
+
data.tar.gz: b9a5699877146d56c1ac2ae2a2da4e94a29308c36bd09a89bf51b1178628ffb5ef3359806394a53c5cc7b19b6d3b9b2938ad78b73a15c95cb1b0f313737551ac
|
data/lib/synced/model.rb
CHANGED
|
@@ -55,8 +55,7 @@ module Synced
|
|
|
55
55
|
:synced_query_params, :synced_timestamp_strategy, :synced_strategy, :synced_handle_processed_objects_proc
|
|
56
56
|
self.synced_strategy = strategy
|
|
57
57
|
self.synced_id_key = options.fetch(:id_key, :synced_id)
|
|
58
|
-
self.synced_data_key = options.fetch(:data_key
|
|
59
|
-
synced_column_presence(:synced_data))
|
|
58
|
+
self.synced_data_key = options.fetch(:data_key) { synced_column_presence(:synced_data) }
|
|
60
59
|
self.synced_local_attributes = options.fetch(:local_attributes, [])
|
|
61
60
|
self.synced_associations = options.fetch(:associations, [])
|
|
62
61
|
self.synced_only_updated = options.fetch(:only_updated, synced_strategy == :updated_since)
|
data/lib/synced/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: synced
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.6.
|
|
4
|
+
version: 1.6.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sebastien Grosjean
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2017-
|
|
12
|
+
date: 2017-10-24 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rails
|
|
@@ -238,9 +238,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
238
238
|
version: '0'
|
|
239
239
|
requirements: []
|
|
240
240
|
rubyforge_project:
|
|
241
|
-
rubygems_version: 2.
|
|
241
|
+
rubygems_version: 2.6.14
|
|
242
242
|
signing_key:
|
|
243
243
|
specification_version: 4
|
|
244
244
|
summary: Keep your BookingSync Application synced with BookingSync.
|
|
245
245
|
test_files: []
|
|
246
|
-
has_rdoc:
|