global_uid 3.1.1 → 3.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/global_uid/active_record_extension.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a4c0d229f2e1c92809e0e1da6efab4e0d001d512
|
4
|
+
data.tar.gz: 678d63bb8e6ef692db3696da3b2e14c6f9c23ebe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 41b5c2c2716975be2b808e4ad0322ff04b00b2b0315034443ad4793ca8d95c43dff699a7905d602ae89eb40efeed35bb41dbd1593b8cad599185f159350cd66c
|
7
|
+
data.tar.gz: 9bc16fb1be55208a00088de408cb127d1974d330393ebfbdaa7cb36d915b6cde478db590f7baee6d0a4259a724606872fb0d7de23890a4ba6a87b27caa3f1670
|
@@ -61,7 +61,7 @@ module GlobalUid
|
|
61
61
|
def ensure_global_uid_table
|
62
62
|
return @global_uid_table_exists if @global_uid_table_exists
|
63
63
|
GlobalUid::Base.with_connections do |connection|
|
64
|
-
raise "Global UID table #{global_uid_table} not found!" unless connection.table_exists?(global_uid_table)
|
64
|
+
raise "Global UID table #{global_uid_table} not found!" unless connection.schema_cache.table_exists?(global_uid_table.to_s)
|
65
65
|
end
|
66
66
|
@global_uid_table_exists = true
|
67
67
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: global_uid
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben Osheroff
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-07-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -189,7 +189,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
189
189
|
version: '0'
|
190
190
|
requirements: []
|
191
191
|
rubyforge_project:
|
192
|
-
rubygems_version: 2.
|
192
|
+
rubygems_version: 2.4.7
|
193
193
|
signing_key:
|
194
194
|
specification_version: 4
|
195
195
|
summary: GUID
|