learn_linter 1.6.8 → 1.6.9
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: 8dd5cb1e1a21941f889c8f0d26fdade640d150e0
|
4
|
+
data.tar.gz: 8a31c1280f1d6cf72ca68ecdccd6c95efe884e73
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5e0cc594e0ae450f060029e69f1d48578f3ee930435287765a00eadcf4b59a43fe5201f3522fdb058bf3118f71d20c26ed7ca2cadcc980897bbf1f0c4c4fe757
|
7
|
+
data.tar.gz: 41706f9d007cfa4664f45dda42de257568eecd63af0e76c7b80435433f6cd77c7df7dcf91487a5b1e6811b193b6b762c5672a9ce3b2d8b34ca368e31bc75ee45
|
@@ -21,7 +21,7 @@ class ReadmeLinter
|
|
21
21
|
def self.validate_snippets(file, learn_error)
|
22
22
|
file.split(" ").each do |chars|
|
23
23
|
if chars.match(/``/)
|
24
|
-
if !(chars.match(/^```(ruby|bash|swift|html|erb|javascript|objc|java|sql)?$/))
|
24
|
+
if !(chars.match(/^```(ruby|bash|swift|html|erb|js|javascript|objc|java|sql)?$/))
|
25
25
|
break
|
26
26
|
else
|
27
27
|
green_light(learn_error)
|
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.6.
|
4
|
+
version: 1.6.9
|
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-02-
|
11
|
+
date: 2016-02-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|