ukiryu 0.1.1 → 0.1.3
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/.github/workflows/release.yml +58 -14
- data/.gitignore +3 -0
- data/.rubocop_todo.yml +170 -79
- data/Gemfile +1 -1
- data/README.adoc +1603 -576
- data/docs/.gitignore +1 -0
- data/docs/Gemfile +10 -0
- data/docs/INDEX.adoc +261 -0
- data/docs/_config.yml +180 -0
- data/docs/advanced/custom-tool-classes.adoc +581 -0
- data/docs/advanced/index.adoc +20 -0
- data/docs/features/configuration.adoc +657 -0
- data/docs/features/index.adoc +31 -0
- data/docs/features/platform-support.adoc +488 -0
- data/docs/getting-started/core-concepts.adoc +666 -0
- data/docs/getting-started/index.adoc +36 -0
- data/docs/getting-started/installation.adoc +216 -0
- data/docs/getting-started/quick-start.adoc +258 -0
- data/docs/guides/env-var-sets.adoc +388 -0
- data/docs/guides/index.adoc +20 -0
- data/docs/interfaces/cli.adoc +609 -0
- data/docs/interfaces/index.adoc +153 -0
- data/docs/interfaces/ruby-api.adoc +538 -0
- data/docs/lychee.toml +49 -0
- data/docs/reference/configuration-options.adoc +720 -0
- data/docs/reference/error-codes.adoc +634 -0
- data/docs/reference/index.adoc +20 -0
- data/docs/reference/ruby-api.adoc +1217 -0
- data/docs/understanding/index.adoc +20 -0
- data/lib/ukiryu/cli.rb +43 -58
- data/lib/ukiryu/cli_commands/base_command.rb +16 -27
- data/lib/ukiryu/cli_commands/cache_command.rb +100 -0
- data/lib/ukiryu/cli_commands/commands_command.rb +8 -8
- data/lib/ukiryu/cli_commands/commands_command.rb.fixed +1 -1
- data/lib/ukiryu/cli_commands/config_command.rb +49 -7
- data/lib/ukiryu/cli_commands/definitions_command.rb +254 -0
- data/lib/ukiryu/cli_commands/describe_command.rb +13 -7
- data/lib/ukiryu/cli_commands/describe_command.rb.fixed +1 -1
- data/lib/ukiryu/cli_commands/docs_command.rb +148 -0
- data/lib/ukiryu/cli_commands/exec_inline_command.rb.fixed +1 -1
- data/lib/ukiryu/cli_commands/extract_command.rb +2 -2
- data/lib/ukiryu/cli_commands/info_command.rb +7 -7
- data/lib/ukiryu/cli_commands/lint_command.rb +167 -0
- data/lib/ukiryu/cli_commands/list_command.rb +6 -6
- data/lib/ukiryu/cli_commands/opts_command.rb +2 -2
- data/lib/ukiryu/cli_commands/opts_command.rb.fixed +1 -1
- data/lib/ukiryu/cli_commands/register_command.rb +144 -0
- data/lib/ukiryu/cli_commands/resolve_command.rb +124 -0
- data/lib/ukiryu/cli_commands/run_command.rb +38 -14
- data/lib/ukiryu/cli_commands/run_file_command.rb +2 -2
- data/lib/ukiryu/cli_commands/system_command.rb +50 -32
- data/lib/ukiryu/cli_commands/validate_command.rb +452 -51
- data/lib/ukiryu/cli_commands/which_command.rb +5 -5
- data/lib/ukiryu/command_builder.rb +81 -23
- data/lib/ukiryu/config/env_provider.rb +3 -3
- data/lib/ukiryu/config/env_schema.rb +6 -6
- data/lib/ukiryu/config.rb +11 -11
- data/lib/ukiryu/definition/definition_cache.rb +238 -0
- data/lib/ukiryu/definition/definition_composer.rb +257 -0
- data/lib/ukiryu/definition/definition_linter.rb +460 -0
- data/lib/ukiryu/definition/definition_validator.rb +320 -0
- data/lib/ukiryu/definition/discovery.rb +239 -0
- data/lib/ukiryu/definition/documentation_generator.rb +429 -0
- data/lib/ukiryu/definition/lint_issue.rb +168 -0
- data/lib/ukiryu/definition/loader.rb +139 -0
- data/lib/ukiryu/definition/metadata.rb +159 -0
- data/lib/ukiryu/definition/source.rb +87 -0
- data/lib/ukiryu/definition/sources/file.rb +138 -0
- data/lib/ukiryu/definition/sources/string.rb +88 -0
- data/lib/ukiryu/definition/validation_result.rb +158 -0
- data/lib/ukiryu/definition/version_resolver.rb +194 -0
- data/lib/ukiryu/definition.rb +40 -0
- data/lib/ukiryu/errors.rb +6 -0
- data/lib/ukiryu/execution_context.rb +11 -11
- data/lib/ukiryu/executor.rb +6 -0
- data/lib/ukiryu/extractors/extractor.rb +6 -5
- data/lib/ukiryu/extractors/help_parser.rb +13 -19
- data/lib/ukiryu/logger.rb +3 -1
- data/lib/ukiryu/models/command_definition.rb +3 -3
- data/lib/ukiryu/models/command_info.rb +1 -1
- data/lib/ukiryu/models/components.rb +1 -3
- data/lib/ukiryu/models/env_var_definition.rb +11 -3
- data/lib/ukiryu/models/flag_definition.rb +15 -0
- data/lib/ukiryu/models/option_definition.rb +7 -7
- data/lib/ukiryu/models/platform_profile.rb +6 -3
- data/lib/ukiryu/models/routing.rb +1 -1
- data/lib/ukiryu/models/tool_definition.rb +2 -4
- data/lib/ukiryu/models/tool_metadata.rb +6 -6
- data/lib/ukiryu/models/validation_result.rb +1 -1
- data/lib/ukiryu/models/version_compatibility.rb +6 -3
- data/lib/ukiryu/models/version_detection.rb +10 -1
- data/lib/ukiryu/{registry.rb → register.rb} +54 -38
- data/lib/ukiryu/register_auto_manager.rb +268 -0
- data/lib/ukiryu/schema_validator.rb +31 -10
- data/lib/ukiryu/shell/base.rb +18 -0
- data/lib/ukiryu/shell/bash.rb +19 -1
- data/lib/ukiryu/shell/cmd.rb +11 -1
- data/lib/ukiryu/shell/powershell.rb +11 -1
- data/lib/ukiryu/shell.rb +1 -1
- data/lib/ukiryu/tool.rb +107 -95
- data/lib/ukiryu/tool_index.rb +22 -22
- data/lib/ukiryu/tools/base.rb +12 -25
- data/lib/ukiryu/tools/generator.rb +7 -7
- data/lib/ukiryu/tools.rb +3 -3
- data/lib/ukiryu/type.rb +20 -5
- data/lib/ukiryu/version.rb +1 -1
- data/lib/ukiryu/version_detector.rb +21 -2
- data/lib/ukiryu.rb +6 -3
- data/ukiryu-proposal.md +41 -41
- data/ukiryu.gemspec +1 -0
- metadata +64 -8
- data/.gitmodules +0 -3
data/lib/ukiryu.rb
CHANGED
|
@@ -10,12 +10,15 @@ require_relative 'ukiryu/runtime'
|
|
|
10
10
|
require_relative 'ukiryu/execution_context'
|
|
11
11
|
require_relative 'ukiryu/type'
|
|
12
12
|
require_relative 'ukiryu/executor'
|
|
13
|
-
require_relative 'ukiryu/
|
|
13
|
+
require_relative 'ukiryu/register'
|
|
14
14
|
require_relative 'ukiryu/tool'
|
|
15
15
|
require_relative 'ukiryu/options_builder'
|
|
16
16
|
require_relative 'ukiryu/schema_validator'
|
|
17
17
|
require_relative 'ukiryu/io'
|
|
18
18
|
|
|
19
|
+
# Definition loading
|
|
20
|
+
require_relative 'ukiryu/definition'
|
|
21
|
+
|
|
19
22
|
# Models - OOP representation of YAML profiles
|
|
20
23
|
require_relative 'ukiryu/models'
|
|
21
24
|
|
|
@@ -60,11 +63,11 @@ module Ukiryu
|
|
|
60
63
|
|
|
61
64
|
# Configuration class for global settings
|
|
62
65
|
class Configuration
|
|
63
|
-
attr_accessor :default_shell, :
|
|
66
|
+
attr_accessor :default_shell, :register_path
|
|
64
67
|
|
|
65
68
|
def initialize
|
|
66
69
|
@default_shell = nil # Auto-detect by default
|
|
67
|
-
@
|
|
70
|
+
@register_path = nil
|
|
68
71
|
end
|
|
69
72
|
end
|
|
70
73
|
end
|
data/ukiryu-proposal.md
CHANGED
|
@@ -40,7 +40,7 @@ Ukiryu consists of two separate repositories:
|
|
|
40
40
|
│ loads
|
|
41
41
|
▼
|
|
42
42
|
┌─────────────────────────────────────────────────────────────────────┐
|
|
43
|
-
│ ukiryu/register (Tool
|
|
43
|
+
│ ukiryu/register (Tool Register) │
|
|
44
44
|
│ ┌─────────────────────────────────────────────────────────────────┐ │
|
|
45
45
|
│ │ YAML Profiles: Tool Definitions │ │
|
|
46
46
|
│ │ │ │
|
|
@@ -66,7 +66,7 @@ Ukiryu consists of two separate repositories:
|
|
|
66
66
|
| **Contributors** | Developers only | Anyone can add tools (no Ruby needed) |
|
|
67
67
|
| **Maintenance** | Code changes for new tools | YAML file changes for new tools |
|
|
68
68
|
| **Validation** | Test framework | Validate YAML against schema |
|
|
69
|
-
| **Discovery** | Gem update | `git pull` on
|
|
69
|
+
| **Discovery** | Gem update | `git pull` on register |
|
|
70
70
|
| **Flexibility** | Coupled | Decoupled - use custom registries |
|
|
71
71
|
|
|
72
72
|
---
|
|
@@ -95,8 +95,8 @@ end
|
|
|
95
95
|
Ukiryu turns external CLI commands into Ruby methods:
|
|
96
96
|
|
|
97
97
|
```ruby
|
|
98
|
-
# Load tool profiles from
|
|
99
|
-
Ukiryu::
|
|
98
|
+
# Load tool profiles from register
|
|
99
|
+
Ukiryu::Register.load_from("ukiryu/register")
|
|
100
100
|
|
|
101
101
|
# Get the tool
|
|
102
102
|
inkscape = Ukiryu::Tool.get("inkscape")
|
|
@@ -244,7 +244,7 @@ Ukiryu separates **framework logic** (Ruby) from **tool definitions** (YAML):
|
|
|
244
244
|
│ loads
|
|
245
245
|
▼
|
|
246
246
|
┌─────────────────────────────────────────────────────────────┐
|
|
247
|
-
│ TOOL PROFILES (YAML
|
|
247
|
+
│ TOOL PROFILES (YAML Register) │
|
|
248
248
|
│ - inkscape.yaml (all versions) │
|
|
249
249
|
│ - ghostscript.yaml (all versions) │
|
|
250
250
|
│ - imagemagick.yaml (all versions) │
|
|
@@ -261,8 +261,8 @@ Ukiryu separates **framework logic** (Ruby) from **tool definitions** (YAML):
|
|
|
261
261
|
| **Version update** | Requires code + release | Update YAML |
|
|
262
262
|
| **Maintenance** | Developers only | Anyone can edit |
|
|
263
263
|
| **Validation** | Compile-time | Load-time |
|
|
264
|
-
| **Distribution** | Gem releases | Separate
|
|
265
|
-
| **Community** | Pull requests | PRs to
|
|
264
|
+
| **Distribution** | Gem releases | Separate register |
|
|
265
|
+
| **Community** | Pull requests | PRs to register repo |
|
|
266
266
|
|
|
267
267
|
### YAML Profile Structure
|
|
268
268
|
|
|
@@ -394,9 +394,9 @@ profiles:
|
|
|
394
394
|
separator: " "
|
|
395
395
|
```
|
|
396
396
|
|
|
397
|
-
### YAML Profile
|
|
397
|
+
### YAML Profile Register
|
|
398
398
|
|
|
399
|
-
**
|
|
399
|
+
**Register structure:**
|
|
400
400
|
```
|
|
401
401
|
ukiryu-register/
|
|
402
402
|
├── tools/
|
|
@@ -421,15 +421,15 @@ ukiryu-register/
|
|
|
421
421
|
├── schemas/
|
|
422
422
|
│ ├── tool-profile.yaml.schema
|
|
423
423
|
│ ├── command-definition.yaml.schema
|
|
424
|
-
│ └──
|
|
424
|
+
│ └── register.yaml.schema
|
|
425
425
|
├── docs/
|
|
426
426
|
│ ├── inkscape.adoc
|
|
427
427
|
│ ├── ghostscript.adoc
|
|
428
428
|
│ ├── contributing.adoc
|
|
429
|
-
│ └──
|
|
429
|
+
│ └── register.adoc
|
|
430
430
|
├── lib/
|
|
431
431
|
│ └── ukiryu/
|
|
432
|
-
│ └──
|
|
432
|
+
│ └── register.rb # Register helper library
|
|
433
433
|
├── Gemfile # json-schema gem
|
|
434
434
|
├── Rakefile # Validation tasks
|
|
435
435
|
└── README.adoc
|
|
@@ -438,19 +438,19 @@ ukiryu-register/
|
|
|
438
438
|
**Version file naming:**
|
|
439
439
|
- Use semantic version: `1.0.yaml`, `0.9.5.yaml`
|
|
440
440
|
- Multiple profiles per version (platform/shell combos) in one file
|
|
441
|
-
-
|
|
441
|
+
- Register selects newest compatible version
|
|
442
442
|
|
|
443
443
|
**Loading profiles in Ukiryu:**
|
|
444
444
|
```ruby
|
|
445
|
-
# Load from
|
|
446
|
-
Ukiryu::
|
|
445
|
+
# Load from register
|
|
446
|
+
Ukiryu::Register.load_from("/path/to/ukiryu/register")
|
|
447
447
|
|
|
448
448
|
# Or load from gem-builtin profiles
|
|
449
|
-
Ukiryu::
|
|
449
|
+
Ukiryu::Register.load_builtins
|
|
450
450
|
|
|
451
451
|
# Load specific tool/version
|
|
452
|
-
Ukiryu::
|
|
453
|
-
Ukiryu::
|
|
452
|
+
Ukiryu::Register.load_tool("inkscape", version: "1.0")
|
|
453
|
+
Ukiryu::Register.load_tool("inkscape") # Auto-detect latest
|
|
454
454
|
|
|
455
455
|
# Use the tool
|
|
456
456
|
inkscape = Ukiryu::Tool.get("inkscape")
|
|
@@ -463,7 +463,7 @@ inkscape.export(
|
|
|
463
463
|
|
|
464
464
|
**Schema validation with `json-schema` gem:**
|
|
465
465
|
```ruby
|
|
466
|
-
# In
|
|
466
|
+
# In register Rakefile
|
|
467
467
|
require 'json-schema'
|
|
468
468
|
|
|
469
469
|
namespace :validate do
|
|
@@ -1088,7 +1088,7 @@ properties:
|
|
|
1088
1088
|
**Validation with `json-schema` gem:**
|
|
1089
1089
|
|
|
1090
1090
|
```ruby
|
|
1091
|
-
# In
|
|
1091
|
+
# In register Rakefile
|
|
1092
1092
|
require 'json-schema'
|
|
1093
1093
|
require 'yaml'
|
|
1094
1094
|
|
|
@@ -1125,11 +1125,11 @@ end
|
|
|
1125
1125
|
### Usage Examples
|
|
1126
1126
|
|
|
1127
1127
|
```ruby
|
|
1128
|
-
# Load from
|
|
1129
|
-
Ukiryu::
|
|
1128
|
+
# Load from register
|
|
1129
|
+
Ukiryu::Register.load_from("~/.ukiryu/register")
|
|
1130
1130
|
|
|
1131
1131
|
# Or load from gem
|
|
1132
|
-
Ukiryu::
|
|
1132
|
+
Ukiryu::Register.load_builtins
|
|
1133
1133
|
|
|
1134
1134
|
# Get tool
|
|
1135
1135
|
inkscape = Ukiryu::Tool.get("inkscape")
|
|
@@ -1163,7 +1163,7 @@ result = inkscape.query(
|
|
|
1163
1163
|
|
|
1164
1164
|
## Core DSL Design (For Custom Tools)
|
|
1165
1165
|
|
|
1166
|
-
For tools not in the
|
|
1166
|
+
For tools not in the register, users can still use Ruby DSL:
|
|
1167
1167
|
|
|
1168
1168
|
### Tool Declaration
|
|
1169
1169
|
|
|
@@ -2762,7 +2762,7 @@ Ukiryu succeeds when:
|
|
|
2762
2762
|
2. ✅ **Exact profile matching** - No fallbacks (version compatibility OK)
|
|
2763
2763
|
3. ✅ **Type-safe parameters** - All types validated, shell-escaped automatically
|
|
2764
2764
|
4. ✅ **Semantic validation** - Platform-specific paths rejected on wrong platforms
|
|
2765
|
-
5. ✅ **YAML profile
|
|
2765
|
+
5. ✅ **YAML profile register** - Tool definitions maintained in YAML, not code
|
|
2766
2766
|
6. ✅ **Schema validation** - All YAML profiles validated against JSON Schema
|
|
2767
2767
|
7. ✅ **Profile inheritance** - Avoid duplication with YAML inheritance
|
|
2768
2768
|
8. ✅ **Vectory replacement** - Full replacement of Vectory wrappers in 70% less code
|
|
@@ -2771,7 +2771,7 @@ Ukiryu succeeds when:
|
|
|
2771
2771
|
11. ✅ **Zero dependencies** - Ruby stdlib only
|
|
2772
2772
|
12. ✅ **Argument/option/flag distinction** - Clear DSL concepts
|
|
2773
2773
|
13. ✅ **PATH-only on Unix** - No hardcoded paths on Unix/macOS
|
|
2774
|
-
14. ✅ **Community
|
|
2774
|
+
14. ✅ **Community register** - Separate register repo for tool profiles
|
|
2775
2775
|
15. ✅ **Option format variations** - Support all CLI option formats
|
|
2776
2776
|
16. ✅ **Value separators** - Comma, semicolon, colon, space, pipe, plus
|
|
2777
2777
|
17. ✅ **Environment variables** - Per-command environment variable support
|
|
@@ -2785,13 +2785,13 @@ Ukiryu succeeds when:
|
|
|
2785
2785
|
1. **YAML profiles over Ruby DSL**: Tool definitions should be maintained in YAML files, not Ruby code. This allows:
|
|
2786
2786
|
- Non-developers to add/update tools
|
|
2787
2787
|
- Faster iteration without gem releases
|
|
2788
|
-
- Community-contributed profile
|
|
2788
|
+
- Community-contributed profile register
|
|
2789
2789
|
- Separation of framework (Ruby) from configuration (YAML)
|
|
2790
2790
|
|
|
2791
2791
|
2. **Hybrid architecture**:
|
|
2792
2792
|
- **Ruby framework**: Shell detection, escaping, execution, validation
|
|
2793
|
-
- **YAML
|
|
2794
|
-
- Users can still use Ruby DSL for custom tools not in
|
|
2793
|
+
- **YAML register**: Tool definitions, versions, platform profiles
|
|
2794
|
+
- Users can still use Ruby DSL for custom tools not in register
|
|
2795
2795
|
|
|
2796
2796
|
3. **"symbols in shell"**: User correctly pointed out that `:symbol` is a Ruby type, not a shell concept. In the shell, we pass strings. The `:symbol` type is for Ruby-level validation only.
|
|
2797
2797
|
|
|
@@ -2837,12 +2837,12 @@ Ukiryu succeeds when:
|
|
|
2837
2837
|
|
|
2838
2838
|
---
|
|
2839
2839
|
|
|
2840
|
-
##
|
|
2840
|
+
## Register Organization
|
|
2841
2841
|
|
|
2842
|
-
**
|
|
2842
|
+
**Register repo structure:**
|
|
2843
2843
|
|
|
2844
2844
|
```
|
|
2845
|
-
ukiryu-register/ # Community
|
|
2845
|
+
ukiryu-register/ # Community register repo
|
|
2846
2846
|
├── tools/ # Tool definitions (dir by command name)
|
|
2847
2847
|
│ ├── inkscape/
|
|
2848
2848
|
│ │ ├── 1.0.yaml # Version-specific profiles
|
|
@@ -2865,21 +2865,21 @@ ukiryu-register/ # Community registry repo
|
|
|
2865
2865
|
├── schemas/ # YAML Schema files
|
|
2866
2866
|
│ ├── tool-profile.yaml.schema
|
|
2867
2867
|
│ ├── command-definition.yaml.schema
|
|
2868
|
-
│ └──
|
|
2868
|
+
│ └── register.yaml.schema
|
|
2869
2869
|
├── docs/ # AsciiDoc documentation
|
|
2870
2870
|
│ ├── inkscape.adoc
|
|
2871
2871
|
│ ├── ghostscript.adoc
|
|
2872
2872
|
│ ├── imagemagick.adoc
|
|
2873
2873
|
│ ├── git.adoc
|
|
2874
2874
|
│ ├── contributing.adoc
|
|
2875
|
-
│ ├──
|
|
2875
|
+
│ ├── register.adoc
|
|
2876
2876
|
│ └── README.adoc
|
|
2877
|
-
├── lib/ #
|
|
2877
|
+
├── lib/ # Register helper library
|
|
2878
2878
|
│ └── ukiryu/
|
|
2879
|
-
│ └──
|
|
2879
|
+
│ └── register.rb
|
|
2880
2880
|
├── Gemfile # json-schema gem
|
|
2881
2881
|
├── Rakefile # Validation tasks
|
|
2882
|
-
└── README.adoc #
|
|
2882
|
+
└── README.adoc # Register overview
|
|
2883
2883
|
```
|
|
2884
2884
|
|
|
2885
2885
|
**Ukiryu gem structure:**
|
|
@@ -2889,7 +2889,7 @@ ukiryu/ # Ruby gem
|
|
|
2889
2889
|
├── lib/
|
|
2890
2890
|
│ ├── ukiryu.rb
|
|
2891
2891
|
│ ├── ukiryu/
|
|
2892
|
-
│ │ ├──
|
|
2892
|
+
│ │ ├── register.rb # YAML loader from register
|
|
2893
2893
|
│ │ ├── tool.rb # Tool from YAML
|
|
2894
2894
|
│ │ ├── shell.rb # Shell detection (EXPLICIT)
|
|
2895
2895
|
│ │ ├── shell/
|
|
@@ -2919,14 +2919,14 @@ gem 'json-schema', '~> 3.0'
|
|
|
2919
2919
|
gem 'yaml', '~> 0.3' # For schema validation
|
|
2920
2920
|
```
|
|
2921
2921
|
|
|
2922
|
-
**
|
|
2922
|
+
**Register README.adoc structure:**
|
|
2923
2923
|
|
|
2924
2924
|
```asciidoc
|
|
2925
|
-
= Ukiryu Tool
|
|
2925
|
+
= Ukiryu Tool Register
|
|
2926
2926
|
|
|
2927
2927
|
== Overview
|
|
2928
2928
|
|
|
2929
|
-
The Ukiryu Tool
|
|
2929
|
+
The Ukiryu Tool Register maintains YAML profiles for command-line tools.
|
|
2930
2930
|
|
|
2931
2931
|
== Tools
|
|
2932
2932
|
|
data/ukiryu.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,15 +1,28 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ukiryu
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ribose Inc.
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: exe
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
12
|
+
- !ruby/object:Gem::Dependency
|
|
13
|
+
name: git
|
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
|
15
|
+
requirements:
|
|
16
|
+
- - "~>"
|
|
17
|
+
- !ruby/object:Gem::Version
|
|
18
|
+
version: '4.0'
|
|
19
|
+
type: :runtime
|
|
20
|
+
prerelease: false
|
|
21
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
22
|
+
requirements:
|
|
23
|
+
- - "~>"
|
|
24
|
+
- !ruby/object:Gem::Version
|
|
25
|
+
version: '4.0'
|
|
13
26
|
- !ruby/object:Gem::Dependency
|
|
14
27
|
name: lutaml-model
|
|
15
28
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -69,30 +82,59 @@ files:
|
|
|
69
82
|
- ".github/workflows/rake.yml"
|
|
70
83
|
- ".github/workflows/release.yml"
|
|
71
84
|
- ".gitignore"
|
|
72
|
-
- ".gitmodules"
|
|
73
85
|
- ".rubocop.yml"
|
|
74
86
|
- ".rubocop_todo.yml"
|
|
75
87
|
- Gemfile
|
|
76
88
|
- README.adoc
|
|
77
89
|
- Rakefile
|
|
90
|
+
- docs/.gitignore
|
|
91
|
+
- docs/Gemfile
|
|
92
|
+
- docs/INDEX.adoc
|
|
93
|
+
- docs/_config.yml
|
|
94
|
+
- docs/advanced/custom-tool-classes.adoc
|
|
95
|
+
- docs/advanced/index.adoc
|
|
78
96
|
- docs/assets/logo.svg
|
|
97
|
+
- docs/features/configuration.adoc
|
|
98
|
+
- docs/features/index.adoc
|
|
99
|
+
- docs/features/platform-support.adoc
|
|
100
|
+
- docs/getting-started/core-concepts.adoc
|
|
101
|
+
- docs/getting-started/index.adoc
|
|
102
|
+
- docs/getting-started/installation.adoc
|
|
103
|
+
- docs/getting-started/quick-start.adoc
|
|
104
|
+
- docs/guides/env-var-sets.adoc
|
|
105
|
+
- docs/guides/index.adoc
|
|
106
|
+
- docs/interfaces/cli.adoc
|
|
107
|
+
- docs/interfaces/index.adoc
|
|
108
|
+
- docs/interfaces/ruby-api.adoc
|
|
109
|
+
- docs/lychee.toml
|
|
110
|
+
- docs/reference/configuration-options.adoc
|
|
111
|
+
- docs/reference/error-codes.adoc
|
|
112
|
+
- docs/reference/index.adoc
|
|
113
|
+
- docs/reference/ruby-api.adoc
|
|
114
|
+
- docs/understanding/index.adoc
|
|
79
115
|
- exe/ukiryu
|
|
80
116
|
- lib/ukiryu.rb
|
|
81
117
|
- lib/ukiryu/action/base.rb
|
|
82
118
|
- lib/ukiryu/cache.rb
|
|
83
119
|
- lib/ukiryu/cli.rb
|
|
84
120
|
- lib/ukiryu/cli_commands/base_command.rb
|
|
121
|
+
- lib/ukiryu/cli_commands/cache_command.rb
|
|
85
122
|
- lib/ukiryu/cli_commands/commands_command.rb
|
|
86
123
|
- lib/ukiryu/cli_commands/commands_command.rb.fixed
|
|
87
124
|
- lib/ukiryu/cli_commands/config_command.rb
|
|
125
|
+
- lib/ukiryu/cli_commands/definitions_command.rb
|
|
88
126
|
- lib/ukiryu/cli_commands/describe_command.rb
|
|
89
127
|
- lib/ukiryu/cli_commands/describe_command.rb.fixed
|
|
128
|
+
- lib/ukiryu/cli_commands/docs_command.rb
|
|
90
129
|
- lib/ukiryu/cli_commands/exec_inline_command.rb.fixed
|
|
91
130
|
- lib/ukiryu/cli_commands/extract_command.rb
|
|
92
131
|
- lib/ukiryu/cli_commands/info_command.rb
|
|
132
|
+
- lib/ukiryu/cli_commands/lint_command.rb
|
|
93
133
|
- lib/ukiryu/cli_commands/list_command.rb
|
|
94
134
|
- lib/ukiryu/cli_commands/opts_command.rb
|
|
95
135
|
- lib/ukiryu/cli_commands/opts_command.rb.fixed
|
|
136
|
+
- lib/ukiryu/cli_commands/register_command.rb
|
|
137
|
+
- lib/ukiryu/cli_commands/resolve_command.rb
|
|
96
138
|
- lib/ukiryu/cli_commands/response_formatter.rb
|
|
97
139
|
- lib/ukiryu/cli_commands/run_command.rb
|
|
98
140
|
- lib/ukiryu/cli_commands/run_file_command.rb
|
|
@@ -106,6 +148,21 @@ files:
|
|
|
106
148
|
- lib/ukiryu/config/env_schema.rb
|
|
107
149
|
- lib/ukiryu/config/override_resolver.rb
|
|
108
150
|
- lib/ukiryu/config/type_converter.rb
|
|
151
|
+
- lib/ukiryu/definition.rb
|
|
152
|
+
- lib/ukiryu/definition/definition_cache.rb
|
|
153
|
+
- lib/ukiryu/definition/definition_composer.rb
|
|
154
|
+
- lib/ukiryu/definition/definition_linter.rb
|
|
155
|
+
- lib/ukiryu/definition/definition_validator.rb
|
|
156
|
+
- lib/ukiryu/definition/discovery.rb
|
|
157
|
+
- lib/ukiryu/definition/documentation_generator.rb
|
|
158
|
+
- lib/ukiryu/definition/lint_issue.rb
|
|
159
|
+
- lib/ukiryu/definition/loader.rb
|
|
160
|
+
- lib/ukiryu/definition/metadata.rb
|
|
161
|
+
- lib/ukiryu/definition/source.rb
|
|
162
|
+
- lib/ukiryu/definition/sources/file.rb
|
|
163
|
+
- lib/ukiryu/definition/sources/string.rb
|
|
164
|
+
- lib/ukiryu/definition/validation_result.rb
|
|
165
|
+
- lib/ukiryu/definition/version_resolver.rb
|
|
109
166
|
- lib/ukiryu/errors.rb
|
|
110
167
|
- lib/ukiryu/executable_locator.rb
|
|
111
168
|
- lib/ukiryu/execution.rb
|
|
@@ -150,7 +207,8 @@ files:
|
|
|
150
207
|
- lib/ukiryu/options_builder/formatter.rb
|
|
151
208
|
- lib/ukiryu/options_builder/validator.rb
|
|
152
209
|
- lib/ukiryu/platform.rb
|
|
153
|
-
- lib/ukiryu/
|
|
210
|
+
- lib/ukiryu/register.rb
|
|
211
|
+
- lib/ukiryu/register_auto_manager.rb
|
|
154
212
|
- lib/ukiryu/response/base.rb
|
|
155
213
|
- lib/ukiryu/runtime.rb
|
|
156
214
|
- lib/ukiryu/schema_validator.rb
|
|
@@ -182,7 +240,6 @@ homepage: https://github.com/riboseinc/ukiryu
|
|
|
182
240
|
licenses:
|
|
183
241
|
- BSD-2-Clause
|
|
184
242
|
metadata: {}
|
|
185
|
-
post_install_message:
|
|
186
243
|
rdoc_options: []
|
|
187
244
|
require_paths:
|
|
188
245
|
- lib
|
|
@@ -197,8 +254,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
197
254
|
- !ruby/object:Gem::Version
|
|
198
255
|
version: '0'
|
|
199
256
|
requirements: []
|
|
200
|
-
rubygems_version:
|
|
201
|
-
signing_key:
|
|
257
|
+
rubygems_version: 4.0.3
|
|
202
258
|
specification_version: 4
|
|
203
259
|
summary: Platform-adaptive command execution framework
|
|
204
260
|
test_files: []
|
data/.gitmodules
DELETED