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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2591ce2673e8253953b70b5cd03c115b0dec2e46
4
- data.tar.gz: 9400f8228d373ef061e55b786093fee3dbd9ef68
3
+ metadata.gz: a43b624cc6b5e3294b4bb9b405df52b0efa24009
4
+ data.tar.gz: f9b332665ad44b18a554d0b7b3d619fbe384ac2c
5
5
  SHA512:
6
- metadata.gz: 8c4c8b2d1becb8a718a96fe9ae38e1de50220590a13d0c7c6d402ab79e5f2663ab8f62f52970a50ff31f5dc896f1d22f25526c258447655ea6b24ad30a154f90
7
- data.tar.gz: 4200cdfb63629d2eac2ea8fef9c1c10fe87b3f7a052f9bd8688afe973791ce65c86dfadc63b3154e260898277d2d902be35b0a98d5625bb77677f5ca1bdea6be
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["#{$INPUT_LINE_NUMBER}"] = line_content
25
+ lines["#{$.}"] = line_content
28
26
  end
29
27
  lines
30
28
  end
@@ -1,3 +1,3 @@
1
1
  class LearnLinter
2
- VERSION = "1.7.0"
2
+ VERSION = "1.7.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: learn_linter
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.0
4
+ version: 1.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sophie DeBenedetto