pilot 0.1.6 → 0.1.7

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: 87dfa4283396c82c72f031ac5bed0fc5296e419a
4
- data.tar.gz: f4336b3468de1310ea6305ced106ce8c54307b50
3
+ metadata.gz: 5d7bcfccc7f27f53f0b4b1912f7c24df5a307e4f
4
+ data.tar.gz: 25d9921106e42ba76441e8b39bf8add81054dd86
5
5
  SHA512:
6
- metadata.gz: d21c455e72a76a26762ca64021289f416715c42288fad11dafae7a9922726aec833418fc20bff1f955cdab0db3b8b82008ee4c5e91bf37c334fd857db3c2e13f
7
- data.tar.gz: 575e61e1e3f70cce228cdebd7f1ee5e892ccd648074fb9162cfbdde686e858b5d27a0ce22227aeaa384e064cbce682b8fa7d8e74aaf6a9c9938dbf89401cc8a4
6
+ metadata.gz: 7017f2533d568ac56d8a6c100bcc64ea56f3bf875c2b785cab6e735a405da3395d064a70d6d8146d533e5b39421d103670d83dd6b2da1e6ba1c137ef5662e2f4
7
+ data.tar.gz: 09e0b6e551ffe3cd0c22870bf7efe38fe4a318694f664192a8853d1ba770d2e4aba36ff62e90cf765cf23d44bf5b1ed379c36335da1ec0dcdc2b1ab960994fdf
data/README.md CHANGED
@@ -246,8 +246,7 @@ If you run into any issues you can use the `verbose` mode to get a more detailed
246
246
  `pilot` uses the [CredentialsManager](https://github.com/fastlane/CredentialsManager) from `fastlane`.
247
247
 
248
248
  # Need help?
249
- - If there is a technical problem with `pilot`, submit an issue.
250
- - I'm available for contract work - drop me an email: pilot@krausefx.com
249
+ Please submit an issue on GitHub and provide information about your setup
251
250
 
252
251
  # License
253
252
  This project is licensed under the terms of the MIT license. See the LICENSE file.
@@ -9,7 +9,9 @@ module Pilot
9
9
  ipa_path: config[:ipa],
10
10
  package_path: "/tmp")
11
11
 
12
- result = FastlaneCore::ItunesTransporter.new.upload(app.apple_id, package_path)
12
+ transporter = FastlaneCore::ItunesTransporter.new(options[:username])
13
+ result = transporter.upload(app.apple_id, package_path)
14
+
13
15
  if result
14
16
  Helper.log.info "Successfully uploaded the new binary to iTunes Connect"
15
17
 
@@ -38,8 +38,6 @@ module Pilot
38
38
 
39
39
  global_option("--verbose") { $verbose = true }
40
40
 
41
- always_trace!
42
-
43
41
  command :upload do |c|
44
42
  c.syntax = "pilot upload"
45
43
  c.description = "Uploads a new binary to Apple TestFlight"
data/lib/pilot/manager.rb CHANGED
@@ -9,13 +9,10 @@ module Pilot
9
9
  end
10
10
 
11
11
  def login
12
- user = config[:username]
13
- user ||= ENV["DELIVER_USERNAME"]
14
- user ||= CredentialsManager::AppfileConfig.try_fetch_value(:apple_id)
15
- CredentialsManager::PasswordManager.shared_manager(user) if user
12
+ config[:username] ||= CredentialsManager::AppfileConfig.try_fetch_value(:apple_id)
16
13
 
17
- Helper.log.info "Login to iTunes Connect"
18
- Spaceship::Tunes.login(user, CredentialsManager::PasswordManager.shared_manager(user).password)
14
+ Helper.log.info "Login to iTunes Connect (#{config[:username]})"
15
+ Spaceship::Tunes.login(config[:username])
19
16
  Helper.log.info "Login successful"
20
17
  end
21
18
 
@@ -43,6 +40,7 @@ module Pilot
43
40
 
44
41
  if config[:app_identifier]
45
42
  @app ||= Spaceship::Application.find(config[:app_identifier])
43
+ raise "Couldn't find app '#{config[:app_identifier]}' on the account of '#{config[:username]}'".red unless @app
46
44
  app_id ||= @app.apple_id
47
45
  end
48
46
 
data/lib/pilot/options.rb CHANGED
@@ -9,11 +9,7 @@ module Pilot
9
9
  short_option: "-u",
10
10
  env_name: "PILOT_USERNAME",
11
11
  description: "Your Apple ID Username",
12
- default_value: ENV["DELIVER_USER"] || CredentialsManager::AppfileConfig.try_fetch_value(:apple_id),
13
- verify_block: proc do |value|
14
- CredentialsManager::PasswordManager.shared_manager(value)
15
- end),
16
-
12
+ default_value: CredentialsManager::AppfileConfig.try_fetch_value(:apple_id)),
17
13
  FastlaneCore::ConfigItem.new(key: :ipa,
18
14
  short_option: "-i",
19
15
  env_name: "PILOT_IPA",
data/lib/pilot/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Pilot
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7"
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.1.6
4
+ version: 0.1.7
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-08-13 00:00:00.000000000 Z
11
+ date: 2015-09-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fastlane_core
@@ -16,28 +16,34 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.9.2
19
+ version: 0.16.0
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: 1.0.0
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
27
  - - ">="
25
28
  - !ruby/object:Gem::Version
26
- version: 0.9.2
29
+ version: 0.16.0
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: 1.0.0
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: spaceship
29
35
  requirement: !ruby/object:Gem::Requirement
30
36
  requirements:
31
37
  - - ">="
32
38
  - !ruby/object:Gem::Version
33
- version: 0.3.1
39
+ version: 0.6.0
34
40
  type: :runtime
35
41
  prerelease: false
36
42
  version_requirements: !ruby/object:Gem::Requirement
37
43
  requirements:
38
44
  - - ">="
39
45
  - !ruby/object:Gem::Version
40
- version: 0.3.1
46
+ version: 0.6.0
41
47
  - !ruby/object:Gem::Dependency
42
48
  name: credentials_manager
43
49
  requirement: !ruby/object:Gem::Requirement
@@ -206,7 +212,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
206
212
  version: '0'
207
213
  requirements: []
208
214
  rubyforge_project:
209
- rubygems_version: 2.4.8
215
+ rubygems_version: 2.4.6
210
216
  signing_key:
211
217
  specification_version: 4
212
218
  summary: The best way to manage your TestFlight testers and builds from your terminal