pilot 1.8.0 → 1.9.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 45aabd343e6c20b18cd0eb8b69d8629d35d6d121
4
- data.tar.gz: bc8b8ae636c53772e999683301c7de02afab65d9
3
+ metadata.gz: ef66468a334ab2f1645bc15dbd1951b77932099f
4
+ data.tar.gz: e3ecd0ace18547c2ca4b8674f867b1588b52eceb
5
5
  SHA512:
6
- metadata.gz: 3285342409ad1b9074278e56dd12380c0a1e256ef3a38574a11535b407d8e00ad79c12709de6f35c2027a89648db68ad89ca226189dcde8b992b7ecfd799388d
7
- data.tar.gz: f6f705a6bab3472e06ac2109c767354376b10ae0c369dcd664664f7d3e53f928a81c24f009ff71ab8154ab0c31910074f65785df7197e12d7c58dcc1baf93613
6
+ metadata.gz: 4c473ba888c4f944302d6f4c31c79cdc9bbff30d968e3546f78dcaaea25e09e8d8f3b4ea494231f6a10eda4737ac7616869acc14d85179c100c1f6c7d31c319c
7
+ data.tar.gz: d14997cec0e4e86a38ebdd7564f415dce4920f987e09ea8c0ef003adb3750f8301a84a87dd5dbbc6a7a92fe8ee402567ab0eb5206595cb1d50d5651d168a5b88
@@ -15,7 +15,7 @@ module Pilot
15
15
  package_path: "/tmp",
16
16
  platform: platform)
17
17
 
18
- transporter = FastlaneCore::ItunesTransporter.new(options[:username])
18
+ transporter = FastlaneCore::ItunesTransporter.new(options[:username], nil, false, options[:itc_provider])
19
19
  result = transporter.upload(app.apple_id, package_path)
20
20
 
21
21
  unless result
@@ -117,7 +117,11 @@ module Pilot
117
117
  default_value: CredentialsManager::AppfileConfig.try_fetch_value(:team_id),
118
118
  verify_block: proc do |value|
119
119
  ENV["FASTLANE_TEAM_ID"] = value.to_s
120
- end)
120
+ end),
121
+ FastlaneCore::ConfigItem.new(key: :itc_provider,
122
+ env_name: "PILOT_ITC_PROVIDER",
123
+ description: "The provider short name to be used with the iTMSTransporter to identify your team",
124
+ optional: true)
121
125
  ]
122
126
  end
123
127
  end
@@ -13,13 +13,7 @@ module Pilot
13
13
  tester_manager = Pilot::TesterManager.new
14
14
  imported_tester_count = 0
15
15
 
16
- is_first = true
17
16
  CSV.foreach(file, "r") do |row|
18
- if is_first
19
- is_first = false
20
- next
21
- end
22
-
23
17
  first_name, last_name, email = row
24
18
 
25
19
  unless email
@@ -27,6 +21,11 @@ module Pilot
27
21
  next
28
22
  end
29
23
 
24
+ unless email.index("@")
25
+ UI.error("No email found in row: #{row}")
26
+ next
27
+ end
28
+
30
29
  # Add this the existing config hash to pass it to the TesterManager
31
30
  config[:first_name] = first_name
32
31
  config[:last_name] = last_name
@@ -1,4 +1,4 @@
1
1
  module Pilot
2
- VERSION = "1.8.0"
2
+ VERSION = "1.9.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.8.0
4
+ version: 1.9.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: 2016-05-27 00:00:00.000000000 Z
11
+ date: 2016-06-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fastlane_core