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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c6636feaeffc5a9b8ece43a5ac13d50959412ae83b45aa22f2c8f45aa3243b51
4
- data.tar.gz: 537931680e6c7edcb1149339b09877df06d283daa0d0513486cfd1452de4f0b3
3
+ metadata.gz: 1299678fe342467585d3ced3e03840c89964312c17e865beb77bbeb10fd84d5c
4
+ data.tar.gz: 247e0c2819675d4da66c07e7d80af7cfdcb3a1be461a1fea4df901ca0b924bbc
5
5
  SHA512:
6
- metadata.gz: 93b5c6136f0c612aa914151e0e0df4caa2c4a01259325b4b725aad289eda22d11b09f70d4801d40bb9587733ee8ff62c9117a9b14d53344ee449c6a1c394e612
7
- data.tar.gz: 1ccc318642663bde10dd806752f796d39344cebea009b930d7dbe2ead69a537fbd5077f66f1e0876d41706fba9a982c4bb6328ddfcea17d2d4f09ae42d4c69bc
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
@@ -1,3 +1,11 @@
1
+ ### 2.1.5
2
+
3
+ 2023-04-12 15:13
4
+
5
+ #### FIXED
6
+
7
+ - Allow tilde in path to editor
8
+
1
9
  ### 2.1.4
2
10
 
3
11
  2023-03-07 12:52
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
@@ -3,5 +3,5 @@
3
3
  # Primary module for this gem.
4
4
  module Howzit
5
5
  # Current Howzit version.
6
- VERSION = '2.1.4'
6
+ VERSION = '2.1.5'
7
7
  end
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
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-03-07 00:00:00.000000000 Z
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"