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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b4b3da085019f9e1763a231b5fdacd2f9bc10963
4
- data.tar.gz: d409cdea1c437736fac5aefccb428a9b6df099aa
3
+ metadata.gz: d36fc2e5d91417c97b53660493efbc3fb0d49444
4
+ data.tar.gz: c99ef91a2d4b9dd4caa66d358719df5cfc3ba935
5
5
  SHA512:
6
- metadata.gz: d7063078b0335d40febd5559604407a524569d8016daa7a6c8d25d73cb27be73b7b74b94aaa04ab71de317a637b37623566d76c392ca699445694cfd9c66a338
7
- data.tar.gz: bd662df2e086c161ab43f924e7515571cb464607a5fe7df31ab834856ab4d62a25ba414e5412b40ad085e25bd47b3840f8337f6989da374f24150cc1e6ed4d0f
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
@@ -1,3 +1,3 @@
1
1
  class LearnLinter
2
- VERSION = "1.7.2"
2
+ VERSION = "1.7.3"
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: 1.7.2
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-02-29 00:00:00.000000000 Z
11
+ date: 2016-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler