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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: 809ad5808c045d1b4f9b2e7ac5084b0d10ced204c76d85b6649ec8a55384dd04
4
- data.tar.gz: bba8310639966bc33a47ada04d46628a15ddf7a531e92c9ff9cecd9e1050a338
2
+ SHA1:
3
+ metadata.gz: 401c1f7c8f2a5a8ed9cd3c0b9830c1dd7f952762
4
+ data.tar.gz: 9c926550d54849e39606bc707e56e4fdf120de57
5
5
  SHA512:
6
- metadata.gz: 6ccf69f1a56258e1bd8b1c1dd915f50bb2b7fbff026168a08aadb5a71d7ede117bdebfaff48ea0ecd870295d0be810e1f425dd864dbd0ca2532c882b241d8973
7
- data.tar.gz: 8b12e4e22e15e7cfbbc9e635f4b9d6c035ccc20d21afdbc347b9f1ddc6c906dc507362c936cb2de65a52f00de8d6bc96ae7d6e64f1ed5e9f5600a49ac42fc0a6
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
@@ -1,3 +1,3 @@
1
1
  module Switchman
2
- VERSION = "1.12.12"
2
+ VERSION = "1.12.13"
3
3
  end
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.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-12 00:00:00.000000000 Z
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.7.2
263
+ rubygems_version: 2.6.10
263
264
  signing_key:
264
265
  specification_version: 4
265
266
  summary: Rails 4 sharding magic