rack-unpoly 0.4.1 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rack/unpoly/middleware.rb +1 -1
- data/lib/rack/unpoly/version.rb +1 -1
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b1d00fdd137f06a92af615b824a865a04a2537727b20b08ab297668c2470897f
|
4
|
+
data.tar.gz: 2858a34eea2cfdf57f3bd222fe060727555bc64afde20b8a0e4c738911f4e1dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2aa9bb0072d7b35c8b457a4416c9e270ed55ee84ee88f04562f6d7746cec2ef681935ad61f63a6b7cfbdfd1a3ae12c3acaf369462d4675ed7210a1e4233d2a28
|
7
|
+
data.tar.gz: 5fe455a5a6db850ecf4bb8d2d00b48f2b16d115020f17b5991e87d9b37f46cc42dc9b6b6b828a33416c242c7dae47f3658402cb6c8032f2fe82a287ba30e9339
|
@@ -46,7 +46,7 @@ module Rack
|
|
46
46
|
# Used internally by the middleware. Not required for normal use.
|
47
47
|
# @api private
|
48
48
|
def setup_protocol(request, headers)
|
49
|
-
headers["
|
49
|
+
headers["x-up-method"] = request.request_method
|
50
50
|
|
51
51
|
if !request.get? && !request.env["rack.unpoly"].unpoly?
|
52
52
|
Rack::Utils.set_cookie_header!(
|
data/lib/rack/unpoly/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack-unpoly
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Daniels
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-02-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '2.0'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '
|
22
|
+
version: '4.0'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '2.0'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '
|
32
|
+
version: '4.0'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: minitest
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -90,16 +90,16 @@ dependencies:
|
|
90
90
|
name: sinatra
|
91
91
|
requirement: !ruby/object:Gem::Requirement
|
92
92
|
requirements:
|
93
|
-
- - "
|
93
|
+
- - ">="
|
94
94
|
- !ruby/object:Gem::Version
|
95
|
-
version: '
|
95
|
+
version: '0'
|
96
96
|
type: :development
|
97
97
|
prerelease: false
|
98
98
|
version_requirements: !ruby/object:Gem::Requirement
|
99
99
|
requirements:
|
100
|
-
- - "
|
100
|
+
- - ">="
|
101
101
|
- !ruby/object:Gem::Version
|
102
|
-
version: '
|
102
|
+
version: '0'
|
103
103
|
- !ruby/object:Gem::Dependency
|
104
104
|
name: standard
|
105
105
|
requirement: !ruby/object:Gem::Requirement
|
@@ -146,7 +146,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
146
146
|
- !ruby/object:Gem::Version
|
147
147
|
version: '0'
|
148
148
|
requirements: []
|
149
|
-
rubygems_version: 3.
|
149
|
+
rubygems_version: 3.5.5
|
150
150
|
signing_key:
|
151
151
|
specification_version: 4
|
152
152
|
summary: Integrate Unpoly with any Rack or Sinatra application
|