lib/sigh/manager.rb in sigh-0.5.2 vs lib/sigh/manager.rb in sigh-0.6.0
- old
+ new
@@ -1,11 +1,13 @@
require 'plist'
+require 'sigh/spaceship/runner'
module Sigh
class Manager
def self.start
- path = Sigh::DeveloperCenter.new.run
+ start = Time.now
+ path = Sigh::Runner.new.run
return nil unless path
if Sigh.config[:filename]
file_name = Sigh.config[:filename]
@@ -36,10 +38,10 @@
# copy to Xcode provisioning profile directory
(FileUtils.copy profile, destination rescue nil) # if the directory doesn't exist yet
if File.exists? destination
- Helper.log.info "Profile installed at \"#{destination}\""
+ Helper.log.info "Profile successfully installed".green
else
raise "Failed installation of provisioning profile at location: #{destination}".red
end
end
end