howzit 2.1.4 → 2.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.howzit.taskpaper.bak +27 -0
- data/CHANGELOG.md +8 -0
- data/lib/howzit/util.rb +1 -0
- data/lib/howzit/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1299678fe342467585d3ced3e03840c89964312c17e865beb77bbeb10fd84d5c
|
4
|
+
data.tar.gz: 247e0c2819675d4da66c07e7d80af7cfdcb3a1be461a1fea4df901ca0b924bbc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 676fc60b51f92daa8fa61c10ca1d3029e1ac310da7c9dfb9563e40cf090572ccb97cef1384fc2fd7a7e6ef93bd113f6a677d4d61f60ddebf706a9983a0cebafc
|
7
|
+
data.tar.gz: 3c2e3820b771428413019e68510e50eb7ee3423af04c5540974825c0f18a07844af4eb72a1b3a83818195ce0085b5135b6f21cb6b44621da244afb54e2f98843
|
@@ -0,0 +1,27 @@
|
|
1
|
+
Inbox:
|
2
|
+
- Topic summaries @na
|
3
|
+
Maybe in square brackets on line after topic title, or as a blockquote. When doing a list of available topics, include its summary in the output. Ignore or specially style summary when viewing full topic.
|
4
|
+
- Named positional arguments for topics @na
|
5
|
+
Parenthesis after title like a function (arg1, arg2). Variables can have default values (arg1 = testing) and are available as [%var1] replacements in scripts
|
6
|
+
howzit:
|
7
|
+
New Features:
|
8
|
+
Ideas:
|
9
|
+
- Nested topics @maybe @na
|
10
|
+
Allow increased header levels to nest topics within a parent
|
11
|
+
Running/viewing a parent includes all nested subtopics
|
12
|
+
All topics still available via search
|
13
|
+
When reading file, set a base level from first header, then test each additional topic title to see whether it's greater than the current level. If so, change current level and begin collecting subtopics at the same level
|
14
|
+
Howzit::Topic has a subtopic attribute, consisting of an array of Topics. Each of these Topics also has a subtopics attr. These are collected and assigned during initila reading of note file
|
15
|
+
When read in, a topic is added to the top level build notes topic, as well as appended to its parent's subtopics if it's a higher level than the base
|
16
|
+
just need methods to determine base level (first # match) and check the current headers level when discovering a topic (count #)
|
17
|
+
|
18
|
+
no, wait. topics should read in their own children. Determine base header level, split topics at that level, then recurse each topic the same way
|
19
|
+
include statements will need to be adjusted to allow includes as children. Multiple at symbols could indicate the level to nest at, two symbols would indicate that the include belonged to the last parent. When importing, adjust base header levels appropriately (increase 1).
|
20
|
+
Bugs:
|
21
|
+
Archive:
|
22
|
+
- Add a preview when selecting topic with fzf @priority(3) @na @done(2022-08-06) @project(Inbox)
|
23
|
+
Search Definitions:
|
24
|
+
Top Priority @search(@priority = 5 and not @done)
|
25
|
+
High Priority @search(@priority > 3 and not @done)
|
26
|
+
Maybe @search(@maybe)
|
27
|
+
Next @search(@na and not @done and not project = "Archive")
|
data/CHANGELOG.md
CHANGED
data/lib/howzit/util.rb
CHANGED
@@ -39,6 +39,7 @@ module Howzit
|
|
39
39
|
##
|
40
40
|
def command_exist?(command)
|
41
41
|
exts = ENV.fetch('PATHEXT', '').split(::File::PATH_SEPARATOR)
|
42
|
+
command = File.expand_path(command) if command =~ /^~/
|
42
43
|
if Pathname.new(command).absolute?
|
43
44
|
::File.exist?(command) || exts.any? { |ext| ::File.exist?("#{command}#{ext}") }
|
44
45
|
else
|
data/lib/howzit/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: howzit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brett Terpstra
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-04-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -292,6 +292,7 @@ extra_rdoc_files: []
|
|
292
292
|
files:
|
293
293
|
- ".editorconfig"
|
294
294
|
- ".gitignore"
|
295
|
+
- ".howzit.taskpaper.bak"
|
295
296
|
- ".rspec"
|
296
297
|
- ".rubocop.yml"
|
297
298
|
- ".travis.yml"
|