pilot 1.0.0 → 1.0.1

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: b3a798617cc11761e7f9b9329ce46d51959c20c5
4
- data.tar.gz: 0d70a2cf1ad30fbcc777954a503ba399fedefceb
3
+ metadata.gz: e235ff03354fedd62cd8f07223b8998904a43c8b
4
+ data.tar.gz: 442cc97a0fddbf26615360f807d2aac72ed2962b
5
5
  SHA512:
6
- metadata.gz: 6aac9b20969fbea489c2b8dacd858b65b5bc6d251b7289a75fe99dcd8100b8a377fc2157fafe36655a8491bbf4e9d7b0bd9b35096568a3286c3951cee87871e7
7
- data.tar.gz: d31c00d7484b545d6f3c7152b3f6a79283feaf4350f65a51606f14c58e3882725419d0d0ff5c909a8a6d1527d82f48638c6a31a2d327917ecf2003c22ad10c0c
6
+ metadata.gz: b3003cc844a5147395f043e9774c4249303167da029b3000f01076b364af9dfe3ba759baa5e4aaf0718251f47475e2a7314073a151ed6da694c2b89588e0e979
7
+ data.tar.gz: efc81903543d5752d23194f6dfb82a253a9f3071f92642d6b5cd7f67535691b314badaec052b2f19a7472e19f0640c35ee93406b7112922341e5324b5c9a1785
data/README.md CHANGED
@@ -1,23 +1,23 @@
1
1
  <h3 align="center">
2
- <a href="https://github.com/KrauseFx/fastlane">
2
+ <a href="https://github.com/fastlane/fastlane">
3
3
  <img src="assets/fastlane.png" width="150" />
4
4
  <br />
5
5
  fastlane
6
6
  </a>
7
7
  </h3>
8
8
  <p align="center">
9
- <a href="https://github.com/KrauseFx/deliver">deliver</a> &bull;
10
- <a href="https://github.com/KrauseFx/snapshot">snapshot</a> &bull;
11
- <a href="https://github.com/KrauseFx/frameit">frameit</a> &bull;
12
- <a href="https://github.com/KrauseFx/PEM">PEM</a> &bull;
13
- <a href="https://github.com/KrauseFx/sigh">sigh</a> &bull;
14
- <a href="https://github.com/KrauseFx/produce">produce</a> &bull;
15
- <a href="https://github.com/KrauseFx/cert">cert</a> &bull;
16
- <a href="https://github.com/KrauseFx/codes">codes</a> &bull;
9
+ <a href="https://github.com/fastlane/deliver">deliver</a> &bull;
10
+ <a href="https://github.com/fastlane/snapshot">snapshot</a> &bull;
11
+ <a href="https://github.com/fastlane/frameit">frameit</a> &bull;
12
+ <a href="https://github.com/fastlane/PEM">PEM</a> &bull;
13
+ <a href="https://github.com/fastlane/sigh">sigh</a> &bull;
14
+ <a href="https://github.com/fastlane/produce">produce</a> &bull;
15
+ <a href="https://github.com/fastlane/cert">cert</a> &bull;
17
16
  <a href="https://github.com/fastlane/spaceship">spaceship</a> &bull;
18
17
  <b>pilot</b> &bull;
19
18
  <a href="https://github.com/fastlane/boarding">boarding</a> &bull;
20
- <a href="https://github.com/fastlane/gym">gym</a>
19
+ <a href="https://github.com/fastlane/gym">gym</a> &bull;
20
+ <a href="https://github.com/fastlane/scan">scan</a>
21
21
  </p>
22
22
  -------
23
23
 
@@ -28,7 +28,7 @@
28
28
  Pilot
29
29
  ============
30
30
  [![Twitter: @KauseFx](https://img.shields.io/badge/contact-@KrauseFx-blue.svg?style=flat)](https://twitter.com/KrauseFx)
31
- [![License](http://img.shields.io/badge/license-MIT-green.svg?style=flat)](https://github.com/fastlane/pilot/blob/master/LICENSE)
31
+ [![License](https://img.shields.io/badge/license-MIT-green.svg?style=flat)](https://github.com/fastlane/pilot/blob/master/LICENSE)
32
32
  [![Gem](https://img.shields.io/gem/v/pilot.svg?style=flat)](http://rubygems.org/gems/pilot)
33
33
 
34
34
 
@@ -229,15 +229,17 @@ pilot import -c ~/Desktop/testers.csv
229
229
  ## [`fastlane`](https://fastlane.tools) Toolchain
230
230
 
231
231
  - [`fastlane`](https://fastlane.tools): Connect all deployment tools into one streamlined workflow
232
- - [`deliver`](https://github.com/KrauseFx/deliver): Upload screenshots, metadata and your app to the App Store
233
- - [`snapshot`](https://github.com/KrauseFx/snapshot): Automate taking localized screenshots of your iOS app on every device
234
- - [`frameit`](https://github.com/KrauseFx/frameit): Quickly put your screenshots into the right device frames
235
- - [`PEM`](https://github.com/KrauseFx/pem): Automatically generate and renew your push notification profiles
236
- - [`produce`](https://github.com/KrauseFx/produce): Create new iOS apps on iTunes Connect and Dev Portal using the command line
237
- - [`cert`](https://github.com/KrauseFx/cert): Automatically create and maintain iOS code signing certificates
232
+ - [`deliver`](https://github.com/fastlane/deliver): Upload screenshots, metadata and your app to the App Store
233
+ - [`snapshot`](https://github.com/fastlane/snapshot): Automate taking localized screenshots of your iOS app on every device
234
+ - [`frameit`](https://github.com/fastlane/frameit): Quickly put your screenshots into the right device frames
235
+ - [`produce`](https://github.com/fastlane/produce): Create new iOS apps on iTunes Connect and Dev Portal using the command line
236
+ - [`PEM`](https://github.com/fastlane/PEM): Automatically generate and renew your push notification profiles
237
+ - [`sigh`](https://github.com/fastlane/sigh): Because you would rather spend your time building stuff than fighting provisioning
238
+ - [`cert`](https://github.com/fastlane/cert): Automatically create and maintain iOS code signing certificates
238
239
  - [`spaceship`](https://github.com/fastlane/spaceship): Ruby library to access the Apple Dev Center and iTunes Connect
239
- - [`boarding`](https://github.com/fastlane/boarding): The easiest way to invite your TestFlight beta testers
240
+ - [`boarding`](https://github.com/fastlane/boarding): The easiest way to invite your TestFlight beta testers
240
241
  - [`gym`](https://github.com/fastlane/gym): Building your iOS apps has never been easier
242
+ - [`scan`](https://github.com/fastlane/scan): The easiest way to run tests of your iOS and Mac app
241
243
 
242
244
  ##### [Like this tool? Be the first to know about updates and new fastlane tools](https://tinyletter.com/krausefx)
243
245
 
@@ -257,7 +259,7 @@ DELIVER_ITMSTRANSPORTER_ADDITIONAL_UPLOAD_PARAMETERS="-t DAV" pilot ...
257
259
 
258
260
  ## How is my password stored?
259
261
 
260
- `pilot` uses the [CredentialsManager](https://github.com/fastlane/CredentialsManager) from `fastlane`.
262
+ `pilot` uses the [CredentialsManager](https://github.com/fastlane/credentials_manager) from `fastlane`.
261
263
 
262
264
  # Need help?
263
265
  Please submit an issue on GitHub and provide information about your setup
@@ -64,10 +64,12 @@ module Pilot
64
64
  # the upload date of the new buid
65
65
  # we use it to identify the build
66
66
 
67
+ start = Time.now
68
+ wait_processing_interval = config[:wait_processing_interval].to_i
67
69
  latest_build = nil
68
70
  loop do
69
71
  Helper.log.info "Waiting for iTunes Connect to process the new build"
70
- sleep 30
72
+ sleep wait_processing_interval
71
73
  builds = app.all_processing_builds
72
74
  break if builds.count == 0
73
75
  latest_build = builds.last # store the latest pre-processing build here
@@ -83,11 +85,14 @@ module Pilot
83
85
  end
84
86
 
85
87
  Helper.log.info "Waiting for iTunes Connect to finish processing the new build (#{full_build.train_version} - #{full_build.build_version})"
86
- sleep 5
88
+ sleep wait_processing_interval
87
89
  end
88
90
 
89
91
  if full_build
90
- Helper.log.info "Build successfully processed by iTunes Connect".green
92
+ minutes = ((Time.now - start) / 60).round
93
+ Helper.log.info "Successfully finished processing the build".green
94
+ Helper.log.info "You can now tweet: "
95
+ Helper.log.info "iTunes Connect #iosprocessingtime #{minutes} minutes".yellow
91
96
  return full_build
92
97
  else
93
98
  raise "Error: Seems like iTunes Connect didn't properly pre-process the binary".red
@@ -66,7 +66,16 @@ module Pilot
66
66
  env_name: "PILOT_TESTERS_FILE",
67
67
  description: "Path to a CSV file of testers",
68
68
  default_value: "./testers.csv",
69
- optional: true)
69
+ optional: true),
70
+ FastlaneCore::ConfigItem.new(key: :wait_processing_interval,
71
+ short_option: "-k",
72
+ env_name: "PILOT_WAIT_PROCESSING_INTERVAL",
73
+ description: "Interval in seconds to wait for iTunes Connect processing",
74
+ default_value: 30,
75
+ is_string: false,
76
+ verify_block: proc do |value|
77
+ raise "Please enter a valid positive number of seconds" unless value.to_i > 0
78
+ end)
70
79
 
71
80
  ]
72
81
  end
@@ -1,4 +1,4 @@
1
1
  module Pilot
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  DESCRIPTION = "The best way to manage your TestFlight testers and builds from your terminal"
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pilot
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
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-10-17 00:00:00.000000000 Z
11
+ date: 2015-11-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fastlane_core
@@ -36,7 +36,7 @@ dependencies:
36
36
  requirements:
37
37
  - - ">="
38
38
  - !ruby/object:Gem::Version
39
- version: 0.12.0
39
+ version: 0.14.0
40
40
  - - "<"
41
41
  - !ruby/object:Gem::Version
42
42
  version: 1.0.0
@@ -46,7 +46,7 @@ dependencies:
46
46
  requirements:
47
47
  - - ">="
48
48
  - !ruby/object:Gem::Version
49
- version: 0.12.0
49
+ version: 0.14.0
50
50
  - - "<"
51
51
  - !ruby/object:Gem::Version
52
52
  version: 1.0.0
@@ -247,7 +247,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
247
247
  version: '0'
248
248
  requirements: []
249
249
  rubyforge_project:
250
- rubygems_version: 2.4.8
250
+ rubygems_version: 2.4.0
251
251
  signing_key:
252
252
  specification_version: 4
253
253
  summary: The best way to manage your TestFlight testers and builds from your terminal