roda-unpoly 0.2.2 → 0.2.3
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/unpoly.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f8e43d474a7f4516b95cd2e2367597769699e152
|
4
|
+
data.tar.gz: 8d2b53546be4c5478e263d3251823e972d856e98
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 73c3282d2badbe67f2afe4930fc6476393430f41867d363941a269d2760554169a6d981664e6daa2be7b0ecc11352f14e94f21a4ab2307c1334436b538e23dc3
|
7
|
+
data.tar.gz: 239919c5fd661ed956aeb386a544b650c98dd2a38505485c9ce44eefe1e06c2a70898e01f56abb998ac5c5d8183886294497ace3ced17663e265e8d03aa2c602
|
data/lib/roda/plugins/unpoly.rb
CHANGED
@@ -68,7 +68,7 @@ class Roda
|
|
68
68
|
# to satisfy the contract of the Unpoly library. Called early in your
|
69
69
|
# routing tree.
|
70
70
|
def unpoly
|
71
|
-
response.headers["X-Up-Location"] =
|
71
|
+
response.headers["X-Up-Location"] = url
|
72
72
|
response.headers["X-Up-Method"] = request_method
|
73
73
|
|
74
74
|
if !get? && !unpoly?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: roda-unpoly
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Daniels
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-07-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: roda
|
@@ -109,7 +109,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
109
109
|
version: '0'
|
110
110
|
requirements: []
|
111
111
|
rubyforge_project:
|
112
|
-
rubygems_version: 2.6.
|
112
|
+
rubygems_version: 2.6.12
|
113
113
|
signing_key:
|
114
114
|
specification_version: 4
|
115
115
|
summary: Integrate Unpoly with Roda
|