execjslint 0.10.0 → 0.10.1

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/jslint/testtask.rb +2 -1
  2. metadata +11 -11
@@ -31,7 +31,7 @@ module JSLint
31
31
 
32
32
  # Internal: Define the actual Rake task.
33
33
  def define_task
34
- desc "Run #{@name == :jslint ? '' : @name} JSLint tests"
34
+ desc "Run #{@name == :jslint ? '' : @name.to_s + ' '}JSLint tests"
35
35
  task @name do
36
36
  t0 = Time.now
37
37
  errors = []
@@ -54,6 +54,7 @@ module JSLint
54
54
  end
55
55
  puts "Finished in %.5f seconds" % [Time.now.to_f - t0.to_f]
56
56
  puts "%d files, %d errors" % [@file_list.length, errors.length]
57
+ abort if errors.any?
57
58
  end
58
59
  end
59
60
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: execjslint
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.10.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-02-08 00:00:00.000000000 Z
12
+ date: 2012-03-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
16
- requirement: &70340978638460 !ruby/object:Gem::Requirement
16
+ requirement: &70279360096120 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 0.8.7
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70340978638460
24
+ version_requirements: *70279360096120
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: jslint-source
27
- requirement: &70340978637720 !ruby/object:Gem::Requirement
27
+ requirement: &70279360095720 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70340978637720
35
+ version_requirements: *70279360095720
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: execjs
38
- requirement: &70340978637220 !ruby/object:Gem::Requirement
38
+ requirement: &70279360095240 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '0'
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *70340978637220
46
+ version_requirements: *70279360095240
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rspec
49
- requirement: &70340978636620 !ruby/object:Gem::Requirement
49
+ requirement: &70279360094820 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,7 +54,7 @@ dependencies:
54
54
  version: '0'
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *70340978636620
57
+ version_requirements: *70279360094820
58
58
  description: ! ' A bridge to run JSLint from Ruby via ExecJS.
59
59
 
60
60
  '
@@ -88,7 +88,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
88
88
  version: '0'
89
89
  requirements: []
90
90
  rubyforge_project:
91
- rubygems_version: 1.8.15
91
+ rubygems_version: 1.8.11
92
92
  signing_key:
93
93
  specification_version: 3
94
94
  summary: ExecJS JSLint Bridge