jslintrb_v8 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/jslintrb-v8.rb +1 -0
  2. metadata +9 -9
data/lib/jslintrb-v8.rb CHANGED
@@ -162,6 +162,7 @@ class JSLint
162
162
  context['JSLintRBwidget'] = @widget
163
163
  context['JSLintRBreportErrors'] = lambda{|js_errors|
164
164
  js_errors.each do |e|
165
+ next if e.nil?
165
166
  errors << "Error at line #{e['line'].to_i + 1} " +
166
167
  "character #{e['character'].to_i + 1}: #{e['reason']}"
167
168
  errors << " #{e['evidence']}"
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jslintrb_v8
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 2
10
- version: 1.0.2
9
+ - 3
10
+ version: 1.0.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Nick Gauthier
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-05-15 00:00:00 Z
18
+ date: 2011-11-08 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: therubyracer
@@ -23,14 +23,14 @@ dependencies:
23
23
  requirement: &id001 !ruby/object:Gem::Requirement
24
24
  none: false
25
25
  requirements:
26
- - - "="
26
+ - - ~>
27
27
  - !ruby/object:Gem::Version
28
- hash: 61
28
+ hash: 43
29
29
  segments:
30
30
  - 0
31
+ - 9
31
32
  - 8
32
- - 1
33
- version: 0.8.1
33
+ version: 0.9.8
34
34
  type: :runtime
35
35
  version_requirements: *id001
36
36
  description:
@@ -74,7 +74,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
74
74
  requirements: []
75
75
 
76
76
  rubyforge_project:
77
- rubygems_version: 1.7.2
77
+ rubygems_version: 1.8.10
78
78
  signing_key:
79
79
  specification_version: 3
80
80
  summary: Run JSLint from Ruby