redhat_access 2.2.13 → 2.2.14

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
  SHA256:
3
- metadata.gz: e9cd68efa44ac50cd24ec3fc1c4b1f9fd61752f4291d19a4b3e501e448d68c20
4
- data.tar.gz: 2395b964158f86f3f9245afd76cd642d6d8859e612939b3b5e1f2e821ef2a67a
3
+ metadata.gz: baa2211c178a997f575a7a20f0d60f9af85506d02cb744f1dec934dbced3b02a
4
+ data.tar.gz: 630f1c32d9b21a60509638bdaaeb3c88805ebadd72113486740bddd291e6eede
5
5
  SHA512:
6
- metadata.gz: 1acdb89a85f087486734587508c79e63b9d051d1929007577c107635652b6923f31fd8238357faa3d20833de1781dd81262defd03c49bd578c4b9f615cd33d3e
7
- data.tar.gz: 3ecea8e8218a293818b409a4d7b62f92a34b00cf3f5afc2b9ce211cce813ab61c583614fbbdae81b7ce4fafd3b094b4cbddccac26e35f0b9ce1d72fd3cb4ded6
6
+ metadata.gz: 64484b0cc638a950c83d176c4816f94bc21c9d5e35b29b22f82c703c1f612ab6e66585535ef9dccdaf0a864db6b3572528689d92a09e1206c9df19d690ab0c07
7
+ data.tar.gz: f5b135a2df630842bd0fbf02ff0e5e4ebac9edc869cbe4ee09a92e141e64504d3d9993b8493e917ddedc5d32a82ba6f37dc05cdc0ea2883a00fb05f42f8c1569
@@ -118,7 +118,7 @@ module RedhatAccess
118
118
 
119
119
  client = get_api_client
120
120
  res = client.call_tapi(original_method, URI.escape(resource), original_params, original_payload, {timeout: get_tapi_timeout}, use_subsets)
121
- #401 erros means our proxy is not configured right.
121
+ #401 errors means our proxy is not configured right.
122
122
  #Change it to 502 to distinguish with local applications 401 errors
123
123
  resp_data = res[:data]
124
124
  if res[:code] == 401
@@ -136,6 +136,9 @@ module RedhatAccess
136
136
  if resp_data.headers[:x_resource_count]
137
137
  response.headers['x-resource-count'] = resp_data.headers[:x_resource_count]
138
138
  end
139
+ if resp_data.headers[:x_rh_insights_request_id]
140
+ response.headers['x_rh_insights_request_id'] = resp_data.headers[:x_rh_insights_request_id]
141
+ end
139
142
  render status: res[:code], json: resp_data
140
143
  else
141
144
  render status: res[:code], json: resp_data
@@ -1,3 +1,3 @@
1
1
  module RedhatAccess
2
- VERSION = "2.2.13"
2
+ VERSION = "2.2.14"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redhat_access
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.13
4
+ version: 2.2.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lindani Phiri
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-05-07 00:00:00.000000000 Z
12
+ date: 2020-05-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: redhat_access_lib