fastlane-plugin-airwatch_workspaceone 2.1.0 → 2.2.0

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: 32430ef06328d10cc7c98f4ceeaf4d336f608c4c3ce989db58e3aa1821fa1bdf
4
- data.tar.gz: 7e13e86e2deb91aa853522884aae858f817e647a9683c8230f72534f02c5d7c3
3
+ metadata.gz: 22cf12fa2faf4f10353326e87039ba0b6fc9244d5781af261e9debed5d2b0f07
4
+ data.tar.gz: ff3d802d98881a7af8af29499b5ac5e3c0ab63a75018e3b4330f2a20241ed04f
5
5
  SHA512:
6
- metadata.gz: d429bfa5873b2f9b6f447d415f4e2a4946bc05d09f589af5d9c0922df51d8141aec24c4e39cf7be71e284f62c88418b75f0f17f47f932374e4f5ca5d1e54e57f
7
- data.tar.gz: 56b01be6d0a4e3ae334b7e363d4dcb0c17b19329d7c826a16869e478e3081bb91379230818907bde156485cde0298384eb4adbc8d3257e289c5466bba793e70d
6
+ metadata.gz: 8be41d5627cf013074e1f7155814a29f990a4cb14da88c5a44156e3666c532194988ad27c907b9ea1fa664c5e435e8b6eae1ce708258a12f45f9f9ebe0a90918
7
+ data.tar.gz: b41c6258c0dcd1bdf338ca3e3b4a6272f56bf3fec1c60e8ff6dd40f86ed9cede0284fbb8a25b8818490fa537b204f519177a35afd77c5b49e37cf3f8de02b4ba
@@ -5,7 +5,7 @@ module Fastlane
5
5
  module Actions
6
6
  class AddOrUpdateAssignmentsAction < Action
7
7
 
8
- APP_VERSIONS_LIST_SUFFIX = "/API/mam/apps/search?bundleid=%s"
8
+ APP_VERSIONS_LIST_SUFFIX = "/API/mam/apps/search?applicationtype=Internal&bundleid=%s"
9
9
  ADD_UPDATE_ASSIGNMENT_SUFFIX = "/API/mam/apps/internal/%d/assignments"
10
10
  SEARCH_SMART_GROUP_SUFFIX = "/API/mdm/smartgroups/search?name=%s&organizationgroupid=%d"
11
11
 
@@ -5,7 +5,7 @@ module Fastlane
5
5
  module Actions
6
6
  class DeletePreviousVersionsAction < Action
7
7
 
8
- APP_VERSIONS_LIST_SUFFIX = "/API/mam/apps/search?bundleid=%s"
8
+ APP_VERSIONS_LIST_SUFFIX = "/API/mam/apps/search?applicationtype=Internal&bundleid=%s"
9
9
  INTERNAL_APP_DELETE_SUFFIX = "/API/mam/apps/internal/%d"
10
10
 
11
11
  $is_debug = false
@@ -5,7 +5,7 @@ module Fastlane
5
5
  module Actions
6
6
  class DeleteSpecificVersionAction < Action
7
7
 
8
- APP_VERSIONS_LIST_SUFFIX = "/API/mam/apps/search?bundleid=%s"
8
+ APP_VERSIONS_LIST_SUFFIX = "/API/mam/apps/search?applicationtype=Internal&bundleid=%s"
9
9
  INTERNAL_APP_DELETE_SUFFIX = "/API/mam/apps/internal/%d"
10
10
 
11
11
  $is_debug = false
@@ -5,7 +5,7 @@ module Fastlane
5
5
  module Actions
6
6
  class RetirePreviousVersionsAction < Action
7
7
 
8
- APP_VERSIONS_LIST_SUFFIX = "/API/mam/apps/search?bundleid=%s"
8
+ APP_VERSIONS_LIST_SUFFIX = "/API/mam/apps/search?applicationtype=Internal&bundleid=%s"
9
9
  INTERNAL_APP_RETIRE_SUFFIX = "/API/mam/apps/internal/%d/retire"
10
10
 
11
11
  $is_debug = false
@@ -32,6 +32,7 @@ module Fastlane
32
32
  $b64_encoded_auth = params[:b64_encoded_auth]
33
33
  app_identifier = params[:app_identifier]
34
34
  keep_latest_versions_count = params[:keep_latest_versions_count]
35
+ UI.message(APP_VERSIONS_LIST_SUFFIX % [app_identifier])
35
36
 
36
37
  # step 1: find app
37
38
  UI.message("------------------------------")
@@ -88,7 +89,7 @@ module Fastlane
88
89
  if debug
89
90
  UI.message("Response code: %d" % [response.code])
90
91
  UI.message("Response body:")
91
- UI.message(response.body)
92
+ UI.message(JSON.pretty_generate(response.body))
92
93
  end
93
94
 
94
95
  if response.code != 200
@@ -5,7 +5,7 @@ module Fastlane
5
5
  module Actions
6
6
  class RetireSpecificVersionAction < Action
7
7
 
8
- APP_VERSIONS_LIST_SUFFIX = "/API/mam/apps/search?bundleid=%s"
8
+ APP_VERSIONS_LIST_SUFFIX = "/API/mam/apps/search?applicationtype=Internal&bundleid=%s"
9
9
  INTERNAL_APP_RETIRE_SUFFIX = "/API/mam/apps/internal/%d/retire"
10
10
 
11
11
  $is_debug = false
@@ -5,7 +5,7 @@ module Fastlane
5
5
  module Actions
6
6
  class UnretireAllVersionsAction < Action
7
7
 
8
- APP_VERSIONS_LIST_SUFFIX = "/API/mam/apps/search?bundleid=%s"
8
+ APP_VERSIONS_LIST_SUFFIX = "/API/mam/apps/search?applicationtype=Internal&bundleid=%s"
9
9
  INTERNAL_APP_UNRETIRE_SUFFIX = "/API/mam/apps/internal/%d/unretire"
10
10
 
11
11
  $is_debug = false
@@ -5,7 +5,7 @@ module Fastlane
5
5
  module Actions
6
6
  class UnretireSpecificVersionAction < Action
7
7
 
8
- APP_VERSIONS_LIST_SUFFIX = "/API/mam/apps/search?bundleid=%s"
8
+ APP_VERSIONS_LIST_SUFFIX = "/API/mam/apps/search?applicationtype=Internal&bundleid=%s"
9
9
  INTERNAL_APP_UNRETIRE_SUFFIX = "/API/mam/apps/internal/%d/unretire"
10
10
 
11
11
  $is_debug = false
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module AirwatchWorkspaceone
3
- VERSION = "2.1.0"
3
+ VERSION = "2.2.0"
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.1.0
4
+ version: 2.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ram Awadhesh Sharan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-06-23 00:00:00.000000000 Z
11
+ date: 2019-06-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client
@@ -202,7 +202,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
202
202
  - !ruby/object:Gem::Version
203
203
  version: '0'
204
204
  requirements: []
205
- rubygems_version: 3.0.3
205
+ rubygems_version: 3.0.4
206
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