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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8d6ff3daa62e21ad76c655a795e9f46b5f1a4c20
4
- data.tar.gz: d453853e67069e7679a4187e432d9eb77e8e6c19
3
+ metadata.gz: f7149e94a5acfe24a53a3ccc3fcf6a1720f97019
4
+ data.tar.gz: 6ada87b02c3f1c2d1ad15a5f13e661c8ea6f5601
5
5
  SHA512:
6
- metadata.gz: 7f06c7df12a82ad5a9cb0f371a9fe356eeb9809e99e7ee67c2080e9eb376ab05741fdd923b16ffa04b0988346acefa783263e8a29f705e46b71e5baf0ef72e75
7
- data.tar.gz: bf3f4aa035d6b6b485df8465ca8c5ac041713efc8d06d549f90d6a644b2c4aada78e4e9fe751ae254e52f9ec21081d12ec97c0fb28bc0068f75e555af4f1fc77
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: @KauseFx](https://img.shields.io/badge/contact-@KrauseFx-blue.svg?style=flat)](https://twitter.com/KrauseFx)
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: [@KrauseFx](https://twitter.com/KrauseFx)
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
 
@@ -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
- testers = Spaceship::Tunes::Tester::External.all
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
 
@@ -67,9 +67,19 @@ module Pilot
67
67
  start(options)
68
68
  require 'terminal-table'
69
69
 
70
- list(Spaceship::Tunes::Tester::Internal.all, "Internal Testers")
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(Spaceship::Tunes::Tester::External.all, "External Testers")
82
+ list(ext_testers, "External Testers")
73
83
  end
74
84
 
75
85
  private
@@ -1,4 +1,4 @@
1
1
  module Pilot
2
- VERSION = "1.2.1"
2
+ VERSION = "1.3.0"
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.2.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: 2015-12-18 00:00:00.000000000 Z
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: '0.34'
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: '0.34'
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.2.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