henry-dummy 0.0.5 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +5 -5
- data/henry-dummy.gemspec +2 -2
- data/lib/henry/dummy.rb +2 -2
- data/lib/henry/task/dummy_task.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3739a9d73dafec588d58d7ec64326cd8551af3a5
|
4
|
+
data.tar.gz: bf6a5e98ef0ed0dfcfa2f1dc66b7f1e21475a304
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ddb1be8f407a880911f89320f692927c51567b314a3b4710c119340c1206e277cb833731655490670cc50e7177d7ef7231ef40a3db064f38ab9cab1287e92ac0
|
7
|
+
data.tar.gz: f971c1bff303c23299da7cb17bab6713afe517ba5c2703920fa3be55ad4b723b00f9e10fe01d4810c1a40fbf5193de9d4bd3c7bbe52de540550506a8aa8473ef
|
data/Gemfile.lock
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
henry-dummy (0.0.
|
5
|
-
henry-container (= 0.1.
|
4
|
+
henry-dummy (0.0.10)
|
5
|
+
henry-container (= 0.1.44)
|
6
6
|
watir-webdriver
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
11
|
ansi (1.4.3)
|
12
|
-
builder (3.2.
|
12
|
+
builder (3.2.2)
|
13
13
|
childprocess (0.3.9)
|
14
14
|
ffi (~> 1.0, >= 1.0.11)
|
15
15
|
colorize (0.5.8)
|
@@ -23,7 +23,7 @@ GEM
|
|
23
23
|
gherkin (2.12.0)
|
24
24
|
multi_json (~> 1.3)
|
25
25
|
hashie (2.0.5)
|
26
|
-
henry-container (0.1.
|
26
|
+
henry-container (0.1.44)
|
27
27
|
colorize
|
28
28
|
cucumber
|
29
29
|
mail
|
@@ -41,7 +41,7 @@ GEM
|
|
41
41
|
builder
|
42
42
|
minitest (>= 2.12, < 5.0)
|
43
43
|
powerbar
|
44
|
-
multi_json (1.7.
|
44
|
+
multi_json (1.7.5)
|
45
45
|
polyglot (0.3.3)
|
46
46
|
powerbar (1.0.11)
|
47
47
|
ansi (~> 1.4.0)
|
data/henry-dummy.gemspec
CHANGED
@@ -5,7 +5,7 @@ Gem::Specification.new do |s|
|
|
5
5
|
s.homepage = 'http://gitorious.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.
|
8
|
+
s.version = '0.0.10'
|
9
9
|
|
10
10
|
s.require_paths = ['lib']
|
11
11
|
|
@@ -20,7 +20,7 @@ Gem::Specification.new do |s|
|
|
20
20
|
'henry-dummy.gemspec'
|
21
21
|
]
|
22
22
|
|
23
|
-
s.add_dependency 'henry-container', '0.1.
|
23
|
+
s.add_dependency 'henry-container', '0.1.44'
|
24
24
|
s.add_dependency 'watir-webdriver'
|
25
25
|
|
26
26
|
s.add_development_dependency 'rake'
|
data/lib/henry/dummy.rb
CHANGED
@@ -56,9 +56,9 @@ module Henry
|
|
56
56
|
# @param [String] path the target file path.
|
57
57
|
# @param [String] content the content to be written in the file content the content to be written in the file.
|
58
58
|
def file(name, path, content)
|
59
|
-
FileUtils.mkpath(path)
|
59
|
+
FileUtils.mkpath("#{Henry::Environment.config['output_directory']}/#{path}")
|
60
60
|
|
61
|
-
File.open("#{path}/#{name}", 'w') do |file|
|
61
|
+
File.open("#{Henry::Environment.config['output_directory']}/#{path}/#{name}", 'w') do |file|
|
62
62
|
file.write(content)
|
63
63
|
end
|
64
64
|
end
|
@@ -8,7 +8,7 @@ module Henry
|
|
8
8
|
#
|
9
9
|
# @param [Hash] params the task params.
|
10
10
|
# @param [Hash] extended_context task extended context.
|
11
|
-
def configure(params, extended_context={}
|
11
|
+
def configure(params, extended_context={})
|
12
12
|
@actions = (params['actions'] || []).collect do |action|
|
13
13
|
OpenStruct.new({
|
14
14
|
command: action['type'].downcase.to_sym,
|
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.
|
4
|
+
version: 0.0.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Roberto Decurnex
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.1.
|
19
|
+
version: 0.1.44
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.1.
|
26
|
+
version: 0.1.44
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: watir-webdriver
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|