rack-grid-serve 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/rack/grid_serve.rb +6 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a1e7d942af67025e60ab4544cb9290d2e47be3fa
4
- data.tar.gz: 90303c5ca21d6b39cfc03a1561c2ababdb67d079
3
+ metadata.gz: 63f35a11b41e6eaa58d6b4f551a2c01b0587a454
4
+ data.tar.gz: ae71fad11bdbae5d22e5463071aa46bcb64044ec
5
5
  SHA512:
6
- metadata.gz: 8d1f87bbbbd956d8f6e4341abacb287d4937f508f99274ba35ccdc7e3a1b86fabd95f4f106fdba8b38c023d312702b048fe2fe743bbc96ded4793e0879cfa9a6
7
- data.tar.gz: 54044d1fd3607c00bb68dcd59455e459c9270c8fbb61afabcc2378aab4d2b6c4a8a9563425ca7d985088ae7c3b718380493bd5d851565e17e8cea589255ab57a
6
+ metadata.gz: a94a6fdc7255f751b7a7f67c7af36fb003c990ec9b3388bfc95c674ec125eba229ec4e64c6a819d876ca4333a8a8de82942ee8d7c23d4ad568dae92f2edc868e
7
+ data.tar.gz: 4f0140346dae36dc395fa373225ba0182172e762bdb8d21b9caf96be608e9924d872d560e0be626af417c88a5b064a9533881cb1c9136826311d13b9f88c9dd7
@@ -1,10 +1,14 @@
1
1
  require 'mongo'
2
2
  require 'rack/request'
3
- require 'rack/conditional_get'
3
+ begin
4
+ require 'rack/conditional_get'
5
+ rescue
6
+ require 'rack/conditionalget'
7
+ end
4
8
 
5
9
  class Rack::GridServe
6
10
 
7
- VERSION = '0.0.3'
11
+ VERSION = '0.0.4'
8
12
 
9
13
  def initialize app, opts={}
10
14
  @app = app
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-grid-serve
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mickael Riga