Skip to content

Commit ff47c9a

Browse files
allow more complex configuration structure and fix readme
1 parent 89d9fc8 commit ff47c9a

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ You'll need to install Aspell:
1515

1616
## Configuration
1717

18-
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:
1919

2020
```YAML
2121
suggestion_mode: 'fast' # default

lib/pronto/spell.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ class Spell < Runner
99

1010
def ignored_words
1111
@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))
1313
end
1414
end
1515

1616
def keywords
1717
@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))
1919
end
2020
end
2121

lib/pronto/spell/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
module Pronto
44
module SpellVersion
5-
VERSION = '0.11.0'
5+
VERSION = '0.11.1'
66
end
77
end

0 commit comments

Comments
 (0)