tomatoharvest 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/CHANGELOG.md +3 -0
- data/README.md +17 -5
- data/lib/tomatoharvest/cli.rb +1 -0
- data/lib/tomatoharvest/version.rb +1 -1
- data/spec/lib/tomatoharvest/cli_spec.rb +3 -0
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f32b45e0755cb181e8c1af6e85bb33c039f7e436
|
|
4
|
+
data.tar.gz: 482eb24de4b9132d478545c51b0456d312009d51
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0a8dc770a2b8244d069f6e73b4a5435bf47859867d5c6ea6b8cbc928e5c0061ba544d1158fadf8bd0e5350d8630f1dcf14eae5d33b28bc7d75e94908a16a566c
|
|
7
|
+
data.tar.gz: 6a92bef00a7c33e0ccbdfc3aa19102ad48dbeab9aba5c0c084f20d96093951065312dbc128183eafa723321a3fa9947eca6719aa8e7e620832b4f0801886c24d
|
data/CHANGELOG.md
ADDED
data/README.md
CHANGED
|
@@ -3,11 +3,19 @@ Command line pomodoro timer that logs to Harvest.
|
|
|
3
3
|
|
|
4
4
|
[](https://codeclimate.com/github/samuelreh/tomatoharvest)
|
|
5
5
|
|
|
6
|
+
## Usage
|
|
7
|
+
|
|
8
|
+
$ toma add "Some Task I Have To Do"
|
|
9
|
+
$ toma list
|
|
10
|
+
$ toma start 1
|
|
11
|
+
|
|
6
12
|
## Installation
|
|
7
13
|
|
|
8
14
|
$ gem install tomatoharvest
|
|
9
15
|
|
|
10
|
-
|
|
16
|
+
#### Global Config
|
|
17
|
+
|
|
18
|
+
Create a file called `~/.toma/config.yaml` with options:
|
|
11
19
|
```yaml
|
|
12
20
|
domain: myharvestdomain
|
|
13
21
|
username: username
|
|
@@ -16,11 +24,15 @@ Create a file called ~/.tomaconfig with options:
|
|
|
16
24
|
task: harvest task
|
|
17
25
|
```
|
|
18
26
|
|
|
19
|
-
|
|
27
|
+
#### Project Config
|
|
20
28
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
29
|
+
You can create a config for a specific project as well. Create a file called `path_to_project/.toma/config.yaml` with options:
|
|
30
|
+
```yaml
|
|
31
|
+
project: different harvest project
|
|
32
|
+
task: harvest task
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
You can also create a seperate list for a project by creating an empty file at `path_to_project/.toma/list.yaml`
|
|
24
36
|
|
|
25
37
|
## Contributing
|
|
26
38
|
|
data/lib/tomatoharvest/cli.rb
CHANGED
|
@@ -30,6 +30,9 @@ describe TomatoHarvest::CLI do
|
|
|
30
30
|
it 'removes task from the list' do
|
|
31
31
|
out = capture_io { TomatoHarvest::CLI.start ['remove', 1] }.join ''
|
|
32
32
|
expect(out).to match(/1 removed/)
|
|
33
|
+
|
|
34
|
+
out = capture_io { TomatoHarvest::CLI.start ['list'] }.join ''
|
|
35
|
+
expect(out).to match(/id name\n\z/)
|
|
33
36
|
end
|
|
34
37
|
|
|
35
38
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tomatoharvest
|
|
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
|
- Sam Reh
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-06-
|
|
11
|
+
date: 2014-06-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -131,6 +131,7 @@ extensions: []
|
|
|
131
131
|
extra_rdoc_files: []
|
|
132
132
|
files:
|
|
133
133
|
- ".gitignore"
|
|
134
|
+
- CHANGELOG.md
|
|
134
135
|
- Gemfile
|
|
135
136
|
- LICENSE.txt
|
|
136
137
|
- README.md
|