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 +4 -4
- data/lib/feed_processor_utils/feed_post_builder.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a35211049f8f78b8fb50c70953f719af331fa117
|
4
|
+
data.tar.gz: 4e987761c24f096bdd3dc2b54e4db9668f09d8ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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-
|
11
|
+
date: 2014-08-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|