clausewitz-spelling 0.2.9 → 0.2.10

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
  SHA256:
3
- metadata.gz: df7a1d4a0691bd8d0c5206439a475ffb7271b2114517ed0a1466272398db7f30
4
- data.tar.gz: b2224cbea6f9e78ab1b57dc8c1b9e1e2cd0e76e8dacb192481977afff4baa7f6
3
+ metadata.gz: 9c25755ce321d90c2c3af77bc897c1ab95dedf2285f5884b91dee41d9b925ef1
4
+ data.tar.gz: 99965fa7fc61ab2d6519edea3902e4e2231c2ed186acbd45476aa889caba24ff
5
5
  SHA512:
6
- metadata.gz: b26315488f9b5018c2b5289acee1c6517eb36ef362904abf8b83e15198af957c392a7144cd456a6d34103515aa7dafc8a04c129f391f9c10a65d65d19cd0cb14
7
- data.tar.gz: 58454d39937ffbbabe81725488f304a4eefe4d7f42875bc2a7a0bda0d19e8c31ece293bee177c5c367878b3bc94afbead92bc9dc15ed969772c1a83b94bbd75b
6
+ metadata.gz: 7eb916e06c5a9a68768cbc8e7a0ee5e92a014003a7e01af1756aff8caf9ead44c334399d30912ec10b66cf817deeb18e9613819c7dfe9ff91c7eb727b088592f
7
+ data.tar.gz: d2e71d714c163a21520419719f76c05655d7e7b6e137608053047832f6e31b2d553b782a2d30a01f3e80132c9772a341c423e4cfb6d5072bef4ee2e9e5305184
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- clausewitz-spelling (0.2.9)
4
+ clausewitz-spelling (0.2.10)
5
5
  colorize
6
6
  damerau-levenshtein
7
7
  ffi-hunspell-wtchappell
@@ -93,6 +93,10 @@ module Clausewitz
93
93
  errors << "Line ##{lineno} does not start with two spaces."
94
94
  end
95
95
 
96
+ if line =~ /^\s*([\w\d.'-])+\:([0-9]+)?\"/
97
+ errors << "Line ##{lineno} is missing a space between the key and value."
98
+ end
99
+
96
100
  if line.count('"').odd?
97
101
  errors << "Unmatched double quote on line ##{lineno}."
98
102
  end
@@ -1,5 +1,5 @@
1
1
  module Clausewitz
2
2
  module Spelling
3
- VERSION = "0.2.9"
3
+ VERSION = "0.2.10"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: clausewitz-spelling
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.9
4
+ version: 0.2.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Will Chappell
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-06-22 00:00:00.000000000 Z
11
+ date: 2019-06-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler