henry-dummy 0.0.15 → 0.0.16

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: 2ac108c5309e9c4d2b2ae2b17a74c85fb2b1bb24
4
- data.tar.gz: eaf5439f3f63db41095f8ff9066258ed9a7d19b5
3
+ metadata.gz: 751f4a3a7b891a9689313eeed2cbf1df5f1c3b22
4
+ data.tar.gz: ea886279a75159deae960ebd12669e081ec118e9
5
5
  SHA512:
6
- metadata.gz: d2c86b1828421be5906b8d1e91b3220adf7b576ea2be8f36e51049c2b20f2739be5d09c0bb927c1b8cff75514f7d1189745928351fd31e677e03ea1e0bd98a0d
7
- data.tar.gz: 2f4c7719c1f0048a1bb1e870cec901dc19636572a409cceb115b27b047755052dc2a16b294e2d27c9867f2593e76981b0f60171e98448f5fdc7f72a28e985789
6
+ metadata.gz: bb92c33a2154c7dc90cad3f9f98c5e3336a47b21f47a23b4c2b67a8b7bc23496d32a3aa00888ac524eacd4201b9785100284e79c2a066f05569a24829b86864e
7
+ data.tar.gz: 6f215b2db1840c07c626ffc20c47ea707283da473c3598f158349611c538b10acb10bfe057fc8cae1c0d00d89691c98c0ddd7bb3d8cb79a061e29658f4c6427d
@@ -3,6 +3,7 @@ PATH
3
3
  specs:
4
4
  henry-dummy (0.0.15)
5
5
  henry-container (= 0.1.48)
6
+ mini_magick (= 3.5.0)
6
7
  watir
7
8
  watir-webdriver
8
9
 
@@ -38,6 +39,8 @@ GEM
38
39
  mime-types (~> 1.16)
39
40
  treetop (~> 1.4.8)
40
41
  mime-types (1.25)
42
+ mini_magick (3.5.0)
43
+ subexec (~> 0.2.1)
41
44
  minitest (4.7.5)
42
45
  minitest-reporters (0.14.23)
43
46
  ansi
@@ -65,6 +68,7 @@ GEM
65
68
  multi_json (~> 1.0)
66
69
  rubyzip (< 1.0.0)
67
70
  websocket (~> 1.0.4)
71
+ subexec (0.2.3)
68
72
  treetop (1.4.15)
69
73
  polyglot
70
74
  polyglot (>= 0.3.1)
@@ -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.15'
8
+ s.version = '0.0.16'
9
9
 
10
10
  s.require_paths = ['lib']
11
11
 
@@ -21,6 +21,7 @@ Gem::Specification.new do |s|
21
21
  ]
22
22
 
23
23
  s.add_dependency 'henry-container', '0.1.48'
24
+ s.add_dependency 'mini_magick', '3.5.0'
24
25
  s.add_dependency 'watir'
25
26
  s.add_dependency 'watir-webdriver'
26
27
 
@@ -6,8 +6,12 @@ module Henry
6
6
  # Defines a common interface for managing bowsers.
7
7
  class Navigator
8
8
 
9
+ DRIVERS = {
10
+ 'INTERNET_EXPLORER' => 'ie'
11
+ }
12
+
9
13
  def initialize(driver)
10
- @driver = driver
14
+ @driver = DRIVERS[driver] || driver
11
15
  end
12
16
 
13
17
  # 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.15
4
+ version: 0.0.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roberto Decurnex
@@ -24,6 +24,20 @@ dependencies:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
26
  version: 0.1.48
27
+ - !ruby/object:Gem::Dependency
28
+ name: mini_magick
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '='
32
+ - !ruby/object:Gem::Version
33
+ version: 3.5.0
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '='
39
+ - !ruby/object:Gem::Version
40
+ version: 3.5.0
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: watir
29
43
  requirement: !ruby/object:Gem::Requirement