tuev 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/lib/tuev/tuev.rb +4 -4
  3. data/tuev.gemspec +3 -3
  4. metadata +4 -4
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.0
1
+ 0.4.1
data/lib/tuev/tuev.rb CHANGED
@@ -10,7 +10,7 @@ class Tuev
10
10
  config_file = ENV['TUEV_CONFIG'] || File.join(Tuev.cwd, "config/tuev.yml")
11
11
 
12
12
  if File.exists?(config_file)
13
- @config = YAML.load_file(config_file)
13
+ @config = YAML.load_file(config_file)
14
14
  else
15
15
  raise "\n\nERROR: Can't find '#{config_file}' ... create it or set TUEV_CONFIG to point to a valid tuev.yml\n\n"
16
16
  end
@@ -53,7 +53,7 @@ class Tuev
53
53
  @qunit_css = file_url(Tuev.contrib_dir, "qunit.css")
54
54
  @test_suite_name = test_suite_config["name"]
55
55
 
56
- @combine_tests = test_suite_config["combine_tests"]
56
+ @combine_tests = test_suite_config["combine_tests"]
57
57
 
58
58
  @test_set = @tests = build_file_list(test_suite_config["test_files"])
59
59
 
@@ -62,7 +62,7 @@ class Tuev
62
62
 
63
63
  def create_test_files
64
64
  files = []
65
- if @combine_tests
65
+ if ENV['COMBINE_TESTS'] == 'true' || (ENV['COMBINE_TESTS'] != 'false' && @combine_tests)
66
66
  files << File.join(out_path, "#{@test_suite_name}.html")
67
67
 
68
68
  @test_set_name = title_from_filename(files.last)
@@ -71,7 +71,7 @@ class Tuev
71
71
  else
72
72
  @tests.each do |test|
73
73
  files << File.join(out_path, "#{@test_suite_name}_#{test.gsub('file://','').gsub(Tuev.cwd, '').tr('/.','_')}.html")
74
-
74
+
75
75
  @test_set_name = title_from_filename(files.last)
76
76
  @test_set = [test]
77
77
  save(render_template(test), files.last)
data/tuev.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{tuev}
8
- s.version = "0.4.0"
8
+ s.version = "0.4.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["kesselborn"]
12
- s.date = %q{2011-04-14}
12
+ s.date = %q{2011-04-15}
13
13
  s.default_executable = %q{tuev}
14
14
  s.description = %q{...}
15
15
  s.email = %q{daniel@soundcloud.com}
@@ -51,7 +51,7 @@ Gem::Specification.new do |s|
51
51
  s.homepage = %q{http://github.com/kesselborn/tuev}
52
52
  s.licenses = ["MIT"]
53
53
  s.require_paths = ["lib"]
54
- s.rubygems_version = %q{1.5.0}
54
+ s.rubygems_version = %q{1.6.2}
55
55
  s.summary = %q{run qunit & selenium tests with rake}
56
56
  s.test_files = [
57
57
  "spec/spec_helper.rb",
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: tuev
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.4.0
5
+ version: 0.4.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - kesselborn
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-04-14 00:00:00 +02:00
13
+ date: 2011-04-15 00:00:00 +02:00
14
14
  default_executable: tuev
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -153,7 +153,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
153
153
  requirements:
154
154
  - - ">="
155
155
  - !ruby/object:Gem::Version
156
- hash: -612069244517957402
156
+ hash: 4161922455615148517
157
157
  segments:
158
158
  - 0
159
159
  version: "0"
@@ -166,7 +166,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
166
166
  requirements: []
167
167
 
168
168
  rubyforge_project:
169
- rubygems_version: 1.5.0
169
+ rubygems_version: 1.6.2
170
170
  signing_key:
171
171
  specification_version: 3
172
172
  summary: run qunit & selenium tests with rake