bunyan_capybara 0.2.6 → 0.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3c246fe7a27e5853787372f7a4b8174ab4e4c0cd
4
- data.tar.gz: 7b96389e5a3111d76e08fd5228142726817f41d8
3
+ metadata.gz: 54293b5df040be4bb4283ea289725d06ad975ed9
4
+ data.tar.gz: 98b7a9b6e68220483d199cba5aed64d337516d05
5
5
  SHA512:
6
- metadata.gz: 273905fe3898fb511f81e5b8c6369aa1bad4bdc2b1ab7ac9fba5fd35b7b4cbc70dd0f14db623afee53a4b27e9f085829fb1eaff032893cf83ae41e408a79c823
7
- data.tar.gz: 43b6299810a6bd1a9383b296e8d97e940196f40ad808940c6b7ac618483b3f43402f4b10e12035184c69bb82f3b1c4f50241a1cbc30bbe1cc9e3da16b0e061b0
6
+ metadata.gz: 8751c37b74001a311dc729f268aaff24cdec34f41d80755f3c648d0dd5d1a92c75dd27139775b647e3ad3844436840694b02f47c571600385ebc95e47440c566
7
+ data.tar.gz: 53d3a7a6aa27741e35be6df8c1c3ee893d8e2bc83e5b49a9010d6823ae077d5fe2020b69c3697ccaa19c98db1899ccd5d568c707b4a6442fbde5aa6313756040
@@ -9,10 +9,10 @@ module BunyanVariableExtractor
9
9
  application_name_under_test = ARGV[0].split('/')[1]
10
10
  BunyanVariable.new(application_name_under_test, "suite", nil, nil)
11
11
  else
12
- path_to_spec_directory = File.expand_path('~/git/QA_tests/spec/', __FILE__)
13
12
  spec_sub_directory = path.match('spec/').post_match.split('/')
14
13
  application_name_under_test = spec_sub_directory[0]
15
14
  test_type = spec_sub_directory[1]
15
+ path_to_spec_directory = path.match(application_name_under_test).pre_match
16
16
  environment_under_test = config.fetch('ENVIRONMENT', Bunyan::DEFAULT_ENVIRONMENT)
17
17
  BunyanVariable.new(application_name_under_test, test_type, path_to_spec_directory, environment_under_test)
18
18
  end
@@ -1,3 +1,3 @@
1
1
  module BunyanCapybara
2
- VERSION = "0.2.6"
2
+ VERSION = "0.2.7"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bunyan_capybara
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Max Hallwachs
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-11-02 00:00:00.000000000 Z
11
+ date: 2017-11-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capybara