tcelfer 1.0.1 → 1.0.2

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
  SHA256:
3
- metadata.gz: 1dbdbd3521fdede4906fa9d29f1404232ee0e8ed1209fd22e4516e4b6a1e9cae
4
- data.tar.gz: 02f3a40249b1ac13fe3e614819b552255c0d622d05e5fd73dc7464952b464358
3
+ metadata.gz: 293d220299f895bdbab44a5e02b2980f5b87efd959e5435e0e98d4c5cbb5c4e9
4
+ data.tar.gz: 708e69da53a4f9e785722bf3dc008e7f3d85ab6db1a38a651ac12e1d77ade616
5
5
  SHA512:
6
- metadata.gz: 2913057c0013914391a57474ed3ed5826f18e0880dd3349e054d1a571980c00b44bd97af24bb4a11eff50c4aa15671b9195a7d60b4a3fcc520d41ffe410d6c81
7
- data.tar.gz: ebbd589c6519393f4484be906ad8b2ddff124fdd0ef235c5f33f6dad618b2ee8bfc4e660bad3686338f355df5025c018628e8b1c7e792fb21acfcbe49cc9dc04
6
+ metadata.gz: 7a176142693c530bc287bc001485e32b05d9c0abc5f4fb8e8aa1925306afb7fc7ae54834ece9807c179d27787960e645ed36db29c5a3b8a92cf87318236eb01c
7
+ data.tar.gz: 2f8f8201c3ad3fde69578c030f820eb6b16dbbc757afa8cc1bd40acc2fdd5f145560e3e215fcc9c12b78248be678bd2a4b44816fd1c6e378ced49453b8c5b61a
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
4
4
  The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
5
5
  and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [1.0.2] - 2019-01-18
8
+ ### Added
9
+ - Some action screenshots
10
+ ### Fixed
11
+ - Correctly handle the --verbose flag now
12
+
7
13
  ## [1.0.1] - 2019-01-18
8
14
  ### Fixed
9
15
  - Flags for debug and specifying dates for `tcelfer day` collided
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- tcelfer (1.0.1)
4
+ tcelfer (1.0.2)
5
5
  anyway_config (~> 1.4)
6
6
  paint (~> 2.0)
7
7
  sequel (~> 5.15)
data/README.md CHANGED
@@ -3,6 +3,8 @@
3
3
  ### [t]cel-fer:
4
4
  - A fun way to keep track of simple summaries of your months.
5
5
 
6
+ ![generated_report](/images/generated_report.png)
7
+
6
8
  ## Requirements
7
9
  * Ruby 2.5.0+ (Tested with 2.6.0 mostly)
8
10
  * Sqlite3
@@ -46,6 +48,8 @@ $ tcelfer day [-d 2018-12-31]
46
48
  # Reflect on your month
47
49
  $ tcelfer report [-y|--year=)YEAR] -m|--month=MON [--legend]
48
50
  ```
51
+ ![record_day](/images/record_day.png)
52
+ ![recorded_day](/images/recorded_day.png)
49
53
 
50
54
  ## Development
51
55
 
@@ -49,7 +49,7 @@ module Tcelfer
49
49
  method_option(:date, aliases: %w[-d], desc: 'Any format valid for ruby Date e.g. 2019-10-31', required: false)
50
50
  desc 'day', 'record info for a day'
51
51
  def day
52
- Tcelfer.config.debug = options[:debug]
52
+ Tcelfer.config.debug = options[:verbose]
53
53
  store = Tcelfer::Storage.new
54
54
  tc_day = rec_day! store
55
55
  @prompt.say("Recorded [#{tc_day.date}]: #{Paint[tc_day.rating, :bold]}")
@@ -62,7 +62,7 @@ module Tcelfer
62
62
  method_option(:year, aliases: %w[-y], type: :numeric, default: Date.today.year)
63
63
  desc 'report', 'generate a report'
64
64
  def report
65
- Tcelfer.config.debug = options[:debug]
65
+ Tcelfer.config.debug = options[:verbose]
66
66
  rep = Report.new
67
67
  @prompt.say(gen_report(rep, options['month'], options['year'], options['legend']))
68
68
  rescue Tcelfer::Error => err
@@ -15,5 +15,5 @@
15
15
  # You should have received a copy of the GNU General Public License
16
16
  # along with this program. If not, see <http://www.gnu.org/licenses/>.
17
17
  module Tcelfer
18
- VERSION = '1.0.1'
18
+ VERSION = '1.0.2'
19
19
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tcelfer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anthony Gargiulo
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-01-18 00:00:00.000000000 Z
11
+ date: 2019-01-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler