udongo 7.8.0 → 7.8.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e97f435ff6a84446f7ff5826ace9409c173a7cf2
4
- data.tar.gz: 9e6c8e8ab81d2a9f9bd8a8341f8a8eeaaced1c17
3
+ metadata.gz: 6ac2a857e0af4cdeb0baba37fc681a48a36596e7
4
+ data.tar.gz: 762e7f621d0f3d79a188d57261a19d8f71408684
5
5
  SHA512:
6
- metadata.gz: b64db4f43f38e0add637f3242966e148f41479f6b6ccab7fa58af211caf703255f1e98b8998a04ee46195eccd5d01df0725eb01ddd9d587ac561eee02d86b44f
7
- data.tar.gz: cf9bfe2b2b2c77c9a34ab67d8a23b90cb6955acea8594a07d7c9baffd4385a6d615d39d4f07c25d9cf75332c6a32f854f2ead954330831a486a40ad76c723e59
6
+ metadata.gz: 8393a62e4a6047c1b4b197399b0f2d24e0ee0c879a3c187130433830def053c841f10ac0f1c0aa7fd30fe3f04af27df2111a2ca0e86b66bdebcd283be7fabd48
7
+ data.tar.gz: 8af1e3a3229334d8d30f1375e5ed9eed946695a5a34d8adeac958640b23f3141e22f5fd12b0131168ff1c736ff8174c92f64a3da0b3b92d661e796e672806ed4
data/changelog.md CHANGED
@@ -1,3 +1,9 @@
1
+ 7.8.1 - 2018-12-04
2
+ --
3
+ * Adds a hotfix to deal with badly formatted HTTP headers in
4
+ Udongo::Redirects::Response#headers.
5
+
6
+
1
7
  7.8.0 - 2018-10-26
2
8
  --
3
9
  * Fixes issue with blank search terms giving an unwanted AR exception.
@@ -13,7 +13,9 @@ module Udongo::Redirects
13
13
  # For now, the last location header is returned as a value.
14
14
  def headers
15
15
  list = @response.header_str.split(/[\r\n]+/).map(&:strip)
16
- Hash[list.flat_map{ |s| s.scan(/^(\S+): (.+)/) }]
16
+ Hash[list.flat_map{ |s| s.scan(/^(\S+): (.+)/) }.map { |pair|
17
+ [pair.first.to_s.camelcase, pair.second]
18
+ }]
17
19
  end
18
20
 
19
21
  def raw
@@ -1,3 +1,3 @@
1
1
  module Udongo
2
- VERSION = '7.8.0'
2
+ VERSION = '7.8.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: udongo
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.8.0
4
+ version: 7.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Davy Hellemans
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-11-30 00:00:00.000000000 Z
12
+ date: 2018-12-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails