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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bc0183cec349d7578d46a7ae5f028137c9ee2e25
4
- data.tar.gz: ee525d6c7b4dc3122d97538860c247b46c2373d2
3
+ metadata.gz: 46e909b29d46548bfdeee5338251b1b734766524
4
+ data.tar.gz: a57771153a3660a20b6074cdfb82652fda35d06a
5
5
  SHA512:
6
- metadata.gz: 811adbebae2c5db796a4d6888fac0ad8297779cf484adadd6c45d5a92ab3d5188e46b2139f07bab559767761d43094b6b986458f49485c502e91701a83a612ab
7
- data.tar.gz: f1180bfd89eca923bf38027fdf4296574d7b2c9d8854191fd962c1d77d449be723e4170c7daf57eac1181216685cfd68b65723fb1533788ed2f13c7c1c9c58e9
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, target_page, \
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
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
- MIIDljCCAn6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBIMRIwEAYDVQQDDAlnZW1t
14
- YXN0ZXIxHjAcBgoJkiaJk/IsZAEZFg5qYW1lc3JvYmVydHNvbjESMBAGCgmSJomT
15
- 8ixkARkWAmV1MB4XDTE2MTExMjE4MjMwOFoXDTE3MTExMjE4MjMwOFowSDESMBAG
16
- A1UEAwwJZ2VtbWFzdGVyMR4wHAYKCZImiZPyLGQBGRYOamFtZXNyb2JlcnRzb24x
17
- EjAQBgoJkiaJk/IsZAEZFgJldTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
18
- ggEBAN/1BcxutxrU9edYSqrP6O3pPpH/G1u2vibUnPIYfaMj8p2wUlzNp7Z7rH5K
19
- Q1e2ILBaEwx48x+fgd1wXqCv5+dyiEaUC9THNUCGluRDs56rXXWdPd5tW0p53Q1F
20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
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.10
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.10
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.7
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.7
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.8
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