selenium-grid 0.0.4 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,8 @@
1
+ === 0.1.0 / 2008-10-06
2
+
3
+ * bugfix: backgrounding argument position was wrong (needs to be last)
4
+ * bugfix: config/requirement needed to be required
5
+
1
6
  === 0.0.4 / 2008-10-06
2
7
 
3
8
  * added hub:list
@@ -1 +1,2 @@
1
+ require File.join(File.dirname(__FILE__), '..', 'config', 'requirements')
1
2
  require_path '/lib/extensions/**/*.rb'
@@ -1 +1,2 @@
1
+ require File.join(File.dirname(__FILE__), '..', 'config', 'requirements')
1
2
  require_path '/lib/java/**/*.rb'
@@ -8,8 +8,8 @@ module Java
8
8
  command << classname
9
9
  include_settings(command, options)
10
10
  include_arguments(command, options)
11
- include_background(command, options)
12
11
  include_log(command, options)
12
+ include_background(command, options)
13
13
 
14
14
  sh command.compact.join(' ')
15
15
  end
@@ -1 +1,2 @@
1
+ require File.join(File.dirname(__FILE__), '..', 'config', 'requirements')
1
2
  require_path '/lib/selenium-grid/**/*.rb'
@@ -20,7 +20,6 @@ module SeleniumGrid
20
20
  :arguments => args,
21
21
  :background => overrides[:background] || ENV['BACKGROUND'] || false,
22
22
  }
23
-
24
23
  Java::VM.new.run "com.thoughtworks.selenium.grid.remotecontrol.SelfRegisteringRemoteControlLauncher", options
25
24
  end
26
25
 
@@ -1,8 +1,8 @@
1
1
  module SeleniumGrid #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
- MINOR = 0
5
- TINY = 4
4
+ MINOR = 1
5
+ TINY = 0
6
6
  STRING = [MAJOR, MINOR, TINY].join('.')
7
7
  end
8
8
  end
@@ -38,6 +38,11 @@ module Java
38
38
  mock(vm).sh('java test.ClassName &')
39
39
  vm.run "test.ClassName", { :background => true }
40
40
  end
41
+
42
+ it "is the last option" do
43
+ mock(vm).sh("java test.ClassName > '/var/log/test.log' 2>&1 &")
44
+ vm.run "test.ClassName", {:background => true, :log => '/var/log/test.log'}
45
+ end
41
46
  end
42
47
 
43
48
  context "when the options include :classpath" do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: selenium-grid
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Dy