cuculungwa 0.0.36 → 0.0.37

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/cuculungwa.rb +6 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1e071634e9d58000a62b021b4bbb3a58b49121c5
4
- data.tar.gz: b9a30f4b50e3d57f6f812d487387a241a74e5c5e
3
+ metadata.gz: 0dd3d6055e34a162616c936df327b55e580a7ddd
4
+ data.tar.gz: fe95f47d04a92b5c3c6dfeff32a15d239b705353
5
5
  SHA512:
6
- metadata.gz: b5a43a7fe67927ad54323871713817809ca9051f5009d2c9afbf7ceefdad2fafeb698becbf2fc97a25cbe3c804422ff3d1a5e28055ad7f1b3e08e463c67f8c7d
7
- data.tar.gz: 76ff7293584134c889a365d7393b23b5a1d2fac04d4232132426a71f8c311528052dc4edafee871982384704f12bfff7d14c519893b00b8630a15fba622adb74
6
+ metadata.gz: 25973a24e4adfae8ee79482708e6cc43cb799678d80f48d126077e669d5fd5293faa9a092db288123223f7e8b0f782ef6bf5877b179db2bc617f171c5786847f
7
+ data.tar.gz: a05d07e34cbc62f2427256d99f3ad15cba1c4a1ebcbb5baf26b2333eacc1709c16703dc903f9cbc9c39852973aa4b3a8faa45c2f410bf5f716174f0934227f99
data/lib/cuculungwa.rb CHANGED
@@ -37,9 +37,14 @@ elsif config['capybara']['browser']=='capybara-webkit'
37
37
  driver
38
38
  end
39
39
  Capybara.default_driver = :webkit
40
+ elsif config['capybara']['browser']=='seleniumRC'
41
+ Capybara.register_driver :selenium do |app|
42
+ Capybara::Selenium::Driver.new(app, :browser => config['capybara']['browser'].to_sym, :url => "http://10.2.0.143:4444/wd/hub", :desired_capabilities => :internet_explorer)
43
+ end
44
+ Capybara.default_driver = :selenium
40
45
  else
41
46
  Capybara.register_driver :selenium do |app|
42
- Capybara::Selenium::Driver.new(app, :browser => config['capybara']['browser'].to_sym)
47
+ Capybara::Selenium::Driver.new(app, :browser => :remote)
43
48
  end
44
49
  Capybara.default_driver = :selenium
45
50
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cuculungwa
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.36
4
+ version: 0.0.37
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michal Kaftanski
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2014-12-12 00:00:00.000000000 Z
13
+ date: 2014-01-28 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: aruba