idonethis-cli 0.10.0 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +17 -3
- data/lib/adapters/views/cli.rb +1 -1
- data/lib/idonethis/cli/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b959cb1831568937ec335c6b06f0ec7ea36cd6ed
|
4
|
+
data.tar.gz: 611acc65b8c1aefad5e62d42f3554e0eb2bdd40b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fd64c38b4f8d142c49c38e7402012dd7abda75495b4cd445ef96b88fe7d16148ef55b5043ce086c1766e025d16e4ef19b8fe01575ebabc41bdb2ac10e2bd85d8
|
7
|
+
data.tar.gz: beb3ddb14cd36f0196ad8f11e7afb743c549cb353a341c28e4665092282b7e346a7b3e55b920df3cdf9857023935502f26dccba3a194d887dfa027e2612fe575
|
data/README.md
CHANGED
@@ -33,7 +33,7 @@ $ idonethis list today
|
|
33
33
|
6 2015-09-20T21:46:00.053 -- Seems to work on windows, though we do get that gem warning <Unresolved specs during Gem::Specification.reset>
|
34
34
|
```
|
35
35
|
|
36
|
-
You can also list dones
|
36
|
+
You can also list dones for the past week:
|
37
37
|
|
38
38
|
```
|
39
39
|
$ idonethis list week
|
@@ -45,10 +45,25 @@ $ idonethis list week
|
|
45
45
|
$ bin/idonethis new -m "Ricky Bizzness"
|
46
46
|
```
|
47
47
|
|
48
|
+
### Choose team
|
49
|
+
|
50
|
+
To work against a different team, use the `-t` option.
|
51
|
+
|
52
|
+
```
|
53
|
+
$ idonethis list today -t benbiddington-personal-lM85
|
54
|
+
1 2015-09-23T02:01:41.808 benbiddington-personal-lM85 -- I think this is our shared team, Ricky F
|
55
|
+
```
|
56
|
+
|
57
|
+
Same for adding:
|
58
|
+
|
59
|
+
```
|
60
|
+
idonethis new -m "Can use \`-t\` to send dones to another team" -t benbiddington-personal-lM85
|
61
|
+
```
|
62
|
+
|
48
63
|
### Add dones based on commit activity [alpha]
|
49
64
|
|
50
65
|
```
|
51
|
-
$
|
66
|
+
$ idonethis git
|
52
67
|
Scanning dir </home/ben/sauce>, which has <1> repositories that have changed
|
53
68
|
|
54
69
|
idonethis-cli (10):
|
@@ -62,7 +77,6 @@ idonethis-cli (10):
|
|
62
77
|
-- [21:06] Enable `idonethis list week`
|
63
78
|
-- [20:55] Refactor: simplified
|
64
79
|
-- [20:48] Refactor: extract function"
|
65
|
-
|
66
80
|
```
|
67
81
|
|
68
82
|
## Development
|
data/lib/adapters/views/cli.rb
CHANGED
@@ -10,7 +10,7 @@ module Idonethis::Adapters
|
|
10
10
|
# "team_short_name"=>"benbiddington-personal", "tags"=>[], "likes"=>[], "comments"=>[], "meta_data"=>{}, "is_goal"=>true, "goal_completed"=>false,
|
11
11
|
# "url"=>"https://idonethis.com/api/v0.1/dones/22609300/", "team"=>"https://idonethis.com/api/v0.1/teams/benbiddington-personal/", "raw_text"=>"[ ] fix api smoke", "permalink"=>"https://idonethis.com/done/22609300/"}
|
12
12
|
# puts d.inspect
|
13
|
-
printf("%-5s", i+1);
|
13
|
+
printf("%-5s", i+1); print(%Q{#{d["created"]} #{d["team_short_name"]} }); printf("%-20s", d["owner"]); print(%Q{ -- #{d["raw_text"].slice(0,150)}}); print("\n")
|
14
14
|
end
|
15
15
|
end
|
16
16
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: idonethis-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben Biddington
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-09-
|
11
|
+
date: 2015-09-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|