wooden 0.1.0 → 0.1.1
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
- data/Gemfile.lock +23 -0
- data/README.md +20 -35
- data/lib/wooden/version.rb +1 -1
- data/lib/wooden.rb +3 -0
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 670a42a0deadc2089505cdc1cf86326fdcc48489fadb1458c4ff76f7cd80213c
|
|
4
|
+
data.tar.gz: 0c28c536563a695a05f4ff2c3e04af4d6b3fe0eb259048893eb8c52146090a7d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 58e71a53fdae20b67865c009f52b4cdd8d04e45f6ab38efd30f55290600178b5f0c0aa933860c6fc16c53dd00c2cea63797f7dd49f3ae817f28a52485a8acfff
|
|
7
|
+
data.tar.gz: 558ff3c5893d11f831159f2386920b7ac2521b9dcb0051bff61bed117c0adb396271640af386c8959aea9b80c215754c77aba3992568d25129ae3baae4e10f46
|
data/Gemfile.lock
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
PATH
|
|
2
|
+
remote: .
|
|
3
|
+
specs:
|
|
4
|
+
wooden (0.1.1)
|
|
5
|
+
date
|
|
6
|
+
nickel
|
|
7
|
+
|
|
8
|
+
GEM
|
|
9
|
+
remote: https://rubygems.org/
|
|
10
|
+
specs:
|
|
11
|
+
date (3.2.2)
|
|
12
|
+
nickel (0.1.6)
|
|
13
|
+
rake (13.0.6)
|
|
14
|
+
|
|
15
|
+
PLATFORMS
|
|
16
|
+
x86_64-linux
|
|
17
|
+
|
|
18
|
+
DEPENDENCIES
|
|
19
|
+
rake (~> 13.0)
|
|
20
|
+
wooden!
|
|
21
|
+
|
|
22
|
+
BUNDLED WITH
|
|
23
|
+
2.3.15
|
data/README.md
CHANGED
|
@@ -1,37 +1,22 @@
|
|
|
1
|
-
# Wooden
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
TODO: Delete this and the text above, and describe your gem
|
|
6
|
-
|
|
7
|
-
## Installation
|
|
8
|
-
|
|
9
|
-
Install the gem and add to the application's Gemfile by executing:
|
|
10
|
-
|
|
11
|
-
$ bundle add wooden
|
|
12
|
-
|
|
13
|
-
If bundler is not being used to manage dependencies, install the gem by executing:
|
|
14
|
-
|
|
15
|
-
$ gem install wooden
|
|
1
|
+
# Wooden Schedules
|
|
2
|
+
Plain-text scheduling and coordination for everyone!
|
|
3
|
+
- Quick Start: `gem install wooden`
|
|
16
4
|
|
|
17
5
|
## Usage
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
## Code of Conduct
|
|
36
|
-
|
|
37
|
-
Everyone interacting in the Wooden project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/wooden/blob/master/CODE_OF_CONDUCT.md).
|
|
6
|
+
```
|
|
7
|
+
require 'wooden'
|
|
8
|
+
|
|
9
|
+
# options are all optional.
|
|
10
|
+
Wooden[file].entry(
|
|
11
|
+
"Dinner every tuesday at 7pm except in April.",
|
|
12
|
+
message: "Tuesday dinner",
|
|
13
|
+
until: Date.today + 120,
|
|
14
|
+
tag: "dinner",
|
|
15
|
+
priority: 1000,
|
|
16
|
+
duration: "2h",
|
|
17
|
+
lead: 2,
|
|
18
|
+
delta: 10
|
|
19
|
+
)
|
|
20
|
+
# All events in next 7 days
|
|
21
|
+
Wooden[file][7]
|
|
22
|
+
```
|
data/lib/wooden/version.rb
CHANGED
data/lib/wooden.rb
CHANGED
|
@@ -122,6 +122,9 @@ class Reminders
|
|
|
122
122
|
ff.each { |e| File.open("rem/#{@id}.rem", 'a') { |f| f.puts(e) } }
|
|
123
123
|
return nil
|
|
124
124
|
end
|
|
125
|
+
def << e
|
|
126
|
+
entry(e)
|
|
127
|
+
end
|
|
125
128
|
def [] n
|
|
126
129
|
a = `remind -t#{n} rem/#{@id}.rem`.split("\n").compact.uniq.filter { |e| e.length > 0 }
|
|
127
130
|
h = a.shift
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: wooden
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Erik Olson
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-10
|
|
11
|
+
date: 2025-12-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: nickel
|
|
@@ -48,6 +48,7 @@ files:
|
|
|
48
48
|
- CHANGELOG.md
|
|
49
49
|
- CODE_OF_CONDUCT.md
|
|
50
50
|
- Gemfile
|
|
51
|
+
- Gemfile.lock
|
|
51
52
|
- LICENSE.txt
|
|
52
53
|
- README.md
|
|
53
54
|
- Rakefile
|