feed_processor_utils 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MzA0Y2Y4YmYwOGMwZDI1NzlkNjk2M2VlZjhiN2RkZDg5ZWNlMDVhMA==
4
+ ODQ4MDE0OTZmNzVlOWYzZjY1YmU3ZTVhODljZmZmZGU0NjZhYmMyNA==
5
5
  data.tar.gz: !binary |-
6
- Y2I3MDZiOWU5OTFlMjQ4OWUwZDNjMTk3ZjdiYzhjZTgwYmUwMGExOQ==
6
+ ZDE3ZGI2ZmY2YmQyYWExYzljNzgyOTU1M2I5Nzg1ZDY4YzJiMjE3MA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NjgzNGE4NGU3Y2MzMmQ2NDZhZTAzYWZmZTM1MjIyZTUwODgxYzYxMTAyYmVj
10
- ZWYzNmE5YWI2OGQ4M2NhYWMyNDNkZjczMjhiNzUzZmQ4OTRiMTkxMTY2ZThl
11
- MDI4NjBiMWNlOWRlNDg5MzEwOWIxOTM4ZjI4NGY5MzA1ZjBlNjY=
9
+ ZGRmMjM0MjRiYmY2YjY3MTdkM2FjMmJiNmY1NmU1YzliY2NlNDZlYWQyNTRi
10
+ ZDdjMWQwZTVmZGUxMGJhMTg4ZGRlOWU5MjAwYWFjMDQyZmUxZDMwZDk3ZWY4
11
+ YmMzNTE1MjRlN2IyMzI4YmM1ZDIyZmY3ZDFjZjU3YjdlZjAwNWQ=
12
12
  data.tar.gz: !binary |-
13
- MjkzNjBlMzRhZTFlZGFkMDcxZGRmYTA1YTE1NmJiZTRkYjExNDQxMzY2ODA0
14
- ZWQ1MTliNzZkM2MwNmUxZjMwMjJjODc4OTdjNjE4YTAzYWE2MDIzMDAzYWQ2
15
- OGNhZTU2YTgyZDRhNGJjZmY1NzU3MDdlMzljMDljNzYyYzg3ODI=
13
+ OTc0OGJiMWY2MTc2MGZiZjRhOTEzMmI1MjIxOWYxODY2N2Q5ZjVkZTY1NmVi
14
+ MDViMGIyZDFkOTIwOGJhZDZjOTU0NmQ2ZGM0NDFkNGFiNzEzNjI1MWE5YzU2
15
+ YjZkMTMwOWQzYzg1YmM1ZGQ0ZWJmYTA4ZTcyOTkxYTE5ZmYwNTI=
@@ -36,7 +36,11 @@
36
36
  :attribute: data-video
37
37
  :image:
38
38
  :selectors:
39
- - "img.entry-image, img.image"
39
+ - img.entry-image
40
+ :attribute: src
41
+ :sky_image:
42
+ :selectors:
43
+ - img.image
40
44
  :attribute: src
41
45
  :lazy_image_tags:
42
46
  :collection: true
@@ -66,11 +66,11 @@ module FeedProcessorUtils
66
66
  image_urls = []
67
67
  domain = URI.parse(item_data[:url] || item_data[:id])
68
68
  specific_images = if customized == "default"
69
- [:og_image, :image]
69
+ [:og_image, :image, :sky_image]
70
70
  elsif customized == "og_image"
71
71
  [:og_image]
72
72
  elsif customized == "html_images"
73
- [:image]
73
+ [:image, :sky_image]
74
74
  else
75
75
  []
76
76
  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.0
4
+ version: 0.1.1
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-21 00:00:00.000000000 Z
11
+ date: 2014-01-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri