fastlane/lib/fastlane/actions/testfairy.rb in fastlane-2.74.1 vs fastlane/lib/fastlane/actions/testfairy.rb in fastlane-2.75.0.beta.20180109010003
- old
+ new
@@ -8,16 +8,16 @@
def self.upload_build(ipa, options)
require 'faraday'
require 'faraday_middleware'
connection = Faraday.new(url: "https://upload.testfairy.com") do |builder|
- builder.request :multipart
- builder.request :url_encoded
- builder.request :retry, max: 3, interval: 5
- builder.response :json, content_type: /\bjson$/
- builder.use FaradayMiddleware::FollowRedirects
- builder.adapter :net_http
+ builder.request(:multipart)
+ builder.request(:url_encoded)
+ builder.request(:retry, max: 3, interval: 5)
+ builder.response(:json, content_type: /\bjson$/)
+ builder.use(FaradayMiddleware::FollowRedirects)
+ builder.adapter(:net_http)
end
options[:file] = Faraday::UploadIO.new(ipa, 'application/octet-stream') if ipa and File.exist?(ipa)
symbols_file = options.delete(:symbols_file)
@@ -225,10 +225,10 @@
def self.authors
["taka0125", "tcurdt"]
end
def self.is_supported?(platform)
- [:ios, :android].include? platform
+ [:ios, :android].include?(platform)
end
end
end
end