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 +4 -4
- data/CHANGELOG.md +6 -0
- data/Gemfile.lock +1 -1
- data/README.md +4 -0
- data/lib/tcelfer/cli.rb +2 -2
- data/lib/tcelfer/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 293d220299f895bdbab44a5e02b2980f5b87efd959e5435e0e98d4c5cbb5c4e9
|
4
|
+
data.tar.gz: 708e69da53a4f9e785722bf3dc008e7f3d85ab6db1a38a651ac12e1d77ade616
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7a176142693c530bc287bc001485e32b05d9c0abc5f4fb8e8aa1925306afb7fc7ae54834ece9807c179d27787960e645ed36db29c5a3b8a92cf87318236eb01c
|
7
|
+
data.tar.gz: 2f8f8201c3ad3fde69578c030f820eb6b16dbbc757afa8cc1bd40acc2fdd5f145560e3e215fcc9c12b78248be678bd2a4b44816fd1c6e378ced49453b8c5b61a
|
data/CHANGELOG.md
CHANGED
@@ -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
|
data/Gemfile.lock
CHANGED
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
|
+

|
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
|
+

|
52
|
+

|
49
53
|
|
50
54
|
## Development
|
51
55
|
|
data/lib/tcelfer/cli.rb
CHANGED
@@ -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[:
|
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[:
|
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
|
data/lib/tcelfer/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2019-01-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|