eslint-rails 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/eslint-rails/version.rb +1 -1
- data/lib/eslint-rails/warning.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: 0a72fcfdebdae83dcc61832c1d38fdf48dd6bf68
|
4
|
+
data.tar.gz: 2cd33b71cb583ab5a2c3662ddda5c768c0115e05
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d773e32beb13c5a3daf0001a354ff4218b0920ed1fcc6e1c6854898e844620879d4f8e160b02e3e77a0823ed3aa2f8d269a25fb588765b5dbad09efd070931f
|
7
|
+
data.tar.gz: 2dacc23af60766cb8d7d255a212417833d0bf11d033d4dfc6b701952b576b9552fde4a4d82ef570b56ae4bc05fbd833cb6dd5904f3b351bbac7c04c2577f3ea9
|
data/lib/eslint-rails/version.rb
CHANGED
data/lib/eslint-rails/warning.rb
CHANGED
@@ -6,7 +6,7 @@ module ESLintRails
|
|
6
6
|
private_constant :SEVERITY
|
7
7
|
|
8
8
|
def initialize(warning_hash)
|
9
|
-
@rule_id = warning_hash['ruleId']
|
9
|
+
@rule_id = warning_hash['ruleId'] || "unexpected error"
|
10
10
|
@severity = warning_hash['severity']
|
11
11
|
@message = warning_hash['message']
|
12
12
|
@line = warning_hash['line']
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eslint-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Force
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-
|
12
|
+
date: 2016-08-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: railties
|