switchman 1.12.12 → 1.12.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/db/shard_1708.sqlite3 +0 -0
- data/lib/switchman/active_record/association.rb +1 -0
- data/lib/switchman/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 401c1f7c8f2a5a8ed9cd3c0b9830c1dd7f952762
|
4
|
+
data.tar.gz: 9c926550d54849e39606bc707e56e4fdf120de57
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b03616d2b6a58bfbce3b42348ed56df17fa62a98cfa835131cd99eb3118cd128ef5e76baac3bc751fd071ddd9cb6dcb414bc0f7ef79604eebb96e0c6bf248587
|
7
|
+
data.tar.gz: c308e423afbf6f283fd17180bde96c498c354175f29755ab6f016b07f7959825fcd054488a8a37adc1fe84edcb4f188de85d5d0934dd3f50ffb877fd01179b73
|
File without changes
|
@@ -144,6 +144,7 @@ module Switchman
|
|
144
144
|
owner_key = Shard.global_id_for(owner_key, record.shard) if owner_key && record.class.sharded_column?(association_key_name)
|
145
145
|
|
146
146
|
owners_map[owner_key.to_s].each do |owner|
|
147
|
+
owner.association(reflection.name).set_inverse_instance(record)
|
147
148
|
records_by_owner[owner] << record
|
148
149
|
end
|
149
150
|
end
|
data/lib/switchman/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: switchman
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.12.
|
4
|
+
version: 1.12.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cody Cutrer
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2018-10-
|
13
|
+
date: 2018-10-24 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: railties
|
@@ -193,6 +193,7 @@ files:
|
|
193
193
|
- db/migrate/20161206323434_add_back_default_string_limits_switchman.rb
|
194
194
|
- db/migrate/20180828183945_add_default_shard_index.rb
|
195
195
|
- db/migrate/20180828192111_add_timestamps_to_shards.rb
|
196
|
+
- db/shard_1708.sqlite3
|
196
197
|
- lib/switchman.rb
|
197
198
|
- lib/switchman/action_controller/caching.rb
|
198
199
|
- lib/switchman/active_record/abstract_adapter.rb
|
@@ -259,7 +260,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
259
260
|
version: '0'
|
260
261
|
requirements: []
|
261
262
|
rubyforge_project:
|
262
|
-
rubygems_version: 2.
|
263
|
+
rubygems_version: 2.6.10
|
263
264
|
signing_key:
|
264
265
|
specification_version: 4
|
265
266
|
summary: Rails 4 sharding magic
|