mongoid_with_global_id 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/lib/mongoid_with_global_id.rb +7 -5
- data/lib/mongoid_with_global_id/version.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: f1f5bcfdafaebe774af8b52d41ca4ebc390ba10c
|
|
4
|
+
data.tar.gz: e962fbcea805ad1d40bef4e8ce57d959f9d5821e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9705ed4af4c7d587626b2ab22b8c05ac2293c2f9e86582042c59ef19e015b92c9a4e924af7a2d6bf749994334646892579cb041bca01e6a9e8aa910a9c21a490
|
|
7
|
+
data.tar.gz: 6923f9b330c8e440a8bb57564faa6eb4cda84c7cd4762b65c49fb262bd35b5aba7288f6a22dfdf59c02af803711411e969e9899bb81a3e9ab1c7fc7e4e310bf2
|
data/.gitignore
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
require "mongoid_with_global_id/version"
|
|
2
2
|
|
|
3
|
-
module MongoidWithGlobalId
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
class Mongoid::Relations::Proxy
|
|
7
|
-
|
|
3
|
+
module MongoidWithGlobalId; end
|
|
4
|
+
|
|
5
|
+
if defined? Mongoid::Relations::Proxy
|
|
6
|
+
class Mongoid::Relations::Proxy
|
|
7
|
+
include GlobalID::Identification
|
|
8
|
+
end
|
|
8
9
|
end
|
|
10
|
+
|
|
9
11
|
module Mongoid::Document
|
|
10
12
|
include GlobalID::Identification
|
|
11
13
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: mongoid_with_global_id
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Artur Panach
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2018-08-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
75
75
|
version: '0'
|
|
76
76
|
requirements: []
|
|
77
77
|
rubyforge_project:
|
|
78
|
-
rubygems_version: 2.
|
|
78
|
+
rubygems_version: 2.5.2.3
|
|
79
79
|
signing_key:
|
|
80
80
|
specification_version: 4
|
|
81
81
|
summary: Adds GlobalId integration in mongoid.
|