richurls 0.1.7 → 0.1.8

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: 2dbdaf4f9df0bf062450ca64a1957cc50c0dfe50e634385d5eb0de5e0d851eb9
4
- data.tar.gz: 297cdeede9eef0a557edaa3c628597beeaeb8508e79bb22f23dc96de0dbdcc54
3
+ metadata.gz: f9cd9e82d9d29588c3bb14b489d64e576122be0ddda73b201666c618e8c4ffdd
4
+ data.tar.gz: 8c0eeca52bb8c0aab4e473cde5a51328ba6da040f9f1d35106614ea86ee1d92f
5
5
  SHA512:
6
- metadata.gz: 6d04c4edf4dfdbfb04898200a1b159cf6bb2db1a510389842c9cf53f56396bb980fe4984c144b152bde6af63f586fe4df8414ea1dae04b736ae099b18dec5ce0
7
- data.tar.gz: 03d4333c1d937006a1e0295e31bc919108a6765d8a42710ad50b20650ddb0bd669fa8fb6f0c1fb1b6564f70c37fe574ea26359bc47ca771cdb2ec7a864d77372
6
+ metadata.gz: bcadc8f1f4bc37d3cc01736fc50b67069522d83a719198e449eadfaf5c594ab97e009ce1e0ec073226df447e9ad7e050ebec90e9133e93f33fd5da66c7aa2093
7
+ data.tar.gz: f77ba6721d869163c79666538d581b43d00dfa8807d4e43ea75152f47f11dd46c3db63557b12520729dfb4e8f43842dc3eda5580e5d1419b7a5252db76ee57c9
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- richurls (0.1.7)
4
+ richurls (0.1.8)
5
5
  oj (~> 3)
6
6
  ox (~> 2)
7
7
  patron (~> 0.13)
@@ -37,7 +37,7 @@ module RichUrls
37
37
 
38
38
  def decorate
39
39
  PARSERS.each_with_object({}) do |(key, parser), object|
40
- object[key] = parser.call(@xml, @url)
40
+ object[key] = parser.call(@xml, @url)&.force_encoding('UTF-8')
41
41
  end
42
42
  end
43
43
  end
data/richurls.gemspec CHANGED
@@ -3,7 +3,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
3
 
4
4
  Gem::Specification.new do |spec|
5
5
  spec.name = 'richurls'
6
- spec.version = '0.1.7'
6
+ spec.version = '0.1.8'
7
7
  spec.authors = ['grdw']
8
8
  spec.email = ['gerard@wetransfer.com']
9
9
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: richurls
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - grdw
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-01-16 00:00:00.000000000 Z
11
+ date: 2020-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: oj