itriagetestrail 1.0.38 → 1.1.1
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 94a7d9f797508d3326ce9509dd4635c9879356b5721c612cc5e27f741af7f437
|
4
|
+
data.tar.gz: 4005e0951435697a7ec6f9208d4915cd9daea9c31d17c4c37b52c294733c8879
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 976d750b309b40322da19dcc8a29fb834c6539cd5ad434dd1477203a375be1a1742af94ddf8622a4ad9da31421dd72b2f56afb807d0e9bd5d2d444e62c5f7343
|
7
|
+
data.tar.gz: 877f2c7bab38531fb61de5d7762bb3f2a5b08a083fbc0ce705130c907bf41bc45fd1bed1ad7a73fbcb3baf5bdd0ce235d98f13f86c209cd88e0b0bde341285ba
|
data/lib/itriagetestrail.rb
CHANGED
@@ -44,8 +44,8 @@ module TestRail
|
|
44
44
|
# uri The API method to call including parameters
|
45
45
|
# (e.g. get_case/1)
|
46
46
|
#
|
47
|
-
def send_get(uri)
|
48
|
-
res = read_cache(uri)
|
47
|
+
def send_get(uri, read_cache = true)
|
48
|
+
res = read_cache(uri) if read_cache
|
49
49
|
res || _send_request('GET', uri, nil, true)
|
50
50
|
end
|
51
51
|
|
@@ -3,12 +3,12 @@
|
|
3
3
|
module Itriagetestrail
|
4
4
|
module TestCases
|
5
5
|
# TestRail Cases
|
6
|
-
def testrail_ids
|
6
|
+
def testrail_ids(read_cache = true)
|
7
7
|
case @suite_mode
|
8
8
|
when 2, 3
|
9
|
-
@test_cases = @client.send_get("get_cases/#{@project_id}&suite_id=#{@suite_id}&type_id=3")
|
9
|
+
@test_cases = @client.send_get("get_cases/#{@project_id}&suite_id=#{@suite_id}&type_id=3", read_cache)
|
10
10
|
else
|
11
|
-
@test_cases = @client.send_get("get_cases/#{@project_id}&type_id=3")
|
11
|
+
@test_cases = @client.send_get("get_cases/#{@project_id}&type_id=3", read_cache)
|
12
12
|
end
|
13
13
|
|
14
14
|
@test_case_ids = []
|
@@ -47,7 +47,7 @@ module Itriagetestrail
|
|
47
47
|
@client.send_post("add_case/#{section_id}", body)
|
48
48
|
|
49
49
|
# refresh test case ids
|
50
|
-
testrail_ids
|
50
|
+
testrail_ids false
|
51
51
|
end
|
52
52
|
|
53
53
|
def app_version_label
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: itriagetestrail
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- a801069
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-07-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tzinfo
|