simple_english 0.7.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: 7fab4dcaf7f62e86a22b0d19586f4579cc3891fce7b8b8e5949ad1d31fc87a51
4
- data.tar.gz: da2ceb2f16985657adeb7ada85268c186bdccf4382d0875642bf2daf2d479ab3
3
+ metadata.gz: 16daaeaffbbd426d950a5e91da4662d66211aabe5aaf8b35c75a8971a178a38a
4
+ data.tar.gz: 5b6f5b28f5bf58e3ed4eba6b1a09acbe0f7cf5b9936c5c0e30a5b7f3cdbc0fe5
5
5
  SHA512:
6
- metadata.gz: 5cdba3df3f0b222305ff5cc4d4d8ef9e554937f9cc3210b8debc2cdc82574a89d264271c44b9befe4689bca6dfbdffe5d663883009eee85e61e97ca54a37312b
7
- data.tar.gz: 39707bce472f8c3d607888bc872d9a88594fad9ac6de0f48d6437dfdb22b03ad8eb48dad46a7e1a428b81ce71aa9696ac50c6d772d38448cae0bd938238a904a
6
+ metadata.gz: 4e3ed2ee219f6bda8a700aeeccea89a4b2e33fa0562253e85bbdc334376e76aa40de472f35c0a0bd36866e51f2cf4f9c2693e4763d7b2749d0d7f4ccc5445833
7
+ data.tar.gz: 69a970321e67922758013f5e03a167e9630bf30e23d47af80f735ec4b47e43407007095184cbc4a634617906a1664fbcd743586febebd7800958c9385688af01
@@ -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?("-"))
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SimpleEnglish
4
- VERSION = "0.7.0"
4
+ VERSION = "0.8.1"
5
5
  end
@@ -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: 9861dadb08749e902f6bd098faf0fdf6c70bb7e2b34523e821895c6163d8e6d7
4
+ sha256: 7f7ae495f8e33efdb2acedc7d9da3c0754dcaee9ba2758d449253e2414830b11
@@ -4,7 +4,7 @@
4
4
  "serialNumber" : "urn:uuid:c99881b6-e8ff-383d-92df-6845602c70c5",
5
5
  "version" : 1,
6
6
  "metadata" : {
7
- "timestamp" : "2026-10-11T22:16:13Z",
7
+ "timestamp" : "2026-10-13T20:08:47Z",
8
8
  "lifecycles" : [
9
9
  {
10
10
  "phase" : "build"
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.7.0
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 00:00:00.000000000 Z
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.7.0/CHANGELOG.md
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: