clausewitz-spelling 0.1.12 → 0.1.13

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
  SHA1:
3
- metadata.gz: c0564ca99b4065d79b5902280d97b454f48882bf
4
- data.tar.gz: e574cd3c5a648bf68436640c8866ff064c9cafb1
3
+ metadata.gz: 89d90f162199223114129691e4631d2b2f7eecf1
4
+ data.tar.gz: 529757feda2e4a7da2435a520b6427b3834384c7
5
5
  SHA512:
6
- metadata.gz: 8ff64ee86d2c5d3d103ab34ab9a89ff7754a7972ef7a83e99fd59f9a0d186a549f80d94d0f555967b1625b5978a8fd15bfcd4c32740f76d7c9fc51028778e9dd
7
- data.tar.gz: 7f5d69f5243b58683edb87ff950148e30f7d6d07fd9c06b8ccd359287405d1791adb83f0bb680ef5f1c7c1d5ab6bb9b5fcc4d5b066b23c35d311167524366ea0
6
+ metadata.gz: 99a6a305b9c7a78fd7f78fd0ce4697664b1ce1b9d6f04884a7ddd238b2407ba6c1b7571722a150a05e81a2e6f702b32c882ed4b2e2c59fc3637ce56ecdaa10c8
7
+ data.tar.gz: 3d4774b893d966fe2d33ada277257e81b8ec0e85a4d643dea6fa43100e11b09de7b26d899be1041ed74c62c3faed95bef87f9aff8b626eb0aa303438e23fa169
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- clausewitz-spelling (0.1.12)
4
+ clausewitz-spelling (0.1.13)
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(/,$/, '')
@@ -140,7 +140,7 @@ module Clausewitz; module Spelling
140
140
  end
141
141
 
142
142
  def is_define?(word)
143
- word =~ /^\$\w+\$/
143
+ word =~ /^\$(\w|\|)+\$/
144
144
  end
145
145
 
146
146
  def is_number?(word)
@@ -1,5 +1,5 @@
1
1
  module Clausewitz
2
2
  module Spelling
3
- VERSION = "0.1.12"
3
+ VERSION = "0.1.13"
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.12
4
+ version: 0.1.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Will Chappell