synchronisable 1.1.4 → 1.1.5

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5e53ab569c0106db0a2e1f17b9446111c8dde193
4
- data.tar.gz: caebb67d58390fddd864b91a8e8901904f5094bf
3
+ metadata.gz: c70006cc02972431afa0d306a1015738489b60c0
4
+ data.tar.gz: f12f1145a0f3c594e66e689df0e85b333aff056b
5
5
  SHA512:
6
- metadata.gz: 209cee6e20cf9f5edd9b52e105e1c6a9db92beb0fd66a91e1a5841c10594ac41195b2708c6ab8f04776a431b03253c606f6a2185503c8e43b8ff9dd1db74525b
7
- data.tar.gz: bd26bb9a7a7377ff5c3778b9ae3cce6525b99fccee41c4a113680dce94dcadd2bbeb5822141478ee33ca85250a4c2e570c3e26caa59dc9f6b6d5a02111565a6d
6
+ metadata.gz: 2f67edbe1fb55314de9f84ef6db56037865fb0a387c67538a35ce14191d9d5e3a59439b35a49587caed9107943b927a027524a6af39260ef87b99cdae49b4760
7
+ data.tar.gz: 44a3768ad6af8890d1fcc0a2e77cab978196686e8c204b38f5b96cb3a2df4e85a865e64be47d47a5094d9e05043f06a3eb07301f8ff1d4ea116fccd5fcbab153
@@ -13,7 +13,7 @@ module Synchronisable
13
13
  include Synchronisable::DSL::Macro
14
14
  include Synchronisable::DSL::Associations
15
15
 
16
- SYMBOL_ARRAY_CONVERTER = ->(source) { (source || []).map(&:to_s) }
16
+ SYMBOL_ARRAY_CONVERTER = ->(source) { ([*source] || []).map(&:to_s) }
17
17
 
18
18
  # The name of remote `id` attribute.
19
19
  attribute :remote_id, default: :id
@@ -2,7 +2,7 @@ module Synchronisable
2
2
  module VERSION
3
3
  MAJOR = 1
4
4
  MINOR = 1
5
- PATCH = 4
5
+ PATCH = 5
6
6
  SUFFIX = nil
7
7
 
8
8
  STRING = [MAJOR, MINOR, PATCH, SUFFIX].compact.join('.')
@@ -2,4 +2,6 @@ class TeamGroupStatisticSynchronizer < Synchronisable::Synchronizer
2
2
  belongs_to :team
3
3
 
4
4
  gateway TeamGroupStatisticGateway
5
+
6
+ except :ignored
5
7
  end
@@ -8,6 +8,8 @@ FactoryGirl.define do
8
8
  games_lost { generate :integer }
9
9
  games_draw { generate :integer }
10
10
 
11
+ ignored { generate :string }
12
+
11
13
  initialize_with { attributes }
12
14
  end
13
15
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: synchronisable
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.4
4
+ version: 1.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vasiliy Yorkin
@@ -439,7 +439,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
439
439
  version: '0'
440
440
  requirements: []
441
441
  rubyforge_project:
442
- rubygems_version: 2.2.2
442
+ rubygems_version: 2.2.0
443
443
  signing_key:
444
444
  specification_version: 4
445
445
  summary: Provides base fuctionality (models, DSL) for AR synchronization with external