mongoid-ancestry 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mongoid-ancestry/version.rb +1 -7
- data/lib/mongoid-ancestry.rb +7 -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: e5dd4b66b2d758be42f58f57412a652098de6392
|
4
|
+
data.tar.gz: 24d70be814ae5d82975545e1393de6ca64356b12
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c8f034b7ab0c2755c6d378d92ef95346521882b67b1e82d945b6b73c443bfd9be5cf592de171bd41b467afee42923409375a0b721b6b22d772b4ae4e423805f
|
7
|
+
data.tar.gz: e342462b06db5cbf37358d3262ddfc240e515eb2cf44e38ade3818d4d591fce7752aeb5ef4e7fe0baad6ecfc2efb1fc4ee909aee2795b3b75be4b635b6855fb8
|
@@ -1,14 +1,8 @@
|
|
1
1
|
module Mongoid
|
2
2
|
|
3
|
-
def self.mongoid3?
|
4
|
-
::Mongoid.const_defined? :Observer # deprecated in Mongoid 4.x
|
5
|
-
end
|
6
3
|
|
7
|
-
def self.mongoid2?
|
8
|
-
::Mongoid.const_defined? :Contexts # deprecated in Mongoid 3.x
|
9
|
-
end
|
10
4
|
|
11
5
|
module Ancestry
|
12
|
-
VERSION = '0.4.
|
6
|
+
VERSION = '0.4.1'
|
13
7
|
end
|
14
8
|
end
|
data/lib/mongoid-ancestry.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mongoid-ancestry
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stefan Kroes
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-02-
|
12
|
+
date: 2014-02-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|