grid_tools 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/grid_tools +12 -12
- data/binaries/linux_64/chromedriver +0 -0
- data/binaries/mac/chromedriver +0 -0
- data/binaries/{selenium-server-standalone-2.26.0.jar → selenium-server-standalone-2.29.0.jar} +0 -0
- data/binaries/windows/IEDriverServer.exe +0 -0
- data/binaries/windows/chromedriver.exe +0 -0
- data/lib/grid_tools/version.rb +1 -1
- metadata +4 -10
data/bin/grid_tools
CHANGED
@@ -35,27 +35,27 @@ command :start do |c|
|
|
35
35
|
end
|
36
36
|
|
37
37
|
if args[0] == "hub"
|
38
|
-
if `ps -e -o pid,args | awk '/selenium-server/ { print $1 }'`.split(/\n/).count < 3
|
38
|
+
#if `ps -e -o pid,args | awk '/selenium-server/ { print $1 }'`.split(/\n/).count < 3
|
39
39
|
binaries = File.expand_path(File.dirname(File.expand_path(__FILE__)) + '/../binaries')
|
40
40
|
cmd = "java -jar #{binaries}/selenium-server-standalone* -browserTimeout 300 -role hub >> ~/hub.log 2>&1 &"
|
41
41
|
system cmd
|
42
|
-
pid = `ps -e -o pid,args | awk '/selenium-server/ { print $1 }'`.split(/\n/)[0]
|
43
|
-
puts "Started a hub. [pid: #{pid}]"
|
44
|
-
else
|
45
|
-
|
46
|
-
end
|
42
|
+
#pid = `ps -e -o pid,args | awk '/selenium-server/ { print $1 }'`.split(/\n/)[0]
|
43
|
+
puts "Started a hub."# [pid: #{pid}]"
|
44
|
+
#else
|
45
|
+
# raise "Hub or node already started,"
|
46
|
+
#end
|
47
47
|
end
|
48
48
|
|
49
49
|
if args[0] == "node"
|
50
|
-
if `ps -e -o pid,args | awk '/selenium-server/ { print $1 }'`.split(/\n/).count < 3
|
50
|
+
#if `ps -e -o pid,args | awk '/selenium-server/ { print $1 }'`.split(/\n/).count < 3
|
51
51
|
binaries = File.expand_path(File.dirname(File.expand_path(__FILE__)) + '/../binaries')
|
52
52
|
cmd = "java -jar #{binaries}/selenium-server-standalone* -role wd -hub http://#{options[:h]}:4444/grid/register -trustAllSSLCertificates >> ~/node.log 2>&1 &"
|
53
53
|
system cmd
|
54
|
-
pid = `ps -e -o pid,args | awk '/selenium-server/ { print $1 }'`.split(/\n/)[0]
|
55
|
-
puts "Started a node. [pid: #{pid}]"
|
56
|
-
else
|
57
|
-
|
58
|
-
end
|
54
|
+
#pid = `ps -e -o pid,args | awk '/selenium-server/ { print $1 }'`.split(/\n/)[0]
|
55
|
+
puts "Started a node. "# [pid: #{pid}]"
|
56
|
+
#else
|
57
|
+
# raise "Hub or node already started."
|
58
|
+
#end
|
59
59
|
end
|
60
60
|
|
61
61
|
|
Binary file
|
data/binaries/mac/chromedriver
CHANGED
Binary file
|
data/binaries/{selenium-server-standalone-2.26.0.jar → selenium-server-standalone-2.29.0.jar}
RENAMED
Binary file
|
Binary file
|
Binary file
|
data/lib/grid_tools/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: grid_tools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-02-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|
@@ -85,7 +85,7 @@ extra_rdoc_files:
|
|
85
85
|
- grid_tools.rdoc
|
86
86
|
files:
|
87
87
|
- bin/grid_tools
|
88
|
-
- binaries/selenium-server-standalone-2.
|
88
|
+
- binaries/selenium-server-standalone-2.29.0.jar
|
89
89
|
- binaries/linux_64/chromedriver
|
90
90
|
- binaries/mac/chromedriver
|
91
91
|
- binaries/windows/IEDriverServer.exe
|
@@ -112,21 +112,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
112
112
|
- - ! '>='
|
113
113
|
- !ruby/object:Gem::Version
|
114
114
|
version: '0'
|
115
|
-
segments:
|
116
|
-
- 0
|
117
|
-
hash: -2143661617772648491
|
118
115
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
119
116
|
none: false
|
120
117
|
requirements:
|
121
118
|
- - ! '>='
|
122
119
|
- !ruby/object:Gem::Version
|
123
120
|
version: '0'
|
124
|
-
segments:
|
125
|
-
- 0
|
126
|
-
hash: -2143661617772648491
|
127
121
|
requirements: []
|
128
122
|
rubyforge_project:
|
129
|
-
rubygems_version: 1.8.
|
123
|
+
rubygems_version: 1.8.25
|
130
124
|
signing_key:
|
131
125
|
specification_version: 3
|
132
126
|
summary: grid_tools is a simple way create and manage a selenium grid.
|