gnu-remind 0.1.8 → 0.2.0

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: 21529ecd1aa56da32a0cef066ad2439f4662c48323a7f1c78b3a3c15d93846c0
4
- data.tar.gz: de27928dad2b75db75dc3fda5d66340d0c5b9c8aebb9c13b33da0cb9cd4724de
3
+ metadata.gz: f3a65fb4fd6cfecb566b294ebec92687fff9ea4cce140a6c79a86287b35b771d
4
+ data.tar.gz: 61e0e752c2a17d67334f0472c078e50a4ec37258773515e42a32268d98d84f70
5
5
  SHA512:
6
- metadata.gz: ed69e87f261df62e70e7e7fc1b2f604f859c1bc3a23189407d648003c3106c9dea183fee848f70a1fa5562c811791eed271f8c5c789307bd054f54cf07bd267a
7
- data.tar.gz: 9660e7feb1de77993b54e82cf64a0af16d951d0135afa0dc555d2bd05c3e75b248cf4bf0b5e66f920d2e451407e7f522033ef793b9faa65856b1f02922dac4ce
6
+ metadata.gz: eb222815e789273533570469b18499fa86743e0e9ebdac7a21b32cb50f356b38d660bbd6e33b0f91a94af6852ac384af795aeb6fa60ef9bc0be45993d6ee2377
7
+ data.tar.gz: c9c8a5d4c96db394e9bfc1c3416d98219de2d8c20baf9419ccb48f690c47682567e73cb041ac1fffbc69e5aa6cc205e0db827737ff7c459a23c0eea9b5793536
Binary file
Binary file
data/lib/remind/event.rb CHANGED
@@ -5,11 +5,11 @@ module EVENT
5
5
  class E
6
6
  # Event +i+.
7
7
  def initialize i
8
- @event = Nickel.parse i
9
- puts %[EVENT::E: #{@event}]
10
- if event?
8
+ if @event = Nickel.parse(i)
9
+ puts %[EVENT event: #{@event}]
11
10
  @message = @event.message
12
11
  else
12
+ puts %[EVENT log]
13
13
  t = Time.now.utc
14
14
  @message = i
15
15
  end
data/lib/remind/remind.rb CHANGED
@@ -19,7 +19,10 @@ module REM
19
19
  end
20
20
 
21
21
  # get Reminder collection with arguments +a+.
22
- def get a
22
+ def get a
23
+ if !File.exist?("rem/#{@id}.rem")
24
+ File.open("rem/#{@id}.rem",'w') { |f| f.write(""); }
25
+ end
23
26
  `remind #{a} rem/#{@id}.rem`.split("\n\n")
24
27
  end
25
28
 
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Remind
4
4
  # version.
5
- VERSION = "0.1.8"
5
+ VERSION = "0.2.0"
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gnu-remind
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Erik Olson
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-03-03 00:00:00.000000000 Z
11
+ date: 2024-03-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -64,6 +64,8 @@ files:
64
64
  - LICENSE.txt
65
65
  - README.md
66
66
  - Rakefile
67
+ - gnu-remind-0.1.8.gem
68
+ - gnu-remind-0.1.9.gem
67
69
  - lib/remind.rb
68
70
  - lib/remind/calendar.rb
69
71
  - lib/remind/event.rb