fastlane-plugin-eac_upload 1.0.0 → 1.1.0
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: aee13aff52fb1663109c452844a06ac4544ba69f9d12f5ac0423c81f34c14815
|
|
4
|
+
data.tar.gz: 8d479a1b8769a250190841ee0b28294c4e15e26600d3d940e857103ac4b2ddbe
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 59536b4b25208030140e05d11b9abe895d762c8b6044fe51d976644d759bc79b5d0c3b8fe399568f19e010e1fe9a0c159b0742ee737a95c1eb5d2483a1a1e118
|
|
7
|
+
data.tar.gz: 0c2af6c7722432e91206c159b4c5c23a7fc2d5674b75fc65749befd390dee8e516a2792463ad8ff142284dde5b4563dfc9b4972725a05c421b073d043565d852
|
|
@@ -10,19 +10,20 @@ module Fastlane
|
|
|
10
10
|
class EacAction < Action
|
|
11
11
|
def self.connection(options)
|
|
12
12
|
require "faraday"
|
|
13
|
-
require "
|
|
13
|
+
require "faraday/follow_redirects"
|
|
14
|
+
require "faraday/multipart"
|
|
14
15
|
host = options[:host]
|
|
15
16
|
uri = URI.parse("#{host}/api/app/upload")
|
|
16
17
|
|
|
17
18
|
foptions = {
|
|
18
|
-
url: uri
|
|
19
|
+
url: uri,
|
|
19
20
|
}
|
|
20
21
|
|
|
21
22
|
Faraday.new(foptions) do |builder|
|
|
23
|
+
builder.response :follow_redirects # use Faraday::FollowRedirects::Middleware
|
|
22
24
|
builder.request(:multipart)
|
|
23
25
|
builder.request(:url_encoded)
|
|
24
26
|
builder.response(:json, content_type: /\bjson$/)
|
|
25
|
-
builder.use(FaradayMiddleware::FollowRedirects)
|
|
26
27
|
builder.adapter(:net_http)
|
|
27
28
|
end
|
|
28
29
|
end
|
|
@@ -40,7 +41,7 @@ module Fastlane
|
|
|
40
41
|
build_file = [
|
|
41
42
|
ipa,
|
|
42
43
|
apk,
|
|
43
|
-
aab
|
|
44
|
+
aab,
|
|
44
45
|
].detect { |e| !e.to_s.empty? }
|
|
45
46
|
if build_file.nil?
|
|
46
47
|
UI.user_error!("You have to provide a build file (params 'apk' or 'ipa' or 'aab')")
|
|
@@ -164,7 +165,7 @@ module Fastlane
|
|
|
164
165
|
conflicting_options: [:ipa, :apk],
|
|
165
166
|
conflict_block: proc do |value|
|
|
166
167
|
UI.user_error!("You can't use 'aab' and '#{value.key}' options in one run")
|
|
167
|
-
end)
|
|
168
|
+
end),
|
|
168
169
|
|
|
169
170
|
]
|
|
170
171
|
end
|
|
@@ -192,7 +193,7 @@ module Fastlane
|
|
|
192
193
|
token: "abcdefgh",
|
|
193
194
|
ignore_apk: true,
|
|
194
195
|
ipa: "./path/to/my/app.ipa"
|
|
195
|
-
)'
|
|
196
|
+
)',
|
|
196
197
|
]
|
|
197
198
|
end
|
|
198
199
|
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fastlane-plugin-eac_upload
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- mobivention GmbH
|
|
8
8
|
bindir: bin
|
|
9
9
|
cert_chain: []
|
|
10
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
11
|
dependencies: []
|
|
12
12
|
email: technik@mobivention.com
|
|
13
13
|
executables: []
|
|
@@ -38,7 +38,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
38
38
|
- !ruby/object:Gem::Version
|
|
39
39
|
version: '0'
|
|
40
40
|
requirements: []
|
|
41
|
-
rubygems_version:
|
|
41
|
+
rubygems_version: 4.0.3
|
|
42
42
|
specification_version: 4
|
|
43
43
|
summary: Upload IPA/APK/AAB to Enterprise App Cloud
|
|
44
44
|
test_files: []
|