learn_linter 1.7.0 → 1.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/learn_linter/readme_linter.rb +1 -3
- data/lib/learn_linter/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a43b624cc6b5e3294b4bb9b405df52b0efa24009
|
4
|
+
data.tar.gz: f9b332665ad44b18a554d0b7b3d619fbe384ac2c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b683609caba5f7a861c8eead9fe5a8891b0899b65ae2cef1ca8145e4fce94e68647a996f66e936a9ad88ecf475edc42bad8fb4dd1b2a547d0b999f743aec4c53
|
7
|
+
data.tar.gz: a1eecd025bf1d314dd14e40914c5c7c9de8f7460a0af17b47fed0e090effc578428038d50920f5d3a307b33c0e2cebe78a6eb46b27250553e1bd9e4df58f237a
|
@@ -1,5 +1,3 @@
|
|
1
|
-
require 'english'
|
2
|
-
|
3
1
|
class ReadmeLinter
|
4
2
|
|
5
3
|
def self.parse_file(file, learn_error)
|
@@ -24,7 +22,7 @@ class ReadmeLinter
|
|
24
22
|
def self.collect_lines(file)
|
25
23
|
lines = {}
|
26
24
|
File.foreach(file) do |line_content|
|
27
|
-
lines["#{
|
25
|
+
lines["#{$.}"] = line_content
|
28
26
|
end
|
29
27
|
lines
|
30
28
|
end
|
data/lib/learn_linter/version.rb
CHANGED