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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 265cc907f2f83c15f0221f4cf6d3f98fdc64eff7
4
- data.tar.gz: 0add6b4c8ee7486aaea436e7a9154dd74c1c8f99
3
+ metadata.gz: f1f5bcfdafaebe774af8b52d41ca4ebc390ba10c
4
+ data.tar.gz: e962fbcea805ad1d40bef4e8ce57d959f9d5821e
5
5
  SHA512:
6
- metadata.gz: 8d38e86bea4b17599d525dea789be82f1fb588de87fbf24ea44d8a43dbf6f19259ae955dba051403ec839587451692fc231c802bc26d7033268efd321e3c0e7c
7
- data.tar.gz: fe7c40cbf6ccab8789c1dd979d65f85bf3680b9a9b0c4d02060fcb9a8731d06b8102d117564253bdd87091af6b19b970c5424b26426a9e34edde001a67add3c2
6
+ metadata.gz: 9705ed4af4c7d587626b2ab22b8c05ac2293c2f9e86582042c59ef19e015b92c9a4e924af7a2d6bf749994334646892579cb041bca01e6a9e8aa910a9c21a490
7
+ data.tar.gz: 6923f9b330c8e440a8bb57564faa6eb4cda84c7cd4762b65c49fb262bd35b5aba7288f6a22dfdf59c02af803711411e969e9899bb81a3e9ab1c7fc7e4e310bf2
data/.gitignore CHANGED
@@ -7,3 +7,4 @@
7
7
  /pkg/
8
8
  /spec/reports/
9
9
  /tmp/
10
+ mongoid_with_global_id-*.gem
@@ -1,11 +1,13 @@
1
1
  require "mongoid_with_global_id/version"
2
2
 
3
- module MongoidWithGlobalId
4
- # Your code goes here...
5
- end
6
- class Mongoid::Relations::Proxy
7
- include GlobalID::Identification
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
@@ -1,3 +1,3 @@
1
1
  module MongoidWithGlobalId
2
- VERSION = "0.1.0"
2
+ VERSION = "0.2.0"
3
3
  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.1.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: 2015-08-13 00:00:00.000000000 Z
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.4.6
78
+ rubygems_version: 2.5.2.3
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Adds GlobalId integration in mongoid.