pilot 1.2.1 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -2
- data/lib/pilot/manager.rb +1 -1
- data/lib/pilot/tester_exporter.rb +7 -1
- data/lib/pilot/tester_manager.rb +12 -2
- data/lib/pilot/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f7149e94a5acfe24a53a3ccc3fcf6a1720f97019
|
4
|
+
data.tar.gz: 6ada87b02c3f1c2d1ad15a5f13e661c8ea6f5601
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3a1271238efca13d6919691f26bee1b5c37a637cad4fc3343a28ccb01fd4cc52b7106e413438734e5434f198a4b014aaacd80bc3f2a5363e6c5d963465e523a6
|
7
|
+
data.tar.gz: 28b3a89a6a4f861b1b1186bfa56f9fbeada98de9768749bbe3fd5e52d35d0c18bf7c70c648980a2de32d45989a3841e4997fccc34c4c3ea1f3b520e1f7b8904e
|
data/README.md
CHANGED
@@ -28,7 +28,7 @@
|
|
28
28
|
|
29
29
|
Pilot
|
30
30
|
============
|
31
|
-
[![Twitter: @
|
31
|
+
[![Twitter: @FastlaneTools](https://img.shields.io/badge/contact-@FastlaneTools-blue.svg?style=flat)](https://twitter.com/FastlaneTools)
|
32
32
|
[![License](https://img.shields.io/badge/license-MIT-green.svg?style=flat)](https://github.com/fastlane/pilot/blob/master/LICENSE)
|
33
33
|
[![Gem](https://img.shields.io/gem/v/pilot.svg?style=flat)](http://rubygems.org/gems/pilot)
|
34
34
|
|
@@ -43,7 +43,7 @@ This tool allows you to manage all important features of Apple TestFlight using
|
|
43
43
|
- Get information about testers, like the registered devices
|
44
44
|
- Export and import all your testers
|
45
45
|
|
46
|
-
Get in contact with the developer on Twitter: [@
|
46
|
+
Get in contact with the developer on Twitter: [@FastlaneTools](https://twitter.com/FastlaneTools)
|
47
47
|
|
48
48
|
`pilot` uses [spaceship.airforce](https://spaceship.airforce) to interact with iTunes Connect :rocket:
|
49
49
|
|
@@ -273,6 +273,9 @@ pilot...
|
|
273
273
|
# Need help?
|
274
274
|
Please submit an issue on GitHub and provide information about your setup
|
275
275
|
|
276
|
+
# Code of Conduct
|
277
|
+
Help us keep `pilot` open and inclusive. Please read and follow our [Code of Conduct](https://github.com/fastlane/code-of-conduct).
|
278
|
+
|
276
279
|
# License
|
277
280
|
This project is licensed under the terms of the MIT license. See the LICENSE file.
|
278
281
|
|
data/lib/pilot/manager.rb
CHANGED
@@ -40,7 +40,7 @@ module Pilot
|
|
40
40
|
|
41
41
|
if config[:app_identifier]
|
42
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
|
43
|
+
raise "Couldn't find app '#{config[:app_identifier]}' on the account of '#{config[:username]}' on iTunes Connect".red unless @app
|
44
44
|
app_id ||= @app.apple_id
|
45
45
|
end
|
46
46
|
|
@@ -9,7 +9,13 @@ module Pilot
|
|
9
9
|
start(options)
|
10
10
|
require 'csv'
|
11
11
|
|
12
|
-
|
12
|
+
app_filter = (config[:apple_id] || config[:app_identifier])
|
13
|
+
if app_filter
|
14
|
+
app = Spaceship::Application.find(app_filter)
|
15
|
+
testers = Spaceship::Tunes::Tester::External.all_by_app(app.apple_id)
|
16
|
+
else
|
17
|
+
testers = Spaceship::Tunes::Tester::External.all
|
18
|
+
end
|
13
19
|
|
14
20
|
file = config[:testers_file_path]
|
15
21
|
|
data/lib/pilot/tester_manager.rb
CHANGED
@@ -67,9 +67,19 @@ module Pilot
|
|
67
67
|
start(options)
|
68
68
|
require 'terminal-table'
|
69
69
|
|
70
|
-
|
70
|
+
app_filter = (config[:apple_id] || config[:app_identifier])
|
71
|
+
if app_filter
|
72
|
+
app = Spaceship::Application.find(app_filter)
|
73
|
+
int_testers = Spaceship::Tunes::Tester::Internal.all_by_app(app.apple_id)
|
74
|
+
ext_testers = Spaceship::Tunes::Tester::External.all_by_app(app.apple_id)
|
75
|
+
else
|
76
|
+
int_testers = Spaceship::Tunes::Tester::Internal.all
|
77
|
+
ext_testers = Spaceship::Tunes::Tester::External.all
|
78
|
+
end
|
79
|
+
|
80
|
+
list(int_testers, "Internal Testers")
|
71
81
|
puts "" # new line
|
72
|
-
list(
|
82
|
+
list(ext_testers, "External Testers")
|
73
83
|
end
|
74
84
|
|
75
85
|
private
|
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: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Felix Krause
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-02-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fastlane_core
|
@@ -196,14 +196,14 @@ dependencies:
|
|
196
196
|
requirements:
|
197
197
|
- - "~>"
|
198
198
|
- !ruby/object:Gem::Version
|
199
|
-
version:
|
199
|
+
version: 0.35.1
|
200
200
|
type: :development
|
201
201
|
prerelease: false
|
202
202
|
version_requirements: !ruby/object:Gem::Requirement
|
203
203
|
requirements:
|
204
204
|
- - "~>"
|
205
205
|
- !ruby/object:Gem::Version
|
206
|
-
version:
|
206
|
+
version: 0.35.1
|
207
207
|
description: The best way to manage your TestFlight testers and builds from your terminal
|
208
208
|
email:
|
209
209
|
- pilot@krausefx.com
|
@@ -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.
|
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
|