lib/gooddata/models/process.rb in gooddata-0.6.29 vs lib/gooddata/models/process.rb in gooddata-0.6.30

- old
+ new

@@ -92,10 +92,10 @@ # @option options [String] :process_id ID of a process to be redeployed (do not set if you want to create a new process) # @option options [Boolean] :verbose (false) Switch on verbose mode for detailed logging def deploy(path, options = { :client => GoodData.client, :project => GoodData.project }) return deploy_brick(path, options) if path.to_s.start_with?(APP_STORE_URL) - return deploy_from_appstore(path, options) if (path =~ /\${.*}:(.*)\/(.*):\//) == 0 + return deploy_from_appstore(path.to_s, options) if (path.to_s =~ /\${.*}:(.*)\/(.*):\//) == 0 client, project = GoodData.get_client_and_project(options) path = Pathname(path) || fail('Path is not specified') files_to_exclude = options[:files_to_exclude].nil? ? [] : options[:files_to_exclude].map { |pname| Pathname(pname) }