liveblog 1.2.5 → 1.2.6
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.tar.gz.sig +0 -0
- data/lib/liveblog.rb +7 -3
- metadata +1 -1
- 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: 16b9a2c95d507d7c72338f3217fb615776ca6add
|
4
|
+
data.tar.gz: 78912e7acad0b24715b235abf4f379eb324db8bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5aca5be1503e67a99373d49fdf5947516f6790a31092ac8fd057c8e2eb34b94e73f4cbcf92297d2a43b67801e63351dbdcc48d022806306a3497c31c3449eabe
|
7
|
+
data.tar.gz: c43195fb17ad32ab0210c146add4bdc75eba5f3a0f8d59dc1b4f395a5059663b78c2309014258ade199347bf11799c21a32f17bb4122bfd774b97caf826b18be
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/liveblog.rb
CHANGED
@@ -49,9 +49,8 @@ class LiveBlog
|
|
49
49
|
|
50
50
|
if File.exists? dxfile then
|
51
51
|
|
52
|
-
|
53
|
-
|
54
|
-
|
52
|
+
load_file(dxfile)
|
53
|
+
|
55
54
|
else
|
56
55
|
|
57
56
|
new_day()
|
@@ -141,6 +140,11 @@ class LiveBlog
|
|
141
140
|
|
142
141
|
end
|
143
142
|
|
143
|
+
def load_file(dxfile)
|
144
|
+
@dx = Dynarex.new(dxfile)
|
145
|
+
@d = Date.parse @dx.title
|
146
|
+
end
|
147
|
+
|
144
148
|
def new_day(date: Date.today)
|
145
149
|
|
146
150
|
@d = date
|
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|