grid_tools 0.0.6 → 0.0.7

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.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 31a80f8e3ef1a40f5545536711756b2134f02ce2
4
+ data.tar.gz: 04b8792a9fb5e099b817a27917345ced68eabc50
5
+ SHA512:
6
+ metadata.gz: e1e9df27df75cd122d97679f3a10438906a50cc253b1f13272cab9917f3aa9519dc92a2254ec90f42a2ad19437a7fff23c0a94c6f686cf3f0de5fcb75174de77
7
+ data.tar.gz: f287b42a4ae9c5ecc6507acc56b1186b81dd966a31b48f967d422a8b1f059800710003cc834a5c6580ce835777f601285958aa34b779cb3a23b7415aead1f5c9
data/bin/grid_tools CHANGED
@@ -40,13 +40,13 @@ command :start do |c|
40
40
  if GridTools.windows?
41
41
  binaries = File.expand_path(File.dirname(File.expand_path(__FILE__)) + '/../binaries')
42
42
  binaries.gsub!("/", "\\")
43
- cmd = "start java -jar #{binaries}\\selenium-server-standalone-2.29.0.jar -role hub -browserTimeout 300"
43
+ cmd = "start java -Xmx256m -jar #{binaries}\\selenium-server-standalone-2.30.0.jar -role hub -browserTimeout 300"
44
44
  system cmd
45
45
  puts "Started a hub."
46
46
  else
47
47
  #if `ps -e -o pid,args | awk '/selenium-server/ { print $1 }'`.split(/\n/).count < 3
48
48
  binaries = File.expand_path(File.dirname(File.expand_path(__FILE__)) + '/../binaries')
49
- cmd = "java -jar #{binaries}/selenium-server-standalone* -browserTimeout 300 -role hub >> ~/hub.log 2>&1 &"
49
+ cmd = "java -Xmx256m -jar #{binaries}/selenium-server-standalone* -browserTimeout 300 -role hub >> ~/hub.log 2>&1 &"
50
50
  system cmd
51
51
  pid = `ps -e -o pid,args | awk '/selenium-server/ { print $1 }'`.split(/\n/)[0]
52
52
  puts "Started a hub. [pid: #{pid}]"
@@ -60,7 +60,7 @@ command :start do |c|
60
60
  if GridTools.windows?
61
61
  binaries = File.expand_path(File.dirname(File.expand_path(__FILE__)) + '/../binaries')
62
62
  binaries.gsub!("/", "\\")
63
- cmd = "start java -jar #{binaries}\\selenium-server-standalone-2.29.0.jar -role wd -hub http://#{options[:h]}:4444/grid/register -trustAllSSLCertificates"
63
+ cmd = "start java -Xmx256m -jar #{binaries}\\selenium-server-standalone-2.30.0.jar -role wd -hub http://#{options[:h]}:4444/grid/register -trustAllSSLCertificates"
64
64
  system cmd
65
65
  puts "Started a node."
66
66
  else
@@ -68,7 +68,7 @@ command :start do |c|
68
68
  binaries = File.expand_path(File.dirname(File.expand_path(__FILE__)) + '/../binaries')
69
69
  platform = "MAC" if GridTools.mac?
70
70
  platform = "LINUX" if GridTools.linux?
71
- cmd = "java -jar #{binaries}/selenium-server-standalone* -role wd -hub http://#{options[:h]}:4444/grid/register -browser \"browserName=firefox,maxInstances=5,platform=#{platform}\" -browser \"browserName=chrome,maxInstances=5,platform=#{platform}\" -trustAllSSLCertificates >> ~/node.log 2>&1 &"
71
+ cmd = "java -Xmx256m -jar #{binaries}/selenium-server-standalone* -role wd -hub http://#{options[:h]}:4444/grid/register -browser \"browserName=firefox,maxInstances=5,platform=#{platform}\" -browser \"browserName=chrome,maxInstances=5,platform=#{platform}\" -trustAllSSLCertificates >> ~/node.log 2>&1 &"
72
72
  system cmd
73
73
  pid = `ps -e -o pid,args | awk '/selenium-server/ { print $1 }'`.split(/\n/)[0]
74
74
  puts "Started a node. [pid: #{pid}]"
Binary file
@@ -1,3 +1,3 @@
1
1
  module GridTools
2
- VERSION = '0.0.6'
2
+ VERSION = '0.0.7'
3
3
  end
metadata CHANGED
@@ -1,52 +1,46 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grid_tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
5
- prerelease:
4
+ version: 0.0.7
6
5
  platform: ruby
7
6
  authors:
8
7
  - Alan Scherger
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-02-11 00:00:00.000000000 Z
11
+ date: 2013-02-27 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rake
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - '>='
20
18
  - !ruby/object:Gem::Version
21
19
  version: '0'
22
20
  type: :development
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - '>='
28
25
  - !ruby/object:Gem::Version
29
26
  version: '0'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: aruba
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - '>='
36
32
  - !ruby/object:Gem::Version
37
33
  version: '0'
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - '>='
44
39
  - !ruby/object:Gem::Version
45
40
  version: '0'
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: gli
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
45
  - - '='
52
46
  - !ruby/object:Gem::Version
@@ -54,7 +48,6 @@ dependencies:
54
48
  type: :runtime
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
52
  - - '='
60
53
  - !ruby/object:Gem::Version
@@ -67,7 +60,7 @@ extensions: []
67
60
  extra_rdoc_files: []
68
61
  files:
69
62
  - bin/grid_tools
70
- - binaries/selenium-server-standalone-2.29.0.jar
63
+ - binaries/selenium-server-standalone-2.30.0.jar
71
64
  - binaries/linux_64/chromedriver
72
65
  - binaries/mac/chromedriver
73
66
  - binaries/windows/IEDriverServer.exe
@@ -76,27 +69,26 @@ files:
76
69
  - lib/grid_tools.rb
77
70
  homepage: http://www.google.com
78
71
  licenses: []
72
+ metadata: {}
79
73
  post_install_message:
80
74
  rdoc_options: []
81
75
  require_paths:
82
76
  - lib
83
77
  - lib
84
78
  required_ruby_version: !ruby/object:Gem::Requirement
85
- none: false
86
79
  requirements:
87
- - - ! '>='
80
+ - - '>='
88
81
  - !ruby/object:Gem::Version
89
82
  version: '0'
90
83
  required_rubygems_version: !ruby/object:Gem::Requirement
91
- none: false
92
84
  requirements:
93
- - - ! '>='
85
+ - - '>='
94
86
  - !ruby/object:Gem::Version
95
87
  version: '0'
96
88
  requirements: []
97
89
  rubyforge_project:
98
- rubygems_version: 1.8.25
90
+ rubygems_version: 2.0.0
99
91
  signing_key:
100
- specification_version: 3
92
+ specification_version: 4
101
93
  summary: grid_tools is a simple way create and manage a selenium grid.
102
94
  test_files: []