mongoid-grid_fs 1.3.0 → 1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/mongoid-grid_fs.rb +3 -3
- data/mongoid-grid_fs.gemspec +1 -1
- metadata +1 -1
data/lib/mongoid-grid_fs.rb
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
#
|
3
3
|
module Mongoid
|
4
4
|
class GridFS
|
5
|
-
const_set :Version, '1.3.
|
5
|
+
const_set :Version, '1.3.1'
|
6
6
|
|
7
7
|
class << GridFS
|
8
8
|
def version
|
@@ -85,8 +85,8 @@
|
|
85
85
|
|
86
86
|
to_delegate.each do |method|
|
87
87
|
class_eval <<-__
|
88
|
-
def
|
89
|
-
::GridFS::Fs::#{ method }(*args, &block)
|
88
|
+
def self.#{ method }(*args, &block)
|
89
|
+
::Mongoid::GridFS::Fs::#{ method }(*args, &block)
|
90
90
|
end
|
91
91
|
__
|
92
92
|
end
|
data/mongoid-grid_fs.gemspec
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
Gem::Specification::new do |spec|
|
5
5
|
spec.name = "mongoid-grid_fs"
|
6
|
-
spec.version = "1.3.
|
6
|
+
spec.version = "1.3.1"
|
7
7
|
spec.platform = Gem::Platform::RUBY
|
8
8
|
spec.summary = "mongoid-grid_fs"
|
9
9
|
spec.description = "a mongoid 3/moped compatible implementation of the grid_fs specification"
|