fewald-worklog 0.1.10 → 0.1.11

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/.version +1 -1
  3. data/worklog/cli.rb +4 -0
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: db8631409f5e61546ef1df66fa5c25aab62c8dee8b1c1cd2f063aef110812e24
4
- data.tar.gz: f592c82f2d2700d176d4e608cff5f0e6bb4b03ecf124a5457f94733a5d3b214f
3
+ metadata.gz: 1a7119faa8d6fc12fd4ed7c98c9b3ab686b7e18426e96c60482d07421f8bb30a
4
+ data.tar.gz: '03863c72e41d80e0333d6479fda9290a29f68cc93da989d0e4426b9b09a3d21d'
5
5
  SHA512:
6
- metadata.gz: 777233967f8f0b6140df0eb7d79c662857e64fa423be0164aa5c26950fef7dc63bf6447461436660d1c74a11e070c238bd73438a4f7070d6321b83da66aa3763
7
- data.tar.gz: a91766b0e9bb4e6dded7bc9c2e8332f222ac8cf31855428afaff1a0f798d218dfa1750b72f21436d8a91d6be99af9937f2ebdc182fecda8fdf936ba31a23a61e
6
+ metadata.gz: 98df77412956964c7da349fcd484932e1e85e99f1fa1990aac72115c4b2c1780523ea27d67470b2d0578146b2414cbd2f46e2237f55e644013787d903c64e9f4
7
+ data.tar.gz: 3ebe81dbf6fc09bdb0c112d32bc83d880dd444bef59016b4786b560b84917969116c798a6217446528fd44011be205c1ad012680afccff2a21177e77d145ac54
data/.version CHANGED
@@ -1 +1 @@
1
- 0.1.10
1
+ 0.1.11
data/worklog/cli.rb CHANGED
@@ -186,6 +186,8 @@ class WorklogCLI < Thor
186
186
 
187
187
  desc 'stats', 'Show statistics for the work log'
188
188
  def stats
189
+ set_log_level
190
+
189
191
  stats = Statistics.calculate
190
192
  puts "#{format_left('Total days')}: #{stats.total_days}"
191
193
  puts "#{format_left('Total entries')}: #{stats.total_entries}"
@@ -222,6 +224,8 @@ class WorklogCLI < Thor
222
224
 
223
225
  desc 'version', 'Show the version of the Worklog'
224
226
  def version
227
+ set_log_level
228
+
225
229
  puts "Worklog #{current_version} running on Ruby #{RUBY_VERSION}"
226
230
  end
227
231
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fewald-worklog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.10
4
+ version: 0.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Friedrich Ewald
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-20 00:00:00.000000000 Z
10
+ date: 2025-04-03 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: httparty