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.
- checksums.yaml +4 -4
- data/lib/rack/grid_serve.rb +6 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 63f35a11b41e6eaa58d6b4f551a2c01b0587a454
|
4
|
+
data.tar.gz: ae71fad11bdbae5d22e5463071aa46bcb64044ec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a94a6fdc7255f751b7a7f67c7af36fb003c990ec9b3388bfc95c674ec125eba229ec4e64c6a819d876ca4333a8a8de82942ee8d7c23d4ad568dae92f2edc868e
|
7
|
+
data.tar.gz: 4f0140346dae36dc395fa373225ba0182172e762bdb8d21b9caf96be608e9924d872d560e0be626af417c88a5b064a9533881cb1c9136826311d13b9f88c9dd7
|
data/lib/rack/grid_serve.rb
CHANGED
@@ -1,10 +1,14 @@
|
|
1
1
|
require 'mongo'
|
2
2
|
require 'rack/request'
|
3
|
-
|
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.
|
11
|
+
VERSION = '0.0.4'
|
8
12
|
|
9
13
|
def initialize app, opts={}
|
10
14
|
@app = app
|