pilot 0.2.2 → 0.2.3

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: 023e8fe21bab3ca50b029df71005e83208c840bd
4
- data.tar.gz: 963f7eb1626185aad32d41b539c1b4dc9275d519
3
+ metadata.gz: c404b05ec6dbe3ae48c73c02720aa682ed62e0c3
4
+ data.tar.gz: 6f578d90fdc214bb39298ac4291b91842e30fbcf
5
5
  SHA512:
6
- metadata.gz: 081f676288767feefecb3a6d93821b2fc59e17e0954b4ea4b5a2756702186b97ab33a88afd2f6021fac09d1c066364b650a5030343450d0f1a9143d4e8a38b1d
7
- data.tar.gz: f05c45148c5059ccff4321f37d581dd94924c38ab010350b7069512fbd82167e87194f563e4c1deedfbb1e79d1b11c07b1cb8accb290d51f7420bd86ab02a162
6
+ metadata.gz: 311db9f270f1c637b1ce301aeda22128efd14d2212f736d8ba9747cd43e7282e82e59e51b1ee181ba07a2af1d247184e6bfb87a49e675d3454538ae43ba36b27
7
+ data.tar.gz: 1a7a0f58d4de7fac32e305f2c2ee7ce6c93c997a609034014760271a0ad527bc69bbbe93cdad109532c84e1622958fb2dcd2f74dbc79f3627fa6f2e8063c76b4
@@ -3,6 +3,8 @@ module Pilot
3
3
  def upload(options)
4
4
  start(options)
5
5
 
6
+ raise "No ipa file given" unless config[:ipa]
7
+
6
8
  Helper.log.info "Ready to upload new build to TestFlight (App: #{app.apple_id})...".green
7
9
 
8
10
  package_path = PackageBuilder.new.generate(apple_id: app.apple_id,
@@ -64,7 +66,7 @@ module Pilot
64
66
  upload_date = nil
65
67
  loop do
66
68
  Helper.log.info "Waiting for iTunes Connect to process the new build"
67
- sleep 5
69
+ sleep 30
68
70
  builds = app.all_processing_builds
69
71
  break if builds.count == 0
70
72
  upload_date = builds.last.upload_date
@@ -93,7 +95,7 @@ module Pilot
93
95
  return true
94
96
  else
95
97
  Helper.log.info "Binary is not yet available online..."
96
- sleep 5
98
+ sleep 30
97
99
  end
98
100
  end
99
101
 
data/lib/pilot/options.rb CHANGED
@@ -12,6 +12,7 @@ module Pilot
12
12
  default_value: CredentialsManager::AppfileConfig.try_fetch_value(:apple_id)),
13
13
  FastlaneCore::ConfigItem.new(key: :ipa,
14
14
  short_option: "-i",
15
+ optional: true,
15
16
  env_name: "PILOT_IPA",
16
17
  description: "Path to the ipa file to upload",
17
18
  default_value: Dir["*.ipa"].first,
data/lib/pilot/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Pilot
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
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: 0.2.2
4
+ version: 0.2.3
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-02 00:00:00.000000000 Z
11
+ date: 2015-10-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fastlane_core
@@ -176,6 +176,34 @@ dependencies:
176
176
  - - ">="
177
177
  - !ruby/object:Gem::Version
178
178
  version: '0'
179
+ - !ruby/object:Gem::Dependency
180
+ name: fastlane
181
+ requirement: !ruby/object:Gem::Requirement
182
+ requirements:
183
+ - - ">="
184
+ - !ruby/object:Gem::Version
185
+ version: '0'
186
+ type: :development
187
+ prerelease: false
188
+ version_requirements: !ruby/object:Gem::Requirement
189
+ requirements:
190
+ - - ">="
191
+ - !ruby/object:Gem::Version
192
+ version: '0'
193
+ - !ruby/object:Gem::Dependency
194
+ name: rubocop
195
+ requirement: !ruby/object:Gem::Requirement
196
+ requirements:
197
+ - - "~>"
198
+ - !ruby/object:Gem::Version
199
+ version: '0.34'
200
+ type: :development
201
+ prerelease: false
202
+ version_requirements: !ruby/object:Gem::Requirement
203
+ requirements:
204
+ - - "~>"
205
+ - !ruby/object:Gem::Version
206
+ version: '0.34'
179
207
  description: The best way to manage your TestFlight testers and builds from your terminal
180
208
  email:
181
209
  - pilot@krausefx.com