wip
This commit is contained in:
parent
b024d8d707
commit
f816a41b34
@ -1,7 +1,7 @@
|
|||||||
##
|
##
|
||||||
#
|
#
|
||||||
class GridFS
|
class GridFS
|
||||||
const_set :Version, '1.1.0'
|
const_set :Version, '1.1.1'
|
||||||
|
|
||||||
class << GridFS
|
class << GridFS
|
||||||
def version
|
def version
|
||||||
@ -252,6 +252,10 @@
|
|||||||
put(readable, :filename => filename.to_s)
|
put(readable, :filename => filename.to_s)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def clear
|
||||||
|
file_model.destroy_all
|
||||||
|
end
|
||||||
|
|
||||||
# TODO - opening with a mode = 'w' should return a GridIO::IOProxy
|
# TODO - opening with a mode = 'w' should return a GridIO::IOProxy
|
||||||
# implementing a StringIO-like interface
|
# implementing a StringIO-like interface
|
||||||
#
|
#
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
Gem::Specification::new do |spec|
|
Gem::Specification::new do |spec|
|
||||||
spec.name = "mongoid-grid_fs"
|
spec.name = "mongoid-grid_fs"
|
||||||
spec.version = "1.1.0"
|
spec.version = "1.1.1"
|
||||||
spec.platform = Gem::Platform::RUBY
|
spec.platform = Gem::Platform::RUBY
|
||||||
spec.summary = "mongoid-grid_fs"
|
spec.summary = "mongoid-grid_fs"
|
||||||
spec.description = "a mongoid 3/moped compatible implementation of the grid_fs specification"
|
spec.description = "a mongoid 3/moped compatible implementation of the grid_fs specification"
|
||||||
|
Loading…
Reference in New Issue
Block a user