lib/produce/manager.rb in produce-0.3.5 vs lib/produce/manager.rb in produce-0.4.0

- old
+ new

@@ -1,11 +1,9 @@ module Produce class Manager # Produces app at DeveloperCenter and ItunesConnect - # @param config (Config) (optional) config to use. Will fallback to - # config with ENV values if not specified. - def self.start_producing(config = Config.new) - Produce::DeveloperCenter.new.run(config) unless config[:skip_devcenter] - return Produce::ItunesConnect.new.run(config) unless config[:skip_itc] + def self.start_producing + Produce::DeveloperCenter.new.run unless Produce.config[:skip_devcenter] + return Produce::ItunesConnect.new.run unless Produce.config[:skip_itc] end end end