twirp-on-rails 1.0.1.pre → 1.0.1

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: 2925a659b9c79db0bfced51d9f8e8c3c86a9c9b4977f64611f7f57d7b2597c00
4
- data.tar.gz: 56abcb2fa1e40241eef7f3199529bf4a83971f82358f679526a38b482c12cb79
3
+ metadata.gz: 97395472e03e70358a2a271d158f7661df878b3b9ada26d79b220975065d4b35
4
+ data.tar.gz: b4188b09886154375a8f7e931d4d363c27bdf40a000044e73960e92266ccf2b1
5
5
  SHA512:
6
- metadata.gz: 28a1b6ec586b9e129a64390a5e727aee495a2c624d74ca9b94ac0a1548b5fd36d4951a6e1bc256ca560ea3909a45c4e637dce401a8a77953d2faa6628644674e
7
- data.tar.gz: 661c948ab6ca8b80d83fd882581d4e1246e541aebb2416e62fcafa1f202454453d8ccd7dadcb9ef0b6b8171eefef68aa19794d647595d2fe1a49e7c35fd8a0d4
6
+ metadata.gz: '0729dc21f25c3c40eda3fb080a70a67c67d3864a3be85a740e27b9e41e2d9d8548ccec114ebe42b923f240a33234090111ea00ce00dfa8729ecf43c546707002'
7
+ data.tar.gz: 2d4d1bc20c93b7860356d431520ef7e5468ab3b1c45134ea63100bee64bf204517aefa768940c1429f105baadb8bf23eaa616e5e0d6b37cda8d8f1cf8cbdcd49
@@ -32,7 +32,7 @@ module Twirp
32
32
  when "POST"
33
33
  status, headers, body = response = @app.call(env)
34
34
  # Rack 3 settles on only allowing lowercase headers
35
- if Rack.release < "3.0"
35
+ if ::Rack.release < "3.0"
36
36
  headers = ::Rack::Utils::HeaderHash[headers]
37
37
  end
38
38
 
@@ -40,7 +40,7 @@ module Twirp
40
40
  response[0] = 304
41
41
  headers.delete(::Rack::CONTENT_TYPE)
42
42
  headers.delete(::Rack::CONTENT_LENGTH)
43
- response[2] = Rack::BodyProxy.new([]) do
43
+ response[2] = ::Rack::BodyProxy.new([]) do
44
44
  body.close if body.respond_to?(:close)
45
45
  end
46
46
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Twirp
4
4
  module Rails
5
- VERSION = "1.0.1.pre"
5
+ VERSION = "1.0.1"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: twirp-on-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1.pre
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Morrison