alephant-broker 3.9.1 → 3.9.2

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
  SHA1:
3
- metadata.gz: 12509a38ecea65750c07b9f2e9bef8ca0e61ea2b
4
- data.tar.gz: 63b8ac4763caaf8ad19022ee5a6c1b5e56895216
3
+ metadata.gz: 3551ebe253cb1eb4939a53c0175a486e018aa640
4
+ data.tar.gz: 112525df499493ea48bbaf9c7c7d7a5aa99c65b9
5
5
  SHA512:
6
- metadata.gz: 67330fbab9d92ed5641cd912f643f9629f7b93750117247c1fd1784ac27f4676b01458c0e1135a239bc4ddc7e39ce96ad0353d4ca98866a6d5d2060d29806e18
7
- data.tar.gz: 46ad00fa515e43a1ebc0ec529cbc3761a96d20213731a94d1aa90507c1462ca13674983a31afd0073ba8d252187602111bf5ae1810d9551550d871ca1574c28a
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
@@ -1,5 +1,5 @@
1
1
  module Alephant
2
2
  module Broker
3
- VERSION = "3.9.1"
3
+ VERSION = "3.9.2"
4
4
  end
5
5
  end
@@ -21,8 +21,8 @@ describe Alephant::Broker::Application do
21
21
  :content_type => "test/content",
22
22
  :content => "Test",
23
23
  :meta => {
24
- "head_ETag" => "123",
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
- "head_ETag" => "abc",
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
  )
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alephant-broker
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.9.1
4
+ version: 3.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - BBC News