fastlane 1.87.1 → 1.88.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fastlane.rb +0 -1
- data/lib/fastlane/action_collector.rb +4 -0
- data/lib/fastlane/actions/appetize.rb +1 -1
- data/lib/fastlane/actions/build_and_upload_to_appetize.rb +1 -0
- data/lib/fastlane/actions/update_urban_airship_configuration.rb +72 -0
- data/lib/fastlane/cli_tools_distributor.rb +2 -2
- data/lib/fastlane/fast_file.rb +1 -1
- data/lib/fastlane/one_off.rb +1 -1
- data/lib/fastlane/runner.rb +5 -2
- data/lib/fastlane/version.rb +1 -1
- metadata +6 -6
- data/lib/fastlane/core_ext/string.rb +0 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9927ac2cd5350fa89c4e9c3b90d26fbff1fd14f3
|
4
|
+
data.tar.gz: 2fbb1bb963af63e52d3c2231760b32d92cf42cb9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f2a17afe167377fe9094940660a184ee423752db2b7038bd61c3d8d37f515f9c93d833aa3325a61b8510f6064865d0984308d3ed5f4cf46f9aa2e9bebd57f966
|
7
|
+
data.tar.gz: 02cdab05808de5fe681f86ed794b54e118789fdbb8c921bbd52ab51b3cf6a2691428e901b6fa2f304d34fc10f1a67bb696d726359c10dd5ced33e8cc28c0e5bc
|
data/lib/fastlane.rb
CHANGED
@@ -13,5 +13,9 @@ module Fastlane
|
|
13
13
|
UI.message("This information is used to fix failing actions and improve integrations that are often used.")
|
14
14
|
UI.message("You can disable this by adding `opt_out_usage` to your Fastfile")
|
15
15
|
end
|
16
|
+
|
17
|
+
def determine_version(name)
|
18
|
+
super(name) || Fastlane::VERSION
|
19
|
+
end
|
16
20
|
end
|
17
21
|
end
|
@@ -134,7 +134,7 @@ module Fastlane
|
|
134
134
|
|
135
135
|
def self.output
|
136
136
|
[
|
137
|
-
['APPETIZE_PUBLIC_KEY', 'a public
|
137
|
+
['APPETIZE_PUBLIC_KEY', 'a public identifier for your app. Use this to update your app after it has been initially created'],
|
138
138
|
['APPETIZE_APP_URL', 'a page to test and share your app.'],
|
139
139
|
['APPETIZE_MANAGE_URL', 'a page to manage your app.']
|
140
140
|
]
|
@@ -7,6 +7,7 @@ module Fastlane
|
|
7
7
|
xcodebuild_configs = params[:xcodebuild]
|
8
8
|
xcodebuild_configs[:sdk] = "iphonesimulator"
|
9
9
|
xcodebuild_configs[:derivedDataPath] = tmp_path
|
10
|
+
xcodebuild_configs[:xcargs] = "CONFIGURATION_BUILD_DIR=" + tmp_path
|
10
11
|
xcodebuild_configs[:scheme] ||= params[:scheme] if params[:scheme].to_s.length > 0
|
11
12
|
|
12
13
|
Actions::XcodebuildAction.run(xcodebuild_configs)
|
@@ -0,0 +1,72 @@
|
|
1
|
+
module Fastlane
|
2
|
+
module Actions
|
3
|
+
class UpdateUrbanAirshipConfigurationAction < Action
|
4
|
+
def self.run(params)
|
5
|
+
require "plist"
|
6
|
+
|
7
|
+
begin
|
8
|
+
path = File.expand_path(params[:plist_path])
|
9
|
+
plist = Plist.parse_xml(path)
|
10
|
+
plist['developmentAppKey'] = params[:development_app_key] unless params[:development_app_key].nil?
|
11
|
+
plist['developmentAppSecret'] = params[:development_app_secret] unless params[:development_app_secret].nil?
|
12
|
+
plist['productionAppKey'] = params[:production_app_key] unless params[:production_app_key].nil?
|
13
|
+
plist['productionAppSecret'] = params[:production_app_secret] unless params[:production_app_secret].nil?
|
14
|
+
plist['detectProvisioningMode'] = params[:detect_provisioning_mode] unless params[:detect_provisioning_mode].nil?
|
15
|
+
new_plist = plist.to_plist
|
16
|
+
File.write(path, new_plist)
|
17
|
+
rescue => ex
|
18
|
+
UI.error(ex)
|
19
|
+
UI.error("Unable to update Urban Airship configuration for plist file at '#{path}'")
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
def self.description
|
24
|
+
"Set the Urban Airship plist configuration values"
|
25
|
+
end
|
26
|
+
|
27
|
+
def self.details
|
28
|
+
"This action updates the AirshipConfig.plist need to configure the Urban Airship SDK at runtime, allowing keys and secrets to easily be set for Enterprise and Production versions of the application."
|
29
|
+
end
|
30
|
+
|
31
|
+
def self.available_options
|
32
|
+
[
|
33
|
+
FastlaneCore::ConfigItem.new(key: :plist_path,
|
34
|
+
env_name: "URBAN_AIRSHIP_PLIST_PATH",
|
35
|
+
description: "Path to Urban Airship configuration Plist",
|
36
|
+
verify_block: proc do |value|
|
37
|
+
raise "Could not find Urban Airship plist file".red unless File.exist?(value)
|
38
|
+
end),
|
39
|
+
FastlaneCore::ConfigItem.new(key: :development_app_key,
|
40
|
+
optional: true,
|
41
|
+
env_name: "URBAN_AIRSHIP_DEVELOPMENT_APP_KEY",
|
42
|
+
description: "The development app key"),
|
43
|
+
FastlaneCore::ConfigItem.new(key: :development_app_secret,
|
44
|
+
optional: true,
|
45
|
+
env_name: "URBAN_AIRSHIP_DEVELOPMENT_APP_SECRET",
|
46
|
+
description: "The development app secret"),
|
47
|
+
FastlaneCore::ConfigItem.new(key: :production_app_key,
|
48
|
+
optional: true,
|
49
|
+
env_name: "URBAN_AIRSHIP_PRODUCTION_APP_KEY",
|
50
|
+
description: "The production app key"),
|
51
|
+
FastlaneCore::ConfigItem.new(key: :production_app_secret,
|
52
|
+
optional: true,
|
53
|
+
env_name: "URBAN_AIRSHIP_PRODUCTION_APP_SECRET",
|
54
|
+
description: "The production app secret"),
|
55
|
+
FastlaneCore::ConfigItem.new(key: :detect_provisioning_mode,
|
56
|
+
env_name: "URBAN_AIRSHIP_DETECT_PROVISIONING_MODE",
|
57
|
+
is_string: false,
|
58
|
+
optional: true,
|
59
|
+
description: "Automatically detect provisioning mode")
|
60
|
+
]
|
61
|
+
end
|
62
|
+
|
63
|
+
def self.authors
|
64
|
+
["kcharwood"]
|
65
|
+
end
|
66
|
+
|
67
|
+
def self.is_supported?(platform)
|
68
|
+
platform == :ios
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|
72
|
+
end
|
@@ -14,7 +14,7 @@ module Fastlane
|
|
14
14
|
# every time one of the tools is launched
|
15
15
|
available_lanes = Fastlane::FastlaneFolder.available_lanes
|
16
16
|
|
17
|
-
tool_name = ARGV.first
|
17
|
+
tool_name = ARGV.first.downcase
|
18
18
|
if tool_name && Fastlane::TOOLS.include?(tool_name.to_sym) && !available_lanes.include?(tool_name.to_sym)
|
19
19
|
# Triggering a specific tool
|
20
20
|
# This happens when the users uses things like
|
@@ -34,7 +34,7 @@ module Fastlane
|
|
34
34
|
require File.join(tool_name, "commands_generator")
|
35
35
|
|
36
36
|
# Call the tool's CommandsGenerator class and let it do its thing
|
37
|
-
Object.const_get(tool_name.
|
37
|
+
Object.const_get(tool_name.fastlane_module)::CommandsGenerator.start
|
38
38
|
rescue LoadError
|
39
39
|
# This will only happen if the tool we call here, doesn't provide
|
40
40
|
# a CommandsGenerator class yet
|
data/lib/fastlane/fast_file.rb
CHANGED
@@ -250,7 +250,7 @@ module Fastlane
|
|
250
250
|
|
251
251
|
def puts(value)
|
252
252
|
# Overwrite this, since there is already a 'puts' method defined in the Ruby standard library
|
253
|
-
value ||= yield
|
253
|
+
value ||= yield if block_given?
|
254
254
|
collector.did_launch_action(:puts)
|
255
255
|
Fastlane::Actions::PutsAction.run([value])
|
256
256
|
end
|
data/lib/fastlane/one_off.rb
CHANGED
@@ -29,7 +29,7 @@ module Fastlane
|
|
29
29
|
begin
|
30
30
|
class_ref = Fastlane::Actions.const_get(class_name)
|
31
31
|
rescue NameError
|
32
|
-
UI.
|
32
|
+
UI.user_error!("Action '#{action}' not available, run `fastlane actions` to get a full list")
|
33
33
|
end
|
34
34
|
|
35
35
|
r = Runner.new
|
data/lib/fastlane/runner.rb
CHANGED
@@ -173,9 +173,12 @@ module Fastlane
|
|
173
173
|
class_ref.run(arguments)
|
174
174
|
end
|
175
175
|
end
|
176
|
-
rescue =>
|
176
|
+
rescue FastlaneCore::Interface::FastlaneError => e # user_error!
|
177
177
|
collector.did_raise_error(method_sym)
|
178
|
-
raise
|
178
|
+
raise e
|
179
|
+
rescue => e # high chance this is actually FastlaneCore::Interface::FastlaneCrash, but can be anything else
|
180
|
+
collector.did_crash(method_sym)
|
181
|
+
raise e
|
179
182
|
end
|
180
183
|
end
|
181
184
|
|
data/lib/fastlane/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.88.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Felix Krause
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-05-
|
11
|
+
date: 2016-05-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: krausefx-shenzhen
|
@@ -148,7 +148,7 @@ dependencies:
|
|
148
148
|
requirements:
|
149
149
|
- - ">="
|
150
150
|
- !ruby/object:Gem::Version
|
151
|
-
version: 0.43.
|
151
|
+
version: 0.43.3
|
152
152
|
- - "<"
|
153
153
|
- !ruby/object:Gem::Version
|
154
154
|
version: 1.0.0
|
@@ -158,7 +158,7 @@ dependencies:
|
|
158
158
|
requirements:
|
159
159
|
- - ">="
|
160
160
|
- !ruby/object:Gem::Version
|
161
|
-
version: 0.43.
|
161
|
+
version: 0.43.3
|
162
162
|
- - "<"
|
163
163
|
- !ruby/object:Gem::Version
|
164
164
|
version: 1.0.0
|
@@ -838,6 +838,7 @@ files:
|
|
838
838
|
- lib/fastlane/actions/update_project_code_signing.rb
|
839
839
|
- lib/fastlane/actions/update_project_provisioning.rb
|
840
840
|
- lib/fastlane/actions/update_project_team.rb
|
841
|
+
- lib/fastlane/actions/update_urban_airship_configuration.rb
|
841
842
|
- lib/fastlane/actions/update_url_schemes.rb
|
842
843
|
- lib/fastlane/actions/upload_symbols_to_crashlytics.rb
|
843
844
|
- lib/fastlane/actions/upload_symbols_to_sentry.rb
|
@@ -860,7 +861,6 @@ files:
|
|
860
861
|
- lib/fastlane/commands_generator.rb
|
861
862
|
- lib/fastlane/configuration_helper.rb
|
862
863
|
- lib/fastlane/core_ext/bundler_monkey_patch.rb
|
863
|
-
- lib/fastlane/core_ext/string.rb
|
864
864
|
- lib/fastlane/documentation/actions_list.rb
|
865
865
|
- lib/fastlane/documentation/docs_generator.rb
|
866
866
|
- lib/fastlane/erb_template_helper.rb
|
@@ -908,7 +908,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
908
908
|
version: '0'
|
909
909
|
requirements: []
|
910
910
|
rubyforge_project:
|
911
|
-
rubygems_version: 2.
|
911
|
+
rubygems_version: 2.4.5.1
|
912
912
|
signing_key:
|
913
913
|
specification_version: 4
|
914
914
|
summary: The easiest way to automate building and releasing your iOS and Android apps
|