fastlane 1.110.0 → 1.111.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/.DS_Store +0 -0
- data/lib/assets/.DS_Store +0 -0
- data/lib/assets/completions/.DS_Store +0 -0
- data/lib/fastlane/.DS_Store +0 -0
- data/lib/fastlane/actions/app_store_build_number.rb +1 -0
- data/lib/fastlane/actions/ensure_xcode_version.rb +2 -5
- data/lib/fastlane/actions/frameit.rb +3 -1
- data/lib/fastlane/actions/latest_testflight_build_number.rb +1 -0
- data/lib/fastlane/actions/pod_push.rb +10 -1
- data/lib/fastlane/actions/set_info_plist_value.rb +1 -1
- data/lib/fastlane/actions/sonar.rb +1 -1
- data/lib/fastlane/actions/swiftlint.rb +5 -0
- data/lib/fastlane/actions/unlock_keychain.rb +1 -17
- data/lib/fastlane/actions/update_project_provisioning.rb +1 -1
- data/lib/fastlane/environment_printer.rb +7 -3
- data/lib/fastlane/setup/.DS_Store +0 -0
- data/lib/fastlane/version.rb +1 -1
- metadata +22 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 50a4c664326dce338c64952bf3c8608d06a89460
|
4
|
+
data.tar.gz: 22f58b6da7f733ffab9dc0585796e28b36d6b31f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3834920929661726d149d06b3b82616f62f8e8129d9a66d835960f7d0dbf6151608fdb5add9ddad82af9c2b521dd8eb12a0d4a6930caf5885fdba2a4f212d581
|
7
|
+
data.tar.gz: 61f048e0e1b8421cd0fedcab426548c7e8f5d81387421cab14dccb586e53546a5ab5e66d6cfef791739e29329e94bce25e46a6036c07131e72d90cbb9610c443
|
data/lib/.DS_Store
ADDED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -7,12 +7,9 @@ module Fastlane
|
|
7
7
|
class EnsureXcodeVersionAction < Action
|
8
8
|
def self.run(params)
|
9
9
|
required_version = params[:version]
|
10
|
+
selected_version = sh("xcversion selected").match(/^Xcode (.*)$/)[1]
|
10
11
|
|
11
|
-
selected_version
|
12
|
-
|
13
|
-
versions_match = selected_version == "Xcode #{required_version}"
|
14
|
-
|
15
|
-
if versions_match
|
12
|
+
if selected_version == required_version
|
16
13
|
UI.success("Selected Xcode version is correct: #{selected_version}")
|
17
14
|
else
|
18
15
|
UI.message("Selected Xcode version is not correct: #{selected_version}. You expected #{required_version}.")
|
@@ -26,6 +26,10 @@ module Fastlane
|
|
26
26
|
command << " --use-libraries"
|
27
27
|
end
|
28
28
|
|
29
|
+
if params[:verbose]
|
30
|
+
command << " --verbose"
|
31
|
+
end
|
32
|
+
|
29
33
|
result = Actions.sh(command.to_s)
|
30
34
|
UI.success("Successfully pushed Podspec ⬆️ ")
|
31
35
|
return result
|
@@ -69,7 +73,12 @@ module Fastlane
|
|
69
73
|
is_string: false,
|
70
74
|
verify_block: proc do |value|
|
71
75
|
UI.user_error!("Sources must be an array.") unless value.kind_of?(Array)
|
72
|
-
end)
|
76
|
+
end),
|
77
|
+
FastlaneCore::ConfigItem.new(key: :verbose,
|
78
|
+
description: "Show more debugging information",
|
79
|
+
optional: true,
|
80
|
+
is_string: false,
|
81
|
+
default_value: false)
|
73
82
|
]
|
74
83
|
end
|
75
84
|
|
@@ -30,7 +30,7 @@ module Fastlane
|
|
30
30
|
end
|
31
31
|
|
32
32
|
def self.verify_sonar_scanner_binary
|
33
|
-
UI.user_error!("You have to install sonar-scanner using `brew install sonar-
|
33
|
+
UI.user_error!("You have to install sonar-scanner using `brew install sonar-scanner`") unless `which sonar-scanner`.to_s.length > 0
|
34
34
|
end
|
35
35
|
|
36
36
|
#####################################################
|
@@ -14,6 +14,7 @@ module Fastlane
|
|
14
14
|
command = "swiftlint #{params[:mode]}"
|
15
15
|
command << " --strict" if params[:strict]
|
16
16
|
command << " --config #{params[:config_file].shellescape}" if params[:config_file]
|
17
|
+
command << " --reporter #{params[:reporter]}" if params[:reporter]
|
17
18
|
|
18
19
|
if params[:files]
|
19
20
|
if version < Gem::Version.new('0.5.1') and !Helper.test?
|
@@ -72,6 +73,10 @@ module Fastlane
|
|
72
73
|
don't fail the build (true/false)",
|
73
74
|
default_value: false,
|
74
75
|
is_string: false,
|
76
|
+
optional: true),
|
77
|
+
FastlaneCore::ConfigItem.new(key: :reporter,
|
78
|
+
description: 'Choose output reporter',
|
79
|
+
is_string: true,
|
75
80
|
optional: true)
|
76
81
|
]
|
77
82
|
end
|
@@ -2,7 +2,7 @@ module Fastlane
|
|
2
2
|
module Actions
|
3
3
|
class UnlockKeychainAction < Action
|
4
4
|
def self.run(params)
|
5
|
-
keychain_path =
|
5
|
+
keychain_path = FastlaneCore::Helper.keychain_path(params[:path])
|
6
6
|
add_to_search_list = params[:add_to_search_list]
|
7
7
|
set_default = params[:set_default]
|
8
8
|
commands = []
|
@@ -50,22 +50,6 @@ module Fastlane
|
|
50
50
|
Fastlane::Actions.sh("security default-keychain -s #{escaped_path}", log: false)
|
51
51
|
end
|
52
52
|
|
53
|
-
def self.expand_keychain_path(keychain_path)
|
54
|
-
possible_locations = []
|
55
|
-
possible_locations << keychain_path
|
56
|
-
possible_locations << "~/Library/Keychains/#{keychain_path}"
|
57
|
-
possible_locations << "~/Library/Keychains/#{keychain_path}.keychain"
|
58
|
-
|
59
|
-
possible_locations.each do |location|
|
60
|
-
expanded_location = File.expand_path(location)
|
61
|
-
if File.exist?(expanded_location)
|
62
|
-
return expanded_location
|
63
|
-
end
|
64
|
-
end
|
65
|
-
|
66
|
-
UI.user_error!("Could not find the keychain file in: #{possible_locations}")
|
67
|
-
end
|
68
|
-
|
69
53
|
#####################################################
|
70
54
|
# @!group Documentation
|
71
55
|
#####################################################
|
@@ -5,7 +5,7 @@ module Fastlane
|
|
5
5
|
end
|
6
6
|
|
7
7
|
class UpdateProjectProvisioningAction < Action
|
8
|
-
ROOT_CERTIFICATE_URL = "
|
8
|
+
ROOT_CERTIFICATE_URL = "https://www.apple.com/appleca/AppleIncRootCertificate.cer"
|
9
9
|
def self.run(params)
|
10
10
|
UI.message("You’re updating provisioning profiles directly in your project, but have you considered easier ways to do code signing?")
|
11
11
|
UI.message("https://docs.fastlane.tools/codesigning/GettingStarted/")
|
@@ -207,15 +207,15 @@ module Fastlane
|
|
207
207
|
"Ruby" => RUBY_VERSION,
|
208
208
|
"Bundler?" => Helper.bundler?,
|
209
209
|
"Git" => `git --version`.strip.split("\n").first,
|
210
|
-
"Installation Source" => $PROGRAM_NAME,
|
210
|
+
"Installation Source" => anonymized_path($PROGRAM_NAME),
|
211
211
|
"Host" => "#{product} #{version} (#{build})",
|
212
|
-
"Ruby Lib Dir" => RbConfig::CONFIG['libdir'],
|
212
|
+
"Ruby Lib Dir" => anonymized_path(RbConfig::CONFIG['libdir']),
|
213
213
|
"OpenSSL Version" => OpenSSL::OPENSSL_VERSION,
|
214
214
|
"Is contained" => Helper.contained_fastlane?.to_s
|
215
215
|
}
|
216
216
|
|
217
217
|
if Helper.mac?
|
218
|
-
table_content["Xcode Path"] = Helper.xcode_path
|
218
|
+
table_content["Xcode Path"] = anonymized_path(Helper.xcode_path)
|
219
219
|
table_content["Xcode Version"] = Helper.xcode_version
|
220
220
|
end
|
221
221
|
|
@@ -270,6 +270,10 @@ module Fastlane
|
|
270
270
|
env_output
|
271
271
|
end
|
272
272
|
|
273
|
+
def self.anonymized_path(path, home = ENV['HOME'])
|
274
|
+
return home ? path.gsub(%r{^#{home}(?=/(.*)|$)}, '~\2') : path
|
275
|
+
end
|
276
|
+
|
273
277
|
# Copy a given string into the clipboard
|
274
278
|
# Make sure to ask the user first, as some people don't
|
275
279
|
# use a clipboard manager, so they might lose something important
|
Binary file
|
data/lib/fastlane/version.rb
CHANGED
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: 1.
|
4
|
+
version: 1.111.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Felix Krause
|
@@ -15,7 +15,7 @@ authors:
|
|
15
15
|
autorequire:
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
|
-
date: 2016-11-
|
18
|
+
date: 2016-11-29 00:00:00.000000000 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: krausefx-shenzhen
|
@@ -225,7 +225,7 @@ dependencies:
|
|
225
225
|
requirements:
|
226
226
|
- - ">="
|
227
227
|
- !ruby/object:Gem::Version
|
228
|
-
version: 0.
|
228
|
+
version: 0.57.1
|
229
229
|
- - "<"
|
230
230
|
- !ruby/object:Gem::Version
|
231
231
|
version: 1.0.0
|
@@ -235,7 +235,7 @@ dependencies:
|
|
235
235
|
requirements:
|
236
236
|
- - ">="
|
237
237
|
- !ruby/object:Gem::Version
|
238
|
-
version: 0.
|
238
|
+
version: 0.57.1
|
239
239
|
- - "<"
|
240
240
|
- !ruby/object:Gem::Version
|
241
241
|
version: 1.0.0
|
@@ -279,7 +279,7 @@ dependencies:
|
|
279
279
|
requirements:
|
280
280
|
- - ">="
|
281
281
|
- !ruby/object:Gem::Version
|
282
|
-
version: 0.
|
282
|
+
version: 0.38.1
|
283
283
|
- - "<"
|
284
284
|
- !ruby/object:Gem::Version
|
285
285
|
version: 1.0.0
|
@@ -289,7 +289,7 @@ dependencies:
|
|
289
289
|
requirements:
|
290
290
|
- - ">="
|
291
291
|
- !ruby/object:Gem::Version
|
292
|
-
version: 0.
|
292
|
+
version: 0.38.1
|
293
293
|
- - "<"
|
294
294
|
- !ruby/object:Gem::Version
|
295
295
|
version: 1.0.0
|
@@ -319,7 +319,7 @@ dependencies:
|
|
319
319
|
requirements:
|
320
320
|
- - ">="
|
321
321
|
- !ruby/object:Gem::Version
|
322
|
-
version: 1.16.
|
322
|
+
version: 1.16.4
|
323
323
|
- - "<"
|
324
324
|
- !ruby/object:Gem::Version
|
325
325
|
version: 2.0.0
|
@@ -329,7 +329,7 @@ dependencies:
|
|
329
329
|
requirements:
|
330
330
|
- - ">="
|
331
331
|
- !ruby/object:Gem::Version
|
332
|
-
version: 1.16.
|
332
|
+
version: 1.16.4
|
333
333
|
- - "<"
|
334
334
|
- !ruby/object:Gem::Version
|
335
335
|
version: 2.0.0
|
@@ -419,7 +419,7 @@ dependencies:
|
|
419
419
|
requirements:
|
420
420
|
- - ">="
|
421
421
|
- !ruby/object:Gem::Version
|
422
|
-
version: 1.3.
|
422
|
+
version: 1.3.1
|
423
423
|
- - "<"
|
424
424
|
- !ruby/object:Gem::Version
|
425
425
|
version: 2.0.0
|
@@ -429,7 +429,7 @@ dependencies:
|
|
429
429
|
requirements:
|
430
430
|
- - ">="
|
431
431
|
- !ruby/object:Gem::Version
|
432
|
-
version: 1.3.
|
432
|
+
version: 1.3.1
|
433
433
|
- - "<"
|
434
434
|
- !ruby/object:Gem::Version
|
435
435
|
version: 2.0.0
|
@@ -439,7 +439,7 @@ dependencies:
|
|
439
439
|
requirements:
|
440
440
|
- - ">="
|
441
441
|
- !ruby/object:Gem::Version
|
442
|
-
version: 1.12.
|
442
|
+
version: 1.12.1
|
443
443
|
- - "<"
|
444
444
|
- !ruby/object:Gem::Version
|
445
445
|
version: 2.0.0
|
@@ -449,7 +449,7 @@ dependencies:
|
|
449
449
|
requirements:
|
450
450
|
- - ">="
|
451
451
|
- !ruby/object:Gem::Version
|
452
|
-
version: 1.12.
|
452
|
+
version: 1.12.1
|
453
453
|
- - "<"
|
454
454
|
- !ruby/object:Gem::Version
|
455
455
|
version: 2.0.0
|
@@ -479,7 +479,7 @@ dependencies:
|
|
479
479
|
requirements:
|
480
480
|
- - ">="
|
481
481
|
- !ruby/object:Gem::Version
|
482
|
-
version: 0.14.
|
482
|
+
version: 0.14.2
|
483
483
|
- - "<"
|
484
484
|
- !ruby/object:Gem::Version
|
485
485
|
version: 1.0.0
|
@@ -489,7 +489,7 @@ dependencies:
|
|
489
489
|
requirements:
|
490
490
|
- - ">="
|
491
491
|
- !ruby/object:Gem::Version
|
492
|
-
version: 0.14.
|
492
|
+
version: 0.14.2
|
493
493
|
- - "<"
|
494
494
|
- !ruby/object:Gem::Version
|
495
495
|
version: 1.0.0
|
@@ -499,7 +499,7 @@ dependencies:
|
|
499
499
|
requirements:
|
500
500
|
- - ">="
|
501
501
|
- !ruby/object:Gem::Version
|
502
|
-
version: 0.
|
502
|
+
version: 0.8.0
|
503
503
|
- - "<"
|
504
504
|
- !ruby/object:Gem::Version
|
505
505
|
version: 1.0.0
|
@@ -509,7 +509,7 @@ dependencies:
|
|
509
509
|
requirements:
|
510
510
|
- - ">="
|
511
511
|
- !ruby/object:Gem::Version
|
512
|
-
version: 0.
|
512
|
+
version: 0.8.0
|
513
513
|
- - "<"
|
514
514
|
- !ruby/object:Gem::Version
|
515
515
|
version: 1.0.0
|
@@ -735,12 +735,15 @@ files:
|
|
735
735
|
- README.md
|
736
736
|
- bin/fastlane
|
737
737
|
- "bin/\U0001F680"
|
738
|
+
- lib/.DS_Store
|
739
|
+
- lib/assets/.DS_Store
|
738
740
|
- lib/assets/Actions.md.erb
|
739
741
|
- lib/assets/AppfileTemplate
|
740
742
|
- lib/assets/AppfileTemplateAndroid
|
741
743
|
- lib/assets/AvailablePlugins.md.erb
|
742
744
|
- lib/assets/DefaultFastfileTemplate
|
743
745
|
- lib/assets/FastfileTemplateAndroid
|
746
|
+
- lib/assets/completions/.DS_Store
|
744
747
|
- lib/assets/completions/completion.bash
|
745
748
|
- lib/assets/completions/completion.sh
|
746
749
|
- lib/assets/completions/completion.zsh
|
@@ -751,6 +754,7 @@ files:
|
|
751
754
|
- lib/assets/s3_plist_template.erb
|
752
755
|
- lib/assets/s3_version_template.erb
|
753
756
|
- lib/fastlane.rb
|
757
|
+
- lib/fastlane/.DS_Store
|
754
758
|
- lib/fastlane/action.rb
|
755
759
|
- lib/fastlane/action_collector.rb
|
756
760
|
- lib/fastlane/actions/README.md
|
@@ -988,6 +992,7 @@ files:
|
|
988
992
|
- lib/fastlane/plugins/template/spec/%plugin_name%_action_spec.rb.erb
|
989
993
|
- lib/fastlane/plugins/template/spec/spec_helper.rb.erb
|
990
994
|
- lib/fastlane/runner.rb
|
995
|
+
- lib/fastlane/setup/.DS_Store
|
991
996
|
- lib/fastlane/setup/crashlytics_beta.rb
|
992
997
|
- lib/fastlane/setup/crashlytics_beta_command_line_handler.rb
|
993
998
|
- lib/fastlane/setup/crashlytics_beta_info.rb
|
@@ -1021,7 +1026,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1021
1026
|
version: '0'
|
1022
1027
|
requirements: []
|
1023
1028
|
rubyforge_project:
|
1024
|
-
rubygems_version: 2.
|
1029
|
+
rubygems_version: 2.2.2
|
1025
1030
|
signing_key:
|
1026
1031
|
specification_version: 4
|
1027
1032
|
summary: The easiest way to automate beta deployments and releases for your iOS and
|