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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 50878a15317abe96eaf05ee2e8b1d3e74a4ca1d8
4
- data.tar.gz: c2a6b0540e6512fc75b47881c9c62c9f4fd5cd1d
3
+ metadata.gz: 4543fe96f9678ed27100772bab75faf1740c570c
4
+ data.tar.gz: 218abe2d5ccc5ca8a3e9ddda3590c30a991de97e
5
5
  SHA512:
6
- metadata.gz: 83e811fdd5e1595463cb15da512fc21631c2d8accdab1207834ec8d148b3a2c067bd77c3a4e4b35118b69bfa4544d9d38d775c6fb9a4c91ce8276abf2568ccd0
7
- data.tar.gz: a0ff8b62314c8b05abdb214d72028f58ed9f09e039680da16172d728e8c2c4f6c80027865880489503be8a28899bca339e56056bfd7b2eda2bdaee55c9787b37
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)
@@ -1,3 +1,3 @@
1
1
  class LearnLinter
2
- VERSION = "0.5.0"
2
+ VERSION = "0.6.0"
3
3
  end
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.5.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-08 00:00:00.000000000 Z
11
+ date: 2015-09-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler