mongoid_misc 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/carrierwave_ext/{micelaneous.rb → miscellaneous.rb} +0 -0
- data/lib/carrierwave_ext.rb +1 -1
- data/lib/mongoid_misc/{micelaneous.rb → miscellaneous.rb} +1 -1
- data/lib/mongoid_misc/spec.rb +1 -1
- data/lib/mongoid_misc.rb +2 -2
- data/spec/mongo_ext/upsert_spec.rb +1 -1
- data/spec/mongoid_misc/{micelaneous_spec.rb → miscellaneous_spec.rb} +1 -1
- metadata +5 -5
File without changes
|
data/lib/carrierwave_ext.rb
CHANGED
data/lib/mongoid_misc/spec.rb
CHANGED
@@ -12,7 +12,7 @@ end
|
|
12
12
|
# #
|
13
13
|
# # disabpling :set_database_alias
|
14
14
|
# #
|
15
|
-
# Mongoid::
|
15
|
+
# Mongoid::Miscellaneous::ClassMethods.class_eval do
|
16
16
|
# alias_method :_set_database_alias, :set_database_alias
|
17
17
|
# def set_database_alias alias_name; end
|
18
18
|
# end
|
data/lib/mongoid_misc.rb
CHANGED
@@ -12,7 +12,7 @@ require 'will_paginate'
|
|
12
12
|
attribute_convertors
|
13
13
|
belongs_to_with_counter_cache
|
14
14
|
simple_finders
|
15
|
-
|
15
|
+
miscellaneous
|
16
16
|
).each{|file| require "mongoid_misc/#{file}"}
|
17
17
|
|
18
18
|
#
|
@@ -23,7 +23,7 @@ require 'will_paginate'
|
|
23
23
|
Mongoid::AttributeConvertors,
|
24
24
|
Mongoid::BelongsToWithCounterCache,
|
25
25
|
Mongoid::SimpleFinders,
|
26
|
-
Mongoid::
|
26
|
+
Mongoid::Miscellaneous
|
27
27
|
].each{|plugin| Mongoid::Document.send :include, plugin}
|
28
28
|
|
29
29
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mongoid_misc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-07-
|
13
|
+
date: 2011-07-22 00:00:00 +04:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
@@ -146,7 +146,7 @@ files:
|
|
146
146
|
- Rakefile
|
147
147
|
- readme.md
|
148
148
|
- lib/carrierwave_ext/fixes.rb
|
149
|
-
- lib/carrierwave_ext/
|
149
|
+
- lib/carrierwave_ext/miscellaneous.rb
|
150
150
|
- lib/carrierwave_ext/mongoid_embedded.rb
|
151
151
|
- lib/carrierwave_ext/spec.rb
|
152
152
|
- lib/carrierwave_ext.rb
|
@@ -163,7 +163,7 @@ files:
|
|
163
163
|
- lib/mongoid_misc/belongs_to_with_counter_cache.rb
|
164
164
|
- lib/mongoid_misc/gems.rb
|
165
165
|
- lib/mongoid_misc/hacks.rb
|
166
|
-
- lib/mongoid_misc/
|
166
|
+
- lib/mongoid_misc/miscellaneous.rb
|
167
167
|
- lib/mongoid_misc/simple_finders.rb
|
168
168
|
- lib/mongoid_misc/spec.rb
|
169
169
|
- lib/mongoid_misc/support.rb
|
@@ -181,7 +181,7 @@ files:
|
|
181
181
|
- spec/mongo_migration/spec_helper.rb
|
182
182
|
- spec/mongoid_misc/attribute_convertors_spec.rb
|
183
183
|
- spec/mongoid_misc/belongs_to_with_counter_cache_spec.rb
|
184
|
-
- spec/mongoid_misc/
|
184
|
+
- spec/mongoid_misc/miscellaneous_spec.rb
|
185
185
|
- spec/mongoid_misc/simple_finders_spec.rb
|
186
186
|
- spec/mongoid_misc/spec_helper.rb
|
187
187
|
has_rdoc: true
|