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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7086b66d4c1ea92dd188f35f2ed926a0f173c622
4
- data.tar.gz: c5ceb0ac9c211035363de90a74fa9568d12104fb
3
+ metadata.gz: 0a72fcfdebdae83dcc61832c1d38fdf48dd6bf68
4
+ data.tar.gz: 2cd33b71cb583ab5a2c3662ddda5c768c0115e05
5
5
  SHA512:
6
- metadata.gz: 4bf0eeac0cba3206de615932c056cd98244a139c9c5da5b111264bb8c651278f111d4bb2a21c6f0121838e3b4f2b3f4d93911cca3bfd37106e87d7995941a68b
7
- data.tar.gz: befa7bb2072f531fd82ad36760d852a3dc7d8ba814a7acb821a4837cb5e40816a4b71294ffa9814911e3d7db0a35e732c358b81417785cfac172e8019216ec71
6
+ metadata.gz: 0d773e32beb13c5a3daf0001a354ff4218b0920ed1fcc6e1c6854898e844620879d4f8e160b02e3e77a0823ed3aa2f8d269a25fb588765b5dbad09efd070931f
7
+ data.tar.gz: 2dacc23af60766cb8d7d255a212417833d0bf11d033d4dfc6b701952b576b9552fde4a4d82ef570b56ae4bc05fbd833cb6dd5904f3b351bbac7c04c2577f3ea9
@@ -1,3 +1,3 @@
1
1
  module ESLintRails
2
- VERSION = '1.0.1'.freeze
2
+ VERSION = '1.0.2'.freeze
3
3
  end
@@ -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.1
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-07-06 00:00:00.000000000 Z
12
+ date: 2016-08-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties