fastlane 1.39.0 → 1.40.0

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: c17042efc66650368a9a373243e0409aeb8b5b95
4
- data.tar.gz: c94e6360b80a8aafa1d4ed23f4a827f4aef2a539
3
+ metadata.gz: fe65ab14512dd872e82b7c7ed9912ea04c71df76
4
+ data.tar.gz: 99ef467b3b209a5a522d94947d1e8a927aa19090
5
5
  SHA512:
6
- metadata.gz: 64ebadfcbd3f245d34e29296e2b089b5b121752ac8b04148b37294047e4423df59dc53b9a58fc74772692c97f26b8be865b46a49657982157d4be98f9a266008
7
- data.tar.gz: 0a5eed734d8c8da48650cdc225138086f065bead935f7e7b02486dfff533cba74791d6cbeeecc9e2718e38e4a48e945c42e6e3880612cd9dc5decd366a7fc4f3
6
+ metadata.gz: 01029294d4fd3de5ded813fe4b0c0d56ba930c9b8617438c87c4cdffd2bd2798794fe18a36a19a71be97df3a1fe9821c6c0d294c4edf06f0fcb231eacc78cdf3
7
+ data.tar.gz: 3e0bf0d631f841a20d75d20444abdb16225b85d300d696678a7ab7fc493e2918d40e197352603a7c90216642a01f0fe91999e60e65d4fd33173ca2a7a3fa7282
@@ -26,7 +26,7 @@ module Fastlane
26
26
  cmd << "--without #{params[:without]}" if params[:without]
27
27
  cmd << "--with #{params[:with]}" if params[:with]
28
28
 
29
- Actions.sh(cmd.join(' '))
29
+ return sh(cmd.join(' '))
30
30
  else
31
31
  Helper.log.info "No Gemfile found"
32
32
  end
@@ -39,7 +39,7 @@ module Fastlane
39
39
  possible_gemfiles.insert(0, params[:gemfile]) if params[:gemfile]
40
40
  possible_gemfiles.each do |gemfile|
41
41
  gemfile = File.absolute_path(gemfile)
42
- return true if File.exist? gemfile
42
+ return true if File.exist?(gemfile)
43
43
  Helper.log.info "Gemfile not found at: '#{gemfile}'"
44
44
  end
45
45
  return false
@@ -65,7 +65,7 @@ module Fastlane
65
65
  FastlaneCore::ConfigItem.new(key: :crashlytics_path,
66
66
  env_name: "CRASHLYTICS_FRAMEWORK_PATH",
67
67
  description: "Path to the submit binary in the Crashlytics bundle (iOS) or `crashlytics-devtools.jar` file (Android)",
68
- default_value: Dir["./Pods/Crashlytics/Crashlytics.framework"].last,
68
+ default_value: Dir["./Pods/Crashlytics/Crashlytics.framework"].last || Dir["./**/Crashlytics.framework"].last,
69
69
  optional: true,
70
70
  verify_block: proc do |value|
71
71
  raise "Couldn't find crashlytics at path '#{File.expand_path(value)}'`".red unless File.exist?(File.expand_path(value))
@@ -72,14 +72,14 @@ module Fastlane
72
72
  end),
73
73
  FastlaneCore::ConfigItem.new(key: :ipa,
74
74
  env_name: "FL_HOCKEY_IPA",
75
- description: "Path to your IPA file. Optional if you use the `gym` or `xcodebuild` action. For Mac zip the .app",
75
+ description: "Path to your IPA file. Optional if you use the `gym` or `xcodebuild` action. For Mac zip the .app. For Android provide path to .apk file",
76
76
  default_value: Actions.lane_context[SharedValues::IPA_OUTPUT_PATH],
77
77
  verify_block: proc do |value|
78
78
  raise "Couldn't find ipa file at path '#{value}'".red unless File.exist?(value)
79
79
  end),
80
80
  FastlaneCore::ConfigItem.new(key: :dsym,
81
81
  env_name: "FL_HOCKEY_DSYM",
82
- description: "Path to your DSYM file",
82
+ description: "Path to your symbols file. For iOS and Mac provide path to app.dSYM.zip. For Android provide path to mappings.txt file",
83
83
  default_value: Actions.lane_context[SharedValues::DSYM_OUTPUT_PATH],
84
84
  optional: true,
85
85
  verify_block: proc do |value|
@@ -157,7 +157,7 @@ module Fastlane
157
157
  end
158
158
 
159
159
  def self.is_supported?(platform)
160
- [:ios, :mac].include? platform
160
+ [:ios, :mac, :android].include? platform
161
161
  end
162
162
  end
163
163
  end
@@ -72,6 +72,7 @@ module Fastlane
72
72
 
73
73
  Helper.log.info "You are using legacy `shenzhen` to build your app".yellow
74
74
  Helper.log.info "It is recommended to upgrade to `gym`".yellow
75
+ Helper.log.info "To do so, just replace `ipa(...)` with `gym(...)` in your Fastfile".yellow
75
76
  Helper.log.info "https://github.com/fastlane/gym".yellow
76
77
  rescue => ex
77
78
  [
@@ -0,0 +1,41 @@
1
+ module Fastlane
2
+ module Actions
3
+ class NumberOfCommitsAction < Action
4
+ def self.is_git?
5
+ Actions.sh 'git rev-parse HEAD'
6
+ return true
7
+ rescue
8
+ return false
9
+ end
10
+
11
+ def self.run(params)
12
+ if is_git?
13
+ command = 'git rev-list HEAD --count'
14
+ else
15
+ raise "Not in a git repository."
16
+ end
17
+ return Actions.sh(command).strip.to_i
18
+ end
19
+
20
+ #####################################################
21
+ # @!group Documentation
22
+ #####################################################
23
+
24
+ def self.description
25
+ "Return the total number of all commits in current git repo"
26
+ end
27
+
28
+ def self.return_value
29
+ "The total number of all commits in current git repo"
30
+ end
31
+
32
+ def self.authors
33
+ ["onevcat"]
34
+ end
35
+
36
+ def self.is_supported?(platform)
37
+ true
38
+ end
39
+ end
40
+ end
41
+ end
@@ -1,3 +1,3 @@
1
1
  module Fastlane
2
- VERSION = '1.39.0'
2
+ VERSION = '1.40.0'
3
3
  end
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.39.0
4
+ version: 1.40.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: 2015-11-12 00:00:00.000000000 Z
11
+ date: 2015-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: krausefx-shenzhen
@@ -176,7 +176,7 @@ dependencies:
176
176
  requirements:
177
177
  - - ">="
178
178
  - !ruby/object:Gem::Version
179
- version: 0.26.1
179
+ version: 0.26.3
180
180
  - - "<"
181
181
  - !ruby/object:Gem::Version
182
182
  version: 1.0.0
@@ -186,7 +186,7 @@ dependencies:
186
186
  requirements:
187
187
  - - ">="
188
188
  - !ruby/object:Gem::Version
189
- version: 0.26.1
189
+ version: 0.26.3
190
190
  - - "<"
191
191
  - !ruby/object:Gem::Version
192
192
  version: 1.0.0
@@ -216,7 +216,7 @@ dependencies:
216
216
  requirements:
217
217
  - - ">="
218
218
  - !ruby/object:Gem::Version
219
- version: 0.14.0
219
+ version: 0.14.2
220
220
  - - "<"
221
221
  - !ruby/object:Gem::Version
222
222
  version: 1.0.0
@@ -226,7 +226,7 @@ dependencies:
226
226
  requirements:
227
227
  - - ">="
228
228
  - !ruby/object:Gem::Version
229
- version: 0.14.0
229
+ version: 0.14.2
230
230
  - - "<"
231
231
  - !ruby/object:Gem::Version
232
232
  version: 1.0.0
@@ -236,7 +236,7 @@ dependencies:
236
236
  requirements:
237
237
  - - ">="
238
238
  - !ruby/object:Gem::Version
239
- version: 1.5.0
239
+ version: 1.5.1
240
240
  - - "<"
241
241
  - !ruby/object:Gem::Version
242
242
  version: 2.0.0
@@ -246,7 +246,7 @@ dependencies:
246
246
  requirements:
247
247
  - - ">="
248
248
  - !ruby/object:Gem::Version
249
- version: 1.5.0
249
+ version: 1.5.1
250
250
  - - "<"
251
251
  - !ruby/object:Gem::Version
252
252
  version: 2.0.0
@@ -256,7 +256,7 @@ dependencies:
256
256
  requirements:
257
257
  - - ">="
258
258
  - !ruby/object:Gem::Version
259
- version: 1.0.4
259
+ version: 1.1.1
260
260
  - - "<"
261
261
  - !ruby/object:Gem::Version
262
262
  version: 2.0.0
@@ -266,7 +266,7 @@ dependencies:
266
266
  requirements:
267
267
  - - ">="
268
268
  - !ruby/object:Gem::Version
269
- version: 1.0.4
269
+ version: 1.1.1
270
270
  - - "<"
271
271
  - !ruby/object:Gem::Version
272
272
  version: 2.0.0
@@ -276,7 +276,7 @@ dependencies:
276
276
  requirements:
277
277
  - - ">="
278
278
  - !ruby/object:Gem::Version
279
- version: 2.2.2
279
+ version: 2.3.0
280
280
  - - "<"
281
281
  - !ruby/object:Gem::Version
282
282
  version: 3.0.0
@@ -286,7 +286,7 @@ dependencies:
286
286
  requirements:
287
287
  - - ">="
288
288
  - !ruby/object:Gem::Version
289
- version: 2.2.2
289
+ version: 2.3.0
290
290
  - - "<"
291
291
  - !ruby/object:Gem::Version
292
292
  version: 3.0.0
@@ -296,7 +296,7 @@ dependencies:
296
296
  requirements:
297
297
  - - ">="
298
298
  - !ruby/object:Gem::Version
299
- version: 1.0.0
299
+ version: 1.0.1
300
300
  - - "<"
301
301
  - !ruby/object:Gem::Version
302
302
  version: 2.0.0
@@ -306,7 +306,7 @@ dependencies:
306
306
  requirements:
307
307
  - - ">="
308
308
  - !ruby/object:Gem::Version
309
- version: 1.0.0
309
+ version: 1.0.1
310
310
  - - "<"
311
311
  - !ruby/object:Gem::Version
312
312
  version: 2.0.0
@@ -316,7 +316,7 @@ dependencies:
316
316
  requirements:
317
317
  - - ">="
318
318
  - !ruby/object:Gem::Version
319
- version: 1.1.0
319
+ version: 1.2.3
320
320
  - - "<"
321
321
  - !ruby/object:Gem::Version
322
322
  version: 2.0.0
@@ -326,7 +326,7 @@ dependencies:
326
326
  requirements:
327
327
  - - ">="
328
328
  - !ruby/object:Gem::Version
329
- version: 1.1.0
329
+ version: 1.2.3
330
330
  - - "<"
331
331
  - !ruby/object:Gem::Version
332
332
  version: 2.0.0
@@ -376,7 +376,7 @@ dependencies:
376
376
  requirements:
377
377
  - - ">="
378
378
  - !ruby/object:Gem::Version
379
- version: 1.1.1
379
+ version: 1.1.5
380
380
  - - "<"
381
381
  - !ruby/object:Gem::Version
382
382
  version: 2.0.0
@@ -386,7 +386,7 @@ dependencies:
386
386
  requirements:
387
387
  - - ">="
388
388
  - !ruby/object:Gem::Version
389
- version: 1.1.1
389
+ version: 1.1.5
390
390
  - - "<"
391
391
  - !ruby/object:Gem::Version
392
392
  version: 2.0.0
@@ -396,7 +396,7 @@ dependencies:
396
396
  requirements:
397
397
  - - ">="
398
398
  - !ruby/object:Gem::Version
399
- version: 1.0.0
399
+ version: 1.0.1
400
400
  - - "<"
401
401
  - !ruby/object:Gem::Version
402
402
  version: 2.0.0
@@ -406,7 +406,7 @@ dependencies:
406
406
  requirements:
407
407
  - - ">="
408
408
  - !ruby/object:Gem::Version
409
- version: 1.0.0
409
+ version: 1.0.1
410
410
  - - "<"
411
411
  - !ruby/object:Gem::Version
412
412
  version: 2.0.0
@@ -436,7 +436,7 @@ dependencies:
436
436
  requirements:
437
437
  - - ">="
438
438
  - !ruby/object:Gem::Version
439
- version: 0.2.1
439
+ version: 0.3.0
440
440
  - - "<"
441
441
  - !ruby/object:Gem::Version
442
442
  version: 1.0.0
@@ -446,7 +446,7 @@ dependencies:
446
446
  requirements:
447
447
  - - ">="
448
448
  - !ruby/object:Gem::Version
449
- version: 0.2.1
449
+ version: 0.3.0
450
450
  - - "<"
451
451
  - !ruby/object:Gem::Version
452
452
  version: 1.0.0
@@ -652,6 +652,7 @@ files:
652
652
  - lib/fastlane/actions/nexus_upload.rb
653
653
  - lib/fastlane/actions/notification.rb
654
654
  - lib/fastlane/actions/notify.rb
655
+ - lib/fastlane/actions/number_of_commits.rb
655
656
  - lib/fastlane/actions/oclint.rb
656
657
  - lib/fastlane/actions/opt_out_usage.rb
657
658
  - lib/fastlane/actions/pem.rb