mongoid-grid_fs 1.3.3 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,7 +2,7 @@
2
2
  #
3
3
  module Mongoid
4
4
  class GridFS
5
- const_set :Version, '1.3.3'
5
+ const_set :Version, '1.4.0'
6
6
 
7
7
  class << GridFS
8
8
  def version
@@ -293,7 +293,7 @@
293
293
  field(:contentType, :type => String, :default => 'application/octet-stream')
294
294
 
295
295
  field(:length, :type => Integer, :default => 0)
296
- field(:chunkSize, :type => Integer, :default => (256 * (2 ** 20)))
296
+ field(:chunkSize, :type => Integer, :default => (256 * (2 ** 10)))
297
297
  field(:uploadDate, :type => Date, :default => Time.now.utc)
298
298
  field(:md5, :type => String, :default => Digest::MD5.hexdigest(''))
299
299
 
@@ -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.3"
6
+ spec.version = "1.4.0"
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.3
4
+ version: 1.4.0
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: 2012-10-30 00:00:00.000000000 Z
12
+ date: 2012-11-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mongoid