simple_english 0.13.0-aarch64-linux → 0.13.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: 87cffd4908d49ea4565d888ad1078a4286d703704b7029d29661e92fa0e3c9ac
4
- data.tar.gz: c77d7eaa395383ab1e9bd15e307533c8298a4a55303f89686b7ea1007d354025
3
+ metadata.gz: f5b1893ae8517afaeed4fec345cbbcba5e63afc9ad9d7c2a84b45b10caa618f0
4
+ data.tar.gz: 5684145341a81cc250b5846ce6117bfd9243a33075b0d8a690557d5f8a2cc541
5
5
  SHA512:
6
- metadata.gz: 3f9f7640407142245fb175376aa80b66ab7a460b883bee56d313425fd91261e27e382cb2178f61e5c23f1861ad62e0b821aa7368d3e7fedd9c71856a55b92244
7
- data.tar.gz: b772d068c8aae8f642ea4381d5f3435f3b6b342fd5a5361c32cc21e1f3afee4ec7fd61cafb163d7d681c8f9c5f97312e33dfe13c05e8e601d85a77b855ea9d9a
6
+ metadata.gz: 461da574e50a104180429444a13c941736482ebee31878de3a7a5871c20b39b21a3f62a4c28dc879263c36facaf640b16c116362ecb930ea5913a2bc78392eeb
7
+ data.tar.gz: 4b09565c9852a9a15a1b67ae5658a9fb32d82145640deaaf9c3a63837966c3e52b1279ba2a5ab00ac9005c3f387569af797d3308ac931e74b2dad51dbf6ef6a1
data/README.md CHANGED
@@ -72,6 +72,27 @@ The full list, with a wrong and a right example for each rule [docs/RULES.md](do
72
72
 
73
73
  ## Install
74
74
 
75
+ ### Prerequisites
76
+
77
+ The gem needs Ruby 3.3 or newer. On a Mac, the system Ruby (2.6) is too
78
+ old. Install one, for example with Homebrew:
79
+
80
+ ```bash
81
+ brew install ruby
82
+ ```
83
+
84
+ Homebrew's Ruby is not on the `PATH` by default, and neither are gem
85
+ binaries. Put both in your shell profile:
86
+
87
+ ```bash
88
+ echo 'export PATH="/opt/homebrew/opt/ruby/bin:$PATH"' >> ~/.zshrc
89
+ echo 'export GEM_HOME="$HOME/.gem"' >> ~/.zshrc
90
+ echo 'export PATH="$GEM_HOME/bin:$PATH"' >> ~/.zshrc
91
+ ```
92
+
93
+ Then open a new terminal. A version manager such as `mise` or `rbenv`
94
+ works too.
95
+
75
96
  ### Ruby gem (macOS arm64, Linux x86-64 and arm64)
76
97
 
77
98
  ```bash
@@ -146,7 +167,7 @@ jobs:
146
167
  runs-on: ubuntu-latest
147
168
  steps:
148
169
  - uses: actions/checkout@v7
149
- - uses: TonyCTHsu/simple-english@v0.13.0
170
+ - uses: TonyCTHsu/simple-english@v0.13.1
150
171
  with:
151
172
  files: |
152
173
  docs/
@@ -158,7 +179,7 @@ To see the findings inline in the pull request, lint with
158
179
  `permissions: {security-events: write}` to the workflow:
159
180
 
160
181
  ```yaml
161
- - uses: TonyCTHsu/simple-english@v0.13.0
182
+ - uses: TonyCTHsu/simple-english@v0.13.1
162
183
  with:
163
184
  format: sarif
164
185
  - uses: github/codeql-action/upload-sarif@v3
@@ -181,7 +202,7 @@ is `se lint`.
181
202
  # .pre-commit-config.yaml
182
203
  repos:
183
204
  - repo: https://github.com/TonyCTHsu/simple-english
184
- rev: v0.13.0
205
+ rev: v0.13.1
185
206
  hooks:
186
207
  - id: se-lint
187
208
  ```
@@ -33,8 +33,18 @@ module SimpleEnglish
33
33
  end
34
34
 
35
35
  def setup_error
36
- "lint engine not found or not executable at #{executable}. " \
37
- "Install a supported platform build of this gem."
36
+ if executable != LanguageTool::BUNDLED_EXECUTABLE
37
+ "#{LanguageTool::EXECUTABLE_ENV} points at a missing or " \
38
+ "non-executable file: #{executable}"
39
+ elsif File.directory?(File.dirname(executable))
40
+ "the lint engine is missing or not executable at " \
41
+ "#{executable}; reinstall the gem"
42
+ else
43
+ "this copy ships no lint engine: a source checkout and the " \
44
+ "plain gem both do. Install a platform build of the gem, or " \
45
+ "point #{LanguageTool::EXECUTABLE_ENV} at a languagetool-server " \
46
+ "binary."
47
+ end
38
48
  end
39
49
  end
40
50
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SimpleEnglish
4
- VERSION = "0.13.0"
4
+ VERSION = "0.13.1"
5
5
  end
@@ -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: f7c44f5ff279749b5c220be74fb56f0d306dc167626515abe3e7acba3fd31d09
4
+ sha256: d9f4f9ce0e05057c60683fce2562fb572e8198158ba71c9f70bfa65cd5be07ca
@@ -4,7 +4,7 @@
4
4
  "serialNumber" : "urn:uuid:c99881b6-e8ff-383d-92df-6845602c70c5",
5
5
  "version" : 1,
6
6
  "metadata" : {
7
- "timestamp" : "2026-11-03T22:33:00Z",
7
+ "timestamp" : "2026-11-08T22:23:13Z",
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.13.0
4
+ version: 0.13.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-11-03 00:00:00.000000000 Z
11
+ date: 2026-11-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tree_sitter_language_pack
@@ -178,7 +178,7 @@ licenses:
178
178
  metadata:
179
179
  homepage_uri: https://github.com/TonyCTHsu/simple-english
180
180
  source_code_uri: https://github.com/TonyCTHsu/simple-english
181
- changelog_uri: https://github.com/TonyCTHsu/simple-english/blob/v0.13.0/CHANGELOG.md
181
+ changelog_uri: https://github.com/TonyCTHsu/simple-english/blob/v0.13.1/CHANGELOG.md
182
182
  post_install_message:
183
183
  rdoc_options: []
184
184
  require_paths: