qat-reporter-xray-sa 1.1.2 → 1.1.4

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: 2f1fd926983f54d7e570e8837ab363969f1077e1dbbfc2e7becf77361fa1348f
4
- data.tar.gz: 9590f1b3387a0e77f061a61f11f4c5ea717ab13fa7333a356979afdb93c70d5a
3
+ metadata.gz: 748a3ef24898e18b294005bfe210570471f69df340979cf4489c510525720891
4
+ data.tar.gz: 3985515fc613971d23d88270f99c4454c4dc4cba6a123bcfea961d0bfc78a3a8
5
5
  SHA512:
6
- metadata.gz: 5270326092bb629829c040af4e7f7910ee8b3342c0a61e8a7c3493590d519609da938eb4007f635934188890b0d31f0904fe8ee8a99b8b7e6d5d491474beeea4
7
- data.tar.gz: 19d03854dfbc761f9c77b5bcd5d72164a32cc6ed8c2a9c59b769b001022729f0b15f172ae91e8b96a134476fb1c58da3b368fdee1e27732e718accd2d3d47f03
6
+ metadata.gz: 3b0439e2b5622024cb2d14ebe34b0f82a10defb4712e500b2196ade2f2563ccb05af0322f8c1331e0c6af9037fa3e7f2ea400ae3780de88cb784c3eb03e297c8
7
+ data.tar.gz: 19839de1ef26797bee4a3acf6c4aae22bdeee72a6d4ea810f7172bc8bb8badd4a568fe6095cce35b9a0ffa2eb2417c7f11752feae475cf2ada9bdb25aced354a
@@ -14,9 +14,10 @@ module QAT
14
14
 
15
15
  # Initializes Xray Publisher url and login information
16
16
  def initialize
17
- @base_url = QAT::Reporter::Xray::Config.jira_url
18
- @login_credentials = QAT::Reporter::Xray::Config.login_credentials
19
- @cloud_xray_api_credentials = QAT::Reporter::Xray::Config.cloud_xray_api_credentials
17
+ @base_url = QAT::Reporter::Xray::Config.jira_url
18
+ @login_credentials = QAT::Reporter::Xray::Config.login_credentials
19
+ @cloud_xray_api_credentials = QAT::Reporter::Xray::Config.cloud_xray_api_credentials
20
+ @default_cloud_api_url = QAT::Reporter::Xray::Config.xray_default_api_url
20
21
  end
21
22
 
22
23
  # Creates a Jira issue
@@ -97,18 +98,18 @@ module QAT
97
98
  define_method operation do |url, *args|
98
99
  final_url = base_uri + url
99
100
 
100
- # log_request operation, final_url, args
101
- # begin
102
- RestClient.method(operation).call(final_url, *args)
103
- #log_response response
104
- # validate response
105
- # rescue RestClient::ExceptionWithResponse => e
106
- # puts e.response
107
- # raise NoConnectionFound.new ('Jira was not found!!!')
108
- # rescue => exception
109
- # puts "#{exception.class} #{exception.message.to_s}"
110
- # raise NoConnectionFound.new ('Jira was not found!!!')
111
- # end
101
+ log_request operation, final_url, args
102
+ begin
103
+ response = RestClient.method(operation).call(final_url, *args)
104
+ log_response response
105
+ validate response
106
+ rescue RestClient::ExceptionWithResponse => e
107
+ puts e.response
108
+ raise NoConnectionFound.new ('Jira was not found!!!')
109
+ rescue => exception
110
+ puts "#{exception.class} #{exception.message.to_s}"
111
+ raise NoConnectionFound.new ('Jira was not found!!!')
112
+ end
112
113
  end
113
114
  end
114
115
 
@@ -5,7 +5,7 @@ module QAT
5
5
  # Namespace for QAT Reporter's Xray integrations
6
6
  class Xray
7
7
  # Represents QAT Reporter's Xray integrations' version
8
- VERSION = '1.1.2'
8
+ VERSION = '1.1.4'
9
9
  end
10
10
  end
11
11
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: qat-reporter-xray-sa
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - QAT
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-29 00:00:00.000000000 Z
11
+ date: 2023-09-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: vcr
@@ -98,20 +98,6 @@ dependencies:
98
98
  - - ">="
99
99
  - !ruby/object:Gem::Version
100
100
  version: '0'
101
- - !ruby/object:Gem::Dependency
102
- name: graphql-client
103
- requirement: !ruby/object:Gem::Requirement
104
- requirements:
105
- - - ">="
106
- - !ruby/object:Gem::Version
107
- version: '0'
108
- type: :runtime
109
- prerelease: false
110
- version_requirements: !ruby/object:Gem::Requirement
111
- requirements:
112
- - - ">="
113
- - !ruby/object:Gem::Version
114
- version: '0'
115
101
  description: |2
116
102
  QAT Report Xray Standalone belongs to QAT Report collection but stand alone version, so no dependencies from other
117
103
  QAT gems are required.