daily_notices 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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/daily_notices.rb +3 -3
- data.tar.gz.sig +0 -0
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 187588f742037c0bd1acce2aab04246ed35a325e
|
4
|
+
data.tar.gz: ccf96dd3e04618fbe97f1768ea884f3e1267735b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e9a64f87467a40e7cac4ff05e1d6c13a33eff2d8ae6c5523e37161b94ccf3f4d52cfa2684aee56f3121958f227fc1957b9cf18035a7ca6a844d3e9c701c90dc
|
7
|
+
data.tar.gz: de9597d9de3d63ffa96f9ac6dab90b68649a041302356f5b17a6ed755c00cdc0c27b73c716909c308239fc364b8b3315bf7be1d9c2c5a2bb0dca60cc27ea6eeb
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/daily_notices.rb
CHANGED
@@ -56,9 +56,9 @@ class DailyNotices
|
|
56
56
|
@rssfile = File.join(@filepath, 'rss.xml')
|
57
57
|
|
58
58
|
if File.exists? @rssfile then
|
59
|
-
@rss = RSScreator.new @rssfile, dx_xslt: @
|
59
|
+
@rss = RSScreator.new @rssfile, dx_xslt: @rss_xslt
|
60
60
|
else
|
61
|
-
@rss = RSScreator.new dx_xslt: @
|
61
|
+
@rss = RSScreator.new dx_xslt: @rss_xslt
|
62
62
|
@rss.xslt = @rss_xslt
|
63
63
|
@rss.title = 'Daily notices'
|
64
64
|
@rss.description = 'Generated using the daily_notices gem'
|
@@ -106,7 +106,7 @@ class DailyNotices
|
|
106
106
|
File.write target_path.sub(/\.html$/,'.xml', ), rxdoc.xml(pretty: true)
|
107
107
|
File.write target_path, rx.to_html(xslt: @target_xslt)
|
108
108
|
end
|
109
|
-
|
109
|
+
|
110
110
|
# Add it to the RSS document
|
111
111
|
title ||= description.split(/\n/,2).first[0..140]
|
112
112
|
link = create_link(id)
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: daily_notices
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
31
31
|
6KZopP6uiDZcPfIWtD5QSbhxe2cyGqlu4Xnb4imiAb9DWj8g5YP45vWTp1a71ytC
|
32
32
|
TGdJpNvN31W5+w==
|
33
33
|
-----END CERTIFICATE-----
|
34
|
-
date: 2015-11-
|
34
|
+
date: 2015-11-13 00:00:00.000000000 Z
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rss_creator
|
metadata.gz.sig
CHANGED
Binary file
|