weekly_planner 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/weekly_planner.rb +3 -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: bb213c7d3086b524c527f0b180a4adcd5cf74e33
|
|
4
|
+
data.tar.gz: f25afa45ba15ca5951ef055ac10f4b075c49192f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0e0b9c3428597e0af56a91d397bd7d55270a6fdffb4726c99ce6bf559c9a283bf074379b0895000c25f45082c8dcc7f2ac3f4cce44696f34fb3a1bc23689fa49
|
|
7
|
+
data.tar.gz: df5db8abe7237381001894a4512c97f3693d4f4b96afb824b2f9cc518c907b0d3617239d77f6308d84741447469d9fe252164c479ef03e1330f2d2816fd22f63
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data.tar.gz.sig
CHANGED
|
Binary file
|
data/lib/weekly_planner.rb
CHANGED
|
@@ -129,7 +129,7 @@ class WeeklyPlanner
|
|
|
129
129
|
|
|
130
130
|
else
|
|
131
131
|
|
|
132
|
-
dx = Dynarex.new '
|
|
132
|
+
dx = Dynarex.new 'week[title]/day(x)'
|
|
133
133
|
rows.each {|row| dx.create row }
|
|
134
134
|
dx.save filepath
|
|
135
135
|
|
|
@@ -142,7 +142,7 @@ class WeeklyPlanner
|
|
|
142
142
|
|
|
143
143
|
rows = s.split(/.*(?=^[\w, ]+\n\-+)/)
|
|
144
144
|
|
|
145
|
-
dx = Dynarex.new '
|
|
145
|
+
dx = Dynarex.new 'week[title]/day(x)'
|
|
146
146
|
|
|
147
147
|
rows.shift
|
|
148
148
|
d = Date.parse(rows.first.lines.first.chomp)
|
|
@@ -195,7 +195,7 @@ class WeeklyPlanner
|
|
|
195
195
|
|
|
196
196
|
def new_dx()
|
|
197
197
|
|
|
198
|
-
dx = Dynarex.new '
|
|
198
|
+
dx = Dynarex.new 'week[title]/day(x)'
|
|
199
199
|
|
|
200
200
|
d = DateTime.now
|
|
201
201
|
dx.title = "Weekly Planner (%s)" % (d).strftime("%d-%b-%Y")
|
metadata
CHANGED
metadata.gz.sig
CHANGED
|
Binary file
|