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: 5839d73d999acb2b7da44aedd0cfdc0f39abc2adee0764a6ed46d46e426d6d65
4
- data.tar.gz: 833c45952f79f71b7a87aee92674b6915cb1319091c072346925b49570acbffe
3
+ metadata.gz: aee13aff52fb1663109c452844a06ac4544ba69f9d12f5ac0423c81f34c14815
4
+ data.tar.gz: 8d479a1b8769a250190841ee0b28294c4e15e26600d3d940e857103ac4b2ddbe
5
5
  SHA512:
6
- metadata.gz: fed29f146587cc3ebaff9ea845420e942da37030a6a7c2282ca832270ef85e936dff80952a875fff6841e70f0c5241e7c9ffd800087664a2fd6213350d63c0c4
7
- data.tar.gz: 67fdd8f81c9a2fe78bf18dd3c91a86ae0d08780981ca28e7c6fbb20ed413e80f3c7536800476f0032e32a77ed4a0ecdb97914123681121cc5036926149e46b75
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 "faraday_middleware"
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
 
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module EacUpload
3
- VERSION = "1.0.0"
3
+ VERSION = "1.1.0"
4
4
  end
5
5
  end
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.0.0
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: 2025-07-16 00:00:00.000000000 Z
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: 3.6.5
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: []