alephant-broker 3.9.1 → 3.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/alephant/broker/component.rb +1 -1
- data/lib/alephant/broker/version.rb +1 -1
- data/spec/integration/rack_spec.rb +4 -4
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3551ebe253cb1eb4939a53c0175a486e018aa640
|
|
4
|
+
data.tar.gz: 112525df499493ea48bbaf9c7c7d7a5aa99c65b9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e99f9ffabc1aeead26a0ee7d8cab8e363b2d8e7274a3b544e0aca9916ecb5157c3aed074c5989523fd97dbf49959a3c442a8276fd53fb03eee0dbdd9d5e3bff6
|
|
7
|
+
data.tar.gz: 7d70165c6a1fdc5a31ca876a744b0d55b3bc62fe5d542fd8d5ad6b63a7f24fb131896958ee2d47bb578816c883d8b643dbf6dbe5faebdd0cf7dc398fa51eed51
|
|
@@ -45,7 +45,7 @@ module Alephant
|
|
|
45
45
|
def meta_data_headers
|
|
46
46
|
@meta_data_headers ||= data[:meta].to_h.reduce({}) do |accum, (k, v)|
|
|
47
47
|
accum.tap do |a|
|
|
48
|
-
a[header_key(k)] = v.to_s if k.start_with?(HEADER_PREFIX)
|
|
48
|
+
a[header_key(k.to_s)] = v.to_s if k.to_s.start_with?(HEADER_PREFIX)
|
|
49
49
|
end
|
|
50
50
|
end
|
|
51
51
|
end
|
|
@@ -21,8 +21,8 @@ describe Alephant::Broker::Application do
|
|
|
21
21
|
:content_type => "test/content",
|
|
22
22
|
:content => "Test",
|
|
23
23
|
:meta => {
|
|
24
|
-
|
|
25
|
-
"head_Last-Modified" => "Mon, 11 Apr 2016 10:39:57 GMT"
|
|
24
|
+
:head_ETag => "123",
|
|
25
|
+
:"head_Last-Modified" => "Mon, 11 Apr 2016 10:39:57 GMT"
|
|
26
26
|
}
|
|
27
27
|
)
|
|
28
28
|
end
|
|
@@ -106,8 +106,8 @@ describe Alephant::Broker::Application do
|
|
|
106
106
|
:content_type => "test/content",
|
|
107
107
|
:content => "Test",
|
|
108
108
|
:meta => {
|
|
109
|
-
|
|
110
|
-
"head_Last-Modified" => "Mon, 11 Apr 2016 09:39:57 GMT"
|
|
109
|
+
:head_ETag => "abc",
|
|
110
|
+
:"head_Last-Modified" => "Mon, 11 Apr 2016 09:39:57 GMT"
|
|
111
111
|
}
|
|
112
112
|
)
|
|
113
113
|
)
|