This repository has been archived by the owner on Jan 7, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improved creation new project with multi-word name
- Loading branch information
Showing
11 changed files
with
119 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Change log | ||
|
||
## master (unreleased) | ||
|
||
The main purpose of the gem was changed to more general <u>text nodes repository management</u>. The requirements management still my original reason, but it is achieved rather through adjustment than by basic features. That way was updated descriptions in `gemspec` and the repository. | ||
|
||
According to this big shift, I'm planning to record a few basic videos "How to write big documents with Clerq". At the moment I created the clerq project [Clerq Video Guide](https://github.com/nvoynov/clerq-video-guide) and the first script. You can just download this at [Clerq Video Guide.pdf](https://github.com/nvoynov/clerq-video-guide/blob/master/bin/Clerq Video Guide.pdf). I hope I'll have time to create an episode on how to meet requirements management challenges. | ||
|
||
Changes: | ||
|
||
* Improved `JoinNodes.call()`. When the result node contains the only single child item, it will return the child item orphaned. | ||
* Improved `clerq new PROJECT` command. When the `PROJECT` parameter consists of more than one word, It will create `<project>.thor` file that follows to usual ruby file and class naming conventions; e.g. for `user guide` it will create `user_guide.thor` and `class UserGuide < Thor` inside. | ||
* Thor `error(msg)` in `cli.rb` changed to `stop!(mgs); raise Thor::Error`. | ||
* Improved CLI for `build`, `check`, `toc`; now these check if the command run in clerq project, checked if `clerq.yml` or `src` folder exist. | ||
* Added `cli_node_spec.rb` stub | ||
|
||
## 0.1.0 (2019-11-08) | ||
|
||
First release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,9 @@ | ||
% TODO | ||
|
||
[ ] Handle `PROJECT` parameter of `clerq new PROJECT` for `.thor` when it consists of few words. | ||
[ ] Remove comment at the top of `assets/clerq.thor` | ||
[ ] Add CHANGELOG.md | ||
[ ] Add `query` parameter to `JoinNodes.()` and remove `QueryNodes` interactor | ||
[ ] Add spec to `clerq node` | ||
[ ] Remove handling `skip_meta` from `default.md.erb` | ||
[ ] Release v0.2.0 | ||
[ ] {{@@list(id)}} macro for other node like in overview section | ||
[ ] Console like rails console | ||
[ ] Fix descriptions in gemspec | ||
[ ] `-s/--skip-clerq-assets` or `-a/--copy-assets` for `clerq new`? | ||
[ ] Build README.md by Clerq! Wiki? | ||
[ ] Record short video and upload to youtube | ||
[ ] Fix minitest "DEPRECATE" warning | ||
[ ] Fix `bundle exec rake test` for errors in `cli_build_spec.rb` | ||
[ ] Add macro with parameters like `{{@@list(id)}}` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
require_relative '../spec_helper' | ||
|
||
describe 'clerq node' do | ||
|
||
describe 'when exec outside Clerq' do | ||
it 'must stop' do | ||
_(proc { Clerq::Cli.start ['build'] }).must_output( | ||
"", /Clerq project required!/ | ||
) | ||
end | ||
end | ||
|
||
describe 'when exec with ID' do | ||
end | ||
|
||
describe 'when exec with ID TITLE' do | ||
end | ||
|
||
describe 'when exec with ID -t' do | ||
end | ||
|
||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters