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.
@@ -2,7 +2,7 @@
2
2
  #
3
3
  module Mongoid
4
4
  class GridFS
5
- const_set :Version, '1.3.0'
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 GridFS.#{ method }(*args, &block)
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
@@ -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.0"
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"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongoid-grid_fs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: