wedge 0.1.32 → 0.1.33
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/roda/plugins/wedge.rb +0 -7
- data/lib/wedge/version.rb +1 -1
- 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: 7df1d70270e9b266ddcca8f775100eeb7b36961c
|
4
|
+
data.tar.gz: 9a54db8f651a7d45d5299af76513fa237a0c1630
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3838b00e44683f9f7816b5b408ed346af8bb0f1799bfe8529b2bff24c128502634f10750c6aa8f0d844a876ee1be91c350f1eb973c6a5ef60f68b1a5be02a003
|
7
|
+
data.tar.gz: d995cfa3ce1c44e058bf9cb55ef222b39f62347f6f152616f510f5de10c0d51dda2c2638b30e38093d6cae8f7e9291b45261720e44e08403bdb3dea213e4873a
|
data/lib/roda/plugins/wedge.rb
CHANGED
@@ -2,13 +2,6 @@ class Roda
|
|
2
2
|
module RodaPlugins
|
3
3
|
class WedgePlugin
|
4
4
|
def self.configure(app, opts = false, &block)
|
5
|
-
case opts || block
|
6
|
-
when Proc
|
7
|
-
Wedge.config.instance_eval &opts
|
8
|
-
else
|
9
|
-
opts.each { |k, v| Wedge.config.send "#{k}=", v }
|
10
|
-
end
|
11
|
-
|
12
5
|
app.use Wedge::Middleware, opts || block
|
13
6
|
end
|
14
7
|
|
data/lib/wedge/version.rb
CHANGED