active_record_shards 3.3.6 → 3.3.7

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
  SHA1:
3
- metadata.gz: 07f7aafe3e35b846ad5e4e38dd74b45be9275e26
4
- data.tar.gz: 9ac01c4f0ba7c7ce10e72ecd204bf01293edddb6
3
+ metadata.gz: a1b7e6290155b61ab8d6de57e98a4c6e6727366f
4
+ data.tar.gz: a7347ed77bc82aaf391c060446f249df215c1d2d
5
5
  SHA512:
6
- metadata.gz: 7840ad3d09071733566bf6ebc00838513fa185eba16a7870fac93c8c5249ab050240529a3e8fbe707fff5afbd20b20e3ef5e17ace0db85f72316cd9fbae583e3
7
- data.tar.gz: 358707304bf8a5663f0360fde544cc24a7d7594314bb6137383ecd7e609169e78b6450696ea8d4305b3d741ff2814266e21ee91e8fb5eae1700669dc821ab944
6
+ metadata.gz: 0411bc3189931932d5c0c68f04b0384ff6238c21b2efacd1fa5f4fe6c4b838f1709dadffc0ca03e97fa97561b774c74ad702a275a63e138a8b63681d0751307f
7
+ data.tar.gz: 3014ac7e0b4a5676bb38dc6f49b85af28848205274e6ce9b2ad59c6eb354e2f9c2206cf3a1899fcb8554b7a44c3ce798d4b28f9c9d15c6d9a4ea413706fd0c80
@@ -9,7 +9,7 @@ module ActiveRecordShards
9
9
 
10
10
  def is_sharded?
11
11
  if self == ActiveRecord::Base
12
- true
12
+ supports_sharding?
13
13
  elsif self == base_class
14
14
  @sharded != false
15
15
  else
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.3.6
4
+ version: 3.3.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mick Staugaard
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2015-02-12 00:00:00.000000000 Z
13
+ date: 2015-02-27 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activerecord