global_uid 3.1.0 → 3.1.1
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.rb +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bca3631deb872ed098d45f080e73d85b206d832b
|
4
|
+
data.tar.gz: c4e0a188f6c04ddeeda5fdd2f46d18020495f27c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 05b8f0b55ae2fb23e7bc2ede2774f5210bbca00993373ab7bae9bcf86149302924e246f73e829acc21aa718b139a9e11f4c9a24000ff88c74cedf4d3e5228d33
|
7
|
+
data.tar.gz: f0ad96d27dcaae602f72481215b9c9d0aa4ec9c3f028de0dd0be7794fc8809c078dd0258dbdc04a9ff9b296dfda781ceb8871ce02662207dbe1f73bc2deadfa0
|
data/lib/global_uid.rb
CHANGED
@@ -15,6 +15,10 @@ end
|
|
15
15
|
ActiveRecord::Base.send(:include, GlobalUid::ActiveRecordExtension)
|
16
16
|
ActiveRecord::Migration.send(:prepend, GlobalUid::MigrationExtension)
|
17
17
|
|
18
|
+
if defined?(ActiveRecord::SchemaMigration)
|
19
|
+
ActiveRecord::SchemaMigration.disable_global_uid
|
20
|
+
end
|
21
|
+
|
18
22
|
if ActiveRecord::VERSION::MAJOR >= 4 && ActiveRecord::VERSION::MINOR >= 1
|
19
23
|
ActiveRecord::Associations::Builder::HasAndBelongsToMany.send(:include, GlobalUid::HasAndBelongsToManyBuilderExtension)
|
20
24
|
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.
|
4
|
+
version: 3.1.1
|
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
|
+
date: 2015-03-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|