gnu-remind 0.1.0 → 0.1.1

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
  SHA256:
3
- metadata.gz: 1711c6c47b91c7a5544e2ac2fa110e62e693275c682d587f172c0916cb09ed22
4
- data.tar.gz: 7d8a4ea0d5f3893da004d4a0bbb11a787a93b2a5c41518bb2830d53dc195344a
3
+ metadata.gz: 19f351fdad385e0cef56e9aa6fac54ce5824a17069287e27402d9fd43471079b
4
+ data.tar.gz: fcb66234ebdb7061d1a89003d79d972bcf539bee5ab9b26d2d8a9d4338125aa0
5
5
  SHA512:
6
- metadata.gz: 24fb829caeeaa46364d31a8982375534d2e32d541014e75b1c83cc344e169a591260ca074f9a528f234843be99edd2eae7596ba42f9683b9215e181476b1b05a
7
- data.tar.gz: 46418d4e3e331be5be5c93b1daa0f759aa505ca24f69c054a92e3f4b6c7c71a908b69b1fa318766536471c709415341ee32bc68f0d4f9540bcdc46f5d68ce367
6
+ metadata.gz: 812a96c7d7f7adeb7fcd47ec25144c19fa557ad91cfebed8a3be6966ad0b9821b89ee536db561707362fcbb2fd5755b0bce346b9f755edabef67debe167ceb42
7
+ data.tar.gz: d3e5c1d41099d465ae6b7f998a71578c802398c6ccd058448c1374a669d7159ef934122c513201db183dcd80aefe5a06ae5a919e209c5e07f51c1fbc0b25d644
data/lib/remind/remind.rb CHANGED
@@ -2,8 +2,8 @@
2
2
  class E
3
3
  def initialize k
4
4
  @id = k
5
- @rem = []
6
5
  @r = Hash.new { |h,k| h[k] = R.new(k) }
6
+ clear!
7
7
  end
8
8
  def id; @id; end
9
9
 
@@ -16,6 +16,10 @@ class E
16
16
  `remind -t1 rem/#{@id}.rem`.split("\n\n")
17
17
  end
18
18
 
19
+ def clear!
20
+ @red = []
21
+ end
22
+
19
23
  def to_rem
20
24
  a = [];
21
25
  @rem.each { |e| a << @r[e].to_rem }
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Remind
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gnu-remind
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Erik Olson