rack-grid-serve 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7f5f4c81166fc96ed26ff25aa25d666fd3eb95f8
4
- data.tar.gz: 942718fcfc8c8c49c89bf3c12393de2caadb6dfc
3
+ metadata.gz: d8d02c0adc5dc8eb524837429b93c80f89af4ed6
4
+ data.tar.gz: a5458649f6958628fce85ea78de1352d2be4e54a
5
5
  SHA512:
6
- metadata.gz: d3d479c97d22a6f2ac53f264a167f39b7c6f7333241940f4cfacc031b75e47345278eb7cafe36d4a990539c136f5727c1c016a8c9f40163cdf8a2f324873d777
7
- data.tar.gz: 6be2ba4449518d0886307ae5efa6a7c999537f72be046c40dfe0285982f071c5672596bb769cf592af92a0ba4ee4a54fc484ca3c22e4e4ca2473586be88080d0
6
+ metadata.gz: 25da6c216f9d8e98dc9bb3c47b55f6e564b7e7a52f980584c597f7cd8c373a38cbd947a56274bd2064234b815a39e2ea480a8fe8d6f1411d7955425ff66bb2a1
7
+ data.tar.gz: c91a36ee2c0dac574f6c90b61a49810418907e20f3113c44f6f7d2aa30859eb873584ef5bf14224ad86edc1bc76bf5b9a3f31350966a2a98c5111ffdae653b4d
data/README.md CHANGED
@@ -2,7 +2,7 @@ Rack Grid Serve
2
2
  ===============
3
3
 
4
4
  The purpose of `Rack::GridServe` is to provide an alternative to
5
- [Rack::Gridfs]() which works with the `Mongo` ruby driver version 2.0
5
+ [Rack::Gridfs](https://github.com/skinandbones/rack-gridfs) which works with the `Mongo` ruby driver version 2.0
6
6
  and above. This driver has a different API and while the `Rack::Gridfs`
7
7
  team is working on it, it is not yet ready.
8
8
 
@@ -4,7 +4,7 @@ require 'rack/conditional_get'
4
4
 
5
5
  class Rack::GridServe
6
6
 
7
- VERSION = '0.0.1'
7
+ VERSION = '0.0.2'
8
8
 
9
9
  def initialize app, opts={}
10
10
  @app = app
@@ -17,11 +17,11 @@ Gem::Specification.new do |s|
17
17
  s.test_files = 'test.rb'
18
18
  s.require_paths = ['lib']
19
19
 
20
- s.add_dependency('rack')
20
+ s.add_dependency('rack', '~> 2.0')
21
21
  s.add_dependency('mongo', '~> 2.0')
22
22
 
23
23
  s.add_development_dependency('minitest', '~> 5.8')
24
- s.add_development_dependency('rack-test')
24
+ s.add_development_dependency('rack-test', '~> 0.6')
25
25
 
26
26
  end
27
27
 
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-grid-serve
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mickael Riga
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-03 00:00:00.000000000 Z
11
+ date: 2017-05-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
19
+ version: '2.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '0'
26
+ version: '2.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: mongo
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -56,16 +56,16 @@ dependencies:
56
56
  name: rack-test
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ">="
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '0'
61
+ version: '0.6'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ">="
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '0'
68
+ version: '0.6'
69
69
  description: Rack::GridServe is a Rack middleware for serving files stored in MongoDB
70
70
  GridFS. It is meant as a simple replacement for Rack::GridFS until it is ready for
71
71
  Mongo driver version 2.0 and above.