jstdutil 0.3.9 → 0.3.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/jstdutil/test_runner.rb +2 -2
  3. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.9
1
+ 0.3.10
@@ -20,8 +20,8 @@ module Jstdutil
20
20
  @args = @args.sub(/(\s*--reset)?$/, " --reset") if file !~ /_test\.js$/
21
21
 
22
22
  TestFile.new(file).test_cases
23
- end.flatten.map { |tc| tc.index(" ").nil? ? tc : "\"#{tc}\"" }.join(",")
24
-
23
+ end.flatten.reject { |tc| tc.nil? }.map { |tc| tc.index(" ").nil? ? tc : "\"#{tc}\"" }.join(",")
24
+
25
25
  cases == "" && "all" || cases
26
26
  end
27
27
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jstdutil
3
3
  version: !ruby/object:Gem::Version
4
- hash: 1
4
+ hash: 7
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 9
10
- version: 0.3.9
9
+ - 10
10
+ version: 0.3.10
11
11
  platform: ruby
12
12
  authors:
13
13
  - Christian Johansen