test_rail_integration 0.0.5.1 → 0.0.5.2

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: 5478e38a8277295f0d5a2533c06cd6948e0214a5
4
- data.tar.gz: 3b5426cab43889eef9b58372065585eba1c68052
3
+ metadata.gz: 500f811d7afa686b7522dd903d9635d8c435e460
4
+ data.tar.gz: 7a7d0d126119fdc6a16a213c03d35b49a10cb39e
5
5
  SHA512:
6
- metadata.gz: f014852d9621650bb8edbc73aaccf87d544fda542db6670cc269f9fd11f0e67c96f90d2557564a1a24c256dbf3ec419c769f92042b705f18ee05bd7319b1e247
7
- data.tar.gz: 9b6089f4fb83258d8fb412ef436ff2a3181c7b2002c46e88ac49ae1ab5ed7dd7b05cf42eb9dbd9e1c8b483184918ec7e10c6d58b14d6ba9aaaedf1d6bcda987c
6
+ metadata.gz: dd920708c0d64cee29f5f332f532c42346d30aeb9072f784ac10db7a42506df5e53ba746e822153886799f249f49434ca5a36b9cd6c6b53f6a552fe079a83444
7
+ data.tar.gz: 34473e2da745a792b65190d3fb050fbfe3a1b34eba7844c76690250974be200488f02c1d286d2d50c35f43ac93f9cc9586f0816a3e7230508cae136d02932321
@@ -17,8 +17,8 @@
17
17
  :test_passed_comment: "test **passed**"
18
18
  :test_failed_comment: "test **failed**"
19
19
 
20
- :ventures: /vn|id|ph|my|sg|th/ #values for generating parametrized url for running test
21
- :environments: /live_test|staging|showroom/ #values for generating parametrized url for running test
20
+ :ventures: vn|id|ph|my|sg|th #values for generating parametrized url for running test
21
+ :environments: live_test|staging|showroom #values for generating parametrized url for running test
22
22
 
23
23
  :in_progress: " (in progress)" #value for changing test run name for monitoring complete of test run
24
24
 
@@ -28,8 +28,8 @@ module TestRail
28
28
  # Writing test run ID into test rail data file
29
29
  #
30
30
  def self.write_test_run_id(test_run_id)
31
- test_rail_data_file = File.read(CONFIG_PATH).gsub(/^:test_run_id: \d+/, ":test_run_id: #{test_run_id}")
32
- config_file = File.open(CONFIG_PATH, "w")
31
+ test_rail_data_file = File.read(TestRailDataLoad::CONFIG_PATH).gsub(/^:test_run_id: \d+/, ":test_run_id: #{test_run_id}")
32
+ config_file = File.open(TestRailDataLoad::CONFIG_PATH, "w")
33
33
  config_file.write (test_rail_data_file)
34
34
  config_file.close
35
35
  end
@@ -11,7 +11,7 @@ module TestRail
11
11
  # Checking of correct naming of created test run and return parameters for runnng test run
12
12
  #
13
13
  def initialize
14
- parameters = Connection.test_run_name.downcase.match(/^(#{VENTURE_REGEX}) (#{ENVIRONMENT_REGEX})*/)
14
+ parameters = Connection.test_run_name.downcase.match(/(#{VENTURE_REGEX}) (#{ENVIRONMENT_REGEX})*/)
15
15
  begin
16
16
  @venture = parameters[1]
17
17
  @environment = parameters[2]
@@ -1,3 +1,3 @@
1
1
  module TestRailIntegration
2
- VERSION = "0.0.5.1"
2
+ VERSION = "0.0.5.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: test_rail_integration
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5.1
4
+ version: 0.0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kirikami