howzit 2.1.29 → 2.1.31
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 +4 -4
- data/CHANGELOG.md +95 -0
- data/README.md +5 -1
- data/Rakefile +7 -1
- data/bin/howzit +5 -0
- data/lib/howzit/buildnote.rb +23 -1
- data/lib/howzit/config.rb +21 -0
- data/lib/howzit/console_logger.rb +62 -2
- data/lib/howzit/directive.rb +137 -0
- data/lib/howzit/script_support.rb +572 -0
- data/lib/howzit/stringutils.rb +47 -5
- data/lib/howzit/task.rb +57 -4
- data/lib/howzit/topic.rb +548 -5
- data/lib/howzit/version.rb +1 -1
- data/lib/howzit.rb +8 -1
- data/spec/buildnote_spec.rb +33 -4
- data/spec/log_level_spec.rb +247 -0
- data/spec/sequential_conditional_spec.rb +319 -0
- data/spec/set_var_spec.rb +603 -0
- data/spec/stringutils_spec.rb +41 -1
- data/spec/topic_spec.rb +8 -6
- data/src/_README.md +5 -1
- metadata +10 -2
data/src/_README.md
CHANGED
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
|
|
4
4
|
[](https://rubygems.org/gems/howzit)
|
|
5
5
|
[](./LICENSE.txt)
|
|
6
|
+
<!--END GITHUB-->
|
|
6
7
|
|
|
7
8
|
A command-line reference tool for tracking project build systems
|
|
8
9
|
|
|
9
10
|
Howzit is a tool that allows you to keep Markdown-formatted notes about a project's tools and procedures. It functions as an easy lookup for notes about a particular task, as well as a task runner to automatically execute appropriate commands.
|
|
10
|
-
<!--END GITHUB-->
|
|
11
11
|
|
|
12
12
|
## Features
|
|
13
13
|
|
|
@@ -16,6 +16,10 @@ Howzit is a tool that allows you to keep Markdown-formatted notes about a projec
|
|
|
16
16
|
- Use `@run()`, `@copy()`, and `@open()` to perform actions within a build notes file
|
|
17
17
|
- Use `@include()` to import another topic's tasks
|
|
18
18
|
- Use fenced code blocks to include/run embedded scripts
|
|
19
|
+
- Scripts can communicate back to Howzit, sending log messages and setting variables
|
|
20
|
+
- Conditional blocks (`@if`/`@unless`/`@elsif`/`@else`) for conditionally including content and tasks
|
|
21
|
+
- String comparison operators including fuzzy match (`**=`) for flexible pattern matching
|
|
22
|
+
- File contents conditions to check file contents in conditional blocks
|
|
19
23
|
- Sets iTerm 2 marks on topic titles for navigation when paging is disabled
|
|
20
24
|
- Inside of git repositories, howzit will work from subdirectories, assuming build notes are in top level of repo
|
|
21
25
|
- Templates for easily including repeat tasks
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.31
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Brett Terpstra
|
|
@@ -302,10 +302,12 @@ files:
|
|
|
302
302
|
- lib/howzit/conditional_content.rb
|
|
303
303
|
- lib/howzit/config.rb
|
|
304
304
|
- lib/howzit/console_logger.rb
|
|
305
|
+
- lib/howzit/directive.rb
|
|
305
306
|
- lib/howzit/hash.rb
|
|
306
307
|
- lib/howzit/prompt.rb
|
|
307
308
|
- lib/howzit/run_report.rb
|
|
308
309
|
- lib/howzit/script_comm.rb
|
|
310
|
+
- lib/howzit/script_support.rb
|
|
309
311
|
- lib/howzit/stringutils.rb
|
|
310
312
|
- lib/howzit/task.rb
|
|
311
313
|
- lib/howzit/topic.rb
|
|
@@ -317,10 +319,13 @@ files:
|
|
|
317
319
|
- spec/condition_evaluator_spec.rb
|
|
318
320
|
- spec/conditional_blocks_integration_spec.rb
|
|
319
321
|
- spec/conditional_content_spec.rb
|
|
322
|
+
- spec/log_level_spec.rb
|
|
320
323
|
- spec/prompt_spec.rb
|
|
321
324
|
- spec/ruby_gem_spec.rb
|
|
322
325
|
- spec/run_report_spec.rb
|
|
323
326
|
- spec/script_comm_spec.rb
|
|
327
|
+
- spec/sequential_conditional_spec.rb
|
|
328
|
+
- spec/set_var_spec.rb
|
|
324
329
|
- spec/spec_helper.rb
|
|
325
330
|
- spec/stringutils_spec.rb
|
|
326
331
|
- spec/task_spec.rb
|
|
@@ -346,7 +351,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
346
351
|
- !ruby/object:Gem::Version
|
|
347
352
|
version: '0'
|
|
348
353
|
requirements: []
|
|
349
|
-
rubygems_version:
|
|
354
|
+
rubygems_version: 4.0.3
|
|
350
355
|
specification_version: 4
|
|
351
356
|
summary: Provides a way to access Markdown project notes by topic with query capabilities
|
|
352
357
|
and the ability to execute the tasks it describes.
|
|
@@ -356,10 +361,13 @@ test_files:
|
|
|
356
361
|
- spec/condition_evaluator_spec.rb
|
|
357
362
|
- spec/conditional_blocks_integration_spec.rb
|
|
358
363
|
- spec/conditional_content_spec.rb
|
|
364
|
+
- spec/log_level_spec.rb
|
|
359
365
|
- spec/prompt_spec.rb
|
|
360
366
|
- spec/ruby_gem_spec.rb
|
|
361
367
|
- spec/run_report_spec.rb
|
|
362
368
|
- spec/script_comm_spec.rb
|
|
369
|
+
- spec/sequential_conditional_spec.rb
|
|
370
|
+
- spec/set_var_spec.rb
|
|
363
371
|
- spec/spec_helper.rb
|
|
364
372
|
- spec/stringutils_spec.rb
|
|
365
373
|
- spec/task_spec.rb
|