henry-dummy 0.0.13 → 0.0.15

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: 1804ee0318449727d0651f76ded175bd06903f79
4
- data.tar.gz: 8458f2fb81b79ba217146dcfa8e302949c98d2cf
3
+ metadata.gz: 2ac108c5309e9c4d2b2ae2b17a74c85fb2b1bb24
4
+ data.tar.gz: eaf5439f3f63db41095f8ff9066258ed9a7d19b5
5
5
  SHA512:
6
- metadata.gz: bbdf530cd1b39752e069ca2ae1b10950133ec45b86e195bd931fb467b7c63b6ae29acb26b01c369af8ff5e174a29df965e9d740d072f335aea1cdca6f6f7d8b6
7
- data.tar.gz: d42c234617ca91d9a938477652d179550e4c1a99546a12fa0d18a6ad1c6d71089a85b6afb0eb07c40cb15e6fd8ab9cb2e429e8491c463ebcf8446e70c265c2ae
6
+ metadata.gz: d2c86b1828421be5906b8d1e91b3220adf7b576ea2be8f36e51049c2b20f2739be5d09c0bb927c1b8cff75514f7d1189745928351fd31e677e03ea1e0bd98a0d
7
+ data.tar.gz: 2f4c7719c1f0048a1bb1e870cec901dc19636572a409cceb115b27b047755052dc2a16b294e2d27c9867f2593e76981b0f60171e98448f5fdc7f72a28e985789
data/Gemfile.lock CHANGED
@@ -1,8 +1,9 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- henry-dummy (0.0.13)
4
+ henry-dummy (0.0.15)
5
5
  henry-container (= 0.1.48)
6
+ watir
6
7
  watir-webdriver
7
8
 
8
9
  GEM
@@ -12,15 +13,17 @@ GEM
12
13
  builder (3.2.2)
13
14
  childprocess (0.3.9)
14
15
  ffi (~> 1.0, >= 1.0.11)
15
- colorize (0.5.8)
16
- cucumber (1.3.2)
16
+ colorize (0.6.0)
17
+ commonwatir (4.0.0)
18
+ cucumber (1.3.8)
17
19
  builder (>= 2.1.2)
18
20
  diff-lcs (>= 1.1.3)
19
- gherkin (~> 2.12.0)
20
- multi_json (~> 1.3)
21
+ gherkin (~> 2.12.1)
22
+ multi_json (>= 1.7.5, < 2.0)
23
+ multi_test (>= 0.0.2)
21
24
  diff-lcs (1.2.4)
22
- ffi (1.8.1)
23
- gherkin (2.12.0)
25
+ ffi (1.9.0)
26
+ gherkin (2.12.1)
24
27
  multi_json (~> 1.3)
25
28
  hashie (2.0.5)
26
29
  henry-container (0.1.48)
@@ -34,37 +37,41 @@ GEM
34
37
  mail (2.5.4)
35
38
  mime-types (~> 1.16)
36
39
  treetop (~> 1.4.8)
37
- mime-types (1.23)
38
- minitest (4.7.4)
39
- minitest-reporters (0.14.20)
40
+ mime-types (1.25)
41
+ minitest (4.7.5)
42
+ minitest-reporters (0.14.23)
40
43
  ansi
41
44
  builder
42
45
  minitest (>= 2.12, < 5.0)
43
46
  powerbar
44
- multi_json (1.7.5)
47
+ multi_json (1.8.0)
48
+ multi_test (0.0.2)
45
49
  polyglot (0.3.3)
46
50
  powerbar (1.0.11)
47
51
  ansi (~> 1.4.0)
48
52
  hashie (>= 1.1.0)
49
- rake (10.0.4)
50
- rspec (2.13.0)
51
- rspec-core (~> 2.13.0)
52
- rspec-expectations (~> 2.13.0)
53
- rspec-mocks (~> 2.13.0)
54
- rspec-core (2.13.1)
55
- rspec-expectations (2.13.0)
53
+ rake (10.1.0)
54
+ rspec (2.14.1)
55
+ rspec-core (~> 2.14.0)
56
+ rspec-expectations (~> 2.14.0)
57
+ rspec-mocks (~> 2.14.0)
58
+ rspec-core (2.14.5)
59
+ rspec-expectations (2.14.3)
56
60
  diff-lcs (>= 1.1.3, < 2.0)
57
- rspec-mocks (2.13.1)
61
+ rspec-mocks (2.14.3)
58
62
  rubyzip (0.9.9)
59
- selenium-webdriver (2.33.0)
63
+ selenium-webdriver (2.35.1)
60
64
  childprocess (>= 0.2.5)
61
65
  multi_json (~> 1.0)
62
- rubyzip
66
+ rubyzip (< 1.0.0)
63
67
  websocket (~> 1.0.4)
64
- treetop (1.4.12)
68
+ treetop (1.4.15)
65
69
  polyglot
66
70
  polyglot (>= 0.3.1)
67
71
  trollop (2.0)
72
+ watir (4.0.2)
73
+ commonwatir (~> 4)
74
+ watir-webdriver
68
75
  watir-webdriver (0.6.4)
69
76
  selenium-webdriver (>= 2.18.0)
70
77
  websocket (1.0.7)
data/henry-dummy.gemspec CHANGED
@@ -2,10 +2,10 @@ Gem::Specification.new do |s|
2
2
  s.authors = ['Roberto Decurnex']
3
3
  s.date = '2013-05-24'
4
4
  s.email = 'decurnex.roberto@gmail.com'
5
- s.homepage = 'http://gitorious.despegar.it/henry-self-test/ruby-crash-dummy'
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.13'
8
+ s.version = '0.0.15'
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 'watir'
24
25
  s.add_dependency 'watir-webdriver'
25
26
 
26
27
  s.add_development_dependency 'rake'
data/lib/henry/dummy.rb CHANGED
@@ -80,7 +80,12 @@ module Henry
80
80
  @task.execution.message = message
81
81
  end
82
82
 
83
- def log
83
+ def log(message, repetitions=1)
84
+ @task.execution.log ||= []
85
+
86
+ repetitions.times do
87
+ @task.execution.log << message
88
+ end
84
89
  end
85
90
 
86
91
  # Overwrites the execution code with the given value.
@@ -1,4 +1,5 @@
1
1
  require 'watir-webdriver'
2
+ require 'watir'
2
3
 
3
4
  module Henry
4
5
 
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.13
4
+ version: 0.0.15
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: watir
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: watir-webdriver
29
43
  requirement: !ruby/object:Gem::Requirement
@@ -80,7 +94,7 @@ files:
80
94
  - lib/henry/navigator.rb
81
95
  - lib/henry/task/dummy_task.rb
82
96
  - henry-dummy.gemspec
83
- homepage: http://gitorious.despegar.it/henry-self-test/ruby-crash-dummy
97
+ homepage: http://gitlab.despegar.it/henry-self-test/ruby-crash-dummy
84
98
  licenses: []
85
99
  metadata: {}
86
100
  post_install_message:
@@ -99,7 +113,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
99
113
  version: '0'
100
114
  requirements: []
101
115
  rubyforge_project:
102
- rubygems_version: 2.0.3
116
+ rubygems_version: 2.0.6
103
117
  signing_key:
104
118
  specification_version: 4
105
119
  summary: Henry library to recreate testing scenarios.