honyaku 0.1.0 → 0.1.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.
- checksums.yaml +4 -4
- data/README.md +0 -7
- data/lib/honyaku/cli.rb +1 -0
- data/lib/honyaku/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 886f45f3a46f1abafbbb70364d23b7f50e9fbd04a12ef1d110f252d5115d5498
|
4
|
+
data.tar.gz: e01b7eb3499c986df4f09b666ed5e598697a4aa093c5ca8dd7be718ed58f7a90
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 975c9c89de31c912301d7502b67e6918d3daefddb0b037ac6c9ec8afe1a37584e796cd23a509d82cf9c6070bd916b3b83e8a5b70a4642c376e71ff3e6829d0e2
|
7
|
+
data.tar.gz: 3e585af4a3d686ed6d0c63bbe9d7a6ea603945f8b9f59bc03ca6a408fb2629fa25133408198be07036bf095e799bbffc65eb00f3234195459e7a34fd404646cf
|
data/README.md
CHANGED
@@ -6,12 +6,10 @@ Honyaku was built using [Cursor Composer](https://docs.cursor.com/composer) with
|
|
6
6
|
|
7
7
|
## Features
|
8
8
|
|
9
|
-
- Uses GPT-4 for high-quality translations (GPT-3.5-turbo optional for faster processing)
|
10
9
|
- Preserves YAML structure, references, and interpolation variables
|
11
10
|
- Supports translation rules via `.honyakurules` files
|
12
11
|
- Handles large files through automatic chunking
|
13
12
|
- Automatically fixes YAML formatting issues caused by the GPT
|
14
|
-
- Supports backup creation before modifications
|
15
13
|
- Smart file skipping to avoid unnecessary retranslation
|
16
14
|
|
17
15
|
# Example Output
|
@@ -148,11 +146,6 @@ When invalid YAML is detected:
|
|
148
146
|
2. Translation is retried if necessary
|
149
147
|
3. Original file is preserved if fixes fail
|
150
148
|
|
151
|
-
### Model Selection
|
152
|
-
|
153
|
-
- Default: GPT-4 (higher quality, slower)
|
154
|
-
- Alternative: GPT-3.5-turbo (faster, less accurate)
|
155
|
-
|
156
149
|
## Development
|
157
150
|
|
158
151
|
After checking out the repo:
|
data/lib/honyaku/cli.rb
CHANGED
data/lib/honyaku/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: honyaku
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Culver
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-04-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -88,7 +88,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: '0'
|
90
90
|
requirements: []
|
91
|
-
rubygems_version: 3.
|
91
|
+
rubygems_version: 3.5.21
|
92
92
|
signing_key:
|
93
93
|
specification_version: 4
|
94
94
|
summary: Translate your Rails application using OpenAI
|