reminders_txt 0.3.9 → 0.3.10
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 +3 -2
- 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: 733dbc896a701ec7a94e22d4440f36896c13231d
|
|
4
|
+
data.tar.gz: 178de713772e23e37d43b54aa15b267557a9810c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fee6fb9f223a54a7c56836d3b9509247218564d0708556c998120052cb62681e9844c4bd2c87c167f9ed6bad3794afdac66cf74c3b0b0355afe38d893edc08f9
|
|
7
|
+
data.tar.gz: 1de6cb892ccbedd8932b533100442d08aba9e669a3a9ee98f209e8ac6a95bdab4ed325efcdd0789dfa7d7a62a17d311950bf4af2bde8e49d1bc721ffa9a0f5bc
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data.tar.gz.sig
CHANGED
|
Binary file
|
data/lib/reminders_txt.rb
CHANGED
|
@@ -215,6 +215,7 @@ class RemindersTxt
|
|
|
215
215
|
def refresh()
|
|
216
216
|
|
|
217
217
|
|
|
218
|
+
reminders = @reminders.clone
|
|
218
219
|
# if XML file doesn't exist, create it
|
|
219
220
|
|
|
220
221
|
if File.exists? @dxfilepath then
|
|
@@ -246,8 +247,8 @@ class RemindersTxt
|
|
|
246
247
|
h2 = (Digest::MD5.new << @file_contents).to_s
|
|
247
248
|
|
|
248
249
|
b = h1 != h2
|
|
249
|
-
|
|
250
|
-
if b then
|
|
250
|
+
|
|
251
|
+
if b or @reminders != reminders then
|
|
251
252
|
|
|
252
253
|
save_dx()
|
|
253
254
|
File.write File.join(File.dirname(@filepath), 'reminders.txt'), self.to_s
|
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.3.
|
|
4
|
+
version: 0.3.10
|
|
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-
|
|
34
|
+
date: 2017-02-20 00:00:00.000000000 Z
|
|
35
35
|
dependencies:
|
|
36
36
|
- !ruby/object:Gem::Dependency
|
|
37
37
|
name: dynarex
|
metadata.gz.sig
CHANGED
|
Binary file
|