simple_english 0.8.0-aarch64-linux → 0.8.1-aarch64-linux
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 16daaeaffbbd426d950a5e91da4662d66211aabe5aaf8b35c75a8971a178a38a
|
|
4
|
+
data.tar.gz: 5b6f5b28f5bf58e3ed4eba6b1a09acbe0f7cf5b9936c5c0e30a5b7f3cdbc0fe5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4e3ed2ee219f6bda8a700aeeccea89a4b2e33fa0562253e85bbdc334376e76aa40de472f35c0a0bd36866e51f2cf4f9c2693e4763d7b2749d0d7f4ccc5445833
|
|
7
|
+
data.tar.gz: 69a970321e67922758013f5e03a167e9630bf30e23d47af80f735ec4b47e43407007095184cbc4a634617906a1664fbcd743586febebd7800958c9385688af01
|
data/lib/simple_english/cli.rb
CHANGED
|
@@ -15,6 +15,10 @@ module SimpleEnglish
|
|
|
15
15
|
# names. Thor only falls back to the default task when the first
|
|
16
16
|
# argument is an option, so route them to lint explicitly.
|
|
17
17
|
def self.start(given_args = ARGV, config = {})
|
|
18
|
+
# GUI apps (Claude Desktop) and cron spawn this CLI without a
|
|
19
|
+
# locale, so Ruby reads stdin and files as US-ASCII and chokes on
|
|
20
|
+
# non-ASCII prose (issue 95). Prose is UTF-8 by spec.
|
|
21
|
+
Encoding.default_external = Encoding::UTF_8
|
|
18
22
|
first = given_args.first
|
|
19
23
|
if first && !all_commands.key?(first) &&
|
|
20
24
|
(first == "-" || !first.start_with?("-"))
|
data/lib/simple_english.rb
CHANGED
|
@@ -43,7 +43,7 @@ module SimpleEnglish
|
|
|
43
43
|
# nil means unreachable: the caller decides how fatal that is.
|
|
44
44
|
def lint_file(path, text = nil)
|
|
45
45
|
return [] unless Extractor.lintable?(path)
|
|
46
|
-
text = File.read(path) if text.nil?
|
|
46
|
+
text = File.read(path, encoding: "UTF-8") if text.nil?
|
|
47
47
|
language = Extractor.language_for(path)
|
|
48
48
|
plan = LintPlan.call(text, language)
|
|
49
49
|
return [] if plan.nil?
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
[diffend] Oversized file quarantined before diffing.
|
|
2
2
|
name: data/libexec/simple_english/languagetool-server
|
|
3
3
|
size: 127207544 bytes
|
|
4
|
-
sha256:
|
|
4
|
+
sha256: 7f7ae495f8e33efdb2acedc7d9da3c0754dcaee9ba2758d449253e2414830b11
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: simple_english
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.8.
|
|
4
|
+
version: 0.8.1
|
|
5
5
|
platform: aarch64-linux
|
|
6
6
|
authors:
|
|
7
7
|
- TonyCTHsu
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-10-
|
|
11
|
+
date: 2026-10-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tree_sitter_language_pack
|
|
@@ -176,7 +176,7 @@ licenses:
|
|
|
176
176
|
metadata:
|
|
177
177
|
homepage_uri: https://github.com/TonyCTHsu/simple-english
|
|
178
178
|
source_code_uri: https://github.com/TonyCTHsu/simple-english
|
|
179
|
-
changelog_uri: https://github.com/TonyCTHsu/simple-english/blob/v0.8.
|
|
179
|
+
changelog_uri: https://github.com/TonyCTHsu/simple-english/blob/v0.8.1/CHANGELOG.md
|
|
180
180
|
post_install_message:
|
|
181
181
|
rdoc_options: []
|
|
182
182
|
require_paths:
|