rss_creator 0.2.8 → 0.2.9

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: 116a72831aceb4b3cb3f9d569473f0deebb96f38
4
- data.tar.gz: cd491bd362d45532f52d7a23863733e137a00d3c
3
+ metadata.gz: 20fc7d504795b90b2be615f4aff710e965e4eaad
4
+ data.tar.gz: c38d4b52569068d8319d183cf9d74c3bd863e3f5
5
5
  SHA512:
6
- metadata.gz: cf9075222540f487c4eaa4a2b41d165b32c0f4699788c9b54c9dcbd16f2f2715e08b88ed0ebeb79c95fc90d5836f75575127f0be6d16d7aaf08d5830a4418c96
7
- data.tar.gz: b40b0756ffaef70b7ab6eb689020dd65062f390bea13eae3509b808ebe1dc1a9903ba870774d78b38dbab72e0ad5c2af828ef587449a5a2095047302b2782f4d
6
+ metadata.gz: 217ea806ddeeab973b95c8336fa42ead93374f874f3b35eb2deedeb1535687a24e133aa39b2f5bb497aa312f5ee1f926e969191d99c06f43c0e1e7af35b6919d
7
+ data.tar.gz: 96d531309efa873bdabc547040cdc2c08c09fecde5d6aa495c64fd45e093b99e28ff5d6aa3a81ce42c4fbd14540eb15d8f68dfba03885c9b1b90ebf979a5f6be
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -20,18 +20,18 @@ class RSScreator
20
20
  @dx = rtd.to_dynarex
21
21
 
22
22
  @dx.default_key = 'uid'
23
- @dx.xslt = dx_xslt if dx_xslt
23
+
24
24
  @title = @dx.title
25
25
  @description = @dx.description
26
26
  @link = @dx.link
27
- @dx.save File.join(File.dirname(filepath), 'raw.xml')
28
27
 
29
28
  else
30
29
  @dx = Dynarex.new 'channel[title, description, link]/' + \
31
30
  'item(title, link, description, date)'
32
31
  @dx.order = 'descending'
33
32
  end
34
-
33
+
34
+ @dx.xslt = dx_xslt if dx_xslt
35
35
  @dx.xslt_schema = 'channel[title:title,description:description,' + \
36
36
  'link:link]/item(title:title,description:description,' + \
37
37
  'link:link,pubDate:date)'
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.2.8
4
+ version: 0.2.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
metadata.gz.sig CHANGED
Binary file