gnu-remind 0.1.1 → 0.1.2

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: 19f351fdad385e0cef56e9aa6fac54ce5824a17069287e27402d9fd43471079b
4
- data.tar.gz: fcb66234ebdb7061d1a89003d79d972bcf539bee5ab9b26d2d8a9d4338125aa0
3
+ metadata.gz: 6149e372ee4292afde897782c7359cc3fe6876159f91b66d6dea2660d5595530
4
+ data.tar.gz: 1eea367f28f107f4c99743db6a2e1539c1415dd05276a3115c1de7edc656f6f0
5
5
  SHA512:
6
- metadata.gz: 812a96c7d7f7adeb7fcd47ec25144c19fa557ad91cfebed8a3be6966ad0b9821b89ee536db561707362fcbb2fd5755b0bce346b9f755edabef67debe167ceb42
7
- data.tar.gz: d3e5c1d41099d465ae6b7f998a71578c802398c6ccd058448c1374a669d7159ef934122c513201db183dcd80aefe5a06ae5a919e209c5e07f51c1fbc0b25d644
6
+ metadata.gz: ab7dfbe16607ce43ed601e818d901eeea7981253566632f5fbc2d7f4106783ed0571d306d3d2324bc59114a8a7b3ebd30cf3aa4581a1331c661b1eb4ca2bbbc0
7
+ data.tar.gz: 25f6632fd16aa9010e8e97ebaaebafa960647ade45b24967483f382a76f4d562b464905362834c20783b676f86b0051f15a48fa1d055cdfbe52456f7ec358adc
data/lib/remind/remind.rb CHANGED
@@ -17,7 +17,7 @@ class E
17
17
  end
18
18
 
19
19
  def clear!
20
- @red = []
20
+ @rem = []
21
21
  end
22
22
 
23
23
  def to_rem
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Remind
4
- VERSION = "0.1.1"
4
+ VERSION = "0.1.2"
5
5
  end
data/lib/remind.rb CHANGED
@@ -15,6 +15,8 @@ module Remind
15
15
  @@REM = REM['reminders']
16
16
  def self.[]= x, u
17
17
  r = REM[x]
18
+ r.clear!
19
+ @@REM.clear!
18
20
  CAL.from_url(u).each do |e|
19
21
  h = {
20
22
  date: e.when[:begin].to_time.localtime.strftime("%-d %b %Y"),
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.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Erik Olson