liveblog 1.2.13 → 1.2.14

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: a4c9a249c3de12156df464813319e5a4ec93c24f
4
- data.tar.gz: 874aa1432af8c1ecccf7dbb9a7b2e7392d9a8cf6
3
+ metadata.gz: 326aff2e31618de243f1e2e5c7b2a67fadb921da
4
+ data.tar.gz: 5a219afcb69a1fa7a929e29dba8fe1da2185bb73
5
5
  SHA512:
6
- metadata.gz: 98dec21b66cb1312741e9162e688b41b0cda3f7724e6f0f66ada2af76e82ab500fb7fa4942390da5c42953be983b6bf3fa75318b94e91692dbd6130ccf15b5bb
7
- data.tar.gz: d89ddb9b7d61a00e4b0c6e83914d7042410ba0580453cc2b7c041167e53d69bb8718515597f7be402652399a281084a9f34a88b87af75092f4e7980d330942c0
6
+ metadata.gz: 8ad4736a23d890f37fc374e48f2c5189cbac65c1b2eacabd5d547b8db2334b0a838995c5e4f461620209ee22fdb88895ab9cd08bfcb9d07fb024db90ec633909
7
+ data.tar.gz: bd857980878f48857ce388672e23a503b1c4fa25c7723a5153effd51816b59615c706ccbf5c8a2231c4f59ea35f9bda3279940f3fa54b4fb4d27240b5a6704c7
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -14,7 +14,7 @@ class LiveBlog
14
14
 
15
15
  # the config can either be a hash, a config filepath, or nil
16
16
  #
17
- def initialize(x=nil, config: nil, date: Date.today, plugins: {}, logpath: '')
17
+ def initialize(x=nil, config: nil, datetoday: Date.today, plugins: {}, logpath: '')
18
18
 
19
19
  @log = nil
20
20
 
@@ -51,7 +51,7 @@ class LiveBlog
51
51
 
52
52
  Dir.chdir @dir
53
53
 
54
- @d = date
54
+ @d = datetoday
55
55
  dxfile = File.join(@dir, path(), 'index.xml')
56
56
 
57
57
  @plugins = initialize_plugins(plugins || [])
@@ -73,6 +73,8 @@ class LiveBlog
73
73
  # add a single line entry
74
74
  #
75
75
  def add_entry(raw_entry)
76
+
77
+ new_day() if date() != Date.today
76
78
 
77
79
  entry, hashtag = raw_entry.split(/\s*#(?=\w+$)/)
78
80
  hashtag.downcase!
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: liveblog
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.13
4
+ version: 1.2.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -31,7 +31,7 @@ cert_chain:
31
31
  Pa3Oua4kplXh4chiXeKSmDf1kgQML6il1F/Lc7p0dgRDB7gHh+cqR/GSt6/44MoB
32
32
  /PQO/0DfLVBu1A==
33
33
  -----END CERTIFICATE-----
34
- date: 2017-07-03 00:00:00.000000000 Z
34
+ date: 2017-10-17 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: dxsectionx
@@ -39,20 +39,20 @@ dependencies:
39
39
  requirements:
40
40
  - - "~>"
41
41
  - !ruby/object:Gem::Version
42
- version: '0.1'
42
+ version: '0.2'
43
43
  - - ">="
44
44
  - !ruby/object:Gem::Version
45
- version: 0.1.4
45
+ version: 0.2.0
46
46
  type: :runtime
47
47
  prerelease: false
48
48
  version_requirements: !ruby/object:Gem::Requirement
49
49
  requirements:
50
50
  - - "~>"
51
51
  - !ruby/object:Gem::Version
52
- version: '0.1'
52
+ version: '0.2'
53
53
  - - ">="
54
54
  - !ruby/object:Gem::Version
55
- version: 0.1.4
55
+ version: 0.2.0
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: simple-config
58
58
  requirement: !ruby/object:Gem::Requirement
@@ -62,7 +62,7 @@ dependencies:
62
62
  version: '0.6'
63
63
  - - ">="
64
64
  - !ruby/object:Gem::Version
65
- version: 0.6.0
65
+ version: 0.6.3
66
66
  type: :runtime
67
67
  prerelease: false
68
68
  version_requirements: !ruby/object:Gem::Requirement
@@ -72,7 +72,7 @@ dependencies:
72
72
  version: '0.6'
73
73
  - - ">="
74
74
  - !ruby/object:Gem::Version
75
- version: 0.6.0
75
+ version: 0.6.3
76
76
  - !ruby/object:Gem::Dependency
77
77
  name: subunit
78
78
  requirement: !ruby/object:Gem::Requirement
@@ -82,7 +82,7 @@ dependencies:
82
82
  version: '0.2'
83
83
  - - ">="
84
84
  - !ruby/object:Gem::Version
85
- version: 0.2.4
85
+ version: 0.2.7
86
86
  type: :runtime
87
87
  prerelease: false
88
88
  version_requirements: !ruby/object:Gem::Requirement
@@ -92,27 +92,27 @@ dependencies:
92
92
  version: '0.2'
93
93
  - - ">="
94
94
  - !ruby/object:Gem::Version
95
- version: 0.2.4
95
+ version: 0.2.7
96
96
  - !ruby/object:Gem::Dependency
97
97
  name: rexle-diff
98
98
  requirement: !ruby/object:Gem::Requirement
99
99
  requirements:
100
100
  - - "~>"
101
101
  - !ruby/object:Gem::Version
102
- version: '0.5'
102
+ version: '0.6'
103
103
  - - ">="
104
104
  - !ruby/object:Gem::Version
105
- version: 0.5.4
105
+ version: 0.6.2
106
106
  type: :runtime
107
107
  prerelease: false
108
108
  version_requirements: !ruby/object:Gem::Requirement
109
109
  requirements:
110
110
  - - "~>"
111
111
  - !ruby/object:Gem::Version
112
- version: '0.5'
112
+ version: '0.6'
113
113
  - - ">="
114
114
  - !ruby/object:Gem::Version
115
- version: 0.5.4
115
+ version: 0.6.2
116
116
  description:
117
117
  email: james@jamesrobertson.eu
118
118
  executables: []
@@ -143,7 +143,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
143
143
  version: '0'
144
144
  requirements: []
145
145
  rubyforge_project:
146
- rubygems_version: 2.6.8
146
+ rubygems_version: 2.6.13
147
147
  signing_key:
148
148
  specification_version: 4
149
149
  summary: Uses the Dynarex gem to create a daily live blog. Convenient for grouping
metadata.gz.sig CHANGED
Binary file