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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 07f54bc81dcc96ab8d9fa447d718925489a274569836eac59e70863774bdcf01
4
- data.tar.gz: bc02b4e4e5466fb1c3a129c31e7dfa0b494d462772246d7f3849266c9c192e8d
3
+ metadata.gz: f9a9791a0f03a7815cd6e8874239af2b4f6221b1b489f54ca2f5b5c1de7a6854
4
+ data.tar.gz: '0689950fb2286e56a8e6416439d1e4fe1f87f447986f8bc740131ebbe30f9dcd'
5
5
  SHA512:
6
- metadata.gz: 46455fa1baafe659fe69c14a9db5a7803af4315e76ab9e340a67fce8f699a8bea215a0ebfae9750a401ce2a716d0a50dfaecdb06353bd35c39b07f126c3345ef
7
- data.tar.gz: bfa0787135e7fcb72c54d021bb1d4d2c725f8c5602c9d0f4da8245d64208d22e2b5696dde5291366079163c3734022313a520e48188b38cc4cff5cb02b6f903d
6
+ metadata.gz: 324bfb7baeaaca4e54b07cf7b571c028908b777469d6e223948c614054be8b170efc69d83eb3aacd5b068293dbae307eba9c109c9dd058a77d0a08b5efab3d11
7
+ data.tar.gz: 6ed3bc815f319d8e49ce8cf72f1c85df6741a9cc6db94b3b53b678fa0dc5e8fb9e79743c1a5c0c2481f457095626f0828c6d2a91b3c169175ceda7461c6c0b66
@@ -18,5 +18,7 @@ jobs:
18
18
  with:
19
19
  ruby-version: ${{ matrix.ruby }}
20
20
  bundler-cache: true
21
+ - name: install en dictionaries
22
+ run: sudo apt-get install -y aspell-en
21
23
  - name: rake spec
22
24
  run: bundle exec rake spec
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://travis-ci.org/prontolabs/pronto-spell.png)](https://travis-ci.org/prontolabs/pronto-spell)
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.yaml` file in your project root directory. Awailable options are:
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
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Pronto
4
4
  module SpellVersion
5
- VERSION = '0.11.0'
5
+ VERSION = '0.11.1'
6
6
  end
7
7
  end
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/mmozuras/pronto-spell'
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.0
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-02-01 00:00:00.000000000 Z
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/mmozuras/pronto-spell
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.0.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