daily_notices 0.6.4 → 0.6.5
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 +6 -6
- data.tar.gz.sig +0 -0
- metadata +26 -27
- 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: 46e909b29d46548bfdeee5338251b1b734766524
|
4
|
+
data.tar.gz: a57771153a3660a20b6074cdfb82652fda35d06a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d134470e32fd8a6ff959053750cb219323459de83da9124cf9d7f0ae277797d231d001276efc87a14bf7d9eb68ec558c95a2ba6020a1f725aa082d6a01665bf
|
7
|
+
data.tar.gz: 5c488614ec57298e21314aee120418bf707b9a7c6c2efe5520fcad354d07395e85574083d53443253f23cb7bd6c1b478d575efd9d89478153d3ad623f1676c61
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/daily_notices.rb
CHANGED
@@ -9,18 +9,17 @@ require 'fileutils'
|
|
9
9
|
require 'rss_creator'
|
10
10
|
|
11
11
|
|
12
|
-
|
13
12
|
class DailyNotices
|
14
13
|
|
15
14
|
attr_accessor :title, :description, :link, :dx_xslt, :rss_xslt
|
16
15
|
|
17
16
|
def initialize(filepath='', url_base: 'http:/127.0.0.1/', identifier: '',
|
18
17
|
dx_xslt: '', rss_xslt: '', target_page: :recordset,
|
19
|
-
target_xslt: '', title: 'daily notices')
|
18
|
+
target_xslt: '', title: 'daily notices', log: nil)
|
20
19
|
|
21
20
|
@filepath, @url_base, @dx_xslt, @rss_xslt, @target_page, @target_xslt, \
|
22
|
-
@identifier = filepath, url_base, dx_xslt, rss_xslt,
|
23
|
-
target_xslt, identifier
|
21
|
+
@identifier, @log = filepath, url_base, dx_xslt, rss_xslt, \
|
22
|
+
target_page, target_xslt, identifier, log
|
24
23
|
|
25
24
|
|
26
25
|
@schema ||= 'items[title, identifier]/item(title, description, time, link)'
|
@@ -78,8 +77,9 @@ class DailyNotices
|
|
78
77
|
end
|
79
78
|
|
80
79
|
def create(id: Time.now.to_i.to_s,
|
81
|
-
item: {time: Time.now.strftime('%H:%M %p - %d %b %Y'), title: nil})
|
80
|
+
item: {time: Time.now.strftime('%H:%M %p - %d %b %Y'), title: nil})
|
82
81
|
|
82
|
+
@log.info 'daily_notices/create: item: ' + item.inspect if @log
|
83
83
|
h = item
|
84
84
|
|
85
85
|
new_day() if @day != Time.now.day
|
@@ -233,4 +233,4 @@ class DailyNotices
|
|
233
233
|
|
234
234
|
end
|
235
235
|
|
236
|
-
end
|
236
|
+
end
|
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.6.
|
4
|
+
version: 0.6.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -10,28 +10,27 @@ bindir: bin
|
|
10
10
|
cert_chain:
|
11
11
|
- |
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
zcuMgGZau1C2mg==
|
13
|
+
MIIDXjCCAkagAwIBAgIBATANBgkqhkiG9w0BAQUFADAsMSowKAYDVQQDDCFnZW1t
|
14
|
+
YXN0ZXIvREM9amFtZXNyb2JlcnRzb24vREM9ZXUwHhcNMTgwMjIyMTYwODE4WhcN
|
15
|
+
MTkwMjIyMTYwODE4WjAsMSowKAYDVQQDD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kevhQAOzRKqVpqtA1jTyKzuey4YXCNgnQSGNztySvUk2QlUdEStZNMkTM7uqL9Ob
|
31
|
+
jzM=
|
33
32
|
-----END CERTIFICATE-----
|
34
|
-
date:
|
33
|
+
date: 2018-02-22 00:00:00.000000000 Z
|
35
34
|
dependencies:
|
36
35
|
- !ruby/object:Gem::Dependency
|
37
36
|
name: rss_creator
|
@@ -42,7 +41,7 @@ dependencies:
|
|
42
41
|
version: '0.3'
|
43
42
|
- - ">="
|
44
43
|
- !ruby/object:Gem::Version
|
45
|
-
version: 0.3.
|
44
|
+
version: 0.3.11
|
46
45
|
type: :runtime
|
47
46
|
prerelease: false
|
48
47
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -52,7 +51,7 @@ dependencies:
|
|
52
51
|
version: '0.3'
|
53
52
|
- - ">="
|
54
53
|
- !ruby/object:Gem::Version
|
55
|
-
version: 0.3.
|
54
|
+
version: 0.3.11
|
56
55
|
- !ruby/object:Gem::Dependency
|
57
56
|
name: dx_sliml
|
58
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -62,7 +61,7 @@ dependencies:
|
|
62
61
|
version: '0.1'
|
63
62
|
- - ">="
|
64
63
|
- !ruby/object:Gem::Version
|
65
|
-
version: 0.1.
|
64
|
+
version: 0.1.8
|
66
65
|
type: :runtime
|
67
66
|
prerelease: false
|
68
67
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -72,7 +71,7 @@ dependencies:
|
|
72
71
|
version: '0.1'
|
73
72
|
- - ">="
|
74
73
|
- !ruby/object:Gem::Version
|
75
|
-
version: 0.1.
|
74
|
+
version: 0.1.8
|
76
75
|
- !ruby/object:Gem::Dependency
|
77
76
|
name: rx_sliml
|
78
77
|
requirement: !ruby/object:Gem::Requirement
|
@@ -140,7 +139,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
140
139
|
version: '0'
|
141
140
|
requirements: []
|
142
141
|
rubyforge_project:
|
143
|
-
rubygems_version: 2.6.
|
142
|
+
rubygems_version: 2.6.13
|
144
143
|
signing_key:
|
145
144
|
specification_version: 4
|
146
145
|
summary: A public facing noticeboard which is centered around an RSS feed.
|
metadata.gz.sig
CHANGED
Binary file
|