feed_processor_utils 0.1.3 → 0.1.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
  SHA1:
3
- metadata.gz: ca55fd6bb1157c063c6cd5f0a85d746b34905f4a
4
- data.tar.gz: 1041a177867cb6ed8de3d8992b5aadb8227d6d99
3
+ metadata.gz: a35211049f8f78b8fb50c70953f719af331fa117
4
+ data.tar.gz: 4e987761c24f096bdd3dc2b54e4db9668f09d8ba
5
5
  SHA512:
6
- metadata.gz: ba27d174f9ab95135f423af384024444c36088dd245730f3523bb622fa5f1f05542d382814b65ebd3669dad5f70f873ce3fe9e5e321e19adfd81003e3f0d7ac4
7
- data.tar.gz: dc33435a06f1b9977ccb1e20ac72e03a303ccb2e03a4df7066a9bfbd0c9301e2eb0c5b67670618976c1c878db3fed4c5be03905cdc7e7707e915d566ace62773
6
+ metadata.gz: 81808955eb1fc6daea40eae78c8b70d60315c86efbbde7fb04c5577bf02024aa7621a5d3aea1488b3bf3c58504da1751d287e0b6e48019d7f85a6c1951e55776
7
+ data.tar.gz: e47319c4f2e5f7b200a9c07f2906403daec086cf8f3adc5f1d87a9ab854651b46464641f0c5ae75df51aa9a39cf7ce09e9d4b0c9f68b91a4caa0527cbe039286
@@ -59,7 +59,7 @@ module FeedProcessorUtils
59
59
  def self.get_images(item_data, is_news, customized = "default")
60
60
  customized ||= "default"
61
61
  image_urls = []
62
- domain = URI.parse(item_data[:url] || item_data[:id])
62
+ domain = URI.parse(URI.encode(item_data[:url] || item_data[:id]))
63
63
  specific_images = if customized == "default"
64
64
  [:og_image, :image]
65
65
  elsif customized == "og_image"
@@ -119,4 +119,4 @@ module FeedProcessorUtils
119
119
  end
120
120
 
121
121
  end
122
- end
122
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: feed_processor_utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - FTBpro
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-22 00:00:00.000000000 Z
11
+ date: 2014-08-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri