tasku 0.3.9 → 0.4.1

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.
@@ -0,0 +1,18 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Tasku
4
+ module TUI
5
+ # Minimal append-only logger shared with the Mado Rust process.
6
+ # Both sides write to /tmp/tasku_mado.log so button presses and
7
+ # MadoList state transitions can be correlated in one place.
8
+ module MadoLog
9
+ LOG_FILE = "/tmp/tasku_mado.log"
10
+
11
+ def self.log(msg)
12
+ File.open(LOG_FILE, "a") { |f| f.puts "[#{Time.now.to_i}] tasku: #{msg}" }
13
+ rescue StandardError
14
+ nil
15
+ end
16
+ end
17
+ end
18
+ end
data/lib/tasku/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Tasku
4
- VERSION = "0.3.9"
4
+ VERSION = "0.4.1"
5
5
  end
data/lib/tasku.rb CHANGED
@@ -17,6 +17,12 @@ begin
17
17
  rescue LoadError
18
18
  # TUI not available in this build
19
19
  end
20
+
21
+ # Mado integration — ensure Tasku::TUI exists even if the full TUI did not load
22
+ module Tasku
23
+ module TUI; end
24
+ end
25
+ require_relative "tasku/tui/mado_log"
20
26
  begin
21
27
  require_relative "tasku/tui/mado_list"
22
28
  rescue LoadError
metadata CHANGED
@@ -1,13 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tasku
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.9
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Dringer
8
+ autorequire:
8
9
  bindir: exe
9
10
  cert_chain: []
10
- date: 1980-01-02 00:00:00.000000000 Z
11
+ date: 2026-09-29 00:00:00.000000000 Z
11
12
  dependencies:
12
13
  - !ruby/object:Gem::Dependency
13
14
  name: thor
@@ -81,11 +82,13 @@ dependencies:
81
82
  version: '1.6'
82
83
  description: Tasku is a terminal-based task manager with colour-coded priorities,
83
84
  status tracking, SQLite persistence, and a beautiful CLI interface.
85
+ email:
84
86
  executables:
85
87
  - tasku
86
88
  extensions: []
87
89
  extra_rdoc_files: []
88
90
  files:
91
+ - CHANGELOG.md
89
92
  - exe/tasku
90
93
  - lib/tasku.rb
91
94
  - lib/tasku/cli.rb
@@ -95,6 +98,7 @@ files:
95
98
  - lib/tasku/project.rb
96
99
  - lib/tasku/task.rb
97
100
  - lib/tasku/tui/mado_list.rb
101
+ - lib/tasku/tui/mado_log.rb
98
102
  - lib/tasku/version.rb
99
103
  homepage: https://github.com/tomdringer/tasku
100
104
  licenses:
@@ -102,7 +106,8 @@ licenses:
102
106
  metadata:
103
107
  homepage_uri: https://github.com/tomdringer/tasku
104
108
  source_code_uri: https://github.com/tomdringer/tasku
105
- changelog_uri: https://github.com/tomdringer/tasku/releases
109
+ changelog_uri: https://github.com/tomdringer/tasku/blob/main/CHANGELOG.md
110
+ post_install_message:
106
111
  rdoc_options: []
107
112
  require_paths:
108
113
  - lib
@@ -117,7 +122,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
117
122
  - !ruby/object:Gem::Version
118
123
  version: '0'
119
124
  requirements: []
120
- rubygems_version: 4.0.20
125
+ rubygems_version: 3.5.3
126
+ signing_key:
121
127
  specification_version: 4
122
128
  summary: タスクリスト — a beautiful terminal task manager
123
129
  test_files: []