fastlane 2.75.0 → 2.75.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
  SHA1:
3
- metadata.gz: 2d4ac71197859bfb32444f719155c8f963a3c535
4
- data.tar.gz: ddd3618377eb5fe2163219be25c97b7f23a355eb
3
+ metadata.gz: f338936293c5d07951e36822d6fc311be2e6983c
4
+ data.tar.gz: ae280a88555a7c50902397aadb6d98048bcb06bb
5
5
  SHA512:
6
- metadata.gz: 195e9f71c3f29866ae73af8c48c391e87794869166bf97d30398dc9e6b95ce5c1439e6733311de96087bd07a5df5bcfbf0879232fb2fe5a70744df8665501573
7
- data.tar.gz: 7ac81f1c8a2235db9d27750240a2e71a5352996f67d52a3257164e4d2cb55ac4aea0b9e8d3f89a92d3cc62acd66f24d6e4fa2e203687707b4e0af868ef1e11dc
6
+ metadata.gz: 5a7b8bcb682bc77acbf1e7c556eebf53e62bf24e9ee14f5711446c87903deeee0b5d28f754dc5872a570f4f2bbe95974d854956bb21b97dc4a890d3c692b08f5
7
+ data.tar.gz: 4e8af52bb4bf45f3dfffb9835e0cb42f3d58d46e5040516a40347e07be61476c0730dfd46b9528bcde5cdca95d5f73570d7ed6d23ac31c8d1e60365e1613112e
@@ -5,6 +5,7 @@ require 'fastlane_core/crash_reporter/crash_reporter'
5
5
  require 'fastlane_core/ipa_upload_package_builder'
6
6
  require 'fastlane_core/pkg_upload_package_builder'
7
7
  require 'fastlane_core/itunes_transporter'
8
+ require 'spaceship'
8
9
  require_relative 'html_generator'
9
10
  require_relative 'submit_for_review'
10
11
  require_relative 'upload_assets'
@@ -10,7 +10,8 @@ module Fastlane
10
10
 
11
11
  begin
12
12
  path = File.expand_path(params[:path])
13
- plist = Plist.parse_xml(path)
13
+
14
+ plist = File.open(path) { |f| Plist.parse_xml(f) }
14
15
 
15
16
  value = plist[params[:key]]
16
17
  Actions.lane_context[SharedValues::GET_INFO_PLIST_VALUE_CUSTOM_VALUE] = value
@@ -18,7 +19,6 @@ module Fastlane
18
19
  return value
19
20
  rescue => ex
20
21
  UI.error(ex)
21
- UI.error("Unable to find plist file at '#{path}'")
22
22
  end
23
23
  end
24
24
 
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
- VERSION = '2.75.0'.freeze
2
+ VERSION = '2.75.1'.freeze
3
3
  DESCRIPTION = "The easiest way to automate beta deployments and releases for your iOS and Android apps".freeze
4
4
  MINIMUM_XCODE_RELEASE = "7.0".freeze
5
5
  RUBOCOP_REQUIREMENT = '0.49.1'.freeze
@@ -11,4 +11,4 @@ class Deliverfile: DeliverfileProtocol {
11
11
 
12
12
 
13
13
 
14
- // Generated with fastlane 2.74.1
14
+ // Generated with fastlane 2.75.0
@@ -1413,8 +1413,10 @@ func gcovr() {
1413
1413
  let command = RubyCommand(commandID: "", methodName: "gcovr", className: nil, args: [])
1414
1414
  _ = runner.executeCommand(command)
1415
1415
  }
1416
- @discardableResult func getBuildNumber(xcodeproj: String? = nil) -> String {
1417
- let command = RubyCommand(commandID: "", methodName: "get_build_number", className: nil, args: [RubyCommand.Argument(name: "xcodeproj", value: xcodeproj)])
1416
+ @discardableResult func getBuildNumber(xcodeproj: String? = nil,
1417
+ hideErrorWhenVersioningDisabled: Bool = false) -> String {
1418
+ let command = RubyCommand(commandID: "", methodName: "get_build_number", className: nil, args: [RubyCommand.Argument(name: "xcodeproj", value: xcodeproj),
1419
+ RubyCommand.Argument(name: "hide_error_when_versioning_disabled", value: hideErrorWhenVersioningDisabled)])
1418
1420
  return runner.executeCommand(command)
1419
1421
  }
1420
1422
  func getBuildNumberRepository(useHgRevisionNumber: Bool = false) {
@@ -11,4 +11,4 @@ class Gymfile: GymfileProtocol {
11
11
 
12
12
 
13
13
 
14
- // Generated with fastlane 2.74.1
14
+ // Generated with fastlane 2.75.0
@@ -11,4 +11,4 @@ class Matchfile: MatchfileProtocol {
11
11
 
12
12
 
13
13
 
14
- // Generated with fastlane 2.74.1
14
+ // Generated with fastlane 2.75.0
@@ -11,4 +11,4 @@ class Precheckfile: PrecheckfileProtocol {
11
11
 
12
12
 
13
13
 
14
- // Generated with fastlane 2.74.1
14
+ // Generated with fastlane 2.75.0
@@ -11,4 +11,4 @@ class Scanfile: ScanfileProtocol {
11
11
 
12
12
 
13
13
 
14
- // Generated with fastlane 2.74.1
14
+ // Generated with fastlane 2.75.0
@@ -11,4 +11,4 @@ class Screengrabfile: ScreengrabfileProtocol {
11
11
 
12
12
 
13
13
 
14
- // Generated with fastlane 2.74.1
14
+ // Generated with fastlane 2.75.0
@@ -11,4 +11,4 @@ class Snapshotfile: SnapshotfileProtocol {
11
11
 
12
12
 
13
13
 
14
- // Generated with fastlane 2.74.1
14
+ // Generated with fastlane 2.75.0
@@ -1,6 +1,7 @@
1
1
  require 'credentials_manager/appfile_config'
2
2
 
3
3
  require 'fastlane_core/print_table'
4
+ require 'spaceship'
4
5
  require 'spaceship/tunes/tunes'
5
6
  require 'spaceship/tunes/members'
6
7
  require 'spaceship/test_flight'
@@ -1,3 +1,4 @@
1
+ require 'spaceship'
1
2
  require 'spaceship/tunes/tunes'
2
3
  require_relative 'module'
3
4
  require_relative 'available_default_languages'
@@ -134,8 +134,18 @@ module Spaceship
134
134
  @attr_mapping.values.each do |method_name|
135
135
  getter = method_name.to_sym
136
136
  setter = "#{method_name}=".to_sym
137
- remove_method(getter) if public_instance_methods.include?(getter)
138
- remove_method(setter) if public_instance_methods.include?(setter)
137
+
138
+ # Seems like the `public_instance_methods.include?` doesn't always work
139
+ # More context https://github.com/fastlane/fastlane/issues/11481
140
+ # That's why we have the `begin` `rescue` code here
141
+ begin
142
+ remove_method(getter) if public_instance_methods.include?(getter)
143
+ rescue NameError
144
+ end
145
+ begin
146
+ remove_method(setter) if public_instance_methods.include?(setter)
147
+ rescue NameError
148
+ end
139
149
  end
140
150
  include(mapping_module(@attr_mapping))
141
151
  else
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.75.0
4
+ version: 2.75.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Krause