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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/lib/mongoid-dsl/monkey.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: aee34566f05a375f7d79f2ac900dc145aa89d4b7
4
- data.tar.gz: a9f7489aab61abd4bb01a4ee9f6d3eb966dcaa76
3
+ metadata.gz: 9ce9fd622b822d2ed4d59ab7bbbe99d045ff168b
4
+ data.tar.gz: 3513ef93db8844c5f6a8e7910f36548e1ea12f4b
5
5
  SHA512:
6
- metadata.gz: a31d30c584b0e79418c02039088ef945713419257bd119fad1f50e1968996c98cb462cd7534e88eb67276aa642de22a030ceddb3401c22f6d171e53aee3d4830
7
- data.tar.gz: 90f1a667bf7db4daa1c4a833ec56d99fa9172d6a706b514389e1eecb796a850a048ebb678500a840888f2e82b9526e5bdc87e19adacea7c6b4cee514ef3e50cc
6
+ metadata.gz: a4e23bd5d8238d2a2de2b882e8eece27e92a5151417fc090cad5d3e0e5e5b7ad720a214ba74338bf57f6e65148b714ca2cee5a190122058daaec9b2ab7aaf0ef
7
+ data.tar.gz: 6ff276a23de9f9f0db28d3e515eaa11c158daafebedb054987886905cf67083b666f7f656916f82dac1dbe6a7fb533437fa278ea012f0bd84773afd208f0dbf4
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.4.0
1
+ 1.4.1
@@ -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.to_s.constantize
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.0
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-10 00:00:00.000000000 Z
11
+ date: 2014-10-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler