spreen-wiki 0.2.0 → 0.3.1

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.
Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE.txt +0 -0
  3. data/README.md +6 -6
  4. data/lib/spreen-wiki.rb +0 -0
  5. data/lib/spreen_wiki/application.rb +0 -0
  6. data/lib/spreen_wiki/cli.rb +5 -5
  7. data/lib/spreen_wiki/configuration.rb +0 -0
  8. data/lib/spreen_wiki/home.rb +0 -0
  9. data/lib/spreen_wiki/sidebar.rb +0 -0
  10. data/lib/spreen_wiki/templates/category/english.md +0 -0
  11. data/lib/spreen_wiki/templates/category/japanese.md +0 -0
  12. data/lib/spreen_wiki/templates/owner/english.md +0 -0
  13. data/lib/spreen_wiki/templates/owner/japanese.md +0 -0
  14. data/lib/spreen_wiki/unknown_wiki_count_list_exporter.rb +0 -0
  15. data/lib/spreen_wiki/unknown_wiki_list_exporter_for_llm.rb +0 -0
  16. data/lib/spreen_wiki/version.rb +1 -1
  17. data/lib/spreen_wiki.rb +0 -0
  18. data/sig/generated/spreen-wiki.rbs +0 -0
  19. data/sig/generated/spreen_wiki/application.rbs +0 -0
  20. data/sig/generated/spreen_wiki/cli.rbs +2 -2
  21. data/sig/generated/spreen_wiki/configuration.rbs +0 -0
  22. data/sig/generated/spreen_wiki/home.rbs +0 -0
  23. data/sig/generated/spreen_wiki/sidebar.rbs +0 -0
  24. data/sig/generated/spreen_wiki/unknown_wiki_count_list_exporter.rbs +0 -0
  25. data/sig/generated/spreen_wiki/unknown_wiki_list_exporter_for_llm.rbs +0 -0
  26. data/sig/generated/spreen_wiki/version.rbs +0 -0
  27. data/sig/generated/spreen_wiki.rbs +0 -0
  28. data/sig/generated/test/application_test.rbs +0 -0
  29. data/sig/generated/test/configuration_test.rbs +0 -0
  30. data/sig/generated/test/home_test.rbs +0 -0
  31. data/sig/generated/test/sidebar_test.rbs +0 -0
  32. data/sig/generated/test/unknown_wiki_count_list_exporter_test.rbs +0 -0
  33. data/sig/generated/test/unknown_wiki_list_exporter_for_llm_test.rbs +0 -0
  34. metadata +3 -3
  35. /data/exe/{spreen → wiki-organise} +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4e9507fb9c2097bc8c1221f21934eebeef6eac80a6e85ec217afed7a031a2db9
4
- data.tar.gz: 5ce2f2ca5db1a5c9244b475d3866ca32d7463b4deb5beb4cfca270c869b1051a
3
+ metadata.gz: e022a1393692877e9fbf1c8c65edced38131214b873d5c0b0f964028931a44dd
4
+ data.tar.gz: 2d5c0469f26b7db4c2d4776154ca27dff409ac28aa811a305411dd9e92d099f6
5
5
  SHA512:
6
- metadata.gz: f27d7c79f9e9e3fd7185471eca0b83c08ccbf441c2e03ec37ea578a944b5d1ac459bdde7af863e4332b072e090bda90698bf01b39de37b21ff2f301fce2f12c5
7
- data.tar.gz: 2ce2882fb724ca7066026b5b2fbb6468f43c81d617c9cc9af4c8d56d8636b7850c39899018bc3a4ca3a1f0ea3f6d10bcf6595f3100f3d185de905f95ec9d6545
6
+ metadata.gz: 812cc0cb5ef586b7bfb3e632f791db502c623c9296b15d675451f1c0300cb6833d6d840eeb5e1d9acc6ef81ee74610af341e9eebd0bf4ef30c83ae77421c6fa9
7
+ data.tar.gz: e8ecab3d839a96dab66021a657f69544caa92a763d86a662bc7ff3261a7c729b02f58da32ea13e5cc4273a44c493a0c8e552d8f1e022103be6e4e4a3dcbcb49d
data/LICENSE.txt CHANGED
File without changes
data/README.md CHANGED
@@ -14,21 +14,21 @@ Requires Ruby 3.4+.
14
14
 
15
15
  ```command
16
16
  $ cd path/to/your-repo.wiki
17
- $ spreen update --path . --org your-org --repo your-repo
17
+ $ wiki-organise update --path . --org your-org --repo your-repo
18
18
  Updated Home.md and _Sidebar.md.
19
19
  Check them out at 'https://github.com/your-org/your-repo/wiki' !!
20
20
 
21
- $ spreen count-report --path .
21
+ $ wiki-organise count-report --path .
22
22
  Unknown Owner nor Necessity: 1
23
23
  Unowned but Necessary: 1
24
24
  Unowned: 10
25
25
  Exported the unknown wiki count report to './unknown_wiki_count_list_by_namespace.txt'.
26
26
 
27
- $ spreen llm-export --path .
27
+ $ wiki-organise llm-export --path .
28
28
  Exported the unknown wiki list for LLM to './unknown_wiki_list_for_llm.txt'.
29
29
  ```
30
30
 
31
- Common flags (see `spreen <command> --help`): `--group-by Owner|Category`, `--language English|Japanese`, `--overflow` (split Home into per-namespace pages under `wikis-by-owner/`), `--template-dir`, `--config`, `--exclude`, `--output`, `--wiki-url`.
31
+ Common flags (see `wiki-organise <command> --help`): `--group-by Owner|Category`, `--language English|Japanese`, `--overflow` (split Home into per-namespace pages under `wikis-by-owner/`), `--template-dir`, `--config`, `--exclude`, `--output`, `--wiki-url`.
32
32
 
33
33
  Persistent settings, custom labels and additional languages go into a [`.spreen.yml`](../README.md#4-configuration) at the wiki root.
34
34
 
@@ -50,8 +50,8 @@ All classes accept `base_path:`, `group_by:`, `language:`, `home_overflow:` plus
50
50
  ### 4-1. Environment
51
51
 
52
52
  - Ruby 4.0.6
53
- - Gemfile 4.0.16
54
- - Bundler 4.0.16
53
+ - Gemfile 4.0.18
54
+ - Bundler 4.0.18
55
55
 
56
56
  ```command
57
57
  $ bundle install
data/lib/spreen-wiki.rb CHANGED
File without changes
File without changes
@@ -9,11 +9,11 @@ require_relative 'unknown_wiki_count_list_exporter'
9
9
  require_relative 'unknown_wiki_list_exporter_for_llm'
10
10
 
11
11
  module SpreenWiki
12
- # Command line interface behind the `spreen` executable:
13
- # `spreen <update|count-report|llm-export> [options]`.
12
+ # Command line interface behind the `wiki-organise` executable:
13
+ # `wiki-organise <update|count-report|llm-export> [options]`.
14
14
  class CLI
15
15
  HELP = <<~HELP
16
- Usage: spreen <command> [options]
16
+ Usage: wiki-organise <command> [options]
17
17
 
18
18
  Commands:
19
19
  update Regenerate Home.md and _Sidebar.md from the wiki tree
@@ -21,7 +21,7 @@ module SpreenWiki
21
21
  llm-export Export the unknown-namespace wiki list for an LLM
22
22
  version Print the version
23
23
 
24
- Run `spreen <command> --help` to list the command's options.
24
+ Run `wiki-organise <command> --help` to list the command's options.
25
25
  HELP
26
26
 
27
27
  # Flags shared by every command, mapped to the keyword arguments of the
@@ -122,7 +122,7 @@ module SpreenWiki
122
122
  # @rbs command: String
123
123
  # @rbs return: OptionParser
124
124
  def parser(command)
125
- OptionParser.new("Usage: spreen #{command} [options]") do |opt|
125
+ OptionParser.new("Usage: wiki-organise #{command} [options]") do |opt|
126
126
  add_common_options(opt)
127
127
  add_command_options(opt, command)
128
128
  end
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -2,5 +2,5 @@
2
2
  # rbs_inline: enabled
3
3
 
4
4
  module SpreenWiki
5
- VERSION = '0.2.0'
5
+ VERSION = '0.3.1'
6
6
  end
data/lib/spreen_wiki.rb CHANGED
File without changes
File without changes
File without changes
@@ -1,8 +1,8 @@
1
1
  # Generated from lib/spreen_wiki/cli.rb with RBS::Inline
2
2
 
3
3
  module SpreenWiki
4
- # Command line interface behind the `spreen` executable:
5
- # `spreen <update|count-report|llm-export> [options]`.
4
+ # Command line interface behind the `wiki-organise` executable:
5
+ # `wiki-organise <update|count-report|llm-export> [options]`.
6
6
  class CLI
7
7
  HELP: ::String
8
8
 
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spreen-wiki
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - hayat01sh1da
@@ -14,13 +14,13 @@ description: Spreen — the falcon's stoop, then the preen. Generates Home.md an
14
14
  line of each page (English and Japanese labels built in, extensible via .spreen.yml),
15
15
  and exports reports of the pages whose owner or category is unknown.
16
16
  executables:
17
- - spreen
17
+ - wiki-organise
18
18
  extensions: []
19
19
  extra_rdoc_files: []
20
20
  files:
21
21
  - LICENSE.txt
22
22
  - README.md
23
- - exe/spreen
23
+ - exe/wiki-organise
24
24
  - lib/spreen-wiki.rb
25
25
  - lib/spreen_wiki.rb
26
26
  - lib/spreen_wiki/application.rb
File without changes