fastlane 2.57.0.beta.20170918010003 → 2.57.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: 225183d6a040b0375f37d8ff8091c520350c8bd3
4
- data.tar.gz: 780f95038a8bd5adfe6ccac64914fdae2fa25633
3
+ metadata.gz: 10e8f1fb5cdd257016dd763712b10a137cd25524
4
+ data.tar.gz: b25964ed502fff265e0c09f9d6bc37ed9765f0b6
5
5
  SHA512:
6
- metadata.gz: 1acf4051f91e26aa605359c88dcee14f5b5b742ed09884910438b9eba860eae1045f2aa20170ac78994cdb8285752de82edcfe9be173aa973cfe9a7d27e9465c
7
- data.tar.gz: 1f90a67ecb5f6ce11cda340668f39a1b4c61e3efe2ad7df77283c12b3e8507da0b8ee521d15c122d5c184c190861d711ab93f47a6c2c3ac89868bd61d8da60ba
6
+ metadata.gz: 6bd77cd6cf7702e945891691d77e8aa72d3b9e275c3d0674c0cbbeec3d8b959d8425af7aa9bc897a88b27068bf6a17b7844475ba9b494cb6221ca0e135641a09
7
+ data.tar.gz: aed2b4f5f7fddb643ebf5f3ba0b2348558fe8205c040f1d2a1525111b519ad260feaaebb32501faa4917063eeb7b14f6f882320e625b47d65e75b6d0913eb9d4
Binary file
Binary file
@@ -28,9 +28,9 @@ module Fastlane
28
28
 
29
29
  # Set version if it is latest
30
30
  if version == 'latest'
31
- # Try to grab the live version first, else fallback to edit version
32
- latest_version = app.live_version(platform: platform) || app.edit_version(platform: platform)
33
- version = latest_version.version
31
+ # Try to grab the edit version first, else fallback to live version
32
+ latest_version = app.edit_version(platform: platform) || app.live_version(platform: platform)
33
+ version = nil
34
34
  build_number = latest_version.build_version
35
35
  end
36
36
 
@@ -64,15 +64,12 @@ module Fastlane
64
64
 
65
65
  if download_url
66
66
  result = self.download download_url
67
- file_name = "#{app.bundle_id}-#{train_number}-#{build.build_version}.dSYM.zip"
68
- if output_directory
69
- file_name = output_directory + file_name
70
- end
71
- File.write(file_name, result)
72
- UI.success("🔑 Successfully downloaded dSYM file for #{train_number} - #{build.build_version} to '#{file_name}'")
67
+ path = write_dsym(result, app.bundle_id, train_number, build_number, output_directory)
68
+ UI.success("🔑 Successfully downloaded dSYM file for #{train_number} - #{build_number} to '#{path}'")
73
69
 
74
70
  Actions.lane_context[SharedValues::DSYM_PATHS] ||= []
75
- Actions.lane_context[SharedValues::DSYM_PATHS] << File.expand_path(file_name)
71
+ Actions.lane_context[SharedValues::DSYM_PATHS] << File.expand_path(path)
72
+ break if build_number
76
73
  else
77
74
  UI.message("No dSYM URL for #{build.build_version} (#{build.train_version})")
78
75
  end
@@ -84,6 +81,15 @@ module Fastlane
84
81
  end
85
82
  end
86
83
 
84
+ def self.write_dsym(data, bundle_id, train_number, build_number, output_directory)
85
+ file_name = "#{bundle_id}-#{train_number}-#{build_number}.dSYM.zip"
86
+ if output_directory
87
+ file_name = output_directory + file_name
88
+ end
89
+ File.write(file_name, data)
90
+ file_name
91
+ end
92
+
87
93
  def self.download(url)
88
94
  uri = URI.parse(url)
89
95
  http = Net::HTTP.new(uri.host, uri.port)
@@ -240,6 +240,7 @@ Slather is available at https://github.com/SlatherOrg/slather
240
240
  FastlaneCore::ConfigItem.new(key: :source_files,
241
241
  env_name: "FL_SLATHER_SOURCE_FILES",
242
242
  description: "A Dir.glob compatible pattern used to limit the lookup to specific source files. Ignored in gcov mode",
243
+ is_string: false,
243
244
  default_value: false,
244
245
  optional: true),
245
246
  FastlaneCore::ConfigItem.new(key: :decimals,
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
- VERSION = '2.57.0.beta.20170918010003'.freeze
2
+ VERSION = '2.57.0'.freeze
3
3
  DESCRIPTION = "The easiest way to automate beta deployments and releases for your iOS and Android apps".freeze
4
4
  MINIMUM_XCODE_RELEASE = "7.0".freeze
5
5
  end
@@ -67,6 +67,9 @@ module Snapshot
67
67
  {
68
68
  # snapshot in Xcode 9 saves screenshots with the SIMULATOR_DEVICE_NAME
69
69
  # which includes spaces
70
+ 'iPhone 8 Plus' => "iPhone 8 Plus",
71
+ 'iPhone 8' => "iPhone 8",
72
+ 'iPhone X' => "iPhone X",
70
73
  'iPhone 7 Plus' => "iPhone 7 Plus (5.5-Inch)",
71
74
  'iPhone 7' => "iPhone 7 (4.7-Inch)",
72
75
  'iPhone 6s Plus' => "iPhone 6s Plus (5.5-Inch)",
@@ -83,6 +86,8 @@ module Snapshot
83
86
  'iPad Pro (12.9-inch) (2nd generation)' => 'iPad Pro (12.9-inch) (2nd generation)',
84
87
  'iPad Pro (12.9-inch)' => 'iPad Pro (12.9-inch)',
85
88
  'Apple TV 1080p' => 'Apple TV',
89
+ 'Apple TV 4K (at 1080p)' => 'Apple TV 4K (at 1080p)',
90
+ 'Apple TV 4K' => 'Apple TV 4K',
86
91
  'Mac' => 'Mac'
87
92
  }
88
93
  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: 2.57.0.beta.20170918010003
4
+ version: 2.57.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Krause
@@ -828,6 +828,7 @@ files:
828
828
  - deliver/lib/deliver/upload_price_tier.rb
829
829
  - deliver/lib/deliver/upload_screenshots.rb
830
830
  - fastlane/README.md
831
+ - fastlane/lib/.DS_Store
831
832
  - fastlane/lib/assets/ActionDetails.md.erb
832
833
  - fastlane/lib/assets/Actions.md.erb
833
834
  - fastlane/lib/assets/AppfileTemplate
@@ -845,8 +846,10 @@ files:
845
846
  - fastlane/lib/assets/s3_plist_template.erb
846
847
  - fastlane/lib/assets/s3_version_template.erb
847
848
  - fastlane/lib/fastlane.rb
849
+ - fastlane/lib/fastlane/.DS_Store
848
850
  - fastlane/lib/fastlane/action.rb
849
851
  - fastlane/lib/fastlane/action_collector.rb
852
+ - fastlane/lib/fastlane/actions/.DS_Store
850
853
  - fastlane/lib/fastlane/actions/README.md
851
854
  - fastlane/lib/fastlane/actions/actions_helper.rb
852
855
  - fastlane/lib/fastlane/actions/adb.rb
@@ -891,6 +894,8 @@ files:
891
894
  - fastlane/lib/fastlane/actions/deliver.rb
892
895
  - fastlane/lib/fastlane/actions/deploygate.rb
893
896
  - fastlane/lib/fastlane/actions/device_grid/README.md
897
+ - fastlane/lib/fastlane/actions/docs/.DS_Store
898
+ - fastlane/lib/fastlane/actions/docs/assets/.DS_Store
894
899
  - fastlane/lib/fastlane/actions/docs/assets/cert.gif
895
900
  - fastlane/lib/fastlane/actions/docs/assets/cert.png
896
901
  - fastlane/lib/fastlane/actions/docs/assets/deliver.png
@@ -1442,24 +1447,24 @@ metadata:
1442
1447
  post_install_message:
1443
1448
  rdoc_options: []
1444
1449
  require_paths:
1445
- - spaceship/lib
1446
- - scan/lib
1447
- - sigh/lib
1448
- - snapshot/lib
1449
- - screengrab/lib
1450
- - fastlane/lib
1451
1450
  - cert/lib
1452
- - pem/lib
1453
- - gym/lib
1454
- - produce/lib
1451
+ - credentials_manager/lib
1455
1452
  - deliver/lib
1456
- - supply/lib
1457
- - match/lib
1453
+ - fastlane/lib
1454
+ - fastlane_core/lib
1458
1455
  - frameit/lib
1459
- - credentials_manager/lib
1456
+ - gym/lib
1457
+ - match/lib
1458
+ - pem/lib
1460
1459
  - pilot/lib
1461
1460
  - precheck/lib
1462
- - fastlane_core/lib
1461
+ - produce/lib
1462
+ - scan/lib
1463
+ - screengrab/lib
1464
+ - sigh/lib
1465
+ - snapshot/lib
1466
+ - spaceship/lib
1467
+ - supply/lib
1463
1468
  required_ruby_version: !ruby/object:Gem::Requirement
1464
1469
  requirements:
1465
1470
  - - ">="
@@ -1467,14 +1472,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
1467
1472
  version: 2.0.0
1468
1473
  required_rubygems_version: !ruby/object:Gem::Requirement
1469
1474
  requirements:
1470
- - - ">"
1475
+ - - ">="
1471
1476
  - !ruby/object:Gem::Version
1472
- version: 1.3.1
1477
+ version: '0'
1473
1478
  requirements: []
1474
1479
  rubyforge_project:
1475
- rubygems_version: 2.4.5.1
1480
+ rubygems_version: 2.6.8
1476
1481
  signing_key:
1477
1482
  specification_version: 4
1478
1483
  summary: The easiest way to automate beta deployments and releases for your iOS and
1479
1484
  Android apps
1480
1485
  test_files: []
1486
+ has_rdoc: