rss_creator 0.4.0 → 0.4.1

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: 647757a294410e98e341314c9f85c097059161320456321ff8472deb90c363d6
4
- data.tar.gz: 396951cc15ffcd5ae92790392a4ad139310acd35cdd2d7b1f59d0e15696a6bd2
3
+ metadata.gz: be68caea693cc6a981a77d424b4b075e215552a81d60b0e877bd15f5d8154433
4
+ data.tar.gz: 8c85c7865c96b934e40fabf8f564bcd22656b02c3e10696732d85c245a97ce5d
5
5
  SHA512:
6
- metadata.gz: 465c8405ef8d2f6ff853f418d35eaf4eb6d07f301f02664d31a59b41357a27486a49d5b159e8b941c69697b1464ec623dab641dcbcfd77612e704e9861565abd
7
- data.tar.gz: 2308016cbad0de11a04ccfdbb2bfa2e345ac440700fedb7cea0c1f9aeac1164fc152fd0569fa8f55a69db3e82c32ac3695be5e0f003cc867a56bb54422263ef2
6
+ metadata.gz: 922a6a2b33d8e322d10a8e3bc622576b9019a9a67eccb1821aca512c4a9c47aaf756f2aa6938ba295fb1d8b6d1504fa36774dfa7121ab00377ca8c8122d0de31
7
+ data.tar.gz: e53397545a8c0953dd88d6e675df28c94683802136e6a8d00dbd1e92b4f1b2143a12c536b666062495810d7604f4a33f422ecffc47e7630e4c00c81a36591248
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
data/lib/rss_creator.rb CHANGED
@@ -35,7 +35,7 @@ class RSScreator
35
35
  else
36
36
 
37
37
 
38
- schema = 'channel[title, description, link]/' + \
38
+ schema = 'channel[title, description, link, image]/' + \
39
39
  'item(title, link, description, date'
40
40
  schema += ', ' + custom_fields.join(', ') if custom_fields.any?
41
41
  schema += ')'
@@ -135,6 +135,7 @@ class RSScreator
135
135
  end
136
136
 
137
137
  @dx.title, @dx.description, @dx.link = @title, @description, @link || ''
138
+ @dx.image = @image_url
138
139
 
139
140
  @rss = if @xslt then
140
141
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rss_creator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
metadata.gz.sig CHANGED
Binary file