learn_linter 0.5.0 → 0.6.0
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: 4543fe96f9678ed27100772bab75faf1740c570c
|
4
|
+
data.tar.gz: 218abe2d5ccc5ca8a3e9ddda3590c30a991de97e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b3c541f234d35652939f925e79ce130a7733b7420f9fdb308e2144764f1b33f678dd2b8d70d55def49b432620104091aeb07a67eca1d66a52587a173a0725bdb
|
7
|
+
data.tar.gz: 6215189618dc554410cb72150e896289872415ac5b3035f083d7e43483c27d10481f203efe3a0ae00ecca2afa15af41ea5626e345bcecf2d022bd5415e8a71a2
|
@@ -22,7 +22,7 @@ class ReadmeLinter
|
|
22
22
|
def self.validate_snippets(file, learn_error)
|
23
23
|
file.split(" ").each do |chars|
|
24
24
|
if chars.match(/``/)
|
25
|
-
if !(chars.match(/```ruby/) || chars.match(/```bash/) || chars.match(/```objc/) || chars.match(/```javascript/) || chars.match(/``` /))
|
25
|
+
if !(chars.match(/```ruby/) || chars.match(/```bash/) || chars.match(/```objc/) || chars.match(/```javascript/) || chars.match(/``` /) || chars.match(/```sql/))
|
26
26
|
break
|
27
27
|
else
|
28
28
|
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: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sophie DeBenedetto
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-09-
|
11
|
+
date: 2015-09-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|