clausewitz-spelling 0.1.13 → 0.1.14

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
  SHA1:
3
- metadata.gz: 89d90f162199223114129691e4631d2b2f7eecf1
4
- data.tar.gz: 529757feda2e4a7da2435a520b6427b3834384c7
3
+ metadata.gz: 044f937c2911e448c19cc68c9bfb5090c75ef24f
4
+ data.tar.gz: 1785ebd1146ebc402d639b58b955d359e69f3170
5
5
  SHA512:
6
- metadata.gz: 99a6a305b9c7a78fd7f78fd0ce4697664b1ce1b9d6f04884a7ddd238b2407ba6c1b7571722a150a05e81a2e6f702b32c882ed4b2e2c59fc3637ce56ecdaa10c8
7
- data.tar.gz: 3d4774b893d966fe2d33ada277257e81b8ec0e85a4d643dea6fa43100e11b09de7b26d899be1041ed74c62c3faed95bef87f9aff8b626eb0aa303438e23fa169
6
+ metadata.gz: 556b17771bef538f9c70ff15228f715ff0d809c733c7a401c180bc4a2edb58428835584c3fd784070cc74f8e58b88938c90a11620487155c6f200789f86d98bb
7
+ data.tar.gz: c14d467e829299942877ebaa533b08503095a3485cd8c08455103337da46999aa566a44f1f0d9931af01860e6c57932c7ca339cd7088afd25bfbf8994d930a62
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- clausewitz-spelling (0.1.13)
4
+ clausewitz-spelling (0.1.14)
5
5
  colorize
6
6
  damerau-levenshtein
7
7
  ffi-aspell
@@ -90,7 +90,7 @@ module Clausewitz; module Spelling
90
90
  word.sub(/\.\.\.$/, '')
91
91
  elsif word =~ /[[:alpha:]]\.$/ && word.chars.count('.') == 1
92
92
  word.sub(/\.$/, '')
93
- elsif word =~ /\d\.$/ && word.chars.count('.') < 2
93
+ elsif word =~ /\d\.$/ && word.chars.count('.') <= 2
94
94
  word.sub(/\.$/, '')
95
95
  elsif word =~ /,$/
96
96
  word.sub(/,$/, '')
@@ -1,5 +1,5 @@
1
1
  module Clausewitz
2
2
  module Spelling
3
- VERSION = "0.1.13"
3
+ VERSION = "0.1.14"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: clausewitz-spelling
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.13
4
+ version: 0.1.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Will Chappell