fastlane 0.12.3 → 0.12.4
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 +4 -4
- data/lib/fastlane/actions/crashlytics.rb +1 -1
- data/lib/fastlane/actions/pem.rb +8 -2
- data/lib/fastlane/actions/register_devices.rb +2 -1
- data/lib/fastlane/actions/reset_git_repo.rb +1 -0
- data/lib/fastlane/actions/xctool.rb +2 -0
- data/lib/fastlane/configuration_helper.rb +4 -2
- data/lib/fastlane/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c54426d9d5edbbcb256e21ae37f7455ffdc6e788
|
4
|
+
data.tar.gz: 4509dd17d0fe6df097f4043c747def077f483f5b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: afa6dcf6b5ecb11699f0d3b112a6c0f7d513bd5aa2e172d8dacae81f778f817dbc83de339fa08553436bbc4bd8ef5d2d4637714ead6964f10a43c83f63851e52
|
7
|
+
data.tar.gz: 7c97f77bb68851dd66dd3371e279a79765993d4bef856490c5bc109397eccf20bffeb89f2d857eb76b4828eaf7f6bed3ac93349d0f4f9408cfb46351591997bf
|
@@ -33,7 +33,7 @@ module Fastlane
|
|
33
33
|
|
34
34
|
client = Shenzhen::Plugins::Crashlytics::Client.new(params[:crashlytics_path], params[:api_token], params[:build_secret])
|
35
35
|
|
36
|
-
response = client.upload_build(ipa_path, file: params[:ipa_path], notes: params[:notes_path], emails: params[:emails], groups: params[:groups], notifications: params[:notifications])
|
36
|
+
response = client.upload_build(params[:ipa_path], file: params[:ipa_path], notes: params[:notes_path], emails: params[:emails], groups: params[:groups], notifications: params[:notifications])
|
37
37
|
|
38
38
|
if response
|
39
39
|
Helper.log.info 'Build successfully uploaded to Crashlytics'.green
|
data/lib/fastlane/actions/pem.rb
CHANGED
@@ -12,7 +12,12 @@ module Fastlane
|
|
12
12
|
success_block = params[:new_profile]
|
13
13
|
|
14
14
|
PEM.config = params
|
15
|
-
|
15
|
+
|
16
|
+
if Helper.is_test?
|
17
|
+
profile_path = './test.pem'
|
18
|
+
else
|
19
|
+
profile_path = PEM::Manager.start
|
20
|
+
end
|
16
21
|
|
17
22
|
if profile_path
|
18
23
|
success_block.call(File.expand_path(profile_path)) if success_block
|
@@ -48,7 +53,8 @@ module Fastlane
|
|
48
53
|
@options << FastlaneCore::ConfigItem.new(key: :new_profile,
|
49
54
|
env_name: "",
|
50
55
|
description: "Block that is called if there is a new profile",
|
51
|
-
optional: true
|
56
|
+
optional: true,
|
57
|
+
is_string: false)
|
52
58
|
end
|
53
59
|
@options
|
54
60
|
end
|
@@ -69,7 +69,8 @@ module Fastlane
|
|
69
69
|
FastlaneCore::ConfigItem.new(key: :devices,
|
70
70
|
env_name: "FL_REGISTER_DEVICES_DEVICES",
|
71
71
|
description: "A hash of devices, with the name as key and the UDID as value",
|
72
|
-
is_string: false
|
72
|
+
is_string: false,
|
73
|
+
optional: true),
|
73
74
|
FastlaneCore::ConfigItem.new(key: :devices_file,
|
74
75
|
env_name: "FL_REGISTER_DEVICES_FILE",
|
75
76
|
description: "Provide a path to the devices to register",
|
@@ -39,6 +39,7 @@ module Fastlane
|
|
39
39
|
FastlaneCore::ConfigItem.new(key: :files,
|
40
40
|
env_name: "FL_RESET_GIT_FILES",
|
41
41
|
description: "Array of files the changes should be discarded from. If not given, all files will be discarded",
|
42
|
+
optional: true,
|
42
43
|
verify_block: Proc.new do |value|
|
43
44
|
raise "Please pass an array only" unless value.kind_of?Array
|
44
45
|
end),
|
@@ -18,8 +18,10 @@ module Fastlane
|
|
18
18
|
|
19
19
|
end
|
20
20
|
rescue => ex
|
21
|
-
|
22
|
-
|
21
|
+
if action.respond_to?:action_name
|
22
|
+
Helper.log.fatal "You invalid parameters to '#{action.action_name}'.".red
|
23
|
+
Helper.log.fatal "Check out the error below and available options by running `fastlane action #{action.action_name}`".red
|
24
|
+
end
|
23
25
|
raise ex
|
24
26
|
end
|
25
27
|
end
|
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: 0.12.
|
4
|
+
version: 0.12.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Felix Krause
|
@@ -170,14 +170,14 @@ dependencies:
|
|
170
170
|
requirements:
|
171
171
|
- - '>='
|
172
172
|
- !ruby/object:Gem::Version
|
173
|
-
version: 0.
|
173
|
+
version: 0.7.0
|
174
174
|
type: :runtime
|
175
175
|
prerelease: false
|
176
176
|
version_requirements: !ruby/object:Gem::Requirement
|
177
177
|
requirements:
|
178
178
|
- - '>='
|
179
179
|
- !ruby/object:Gem::Version
|
180
|
-
version: 0.
|
180
|
+
version: 0.7.0
|
181
181
|
- !ruby/object:Gem::Dependency
|
182
182
|
name: frameit
|
183
183
|
requirement: !ruby/object:Gem::Requirement
|