learn_linter 1.3.0 → 1.4.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.rb +3 -1
- data/lib/learn_linter/learn_error.rb +5 -2
- 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: c9e3092f6c9b97460b2a2f13d6cbbf2a5396857b
|
4
|
+
data.tar.gz: d58a8a6bf5cff738a8dc16f65edd7ffd1be20e8f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f5b779157f5d0fec64c3da14d81be89d9416a3b04a3bf770c37cdc2a80425346d199dddd4e50eeab7c2e55d3d0ac5c12fe800350a443e0c82cf0fb0b7b6f709
|
7
|
+
data.tar.gz: 8e51e62c55d53844d17c6ead15c83ca8345cc6e39b3f9018a589232f4f30847d4467bc2a573ae43b3d5a4b84b972001987997446b01b2cfacca6361de5af1701
|
data/lib/learn_linter.rb
CHANGED
@@ -49,10 +49,13 @@ class LearnError < StandardError
|
|
49
49
|
|
50
50
|
end
|
51
51
|
|
52
|
+
def result_message
|
53
|
+
[present_learn, valid_yaml, correct_yaml_content, present_license, valid_license, present_readme, valid_readme, valid_contributing, present_contributing]
|
54
|
+
end
|
55
|
+
|
52
56
|
|
53
57
|
def result_output
|
54
|
-
|
55
|
-
all_results.each do |result|
|
58
|
+
result_message.each do |result|
|
56
59
|
emit(result)
|
57
60
|
end
|
58
61
|
end
|
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.
|
4
|
+
version: 1.4.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-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|