idonethis-cli 0.3.0 → 0.4.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: 04191da2f4ac239fd862e5d1a3a9b3b3316a6199
4
- data.tar.gz: 7712b787f29d890496bc477eb09fb894d692eaa4
3
+ metadata.gz: 20fd3e7441f13493e7a232787a5468f11acfd32f
4
+ data.tar.gz: a0d30c426f67093a91c564cbfbf44f7ce4dafbf6
5
5
  SHA512:
6
- metadata.gz: e70bca5da20be58634b7155885045bcfa1525c45c7e97fc49a8f82c8b114a7a59ac518a48469c1b136f7d3b4f4e10d15039fb8c23636ea65249d58d16c080c9a
7
- data.tar.gz: e87e39a7992bd0637ade7d60a5bf3f163e12097085d582836278f269e8c043ae29e0d568d254f9078e804be9abf53a2b0e4c9c9d3b78c19cae08974ed6e46dc8
6
+ metadata.gz: 777ba0e9b0fa857de7b8b24334830cb9a7e91cffe57b40735cd40962b7436ebcbe1a5ff2dae537dd94380a82b153f58c3262b605a374da830d8e3b40dbb164ee
7
+ data.tar.gz: cc60b01da351d880de7976aef32c5d011b942b16b575542be8f9d481ca4551a3f5437ef25893493d5d2276047480ae328d8cf99ad835c6a88b0a3273a1e4e32f
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  A CLI for [idonethis](https://idonethis.com/).
2
2
 
3
+ [![Build Status](https://travis-ci.org/ben-biddington/idonethis-cli.svg?branch=master)](http://travis-ci.org/ben-biddington/idonethis-cli)
4
+
3
5
  ## Installation
4
6
 
5
7
  ```
@@ -31,6 +33,12 @@ $ idonethis list today
31
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>
32
34
  ```
33
35
 
36
+ You can also list dones fore the past week:
37
+
38
+ ```
39
+ $ idonethis list today
40
+ ```
41
+
34
42
  ### Add done
35
43
 
36
44
  ```
data/Rakefile CHANGED
@@ -1 +1,7 @@
1
1
  require "bundler/gem_tasks"
2
+
3
+ require 'rspec/core/rake_task'
4
+
5
+ RSpec::Core::RakeTask.new(:test)
6
+
7
+ task :default => :test
@@ -10,11 +10,11 @@ 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["markedup_text"].slice(0,150)}}
13
+ printf("%-5s", i+1); puts %Q{#{d["created"]} -- #{d["raw_text"].slice(0,150)}}
14
14
  end
15
15
  end
16
16
  end
17
17
  end
18
18
  end
19
19
  end
20
- end
20
+ end
@@ -1,5 +1,5 @@
1
1
  module Idonethis
2
2
  module Cli
3
- VERSION = "0.3.0"
3
+ VERSION = "0.4.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: idonethis-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Biddington