fastlane 1.70.0 → 1.80.0
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/bin/fastlane +3 -1
- data/lib/fastlane/actions/clean_build_artifacts.rb +3 -2
- data/lib/fastlane/new_action.rb +12 -4
- data/lib/fastlane/version.rb +1 -1
- metadata +17 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4652b394eca1184673a3cb3615ab2099860ec280
|
4
|
+
data.tar.gz: 38e7f1b85fef9e01902f73107febba75e6821eaf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a46d915f83ed3f28c11f1e59d82c70d6b675044ee4bf9e91d12307663482fa7034d4e298b03a939ed9f5b8c1a55cd952c93d5dd57b4e7c9410f7c3dc4ca633c
|
7
|
+
data.tar.gz: 6307693b4b2ea4f225269491e216df7d42fdd90c78089b74b3422cea4e910a2fc4d8abe8598bd86f672b2fe0d6b7636d1da8f23485dd69d9cf738999c8c3d8e0
|
data/bin/fastlane
CHANGED
@@ -56,8 +56,10 @@ class FastlaneApplication
|
|
56
56
|
c.syntax = 'fastlane new_action'
|
57
57
|
c.description = 'Create a new custom action for fastlane.'
|
58
58
|
|
59
|
+
c.option '--name STRING', String, 'Name of your new action'
|
60
|
+
|
59
61
|
c.action do |args, options|
|
60
|
-
Fastlane::NewAction.run
|
62
|
+
Fastlane::NewAction.run(new_action_name: options.name)
|
61
63
|
end
|
62
64
|
end
|
63
65
|
|
@@ -4,7 +4,8 @@ module Fastlane
|
|
4
4
|
def self.run(options)
|
5
5
|
paths = [
|
6
6
|
Actions.lane_context[Actions::SharedValues::IPA_OUTPUT_PATH],
|
7
|
-
Actions.lane_context[Actions::SharedValues::DSYM_OUTPUT_PATH]
|
7
|
+
Actions.lane_context[Actions::SharedValues::DSYM_OUTPUT_PATH],
|
8
|
+
Actions.lane_context[Actions::SharedValues::CERT_FILE_PATH]
|
8
9
|
]
|
9
10
|
|
10
11
|
paths += Actions.lane_context[Actions::SharedValues::SIGH_PROFILE_PATHS] || []
|
@@ -34,7 +35,7 @@ module Fastlane
|
|
34
35
|
end
|
35
36
|
|
36
37
|
def self.description
|
37
|
-
"Deletes files created as result of running ipa or
|
38
|
+
"Deletes files created as result of running ipa, cert, sigh or download_dsyms"
|
38
39
|
end
|
39
40
|
|
40
41
|
def self.author
|
data/lib/fastlane/new_action.rb
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
module Fastlane
|
2
2
|
# Guides the new user through creating a new action
|
3
3
|
module NewAction
|
4
|
-
def self.run
|
5
|
-
name = fetch_name
|
4
|
+
def self.run(new_action_name: nil)
|
5
|
+
name = new_action_name && check_action_name_from_args(new_action_name) ? new_action_name : fetch_name
|
6
6
|
generate_action(name)
|
7
7
|
end
|
8
8
|
|
@@ -11,7 +11,7 @@ module Fastlane
|
|
11
11
|
puts "examples: 'testflight', 'upload_to_s3'".green
|
12
12
|
name = ask('Name of your action: ')
|
13
13
|
until name_valid?(name)
|
14
|
-
puts
|
14
|
+
puts "Name is invalid. Please ensure the name is all lowercase, free of spaces and without special characters! Try again."
|
15
15
|
name = ask('Name of your action: ')
|
16
16
|
end
|
17
17
|
name
|
@@ -31,8 +31,16 @@ module Fastlane
|
|
31
31
|
UI.success "Created new action file '#{path}'. Edit it to implement your custom action."
|
32
32
|
end
|
33
33
|
|
34
|
+
def self.check_action_name_from_args(new_action_name)
|
35
|
+
if name_valid?(new_action_name)
|
36
|
+
new_action_name
|
37
|
+
else
|
38
|
+
puts "Name is invalid. Please ensure the name is all lowercase, free of spaces and without special characters! Try again."
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
34
42
|
def self.name_valid?(name)
|
35
|
-
name
|
43
|
+
name =~ /^[a-z0-9_]+$/
|
36
44
|
end
|
37
45
|
private_class_method :name_valid?
|
38
46
|
end
|
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.80.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-04-
|
11
|
+
date: 2016-04-05 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.41.
|
151
|
+
version: 0.41.2
|
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.41.
|
161
|
+
version: 0.41.2
|
162
162
|
- - "<"
|
163
163
|
- !ruby/object:Gem::Version
|
164
164
|
version: 1.0.0
|
@@ -188,7 +188,7 @@ dependencies:
|
|
188
188
|
requirements:
|
189
189
|
- - ">="
|
190
190
|
- !ruby/object:Gem::Version
|
191
|
-
version: 0.24.
|
191
|
+
version: 0.24.1
|
192
192
|
- - "<"
|
193
193
|
- !ruby/object:Gem::Version
|
194
194
|
version: 1.0.0
|
@@ -198,7 +198,7 @@ dependencies:
|
|
198
198
|
requirements:
|
199
199
|
- - ">="
|
200
200
|
- !ruby/object:Gem::Version
|
201
|
-
version: 0.24.
|
201
|
+
version: 0.24.1
|
202
202
|
- - "<"
|
203
203
|
- !ruby/object:Gem::Version
|
204
204
|
version: 1.0.0
|
@@ -208,7 +208,7 @@ dependencies:
|
|
208
208
|
requirements:
|
209
209
|
- - ">="
|
210
210
|
- !ruby/object:Gem::Version
|
211
|
-
version: 1.
|
211
|
+
version: 1.11.0
|
212
212
|
- - "<"
|
213
213
|
- !ruby/object:Gem::Version
|
214
214
|
version: 2.0.0
|
@@ -218,7 +218,7 @@ dependencies:
|
|
218
218
|
requirements:
|
219
219
|
- - ">="
|
220
220
|
- !ruby/object:Gem::Version
|
221
|
-
version: 1.
|
221
|
+
version: 1.11.0
|
222
222
|
- - "<"
|
223
223
|
- !ruby/object:Gem::Version
|
224
224
|
version: 2.0.0
|
@@ -228,7 +228,7 @@ dependencies:
|
|
228
228
|
requirements:
|
229
229
|
- - ">="
|
230
230
|
- !ruby/object:Gem::Version
|
231
|
-
version: 1.12.
|
231
|
+
version: 1.12.1
|
232
232
|
- - "<"
|
233
233
|
- !ruby/object:Gem::Version
|
234
234
|
version: 2.0.0
|
@@ -238,7 +238,7 @@ dependencies:
|
|
238
238
|
requirements:
|
239
239
|
- - ">="
|
240
240
|
- !ruby/object:Gem::Version
|
241
|
-
version: 1.12.
|
241
|
+
version: 1.12.1
|
242
242
|
- - "<"
|
243
243
|
- !ruby/object:Gem::Version
|
244
244
|
version: 2.0.0
|
@@ -308,7 +308,7 @@ dependencies:
|
|
308
308
|
requirements:
|
309
309
|
- - ">="
|
310
310
|
- !ruby/object:Gem::Version
|
311
|
-
version: 1.6.
|
311
|
+
version: 1.6.1
|
312
312
|
- - "<"
|
313
313
|
- !ruby/object:Gem::Version
|
314
314
|
version: 2.0.0
|
@@ -318,7 +318,7 @@ dependencies:
|
|
318
318
|
requirements:
|
319
319
|
- - ">="
|
320
320
|
- !ruby/object:Gem::Version
|
321
|
-
version: 1.6.
|
321
|
+
version: 1.6.1
|
322
322
|
- - "<"
|
323
323
|
- !ruby/object:Gem::Version
|
324
324
|
version: 2.0.0
|
@@ -368,7 +368,7 @@ dependencies:
|
|
368
368
|
requirements:
|
369
369
|
- - ">="
|
370
370
|
- !ruby/object:Gem::Version
|
371
|
-
version: 1.
|
371
|
+
version: 1.5.0
|
372
372
|
- - "<"
|
373
373
|
- !ruby/object:Gem::Version
|
374
374
|
version: 2.0.0
|
@@ -378,7 +378,7 @@ dependencies:
|
|
378
378
|
requirements:
|
379
379
|
- - ">="
|
380
380
|
- !ruby/object:Gem::Version
|
381
|
-
version: 1.
|
381
|
+
version: 1.5.0
|
382
382
|
- - "<"
|
383
383
|
- !ruby/object:Gem::Version
|
384
384
|
version: 2.0.0
|
@@ -388,7 +388,7 @@ dependencies:
|
|
388
388
|
requirements:
|
389
389
|
- - ">="
|
390
390
|
- !ruby/object:Gem::Version
|
391
|
-
version: 0.6.
|
391
|
+
version: 0.6.1
|
392
392
|
- - "<"
|
393
393
|
- !ruby/object:Gem::Version
|
394
394
|
version: 1.0.0
|
@@ -398,7 +398,7 @@ dependencies:
|
|
398
398
|
requirements:
|
399
399
|
- - ">="
|
400
400
|
- !ruby/object:Gem::Version
|
401
|
-
version: 0.6.
|
401
|
+
version: 0.6.1
|
402
402
|
- - "<"
|
403
403
|
- !ruby/object:Gem::Version
|
404
404
|
version: 1.0.0
|
@@ -880,7 +880,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
880
880
|
version: '0'
|
881
881
|
requirements: []
|
882
882
|
rubyforge_project:
|
883
|
-
rubygems_version: 2.4.
|
883
|
+
rubygems_version: 2.4.8
|
884
884
|
signing_key:
|
885
885
|
specification_version: 4
|
886
886
|
summary: Connect all iOS deployment tools into one streamlined workflow
|