bunyan_capybara 0.2.5 → 0.2.6

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: 36511512d64f90b9192559c06c65adb9b0327314
4
- data.tar.gz: 7a5f2adccb632a375a622cdfb0dec04ebc76ca27
3
+ metadata.gz: 3c246fe7a27e5853787372f7a4b8174ab4e4c0cd
4
+ data.tar.gz: 7b96389e5a3111d76e08fd5228142726817f41d8
5
5
  SHA512:
6
- metadata.gz: b0d08dab9971559dda8998740801a64b84edfd85bba69bedb4635e7858788950b12b841c64c7cc2eacde98c4bb876c6d022e671c01624527baaa2ca6fb1cc832
7
- data.tar.gz: d5eb7657c76340ad8f7361949afeede20177314389f3e550b646bce81e63020ad707976a340728281aec1aaee9489d193df8dd4ecc37502fb655e809bf54d887
6
+ metadata.gz: 273905fe3898fb511f81e5b8c6369aa1bad4bdc2b1ab7ac9fba5fd35b7b4cbc70dd0f14db623afee53a4b27e9f085829fb1eaff032893cf83ae41e408a79c823
7
+ data.tar.gz: 43b6299810a6bd1a9383b296e8d97e940196f40ad808940c6b7ac618483b3f43402f4b10e12035184c69bb82f3b1c4f50241a1cbc30bbe1cc9e3da16b0e061b0
@@ -10,7 +10,7 @@ module BunyanVariableExtractor
10
10
  BunyanVariable.new(application_name_under_test, "suite", nil, nil)
11
11
  else
12
12
  path_to_spec_directory = File.expand_path('~/git/QA_tests/spec/', __FILE__)
13
- spec_sub_directory = path.sub("#{path_to_spec_directory}/", '').split('/')
13
+ spec_sub_directory = path.match('spec/').post_match.split('/')
14
14
  application_name_under_test = spec_sub_directory[0]
15
15
  test_type = spec_sub_directory[1]
16
16
  environment_under_test = config.fetch('ENVIRONMENT', Bunyan::DEFAULT_ENVIRONMENT)
@@ -1,3 +1,3 @@
1
1
  module BunyanCapybara
2
- VERSION = "0.2.5"
2
+ VERSION = "0.2.6"
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.5
4
+ version: 0.2.6
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-10-12 00:00:00.000000000 Z
11
+ date: 2017-11-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capybara