pilot/lib/pilot/tester_exporter.rb in fastlane-2.74.0.beta.20180106010004 vs pilot/lib/pilot/tester_exporter.rb in fastlane-2.74.0.beta.20180107010004
- old
+ new
@@ -1,7 +1,10 @@
-require "fastlane_core"
-require "pilot/tester_util"
+require 'spaceship/tunes/application'
+require 'spaceship/test_flight/tester'
+require_relative 'tester_util'
+require_relative 'module'
+require_relative 'manager'
module Pilot
class TesterExporter < Manager
def export_testers(options)
UI.user_error!("Export file path is required") unless options[:testers_file_path]
@@ -9,10 +12,10 @@
start(options)
require 'csv'
app_filter = (config[:apple_id] || config[:app_identifier])
if app_filter
- app = Spaceship::Application.find(app_filter)
+ app = Spaceship::Tunes::Application.find(app_filter)
testers = Spaceship::TestFlight::Tester.all(app_id: app.apple_id)
else
testers = Spaceship::TestFlight::Tester.all
end