learn_linter 1.7.2 → 1.7.3
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 -1
- data/lib/learn_linter/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d36fc2e5d91417c97b53660493efbc3fb0d49444
|
4
|
+
data.tar.gz: c99ef91a2d4b9dd4caa66d358719df5cfc3ba935
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0aa5c78dc70d93b2549bed503acdedfe4716d52650b124bfce2d70533959e2929863909416c8757447ca32b29033a06c146780d5fc54e0b8f25ac69cdb106675
|
7
|
+
data.tar.gz: 8364e7626562bde2c82a336217c8ae623f3b701a9901dd64b5fd5d86d3a3838219e679656e2e7f2e14ea673e902057cf9f024f54cdde1c86b2334ab83cfde733
|
@@ -35,7 +35,7 @@ class ReadmeLinter
|
|
35
35
|
def self.lint_lines(lines, learn_error)
|
36
36
|
lines.each do |line_num, line_content|
|
37
37
|
if line_content.match(/``/)
|
38
|
-
if !(line_content.match(/^```(ruby|bash|swift|html|erb|js|javascript|objc|java|sql)?$/))
|
38
|
+
if !(line_content.match(/^```(ruby|bash|swift|html|erb|js|javascript|objc|java|sql|css|text)?$/))
|
39
39
|
learn_error.valid_readme[:message] << "INVALID CODE SNIPPET - line #{line_num}: #{line_content}"
|
40
40
|
end
|
41
41
|
end
|
data/lib/learn_linter/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: learn_linter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.7.
|
4
|
+
version: 1.7.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sophie DeBenedetto
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-05-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|