spaceship/lib/spaceship/connect_api/models/build.rb in fastlane-2.127.2 vs spaceship/lib/spaceship/connect_api/models/build.rb in fastlane-2.128.0.beta.20190710200106
- old
+ new
@@ -100,12 +100,12 @@
#
# API
#
- def self.all(app_id: nil, version: nil, build_number: nil, platform: nil, processing_states: "PROCESSING,FAILED,INVALID,VALID", includes: ESSENTIAL_INCLUDES, sort: "-uploadedDate", limit: 30)
+ def self.all(app_id: nil, version: nil, build_number: nil, platform: nil, includes: ESSENTIAL_INCLUDES, sort: "-uploadedDate", limit: 30)
resps = Spaceship::ConnectAPI.get_builds(
- filter: { app: app_id, "preReleaseVersion.version" => version, version: build_number, processingState: processing_states },
+ filter: { app: app_id, "preReleaseVersion.version" => version, version: build_number, processingState: "PROCESSING,FAILED,INVALID,VALID" },
includes: includes,
sort: sort,
limit: limit
).all_pages
models = resps.map(&:to_models).flatten