lib/produce.rb in produce-0.1.3 vs lib/produce.rb in produce-0.1.4
- old
+ new
@@ -1,21 +1,17 @@
require 'json'
require 'produce/version'
-require 'produce/helper'
require 'produce/config'
require 'produce/manager'
require 'produce/dependency_checker'
require 'produce/developer_center'
require 'produce/itunes_connect'
-require 'produce/update_checker'
require 'produce/available_default_languages'
-# Third Party code
-require 'phantomjs/poltergeist'
-require 'colored'
-
module Produce
- TMP_FOLDER = "/tmp/produce/"
+ Helper = FastlaneCore::Helper # you gotta love Ruby: Helper.* should use the Helper class contained in FastlaneCore
- # Produce::UpdateChecker.verify_latest_version
+ ENV['FASTLANE_TEAM_ID'] ||= ENV["PRODUCE_TEAM_ID"]
+
+ FastlaneCore::UpdateChecker.verify_latest_version('produce', Produce::VERSION)
DependencyChecker.check_dependencies
end