learn_linter 1.6.3 → 1.6.4
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: 715b811d1e80c43a7fca9d280d483f59211cb36b
|
4
|
+
data.tar.gz: 55abb88963a58cc1f757b1ccf5179bd4e1bc626c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: af8158aa215d30c60d227f0fcb25fc2308a25d0e19c8731c9464fd8845f840e317b33b11ae45bae0aa5f33c388807a5d67949bc21afdd2c396a0d066a6b5a4ab
|
7
|
+
data.tar.gz: 028d27203acc371000100f7593b21110df0c7a7d19f3404f879748f52dc296311a47f23d315f8fb9ea5a8b7e48f4f537c87939fc22ea3af2645c5b31e5152262
|
@@ -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|javascript|objc|sql$/))
|
24
|
+
if !(chars.match(/^```ruby|bash|swift|html|javascript|objc|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.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sophie DeBenedetto
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-01-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|