idonethis-cli 0.4.1 → 0.5.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: bda89ed27842d421531a71f5350641a120df46ed
4
- data.tar.gz: 4c1d5b92d91fa27a9301e3d3362f1547572c42db
3
+ metadata.gz: 7732c6eb7d9765b37d6cf669a2ce808b4d9563ca
4
+ data.tar.gz: ad003f1a99ae40d0d74cae19545022ff184e1441
5
5
  SHA512:
6
- metadata.gz: 56f23820c954a12435dd8e24c1bfb77d894d0c5aa4a7d5d8bd4cbd31b788ba152a373f1139d624d0e87fd374229d019429cf5c983cfca68de1520fdb8702c0e0
7
- data.tar.gz: d5e993483dae7409db46f00d9d9234071b0e069fcf3652b20403dec778528e4e519bedf3bb6f0c39ab0e11485cbfb0eb554753d9ceddcbcd6a3a81582ffc44b4
6
+ metadata.gz: eb24e43e8bd7526d8c919c53d4114986f759dd9074a06faca053f6e38733177657abb807f7c65e44d69874d7a2fec8f972a3953b91d5856a4d6912891f8bf59c
7
+ data.tar.gz: 7c3e268399456085c795284825636f64f5fced2f147a027d0a91ee0ebdca4b572d1ac8dfdeed88886860172799f10a65487aab358e80c747840521b0d1250b70
data/README.md CHANGED
@@ -36,7 +36,7 @@ $ idonethis list today
36
36
  You can also list dones fore the past week:
37
37
 
38
38
  ```
39
- $ idonethis list today
39
+ $ idonethis list week
40
40
  ```
41
41
 
42
42
  ### Add done
@@ -1,5 +1,5 @@
1
1
  module Idonethis
2
2
  module Cli
3
- VERSION = "0.4.1"
3
+ VERSION = "0.5.0"
4
4
  end
5
5
  end
@@ -49,7 +49,7 @@ module Idonethis::UseCases
49
49
 
50
50
  intersection = (args[:opts] || []) & %W{ today yesterday }
51
51
 
52
- return intersection.empty? ? {} : { done_date: intersection.first }
52
+ return intersection.empty? ? { done_date: 'today' } : { done_date: intersection.first }
53
53
  end
54
54
 
55
55
  def parse(reply)
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.4.1
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Biddington