fastlane 2.23.0.beta.20170322010036 → 2.23.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/fastlane/lib/fastlane/actions/danger.rb +22 -1
- data/fastlane/lib/fastlane/actions/install_on_device.rb +1 -0
- data/fastlane/lib/fastlane/commands_generator.rb +0 -1
- data/fastlane/lib/fastlane/setup/setup.rb +2 -2
- data/fastlane/lib/fastlane/setup/setup_android.rb +2 -2
- data/fastlane/lib/fastlane/setup/setup_ios.rb +2 -2
- data/fastlane/lib/fastlane/version.rb +1 -1
- data/fastlane_core/lib/fastlane_core/ui/implementations/shell.rb +5 -5
- data/match/lib/match/nuke.rb +1 -1
- data/pilot/lib/pilot/manager.rb +1 -1
- data/scan/lib/scan/options.rb +3 -1
- data/scan/lib/scan/slack_poster.rb +1 -1
- data/sigh/lib/sigh/local_manage.rb +1 -1
- data/snapshot/lib/snapshot/reset_simulators.rb +1 -1
- data/spaceship/lib/spaceship/helper/plist_middleware.rb +1 -0
- metadata +18 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fa835425b2446573fb79fde5fc66773a7b64c62f
|
4
|
+
data.tar.gz: da4bb366b0b70f0158923bc2a7f497ec62dcd9fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8e697b59650850b741b9a871752448bc887de8d1121c0a2b7d037d7613fb84aba5e389bf92534f0ce6449707c7b224e502000bc6b451a9cccc1de4401c95dffc
|
7
|
+
data.tar.gz: 26430f249f835012d63461ce4a079d800e0a0008435908a6c1abf44449f20c14be969e6da0c5262c2414a1a215aee4f6207bd6319f296e0b44fa3f59f578db7e
|
@@ -11,9 +11,14 @@ module Fastlane
|
|
11
11
|
|
12
12
|
danger_id = params[:danger_id]
|
13
13
|
dangerfile = params[:dangerfile]
|
14
|
+
base = params[:base]
|
15
|
+
head = params[:head]
|
14
16
|
cmd << "--danger_id=#{danger_id}" if danger_id
|
15
17
|
cmd << "--dangerfile=#{dangerfile}" if dangerfile
|
16
18
|
cmd << "--fail-on-errors=true" if params[:fail_on_errors]
|
19
|
+
cmd << "--new-comment" if params[:new_comment]
|
20
|
+
cmd << "--base=#{base}" if base
|
21
|
+
cmd << "--head=#{head}" if head
|
17
22
|
|
18
23
|
ENV['DANGER_GITHUB_API_TOKEN'] = params[:github_api_token] if params[:github_api_token]
|
19
24
|
|
@@ -64,7 +69,23 @@ module Fastlane
|
|
64
69
|
description: "Should always fail the build process, defaults to false",
|
65
70
|
is_string: false,
|
66
71
|
optional: true,
|
67
|
-
default_value: false)
|
72
|
+
default_value: false),
|
73
|
+
FastlaneCore::ConfigItem.new(key: :new_comment,
|
74
|
+
env_name: "FL_DANGER_NEW_COMMENT",
|
75
|
+
description: "Makes Danger post a new comment instead of editing its previous one",
|
76
|
+
is_string: false,
|
77
|
+
optional: true,
|
78
|
+
default_value: false),
|
79
|
+
FastlaneCore::ConfigItem.new(key: :base,
|
80
|
+
env_name: "FL_DANGER_BASE",
|
81
|
+
description: "A branch/tag/commit to use as the base of the diff. [master|dev|stable]",
|
82
|
+
is_string: true,
|
83
|
+
optional: true),
|
84
|
+
FastlaneCore::ConfigItem.new(key: :head,
|
85
|
+
env_name: "FL_DANGER_HEAD",
|
86
|
+
description: "A branch/tag/commit to use as the head. [master|dev|stable]",
|
87
|
+
is_string: true,
|
88
|
+
optional: true)
|
68
89
|
]
|
69
90
|
end
|
70
91
|
|
@@ -15,6 +15,7 @@ module Fastlane
|
|
15
15
|
]
|
16
16
|
taxi_cmd << "--no-wifi" if params[:skip_wifi]
|
17
17
|
taxi_cmd << ["--id", params[:device_id]] if params[:device_id]
|
18
|
+
taxi_cmd.compact!
|
18
19
|
return taxi_cmd.join(" ") if Helper.test?
|
19
20
|
Actions.sh(taxi_cmd.join(" "))
|
20
21
|
UI.message("Deployed #{params[:ipa]} to device!")
|
@@ -91,7 +91,6 @@ module Fastlane
|
|
91
91
|
FastlaneCore::Globals.verbose = true
|
92
92
|
end
|
93
93
|
global_option('--troubleshoot', 'Enables extended verbose mode. Use with caution, as this even includes ALL sensitive data. Cannot be used on CI.')
|
94
|
-
global_option('--env STRING[,STRING2]', String, 'Add environment(s) to use with `dotenv`')
|
95
94
|
|
96
95
|
always_trace!
|
97
96
|
|
@@ -15,8 +15,8 @@ module Fastlane
|
|
15
15
|
UI.message("Detected Android project in current directory...")
|
16
16
|
platform = :android
|
17
17
|
else
|
18
|
-
UI.
|
19
|
-
val =
|
18
|
+
UI.important("Couldn't automatically detect the platform")
|
19
|
+
val = UI.confirm("Is this project an iOS project?")
|
20
20
|
platform = (val ? :ios : :android)
|
21
21
|
end
|
22
22
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
module Fastlane
|
2
2
|
class SetupAndroid < Setup
|
3
3
|
def run
|
4
|
-
response =
|
4
|
+
response = UI.confirm('Do you have everything commited in version control? If not please do so now!')
|
5
5
|
return unless response
|
6
6
|
|
7
7
|
FastlaneCore::FastlaneFolder.create_folder! unless Helper.is_test?
|
@@ -49,7 +49,7 @@ module Fastlane
|
|
49
49
|
question = "Do you plan on uploading metadata, screenshots and builds to Google Play using fastlane?".yellow
|
50
50
|
UI.message(question)
|
51
51
|
UI.message("This will download your existing metadata and screenshots into the `fastlane` folder")
|
52
|
-
if
|
52
|
+
if UI.confirm(question)
|
53
53
|
begin
|
54
54
|
require 'supply'
|
55
55
|
require 'supply/setup'
|
@@ -95,14 +95,14 @@ module Fastlane
|
|
95
95
|
|
96
96
|
def ask_to_enable_other_tools
|
97
97
|
if self.itc_ref.nil? && self.portal_ref.nil?
|
98
|
-
wants_to_create_app =
|
98
|
+
wants_to_create_app = UI.confirm('Would you like to create your app on iTunes Connect and the Developer Portal?')
|
99
99
|
if wants_to_create_app
|
100
100
|
create_app_if_necessary
|
101
101
|
detect_if_app_is_available # check if the app was, in fact, created.
|
102
102
|
end
|
103
103
|
end
|
104
104
|
if self.itc_ref && self.portal_ref
|
105
|
-
wants_to_setup_deliver =
|
105
|
+
wants_to_setup_deliver = UI.confirm("Do you want to setup 'deliver', which is used to upload app screenshots, app metadata and app updates to the App Store? This requires the app to be in the App Store already")
|
106
106
|
enable_deliver if wants_to_setup_deliver
|
107
107
|
end
|
108
108
|
end
|
@@ -23,7 +23,7 @@ module FastlaneCore
|
|
23
23
|
@log
|
24
24
|
end
|
25
25
|
|
26
|
-
def format_string(datetime, severity)
|
26
|
+
def format_string(datetime = Time.now, severity = "")
|
27
27
|
if FastlaneCore::Globals.verbose?
|
28
28
|
return "#{severity} [#{datetime.strftime('%Y-%m-%d %H:%M:%S.%2N')}]: "
|
29
29
|
elsif FastlaneCore::Env.truthy?("FASTLANE_HIDE_TIMESTAMP")
|
@@ -74,7 +74,7 @@ module FastlaneCore
|
|
74
74
|
end
|
75
75
|
|
76
76
|
def header(message)
|
77
|
-
format = format_string
|
77
|
+
format = format_string
|
78
78
|
if message.length + 8 < TTY::Screen.width - format.length
|
79
79
|
message = "--- #{message} ---"
|
80
80
|
i = message.length
|
@@ -99,12 +99,12 @@ module FastlaneCore
|
|
99
99
|
|
100
100
|
def input(message)
|
101
101
|
verify_interactive!(message)
|
102
|
-
ask(message.to_s.yellow).to_s.strip
|
102
|
+
ask("#{format_string}#{message.to_s.yellow}").to_s.strip
|
103
103
|
end
|
104
104
|
|
105
105
|
def confirm(message)
|
106
106
|
verify_interactive!(message)
|
107
|
-
agree("#{message} (y/n)"
|
107
|
+
agree("#{format_string}#{message.to_s.yellow} (y/n)", true)
|
108
108
|
end
|
109
109
|
|
110
110
|
def select(message, options)
|
@@ -117,7 +117,7 @@ module FastlaneCore
|
|
117
117
|
def password(message)
|
118
118
|
verify_interactive!(message)
|
119
119
|
|
120
|
-
ask(message.yellow) { |q| q.echo = "*" }
|
120
|
+
ask("#{format_string}#{message.to_s.yellow}") { |q| q.echo = "*" }
|
121
121
|
end
|
122
122
|
|
123
123
|
private
|
data/match/lib/match/nuke.rb
CHANGED
@@ -35,7 +35,7 @@ module Match
|
|
35
35
|
UI.error "Warning: The :app_identifier value will be ignored - this will delete all profiles for all your apps!" if had_app_identifier
|
36
36
|
UI.error "---"
|
37
37
|
end
|
38
|
-
if params[:skip_confirmation] ||
|
38
|
+
if params[:skip_confirmation] || UI.confirm("Do you really want to nuke everything listed above?")
|
39
39
|
nuke_it_now!
|
40
40
|
UI.success "Successfully cleaned your account ♻️"
|
41
41
|
else
|
data/pilot/lib/pilot/manager.rb
CHANGED
@@ -61,7 +61,7 @@ module Pilot
|
|
61
61
|
result = config[:app_platform]
|
62
62
|
result ||= FastlaneCore::IpaFileAnalyser.fetch_app_platform(config[:ipa]) if config[:ipa]
|
63
63
|
if required
|
64
|
-
result ||=
|
64
|
+
result ||= UI.input("Please enter the app's platform (appletvos, ios, osx): ")
|
65
65
|
UI.user_error!("App Platform must be ios, appletvos, or osx") unless ['ios', 'appletvos', 'osx'].include? result
|
66
66
|
UI.verbose("App Platform (#{result})")
|
67
67
|
end
|
data/scan/lib/scan/options.rb
CHANGED
@@ -223,7 +223,9 @@ module Scan
|
|
223
223
|
description: "Create an Incoming WebHook for your Slack group to post results there",
|
224
224
|
optional: true,
|
225
225
|
verify_block: proc do |value|
|
226
|
-
|
226
|
+
if !value.to_s.empty? && !value.start_with?("https://")
|
227
|
+
UI.user_error!("Invalid URL, must start with https://")
|
228
|
+
end
|
227
229
|
end),
|
228
230
|
FastlaneCore::ConfigItem.new(key: :slack_channel,
|
229
231
|
short_option: "-e",
|
@@ -3,7 +3,7 @@ module Scan
|
|
3
3
|
def run(results)
|
4
4
|
return if Scan.config[:skip_slack]
|
5
5
|
return if Scan.config[:slack_only_on_failure] && results[:failures] == 0
|
6
|
-
return if Scan.config[:slack_url].
|
6
|
+
return if Scan.config[:slack_url].to_s.empty?
|
7
7
|
|
8
8
|
require 'slack-notifier'
|
9
9
|
notifier = Slack::Notifier.new(Scan.config[:slack_url])
|
@@ -108,7 +108,7 @@ module Sigh
|
|
108
108
|
if Helper.ci?
|
109
109
|
UI.user_error! "On a CI server, cleanup cannot be used without the --force option"
|
110
110
|
else
|
111
|
-
delete =
|
111
|
+
delete = UI.confirm("Delete these provisioning profiles #{profiles.length}?")
|
112
112
|
end
|
113
113
|
end
|
114
114
|
|
@@ -6,7 +6,7 @@ module Snapshot
|
|
6
6
|
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
7
7
|
|
8
8
|
sure = true if FastlaneCore::Env.truthy?("SNAPSHOT_FORCE_DELETE") || force
|
9
|
-
sure =
|
9
|
+
sure = UI.confirm("Are you sure? All your simulators will be DELETED and new ones will be created!") unless sure
|
10
10
|
UI.user_error!("User cancelled action") unless sure
|
11
11
|
|
12
12
|
devices.each do |device|
|
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.23.0
|
4
|
+
version: 2.23.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Felix Krause
|
@@ -14,7 +14,7 @@ authors:
|
|
14
14
|
autorequire:
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
|
-
date: 2017-03-
|
17
|
+
date: 2017-03-24 00:00:00.000000000 Z
|
18
18
|
dependencies:
|
19
19
|
- !ruby/object:Gem::Dependency
|
20
20
|
name: slack-notifier
|
@@ -233,7 +233,7 @@ dependencies:
|
|
233
233
|
- !ruby/object:Gem::Version
|
234
234
|
version: '0'
|
235
235
|
- !ruby/object:Gem::Dependency
|
236
|
-
name: commander
|
236
|
+
name: commander-fastlane
|
237
237
|
requirement: !ruby/object:Gem::Requirement
|
238
238
|
requirements:
|
239
239
|
- - ">="
|
@@ -1296,23 +1296,23 @@ metadata:
|
|
1296
1296
|
post_install_message:
|
1297
1297
|
rdoc_options: []
|
1298
1298
|
require_paths:
|
1299
|
-
-
|
1299
|
+
- cert/lib
|
1300
1300
|
- credentials_manager/lib
|
1301
|
-
-
|
1302
|
-
-
|
1303
|
-
- screengrab/lib
|
1301
|
+
- deliver/lib
|
1302
|
+
- fastlane/lib
|
1304
1303
|
- fastlane_core/lib
|
1304
|
+
- frameit/lib
|
1305
1305
|
- gym/lib
|
1306
|
-
-
|
1307
|
-
- produce/lib
|
1306
|
+
- match/lib
|
1308
1307
|
- pem/lib
|
1309
|
-
-
|
1308
|
+
- pilot/lib
|
1309
|
+
- produce/lib
|
1310
1310
|
- scan/lib
|
1311
|
-
-
|
1312
|
-
-
|
1313
|
-
-
|
1314
|
-
- fastlane/lib
|
1311
|
+
- screengrab/lib
|
1312
|
+
- sigh/lib
|
1313
|
+
- snapshot/lib
|
1315
1314
|
- spaceship/lib
|
1315
|
+
- supply/lib
|
1316
1316
|
required_ruby_version: !ruby/object:Gem::Requirement
|
1317
1317
|
requirements:
|
1318
1318
|
- - ">="
|
@@ -1320,14 +1320,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
1320
1320
|
version: 2.0.0
|
1321
1321
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
1322
1322
|
requirements:
|
1323
|
-
- - "
|
1323
|
+
- - ">="
|
1324
1324
|
- !ruby/object:Gem::Version
|
1325
|
-
version:
|
1325
|
+
version: '0'
|
1326
1326
|
requirements: []
|
1327
1327
|
rubyforge_project:
|
1328
|
-
rubygems_version: 2.
|
1328
|
+
rubygems_version: 2.6.10
|
1329
1329
|
signing_key:
|
1330
1330
|
specification_version: 4
|
1331
1331
|
summary: The easiest way to automate beta deployments and releases for your iOS and
|
1332
1332
|
Android apps
|
1333
1333
|
test_files: []
|
1334
|
+
has_rdoc:
|