fastlane 0.12.3 → 0.12.4

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: 6a2c76da2d34d83e2626d19f9a9516e4638e79b4
4
- data.tar.gz: 34c4661fbc9bfe7eca6db9fc904674289e1c85a9
3
+ metadata.gz: c54426d9d5edbbcb256e21ae37f7455ffdc6e788
4
+ data.tar.gz: 4509dd17d0fe6df097f4043c747def077f483f5b
5
5
  SHA512:
6
- metadata.gz: 530579d2eb1943ebef05d0072a33bc975060810b8e8def48302052cf90ea5ff556f98ea0eb51097084b318aa793f4676291319365a271315eadd892253c68293
7
- data.tar.gz: 6429597deca797134fb893dd4fdf6d36784831c72648118110ab8ac3f565ce5ac3f336e475b2350f09ef2d77db13f27cffdf13e1922efdbbcd1b8ae7aa1cfcbd
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
@@ -12,7 +12,12 @@ module Fastlane
12
12
  success_block = params[:new_profile]
13
13
 
14
14
  PEM.config = params
15
- profile_path = PEM::Manager.start
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),
@@ -6,6 +6,8 @@ module Fastlane
6
6
  raise 'xctool not installed, please install using `brew install xctool`'.red if `which xctool`.length == 0
7
7
  end
8
8
 
9
+ params = [] if params.kind_of?FastlaneCore::Configuration
10
+
9
11
  Actions.sh('xctool ' + params.join(' '))
10
12
  end
11
13
 
@@ -18,8 +18,10 @@ module Fastlane
18
18
 
19
19
  end
20
20
  rescue => ex
21
- Helper.log.fatal "You invalid parameters to '#{action.action_name}'.".red
22
- Helper.log.fatal "Check out the error below and available options by running `fastlane action #{action.action_name}`".red
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
@@ -1,3 +1,3 @@
1
1
  module Fastlane
2
- VERSION = '0.12.3'
2
+ VERSION = '0.12.4'
3
3
  end
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.3
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.6.1
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.6.1
180
+ version: 0.7.0
181
181
  - !ruby/object:Gem::Dependency
182
182
  name: frameit
183
183
  requirement: !ruby/object:Gem::Requirement