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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 122928269915f95f16786f2ec6fc5a1dd084b04a
4
- data.tar.gz: 27de2d837c494523d828452099da215666a540f8
3
+ metadata.gz: 3739a9d73dafec588d58d7ec64326cd8551af3a5
4
+ data.tar.gz: bf6a5e98ef0ed0dfcfa2f1dc66b7f1e21475a304
5
5
  SHA512:
6
- metadata.gz: a95b4eda05c63e497b3293937ba53fcf53bc2fb18b2ddeaadff9a897027695392f714bb7bdaee58b5b69d018537e2ab94bd8d16929adf379f35459ac58fdd341
7
- data.tar.gz: 7925b730e936db6c4d45385caea0acaa1667c65dd5cfa012307d1a9aeb04a5d1fdaea898d5b808ebed8b3f674ebfb6015f5c3950596928dd8bfd7499ef688d03
6
+ metadata.gz: ddb1be8f407a880911f89320f692927c51567b314a3b4710c119340c1206e277cb833731655490670cc50e7177d7ef7231ef40a3db064f38ab9cab1287e92ac0
7
+ data.tar.gz: f971c1bff303c23299da7cb17bab6713afe517ba5c2703920fa3be55ad4b723b00f9e10fe01d4810c1a40fbf5193de9d4bd3c7bbe52de540550506a8aa8473ef
@@ -1,15 +1,15 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- henry-dummy (0.0.4)
5
- henry-container (= 0.1.38)
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.1)
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.38)
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.4)
44
+ multi_json (1.7.5)
45
45
  polyglot (0.3.3)
46
46
  powerbar (1.0.11)
47
47
  ansi (~> 1.4.0)
@@ -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.5'
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.38'
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'
@@ -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={}, options={})
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.5
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.38
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.38
26
+ version: 0.1.44
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: watir-webdriver
29
29
  requirement: !ruby/object:Gem::Requirement