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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bca3631deb872ed098d45f080e73d85b206d832b
4
- data.tar.gz: c4e0a188f6c04ddeeda5fdd2f46d18020495f27c
3
+ metadata.gz: a4c0d229f2e1c92809e0e1da6efab4e0d001d512
4
+ data.tar.gz: 678d63bb8e6ef692db3696da3b2e14c6f9c23ebe
5
5
  SHA512:
6
- metadata.gz: 05b8f0b55ae2fb23e7bc2ede2774f5210bbca00993373ab7bae9bcf86149302924e246f73e829acc21aa718b139a9e11f4c9a24000ff88c74cedf4d3e5228d33
7
- data.tar.gz: f0ad96d27dcaae602f72481215b9c9d0aa4ec9c3f028de0dd0be7794fc8809c078dd0258dbdc04a9ff9b296dfda781ceb8871ce02662207dbe1f73bc2deadfa0
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.1.1
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-03-11 00:00:00.000000000 Z
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.2.2
192
+ rubygems_version: 2.4.7
193
193
  signing_key:
194
194
  specification_version: 4
195
195
  summary: GUID