idonethis-cli 0.10.0 → 0.11.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1aeb6df78450b020a26bbfa41c54862eeff62b3b
4
- data.tar.gz: 31d09301f3e72752a010741b073a772ce00d10ad
3
+ metadata.gz: b959cb1831568937ec335c6b06f0ec7ea36cd6ed
4
+ data.tar.gz: 611acc65b8c1aefad5e62d42f3554e0eb2bdd40b
5
5
  SHA512:
6
- metadata.gz: b78e5edd6a1b330577d96b53c5e0313774c09b2608b6e1deb17f0543ca81d3ad0b8bd6174922418f3f0901282cc5734373fea9d969fa7b8a52a1b54ce21f5371
7
- data.tar.gz: 1212752ebc36fb9ae0d4d47c35bbef138013fff7c8c08f7559c99becf406c9634534c222cf6a703aaeeebdcf7eaa5b54bcb5108f4ebd7c8dfd4125adfb3a081a
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 fore the past week:
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
- $ bin/idonethis git
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
@@ -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); puts %Q{#{d["created"]} #{d["team_short_name"]} -- #{d["raw_text"].slice(0,150)}}
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
@@ -1,5 +1,5 @@
1
1
  module Idonethis
2
2
  module Cli
3
- VERSION = "0.10.0"
3
+ VERSION = "0.11.0"
4
4
  end
5
5
  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.10.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-23 00:00:00.000000000 Z
11
+ date: 2015-09-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler