daily_notices 0.2.0 → 0.2.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 -1
- data.tar.gz.sig +0 -0
- metadata +1 -1
- metadata.gz.sig +2 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bcd554602510ae406d68b2b7b5b3db1ae5db877c
|
4
|
+
data.tar.gz: 8469e399cc00f29991e38b51d6f2480fbe1c4864
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c8ecaab5b1deb99bfdc9383110c7d4b81e903e7249f9d2c13152b9bd76b69864de0bdb760c3ae23224f993ca0370cfed4a36c8936b490cea69c8656407957cd3
|
7
|
+
data.tar.gz: da7aacea896c608daf9aaaf08d266344d9515d8e3c03599595d573814abbccb216ede90fdf137475067080cafa6ffcc5fa95799ba5958f42bc95a361c0232931
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/daily_notices.rb
CHANGED
@@ -46,6 +46,7 @@ class DailyNotices
|
|
46
46
|
@rss.description = 'Generated using the daily_notices gem'
|
47
47
|
@rss.link = @url_base
|
48
48
|
end
|
49
|
+
|
49
50
|
end
|
50
51
|
|
51
52
|
def create(description, time=Time.now, title: nil, \
|
@@ -58,7 +59,8 @@ class DailyNotices
|
|
58
59
|
|
59
60
|
# Add it to the RSS document
|
60
61
|
title ||= description.split(/\n/,2).first[0..140]
|
61
|
-
link = File.join(@url_base, @
|
62
|
+
link = [File.join(@url_base, File.basename(@filepath), \
|
63
|
+
@archive_path, '#' + id)].join('/')
|
62
64
|
@rss.add title: title, link: link, description: description
|
63
65
|
@rss.save @rssfile
|
64
66
|
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
metadata.gz.sig
CHANGED
@@ -1,5 +1,2 @@
|
|
1
|
-
|
2
|
-
��
|
3
|
-
a��[,�bQ(���O��P�Y1 �8�����\�� ��^��M�f��9F�a$'�]��C�V�}ƶh��j�9!&�i�
|
4
|
-
� }5,�Z|��zk�eTY���7�벟^M
|
5
|
-
;�wm� 7�m�o�E�ƞ'ʰ]���7�
|
1
|
+
Z���1��*$�J1y0)���l��vV���"��Em�%xn}�3zk�a�Z�BO81���C:�T�D��Q~cH�C�[��j��yn�p��{�3B��U�r�〩�kY�{@T��t��"�
|
2
|
+
��e0�߫z��)<��lr��l4#b��n;�?��m��~���ʖ�g��n]�}a�J\�<�fԎ����+4XM�v��;����Q�5�Q>�jΫ�vf��P�M�F�b�g+�j�
|