reminders_txt 0.4.1 → 0.4.2
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/reminders_txt.rb +8 -5
- metadata +2 -2
- 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: 59fb1f09d93d99b7a8b79d84a1cb0b06aa591099
|
|
4
|
+
data.tar.gz: 8776ec1a25177150a275cd5ec5d9e01a3d733130
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4ec22c382a042378ed8de17332fd3d315748d656b63a25d3897d10f7da85ca79bdbc0133a6d3b9201bd1a6530a86d0a3ef2184cdc416f313e1088f28674343a2
|
|
7
|
+
data.tar.gz: 59c761fdd7c38321d8f5d694f88e7c69cc1528630a52cd74c638cb242663409073c87d64f2ee54b16cadb5588b238ff9bc4ee0c40b10c1f571357e2eecf83e97
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data.tar.gz.sig
CHANGED
|
Binary file
|
data/lib/reminders_txt.rb
CHANGED
|
@@ -103,7 +103,7 @@ class RemindersTxt
|
|
|
103
103
|
|
|
104
104
|
r
|
|
105
105
|
end
|
|
106
|
-
|
|
106
|
+
puts '@reminders: ' + @reminders.inspect
|
|
107
107
|
@updated = false
|
|
108
108
|
|
|
109
109
|
refresh()
|
|
@@ -125,11 +125,14 @@ class RemindersTxt
|
|
|
125
125
|
s = reminder.input
|
|
126
126
|
r = @dx.find_by_input s
|
|
127
127
|
|
|
128
|
-
# it is on file and it's not
|
|
128
|
+
# it is on file and it's not a recurring or annual event?
|
|
129
129
|
# use the date from file if the record exists
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
130
|
+
|
|
131
|
+
if (r and r.recurring.empty? and not s[/\*$/]) then
|
|
132
|
+
DateTime.parse(r.date)
|
|
133
|
+
else
|
|
134
|
+
reminder.date.to_datetime
|
|
135
|
+
end
|
|
133
136
|
|
|
134
137
|
end
|
|
135
138
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: reminders_txt
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- James Robertson
|
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
|
31
31
|
n+SSd9dm8JjhZ2pqHtX+bgMZ18hrN06xfR+UPtk5BKC8v1PC0FWxaVR4lom39rFU
|
|
32
32
|
seDxJNsJgamAKg==
|
|
33
33
|
-----END CERTIFICATE-----
|
|
34
|
-
date: 2017-06-
|
|
34
|
+
date: 2017-06-15 00:00:00.000000000 Z
|
|
35
35
|
dependencies:
|
|
36
36
|
- !ruby/object:Gem::Dependency
|
|
37
37
|
name: dynarex
|
metadata.gz.sig
CHANGED
|
Binary file
|