pilot 0.1.6 → 0.1.7
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 +4 -4
- data/README.md +1 -2
- data/lib/pilot/build_manager.rb +3 -1
- data/lib/pilot/commands_generator.rb +0 -2
- data/lib/pilot/manager.rb +4 -6
- data/lib/pilot/options.rb +1 -5
- data/lib/pilot/version.rb +1 -1
- metadata +13 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5d7bcfccc7f27f53f0b4b1912f7c24df5a307e4f
|
4
|
+
data.tar.gz: 25d9921106e42ba76441e8b39bf8add81054dd86
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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.
|
data/lib/pilot/build_manager.rb
CHANGED
@@ -9,7 +9,9 @@ module Pilot
|
|
9
9
|
ipa_path: config[:ipa],
|
10
10
|
package_path: "/tmp")
|
11
11
|
|
12
|
-
|
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
|
|
data/lib/pilot/manager.rb
CHANGED
@@ -9,13 +9,10 @@ module Pilot
|
|
9
9
|
end
|
10
10
|
|
11
11
|
def login
|
12
|
-
|
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(
|
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:
|
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
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.
|
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-
|
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.
|
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.
|
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.
|
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.
|
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.
|
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
|