fastlane 2.19.0.beta.20170227010016 → 2.19.0.beta.20170228010016

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bf81c80dee2d26f0beca01d4ff8df60e1e2b1b73
4
- data.tar.gz: f7bfad57c952cc2d056414af8352325b0a4cd4a4
3
+ metadata.gz: 064f74308c52039deaa3a95b9f6f03b06911029e
4
+ data.tar.gz: 665070e2c38b0bb3afde12905a037a784b03f0e5
5
5
  SHA512:
6
- metadata.gz: c18246b9f927691927be19483bfd381e669ce7623ece52c619b51e5ed65be6942b6043044e17935e9bbdc7452507430932b519d38bba7ecffff39c3e30ea9696
7
- data.tar.gz: a884fe2426fed2d5757c763d358bcd72422894f9ec89bbcadebe3cfaf0a8be677e05406cdc112a5933f5390e6b38474b81a7adbb5cc35d93dd605afe280dc9c1
6
+ metadata.gz: 1cae40fb551e891602895d66577c54088e81b229f5c9176834fd47668bae11300d1084985226040885eff30e32eca64603d51611ae3d5d52e48faa3b1cbfe082
7
+ data.tar.gz: e739220beaa15fa07ba060c39619a616771f7b13d53819c0c00de2fc699d9d1e5ace41bf0071e7d232ed12b6a32f6cfe1ccb555198bc174d4ee693b4ff50fb36
@@ -1,4 +1,4 @@
1
1
  module Fastlane
2
- VERSION = '2.19.0.beta.20170227010016'.freeze
2
+ VERSION = '2.19.0.beta.20170228010016'.freeze
3
3
  DESCRIPTION = "The easiest way to automate beta deployments and releases for your iOS and Android apps".freeze
4
4
  end
@@ -6,7 +6,7 @@ module Match
6
6
  @dir = Dir.mktmpdir
7
7
 
8
8
  command = "git clone '#{git_url}' '#{@dir}'"
9
- command << " --depth 1" if shallow_clone
9
+ command << " --depth 1 --no-single-branch" if shallow_clone
10
10
 
11
11
  UI.message "Cloning remote git repo..."
12
12
  begin
@@ -90,7 +90,6 @@ module Match
90
90
  return unless @dir
91
91
 
92
92
  FileUtils.rm_rf(@dir)
93
- UI.success "🔒 Successfully encrypted certificates repo" # so the user is happy
94
93
  @dir = nil
95
94
  end
96
95
 
@@ -276,7 +276,7 @@ module Spaceship
276
276
  return profiles if self == ProvisioningProfile
277
277
 
278
278
  # To distinguish between AppStore and AdHoc profiles, we need to send
279
- # a details request (see `fetch_details`). This is an expensive operation
279
+ # a details request (see `profile_details`). This is an expensive operation
280
280
  # which we can't do for every single provisioning profile
281
281
  # Instead we'll treat App Store profiles the same way as Ad Hoc profiles
282
282
  # Spaceship::ProvisioningProfile::AdHoc.all will return the same array as
@@ -460,8 +460,6 @@ module Spaceship
460
460
  end
461
461
 
462
462
  def devices
463
- fetch_details
464
-
465
463
  if (@devices || []).empty?
466
464
  @devices = (self.profile_details["devices"] || []).collect do |device|
467
465
  Device.set_client(client).factory(device)
@@ -472,8 +470,6 @@ module Spaceship
472
470
  end
473
471
 
474
472
  def certificates
475
- fetch_details
476
-
477
473
  if (@certificates || []).empty?
478
474
  @certificates = (profile_details["certificates"] || []).collect do |cert|
479
475
  Certificate.set_client(client).factory(cert)
@@ -484,8 +480,6 @@ module Spaceship
484
480
  end
485
481
 
486
482
  def app
487
- fetch_details
488
-
489
483
  App.set_client(client).new(profile_details['appId'])
490
484
  end
491
485
 
@@ -497,12 +491,11 @@ module Spaceship
497
491
  return devices.count > 0
498
492
  end
499
493
 
500
- private
501
-
502
- def fetch_details
494
+ # This is an expensive operation as it triggers a new request
495
+ def profile_details
503
496
  # Since 15th September 2016 certificates and devices are hidden behind another request
504
497
  # see https://github.com/fastlane/fastlane/issues/6137 for more information
505
- self.profile_details ||= client.provisioning_profile_details(provisioning_profile_id: self.id, mac: mac?)
498
+ @profile_details ||= client.provisioning_profile_details(provisioning_profile_id: self.id, mac: mac?)
506
499
  end
507
500
  end
508
501
  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.19.0.beta.20170227010016
4
+ version: 2.19.0.beta.20170228010016
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Krause
@@ -14,7 +14,7 @@ authors:
14
14
  autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
- date: 2017-02-27 00:00:00.000000000 Z
17
+ date: 2017-02-28 00:00:00.000000000 Z
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
20
20
  name: slack-notifier
@@ -1294,23 +1294,23 @@ metadata: {}
1294
1294
  post_install_message:
1295
1295
  rdoc_options: []
1296
1296
  require_paths:
1297
- - snapshot/lib
1298
- - gym/lib
1299
- - supply/lib
1300
- - scan/lib
1301
- - produce/lib
1302
- - screengrab/lib
1303
- - pilot/lib
1304
- - fastlane/lib
1297
+ - pem/lib
1305
1298
  - sigh/lib
1306
- - deliver/lib
1307
- - credentials_manager/lib
1308
1299
  - cert/lib
1309
- - frameit/lib
1300
+ - snapshot/lib
1301
+ - credentials_manager/lib
1302
+ - pilot/lib
1310
1303
  - fastlane_core/lib
1311
- - pem/lib
1304
+ - frameit/lib
1312
1305
  - spaceship/lib
1306
+ - supply/lib
1307
+ - deliver/lib
1308
+ - screengrab/lib
1313
1309
  - match/lib
1310
+ - gym/lib
1311
+ - produce/lib
1312
+ - scan/lib
1313
+ - fastlane/lib
1314
1314
  required_ruby_version: !ruby/object:Gem::Requirement
1315
1315
  requirements:
1316
1316
  - - ">="