hanami-lambda 0.2.3 → 0.2.4

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: 5290d421a5921a83e73ef847aa3b761f78729ed6ffc33f91f61920bdf766a1d4
4
- data.tar.gz: b3686c49f793cb2d8fd515263399c9d8505501be4857943fa665197dec6f73e1
3
+ metadata.gz: d79f8deb05e6842cbcda2d3088f86abeef6c66c9e9d1aa5c2d8b9c978309eee7
4
+ data.tar.gz: 9f119eee452349d784367c8f6d1d0e6dbb449ccffad07d54fce2736c1e382d3a
5
5
  SHA512:
6
- metadata.gz: 6caf8a054cb18911dc8eabe5a0a02b06c1adbba89eb7d8aceec1e53b037e5d5b17a9ce733b98f8fb9434e3751154499c311123d15fe48ea20edbfe1b4fb50de7
7
- data.tar.gz: eed1763d24481397ada1a15130e94f898a08c5e616b62e3b8220510ee6f94fa5339638613dc5167696adbd41eeef9633d125b37a9d7ea34a90284b2235fbc92d
6
+ metadata.gz: d5ae9124e698c6932e403cb5dbbf14ea366426bc1a9c75a92428d4d0857fae7f6ab822e23cdeae5049b2f8ca51c79aa50d5d4d0789b22e89bacb770e409acd76
7
+ data.tar.gz: a8c9d741f21d96269dbd557343d4fc0574b84d91550f4ea58016eda5b3feda92c1f75e64d28e1cf14ff2ef1c5df353d379c5ae56782cb78f047f2b8b766cf1c5
@@ -53,7 +53,7 @@ module Hanami
53
53
  headers.delete("content-type") ||
54
54
  headers.delete("CONTENT_TYPE")
55
55
  env["CONTENT_TYPE"] = content_type if content_type
56
- end.merge(headers)
56
+ end.merge(headers.transform_keys { |k| "HTTP_#{k.upcase.tr('-', '_')}" })
57
57
  end
58
58
  end
59
59
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Hanami
4
4
  module Lambda
5
- VERSION = "0.2.3"
5
+ VERSION = "0.2.4"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hanami-lambda
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aotokitsuruya