mongoid-grid_fs 1.7.0 → 1.7.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 +4 -3
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.7.
|
5
|
+
const_set :Version, '1.7.1'
|
6
6
|
|
7
7
|
class << GridFS
|
8
8
|
def version
|
@@ -209,8 +209,8 @@
|
|
209
209
|
|
210
210
|
file.save!
|
211
211
|
file
|
212
|
-
|
213
|
-
chunks.each{|chunk| chunk.destroy rescue nil}
|
212
|
+
rescue
|
213
|
+
chunks.each{|chunk| chunk.destroy rescue nil}
|
214
214
|
end
|
215
215
|
|
216
216
|
if defined?(Moped)
|
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.7.
|
6
|
+
spec.version = "1.7.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.7.
|
4
|
+
version: 1.7.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-04-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: mongoid
|
@@ -79,8 +79,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
79
79
|
version: '0'
|
80
80
|
requirements: []
|
81
81
|
rubyforge_project: codeforpeople
|
82
|
-
rubygems_version: 1.8.
|
82
|
+
rubygems_version: 1.8.23
|
83
83
|
signing_key:
|
84
84
|
specification_version: 3
|
85
85
|
summary: mongoid-grid_fs
|
86
86
|
test_files: []
|
87
|
+
has_rdoc:
|