active_record_shards 3.13.1 → 3.14.0

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
  SHA256:
3
- metadata.gz: 4eedf7281d2ceede8ee5e0a79dae198d59bd61f1580663c1da1f233ff3110c85
4
- data.tar.gz: 9a1e8e5f42a948a04ca4f579b88ebc8b127734b4128c092b770c28832ec76bd5
3
+ metadata.gz: 4cefdc4fc943b46f49fe54cefae07891f3164d85ecd22a1122d505d89985c8f5
4
+ data.tar.gz: 12947cbb8fefa3b1913ee6e9eba6b2fd12512aae76cdc4eeedd869454bf1add1
5
5
  SHA512:
6
- metadata.gz: b65cd713e2c2752b4d6503db518a5b608de7acf1b389db5c63681537c0a9dd9a3c8fb78916753cc550e4286df79df146c3827196f9b84420de296c15562a391e
7
- data.tar.gz: 29f2a9dac48e493102fec086855c0b5889a8e7b678c0e700e10ac9a2f652932a5bf3c58198387be6cf6854eb1a31f804ade36e9f16b0ac1a0739e60abe7db498
6
+ metadata.gz: ff79d82557e8404dc27d14d4a119d8a0303ef4b79af88ae137cd9b18bef454620ee0c38fcde50989307ef08c98bc5a8bac27bc57d946483ad2f7db0ca6a5d757
7
+ data.tar.gz: 8776bee0e6ed8e67b0aa846138e0492def1edc09090e14d672b2e890671c58c4740bbbb7c67dd61f4f5aef6bf3b54325338ee309bb9fc80e2e442f76980e0ff0
@@ -56,10 +56,6 @@ module ActiveRecordShards
56
56
  def quote_value(*args, &block)
57
57
  self.class.quote_value(*args, &block)
58
58
  end
59
-
60
- def reload_with_slave_off(*args, &block)
61
- self.class.on_master { reload_without_slave_off(*args, &block) }
62
- end
63
59
  end
64
60
 
65
61
  CLASS_SLAVE_METHODS = [:find_by_sql, :count_by_sql, :calculate, :find_one, :find_some, :find_every, :exists?].freeze
@@ -70,9 +66,6 @@ module ActiveRecordShards
70
66
  base.class_eval do
71
67
  include InstanceMethods
72
68
 
73
- alias_method :reload_without_slave_off, :reload
74
- alias_method :reload, :reload_with_slave_off
75
-
76
69
  class << self
77
70
  alias_method :columns_without_force_slave, :columns
78
71
  alias_method :columns, :columns_with_force_slave
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_record_shards
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.13.1
4
+ version: 3.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benjamin Quorning
@@ -13,7 +13,7 @@ authors:
13
13
  autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2019-02-01 00:00:00.000000000 Z
16
+ date: 2019-03-13 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: activerecord
@@ -218,7 +218,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
218
218
  - !ruby/object:Gem::Version
219
219
  version: '0'
220
220
  requirements: []
221
- rubygems_version: 3.0.1
221
+ rubygems_version: 3.0.3
222
222
  signing_key:
223
223
  specification_version: 4
224
224
  summary: Simple database switching for ActiveRecord.