mongoid-grid_fs 1.3.2 → 1.3.3

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.
data/README.md CHANGED
@@ -13,11 +13,15 @@ SYNOPSIS
13
13
 
14
14
  require 'mongoid-grid_fs'
15
15
 
16
- g = GridFs.put readable
16
+ grid_fs = Mongoid::GridFs
17
17
 
18
- GridFS.get id
18
+ g = grid_fs.put(readable)
19
19
 
20
- GridFS.delete id
20
+ g = g.id
21
+
22
+ grid_fs.get(id)
23
+
24
+ grid_fs.delete(id)
21
25
 
22
26
 
23
27
  ````
@@ -2,7 +2,7 @@
2
2
  #
3
3
  module Mongoid
4
4
  class GridFS
5
- const_set :Version, '1.3.2'
5
+ const_set :Version, '1.3.3'
6
6
 
7
7
  class << GridFS
8
8
  def version
@@ -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.2"
6
+ spec.version = "1.3.3"
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.2
4
+ version: 1.3.3
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-07-27 00:00:00.000000000 Z
12
+ date: 2012-10-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mongoid