polonium 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGES CHANGED
@@ -1,3 +1,6 @@
1
+ 0.2.2
2
+ * fixed a bug that was preventing webrick server runner to start [Jeremy Lightsmith]
3
+
1
4
  0.2.1
2
5
  * ExternalServerRunner start_server and stop_server commands are configurable
3
6
 
data/Rakefile CHANGED
@@ -26,7 +26,7 @@ def run_suite
26
26
  end
27
27
 
28
28
  PKG_NAME = "polonium"
29
- PKG_VERSION = "0.2.1"
29
+ PKG_VERSION = "0.2.2"
30
30
  PKG_FILES = FileList[
31
31
  '[A-Z]*',
32
32
  '*.rb',
@@ -30,6 +30,6 @@ require "polonium/tasks/selenium_test_task"
30
30
  require 'webrick_server' if self.class.const_defined? :RAILS_ROOT
31
31
 
32
32
  require "polonium/adapters/test_unit"
33
- if Object.const_defined?(:Spec)
33
+ if Object.const_defined?(:Spec) && !(Object.const_defined?(:IGNORE_RSPEC) && IGNORE_RSPEC)
34
34
  require "polonium/adapters/rspec"
35
35
  end
@@ -11,10 +11,11 @@ module Polonium
11
11
  protected
12
12
  def start_server
13
13
  @server = create_webrick_server
14
+ rails_env = configuration.rails_env ? configuration.rails_env.dup : nil
14
15
  mount_parameters = {
15
16
  :port => configuration.internal_app_server_port,
16
17
  :ip => configuration.internal_app_server_host,
17
- :environment => configuration.rails_env.dup,
18
+ :environment => rails_env,
18
19
  :server_root => configuration.server_root,
19
20
  :server_type => WEBrick::SimpleServer,
20
21
  :charset => "UTF-8",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: polonium
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pivotal Labs
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-07-18 00:00:00 -07:00
12
+ date: 2008-08-01 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -24,49 +24,49 @@ extra_rdoc_files:
24
24
  - CHANGES
25
25
  files:
26
26
  - CHANGES
27
- - README
28
27
  - Rakefile
28
+ - README
29
29
  - init.rb
30
- - lib/polonium/server_runners/webrick_server_runner.rb
31
- - lib/polonium/server_runners/external_server_runner.rb
32
- - lib/polonium/server_runners/server_runner.rb
33
- - lib/polonium/server_runners/mongrel_server_runner.rb
34
- - lib/polonium/dsl/selenium_dsl.rb
35
- - lib/polonium/adapters/test_unit.rb
36
30
  - lib/polonium/adapters/rspec.rb
31
+ - lib/polonium/adapters/test_unit.rb
32
+ - lib/polonium/configuration.rb
33
+ - lib/polonium/driver.rb
34
+ - lib/polonium/dsl/selenium_dsl.rb
37
35
  - lib/polonium/element.rb
38
36
  - lib/polonium/extensions/module.rb
39
- - lib/polonium/tasks/selenium_test_task.rb
40
37
  - lib/polonium/page.rb
41
- - lib/polonium/driver.rb
38
+ - lib/polonium/selenium_helper.rb
39
+ - lib/polonium/server_runners/external_server_runner.rb
40
+ - lib/polonium/server_runners/mongrel_server_runner.rb
41
+ - lib/polonium/server_runners/server_runner.rb
42
+ - lib/polonium/server_runners/webrick_server_runner.rb
43
+ - lib/polonium/tasks/selenium_test_task.rb
44
+ - lib/polonium/test_case.rb
42
45
  - lib/polonium/values_match.rb
43
46
  - lib/polonium/wait_for.rb
44
- - lib/polonium/test_case.rb
45
- - lib/polonium/configuration.rb
46
- - lib/polonium/selenium_helper.rb
47
47
  - lib/polonium.rb
48
- - spec/spec_helper.rb
49
- - spec/test_unit_spec_suite.rb
50
- - spec/rspec/options_spec.rb
51
- - spec/rspec/rspec_spec_helper.rb
52
- - spec/spec_suite.rb
53
48
  - spec/main_spec_suite.rb
54
- - spec/test_unit/test_unit_spec_helper.rb
55
- - spec/test_unit/testrunnermediator_spec.rb
56
- - spec/polonium/server_runners/server_runner_spec.rb
57
- - spec/polonium/server_runners/mongrel_server_runner_spec.rb
58
- - spec/polonium/server_runners/external_server_runner_spec.rb
59
- - spec/polonium/server_runners/webrick_server_runner_spec.rb
49
+ - spec/polonium/configuration_spec.rb
60
50
  - spec/polonium/driver_spec.rb
61
- - spec/polonium/test_case_spec_helper.rb
62
- - spec/polonium/test_case_spec.rb
63
- - spec/polonium/page_spec.rb
64
51
  - spec/polonium/element_spec.rb
65
52
  - spec/polonium/extensions/module_spec.rb
53
+ - spec/polonium/page_spec.rb
54
+ - spec/polonium/server_runners/external_server_runner_spec.rb
55
+ - spec/polonium/server_runners/mongrel_server_runner_spec.rb
56
+ - spec/polonium/server_runners/server_runner_spec.rb
57
+ - spec/polonium/server_runners/webrick_server_runner_spec.rb
66
58
  - spec/polonium/test_case_class_method_spec.rb
59
+ - spec/polonium/test_case_spec.rb
60
+ - spec/polonium/test_case_spec_helper.rb
67
61
  - spec/polonium/values_match_spec.rb
68
- - spec/polonium/configuration_spec.rb
62
+ - spec/rspec/options_spec.rb
63
+ - spec/rspec/rspec_spec_helper.rb
69
64
  - spec/rspec_spec_suite.rb
65
+ - spec/spec_helper.rb
66
+ - spec/spec_suite.rb
67
+ - spec/test_unit/test_unit_spec_helper.rb
68
+ - spec/test_unit/testrunnermediator_spec.rb
69
+ - spec/test_unit_spec_suite.rb
70
70
  has_rdoc: true
71
71
  homepage: http://pivotallabs.com
72
72
  post_install_message:
@@ -92,7 +92,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
92
92
  requirements: []
93
93
 
94
94
  rubyforge_project: pivotalrb
95
- rubygems_version: 1.0.1
95
+ rubygems_version: 1.2.0
96
96
  signing_key:
97
97
  specification_version: 2
98
98
  summary: Selenium RC with Rails integration and enhanced assertions.