taf-cli 1.0.0 → 1.1.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
  SHA256:
3
- metadata.gz: 429fcf82dcb51d4be79dd52ca058902436ad9df756e7361d43482df5243af033
4
- data.tar.gz: 64d11156b021003106371ebaffca36ab0e44887a4b05758bebb91dd7ade57581
3
+ metadata.gz: bff1c42fdca1b0f14c014048f5e99a04dad0d79a13c1242a02baf121f53510a5
4
+ data.tar.gz: '086d6b6eb11de586f81ea03f6e829a8c540439bf53a190c86211fdca05c43909'
5
5
  SHA512:
6
- metadata.gz: ec40f282568d9937f5afebc5f816c0d98aae0925035df9bbe188fd86f8c042e5e62de61e1139473b8d84a9db23c6eb1b2341b13a36fbc704eb2a2550f6a47b84
7
- data.tar.gz: cb3278413cca7a2eb654b4b8dabef3a7ee09aff292b7333daaf1300e28eaffef20207bd592fbea601b3f1056e51f1d292574a6f800be4ddaeebead1d838a738a
6
+ metadata.gz: d25104d058552c2b34a889128b7326adec34e37d8335131ccbe5a7948d96f3158c66538933815a71b4ef84e7990f83d84bdc2f07aca4ea3a463ef0b196104953
7
+ data.tar.gz: 476c4b8fb6ad07ada8dc895ae934f95883c8df8b0b815ae52fde659c02f0cd88e4d0bff315499da26b66a89c93509676ad65ade97dff16578dad3b123702521b
data/CHANGELOG.md CHANGED
@@ -5,15 +5,19 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
- ## [1.0.0] - 2025-10-22
8
+ ## [1.1.0] - 2025-11-11
9
+
10
+ ### Added
11
+ - Support for `--file` (`-f`) option to specify custom markdown file path
12
+ - Default file path now set to ~/taf.md when no file is specified
9
13
 
10
- ### Changed
11
- - Initial stable release (bumped to 1.0.0 to avoid conflicts with previously yanked versions)
14
+ ### Fixed
15
+ - File option now properly recognized in command-line parsing
12
16
 
13
- ## [0.1.0] - 2025-10-22
17
+ ## [1.0.0] - 2025-10-22
14
18
 
15
19
  ### Added
16
- - Initial release of taf (Travail À Faire)
20
+ - Initial release of taf-cli
17
21
  - Markdown-based todo list storage
18
22
  - Tag-based organization of tasks
19
23
  - Hierarchical task structure (parent-child relationships)
@@ -24,5 +28,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
24
28
  - Cleanup command to sort todos before done items
25
29
  - Purge command to remove all completed tasks
26
30
  - Default file path to ~/taf.md (optional -f flag)
31
+ - Colorized terminal output
27
32
 
28
- [0.1.0]: https://github.com/jmoniatte/taf/releases/tag/v0.1.0
33
+ [1.0.0]: https://github.com/jmoniatte/taf/releases/tag/v1.0.0
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # TAF - Travail À Faire
2
2
 
3
+ [![Gem Version](https://badge.fury.io/rb/taf-cli.svg?icon=si%3Arubygems)](https://badge.fury.io/rb/taf-cli)
4
+
3
5
  A simple CLI todo list manager written in Ruby.
4
6
 
5
7
  `taf` is a lightweight command-line tool that helps you manage your todos in a markdown file. It supports hierarchical task organization with tags, parent-child relationships, and various management commands.
@@ -6,7 +6,7 @@ module MarkdownAdapter
6
6
  TAG_PREFIX = "#".freeze
7
7
  TODO_PREFIX = "- [ ]".freeze
8
8
  DONE_PREFIX = "- [x]".freeze
9
- INDENT_SIZE = 2 # Number of spaces per indent level
9
+ INDENT_SIZE = 2 # Number of spaces per indent level
10
10
 
11
11
  # Reads markdown and returns data as a tree structure
12
12
  def self.read(file)
@@ -26,7 +26,7 @@ module MarkdownAdapter
26
26
  if row.start_with?("#{TAG_PREFIX} ")
27
27
  tag = row.delete_prefix("#{TAG_PREFIX} ")
28
28
  data[tag] ||= []
29
- stack = [] # Reset stack for new tag
29
+ stack = [] # Reset stack for new tag
30
30
  elsif tag.nil?
31
31
  next
32
32
  else
data/lib/taf/version.rb CHANGED
@@ -1 +1 @@
1
- TAF_VERSION = "1.0.0".freeze
1
+ TAF_VERSION = "1.1.0".freeze
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: taf-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jean Moniatte
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2025-10-23 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: bundler
@@ -90,8 +89,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
90
89
  - !ruby/object:Gem::Version
91
90
  version: '0'
92
91
  requirements: []
93
- rubygems_version: 3.3.15
94
- signing_key:
92
+ rubygems_version: 3.7.2
95
93
  specification_version: 4
96
94
  summary: A simple CLI todo list manager
97
95
  test_files: []