pronto-spell 0.11.0 → 0.11.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/checks.yml +2 -0
- data/README.md +2 -3
- data/lib/pronto/spell/version.rb +1 -1
- data/lib/pronto/spell.rb +2 -2
- data/pronto-spell.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f9a9791a0f03a7815cd6e8874239af2b4f6221b1b489f54ca2f5b5c1de7a6854
|
4
|
+
data.tar.gz: '0689950fb2286e56a8e6416439d1e4fe1f87f447986f8bc740131ebbe30f9dcd'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 324bfb7baeaaca4e54b07cf7b571c028908b777469d6e223948c614054be8b170efc69d83eb3aacd5b068293dbae307eba9c109c9dd058a77d0a08b5efab3d11
|
7
|
+
data.tar.gz: 6ed3bc815f319d8e49ce8cf72f1c85df6741a9cc6db94b3b53b678fa0dc5e8fb9e79743c1a5c0c2481f457095626f0828c6d2a91b3c169175ceda7461c6c0b66
|
data/README.md
CHANGED
@@ -1,9 +1,8 @@
|
|
1
1
|
# Pronto runner that uses Aspell for spell checking
|
2
2
|
|
3
3
|
[![Code Climate](https://codeclimate.com/github/prontolabs/pronto-spell.png)](https://codeclimate.com/github/prontolabs/pronto-spell)
|
4
|
-
[![Build Status](https://
|
4
|
+
[![Build Status](https://github.com/prontolabs/pronto-spell/actions/workflows/checks.yml/badge.svg)](https://github.com/prontolabs/pronto-spell/actions/workflows/checks.yml)
|
5
5
|
[![Gem Version](https://badge.fury.io/rb/pronto-spell.png)](http://badge.fury.io/rb/pronto-spell)
|
6
|
-
[![Dependency Status](https://gemnasium.com/prontolabs/pronto-spell.png)](https://gemnasium.com/prontolabs/pronto-spell)
|
7
6
|
|
8
7
|
Pronto runner that uses [Aspell](https://github.com/YorickPeterse/ffi-aspell) for spell checking. [What is Pronto?](https://github.com/prontolabs/pronto)
|
9
8
|
|
@@ -16,7 +15,7 @@ You'll need to install Aspell:
|
|
16
15
|
|
17
16
|
## Configuration
|
18
17
|
|
19
|
-
In order to change configuration, you need to create `.pronto_spell.
|
18
|
+
In order to change configuration, you need to create `.pronto_spell.yml` file in your project root directory. Awailable options are:
|
20
19
|
|
21
20
|
```YAML
|
22
21
|
suggestion_mode: 'fast' # default
|
data/lib/pronto/spell/version.rb
CHANGED
data/lib/pronto/spell.rb
CHANGED
@@ -9,13 +9,13 @@ module Pronto
|
|
9
9
|
|
10
10
|
def ignored_words
|
11
11
|
@ignored_words ||= begin
|
12
|
-
Set.new(spelling_config['ignored_words'].to_a.map(&:downcase))
|
12
|
+
Set.new(spelling_config['ignored_words'].to_a.flatten.map(&:downcase))
|
13
13
|
end
|
14
14
|
end
|
15
15
|
|
16
16
|
def keywords
|
17
17
|
@keywords ||= begin
|
18
|
-
Set.new(spelling_config['only_lines_matching'].to_a.map(&:downcase))
|
18
|
+
Set.new(spelling_config['only_lines_matching'].to_a.flatten.map(&:downcase))
|
19
19
|
end
|
20
20
|
end
|
21
21
|
|
data/pronto-spell.gemspec
CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |s|
|
|
10
10
|
s.platform = Gem::Platform::RUBY
|
11
11
|
s.author = 'Mindaugas Mozūras'
|
12
12
|
s.email = 'mindaugas.mozuras@gmail.com'
|
13
|
-
s.homepage = 'https://github.com/
|
13
|
+
s.homepage = 'https://github.com/prontolabs/pronto-spell'
|
14
14
|
s.summary = 'Pronto runner that uses Aspell for spell checking'
|
15
15
|
|
16
16
|
s.licenses = ['MIT']
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pronto-spell
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.11.
|
4
|
+
version: 0.11.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mindaugas Mozūras
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-12-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ffi-aspell
|
@@ -95,7 +95,7 @@ files:
|
|
95
95
|
- lib/pronto/spell.rb
|
96
96
|
- lib/pronto/spell/version.rb
|
97
97
|
- pronto-spell.gemspec
|
98
|
-
homepage: https://github.com/
|
98
|
+
homepage: https://github.com/prontolabs/pronto-spell
|
99
99
|
licenses:
|
100
100
|
- MIT
|
101
101
|
metadata: {}
|
@@ -114,7 +114,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
114
114
|
- !ruby/object:Gem::Version
|
115
115
|
version: '0'
|
116
116
|
requirements: []
|
117
|
-
rubygems_version: 3.
|
117
|
+
rubygems_version: 3.2.5
|
118
118
|
signing_key:
|
119
119
|
specification_version: 4
|
120
120
|
summary: Pronto runner that uses Aspell for spell checking
|