mongoid-dsl 1.4.0 → 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/mongoid-dsl/monkey.rb +1 -1
- 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: 9ce9fd622b822d2ed4d59ab7bbbe99d045ff168b
|
4
|
+
data.tar.gz: 3513ef93db8844c5f6a8e7910f36548e1ea12f4b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a4e23bd5d8238d2a2de2b882e8eece27e92a5151417fc090cad5d3e0e5e5b7ad720a214ba74338bf57f6e65148b714ca2cee5a190122058daaec9b2ab7aaf0ef
|
7
|
+
data.tar.gz: 6ff276a23de9f9f0db28d3e515eaa11c158daafebedb054987886905cf67083b666f7f656916f82dac1dbe6a7fb533437fa278ea012f0bd84773afd208f0dbf4
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.4.
|
1
|
+
1.4.1
|
data/lib/mongoid-dsl/monkey.rb
CHANGED
@@ -572,7 +572,7 @@ module Mongoid
|
|
572
572
|
Mongoid.models.each do |model_name|
|
573
573
|
mongoid_model_name= model_name.mongoid_name
|
574
574
|
if [mongoid_model_name,mongoid_model_name+'s'].any?{|mn| self.to_s == mn }
|
575
|
-
return model_name
|
575
|
+
return model_name
|
576
576
|
end
|
577
577
|
end
|
578
578
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mongoid-dsl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Luzsi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-10-
|
11
|
+
date: 2014-10-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|