fastlane-plugin-airwatch_workspaceone 2.3.0 → 2.3.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: bd3547dbb378ea2ac524fd5e860de5f6f151d0ecae62df4d56c913fa6210c623
4
- data.tar.gz: 87c81e7c133e03aba9397a2d62e4a12617907db13fd064a97b9c4c10e24193a3
3
+ metadata.gz: 191673d04c6aea52b229a49d1b45af155ea14d31b2bfe091f4c57d479bbe66be
4
+ data.tar.gz: c0c51a6ade8f56fd4c64181c33bb2ed8f8a6a8a1beb1ec71f87eecd86e89a458
5
5
  SHA512:
6
- metadata.gz: e69906d0a644e1d4411b7ae8019b69f7f4d7cde0e1a00e96228eca6cfa1f146a3b8f7d3b19a757abe9b435a1cace22f059736234ccb58a7f11f9392ba8696ee4
7
- data.tar.gz: ad28a1f378952b6b7b03f49a5a15463f9a94dcb2c06ed998c9004d2a9640bf93947d2949162e537208277e91566c77b5e1dc56eb8cbe5f7206e341d910aad59f
6
+ metadata.gz: b7448ef957bb1739cffb4a7dd1f32277356c8de22823f4daf2bcd8bd93a81782a722f96f79b6fb420928ba71d29acaca80a720169dc11eb3de1dfb160202fc02
7
+ data.tar.gz: 85c7e7714b8be62745595c97d363a3eafe2f041d37d1110d6888cd863c95977517bb4890824b63ef6bc985dce41d66e9a9ace6c8f31a83228c60d03b6c680be2
@@ -181,7 +181,14 @@ module Fastlane
181
181
  UI.message(body.to_json)
182
182
  end
183
183
 
184
- response = RestClient.post($host_url + BEGIN_INSTALL_SUFFIX, body.to_json, {content_type: :json, accept: :json, 'aw-tenant-code': $aw_tenant_code, 'Authorization': "Basic " + $b64_encoded_auth})
184
+ begin
185
+ response = RestClient.post($host_url + BEGIN_INSTALL_SUFFIX, body.to_json, {content_type: :json, accept: :json, 'aw-tenant-code': $aw_tenant_code, 'Authorization': "Basic " + $b64_encoded_auth})
186
+ rescue RestClient::ExceptionWithResponse => e
187
+ UI.message("ERROR! Response code: %d" % [e.response.code])
188
+ UI.message("Response body:")
189
+ UI.message(e.response.body)
190
+ raise
191
+ end
185
192
 
186
193
  if debug
187
194
  UI.message("Response code: %d" % [response.code])
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module AirwatchWorkspaceone
3
- VERSION = "2.3.0"
3
+ VERSION = "2.3.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-airwatch_workspaceone
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
4
+ version: 2.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ram Awadhesh Sharan
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-02-07 00:00:00.000000000 Z
11
+ date: 2020-09-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client
@@ -164,7 +164,7 @@ dependencies:
164
164
  - - ">="
165
165
  - !ruby/object:Gem::Version
166
166
  version: 2.123.0
167
- description:
167
+ description:
168
168
  email: ram.awadhesh1.618@gmail.com
169
169
  executables: []
170
170
  extensions: []
@@ -187,7 +187,7 @@ homepage: https://github.com/letsbondiway/fastlane-plugin-airwatch_workspaceone
187
187
  licenses:
188
188
  - MIT
189
189
  metadata: {}
190
- post_install_message:
190
+ post_install_message:
191
191
  rdoc_options: []
192
192
  require_paths:
193
193
  - lib
@@ -203,7 +203,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
203
203
  version: '0'
204
204
  requirements: []
205
205
  rubygems_version: 3.1.2
206
- signing_key:
206
+ signing_key:
207
207
  specification_version: 4
208
208
  summary: The main purpose of this plugin is to upload an IPA or an APK file to an
209
209
  AirWatch or Workspace ONE enterprise instance/console.