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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f1aece4170c9dd2428b5f290fa9d157a4fed1172af19c043879d9125d9e69971
4
- data.tar.gz: '008b057c819435065a6dd6bd9fa7389769bfef2708f62003d48d45dc44d449a8'
3
+ metadata.gz: b1d00fdd137f06a92af615b824a865a04a2537727b20b08ab297668c2470897f
4
+ data.tar.gz: 2858a34eea2cfdf57f3bd222fe060727555bc64afde20b8a0e4c738911f4e1dd
5
5
  SHA512:
6
- metadata.gz: ede8e4810fd20598e99cc8b24704d2804592bfd450445a96e3ec4bbeb4e047c6482980db46861b318c5741c6a626a57b569795031a0bd9823990119751507644
7
- data.tar.gz: 66d658948a3df18ebee16615290eb66098282782eb823543bce931f0b679e2907aa94c886783b4f3d89d5e36fd20052da0141610838a48c703bb3edaceab52e0
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["X-Up-Method"] = request.request_method
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!(
@@ -1,5 +1,5 @@
1
1
  module Rack
2
2
  module Unpoly
3
- VERSION = "0.4.1"
3
+ VERSION = "0.5.0"
4
4
  end
5
5
  end
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.1
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: 2023-04-13 00:00:00.000000000 Z
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: '3.0'
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: '3.0'
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: '3.0'
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: '3.0'
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.4.8
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