henry-dummy 0.0.16 → 0.0.17

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 751f4a3a7b891a9689313eeed2cbf1df5f1c3b22
4
- data.tar.gz: ea886279a75159deae960ebd12669e081ec118e9
3
+ metadata.gz: e6cb5f970ec6d8f6401a8f713f24cd9cb06f4683
4
+ data.tar.gz: f1705cd4b88ae321e3a13299c16efb7da914772b
5
5
  SHA512:
6
- metadata.gz: bb92c33a2154c7dc90cad3f9f98c5e3336a47b21f47a23b4c2b67a8b7bc23496d32a3aa00888ac524eacd4201b9785100284e79c2a066f05569a24829b86864e
7
- data.tar.gz: 6f215b2db1840c07c626ffc20c47ea707283da473c3598f158349611c538b10acb10bfe057fc8cae1c0d00d89691c98c0ddd7bb3d8cb79a061e29658f4c6427d
6
+ metadata.gz: caa91a51ce4d0e67de7274f0682fe85b6e73a14b1e97a0fcfdacddf57fb74a62c62c76fd0ca5db4f8c3ed7b24ac6ceb8acf87af0eda436670352bf160ae0ea5b
7
+ data.tar.gz: 2f8ab91e7bdbc5ffd2670a93601fa68f1107913f8defd5ce4a430741a26a3f0fb7b4b12fe5e92d7c8074e62172a2150377a3160aa082dd0581b39c2a40e36d3c
@@ -5,7 +5,7 @@ Gem::Specification.new do |s|
5
5
  s.homepage = 'http://gitlab.despegar.it/henry-self-test/ruby-crash-dummy'
6
6
  s.name = 'henry-dummy'
7
7
  s.summary = 'Henry library to recreate testing scenarios.'
8
- s.version = '0.0.16'
8
+ s.version = '0.0.17'
9
9
 
10
10
  s.require_paths = ['lib']
11
11
 
@@ -1,6 +1,3 @@
1
- require 'watir-webdriver'
2
- require 'watir'
3
-
4
1
  module Henry
5
2
 
6
3
  # Defines a common interface for managing bowsers.
@@ -12,6 +9,8 @@ module Henry
12
9
 
13
10
  def initialize(driver)
14
11
  @driver = DRIVERS[driver] || driver
12
+
13
+ require @driver.match(/^ie$/i) ? 'watir' : 'watir-webdriver'
15
14
  end
16
15
 
17
16
  # Closes the curretn browser
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: henry-dummy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.16
4
+ version: 0.0.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roberto Decurnex