b0VIM 8.0°4ñ\ 4Þ¼joshJoshs-MacBook-Pro.local~josh/Projects/fastlane/fastlane/spaceship/lib/spaceship/connect_api/models/build.rb 3210#"! Utpvwadvå¿®šŠ_^Aùܸ’l<;"ò Ê £ z y d D  ê Ê ž n = ú ù á ž j 8  ú ù ¶ µ ˜ v \ @ (   ñ ç æ Þ Î Æ Å ¯ d 9 / .  òÜÒѽ’ukjU  æŸcYX îà»’ùصƒ‚OED<0('¦ƒ!íÖ”Š‰IûñðÄ©z end return client.add_beta_groups_to_build(build_id: id, beta_group_ids: beta_group_ids) beta_group_ids = beta_groups.map(&:id) beta_groups ||= [] def add_beta_groups(beta_groups: nil) end return client.get_build(build_id: build_id, includes: includes).first def self.get(build_id: nil, includes: ESSENTIAL_INCLUDES) end return resps.map(&:to_models).flatten ).all_pages limit: limit sort: sort, includes: includes, filter: { app: app_id, "preReleaseVersion.version" => version, version: build_number }, resps = client.get_builds( def self.all(app_id: nil, version: nil, build_number: nil, includes: ESSENTIAL_INCLUDES, sort: "-uploadedDate", limit: 30) # # API # end return Spaceship::TestFlight::Build.new(h) } 'trainVersion' => app_version 'bundleId' => bundle_id, 'appAdamId' => app_id, 'externalState' => processed? ? Spaceship::TestFlight::Build::BUILD_STATES[:active] : Spaceship::TestFlight::Build::BUILD_STATES[:processing], 'uploadDate' => uploaded_date, 'buildVersion' => version, h = { def to_testflight_build # This is here temporarily until the removal of Spaceship::TestFlight end return build_beta_detail.ready_for_beta_submission? raise "No build_beat_detail included" unless build_beta_detail def ready_for_beta_submission? end return processing_state != ProcessingState::PROCESSING def processed? end return app.bundle_id raise "No app included" unless app def bundle_id end return app.id raise "No app included" unless app def app_id end return pre_release_version.version raise "No pre_release_version included" unless pre_release_version def app_version # # Helpers # end return "builds" def self.type end VALID = "VALID" INVALID = "INVALID" FAILED = "FAILED" PROCESSING = "PROCESSING" module ProcessingState ESSENTIAL_INCLUDES = "app,buildBetaDetail,preReleaseVersion" }) "preReleaseVersion" => "pre_release_version" "buildBetaDetail" => "build_beta_detail", "betaBuildMetrics" => "beta_build_metrics", "betaAppReviewSubmission" => "beta_app_review_submission", "app" => "app", "usesNonExemptEncryption" => "uses_non_exempt_encryption", "processingState" => "processing_state", "iconAssetToken" => "icon_asset_token", "minOsVersion" => "min_os_version", "expired" => "expired", "expirationDate" => "expiration_date", "uploadedDate" => "uploaded_date", "version" => "version", attr_mapping({ attr_accessor :pre_release_version attr_accessor :build_beta_detail attr_accessor :beta_build_metrics attr_accessor :beta_app_review_submission attr_accessor :app attr_accessor :uses_non_exempt_encryption attr_accessor :processing_state attr_accessor :icon_asset_token attr_accessor :min_os_version attr_accessor :expired attr_accessor :expiration_date attr_accessor :uploaded_date attr_accessor :version include Spaceship::ConnectAPI::Model class Build module ConnectAPImodule Spaceshiprequire 'spaceship/test_flight/build'require_relative './model'ado ó §rQ3òĺ¹f7ø â Ë · ‰  ~ T   ý ÷ ó ò end end end end return client.post_beta_app_review_submissions(build_id: id) def post_beta_app_review_submission end return resps.map(&:to_models).flatten ).all_pages limit: limit sort: sort, includes: includes, filter: { build: id }, resps = client.get_build_beta_details( def get_build_beta_details(filter: {}, includes: nil, limit: nil, sort: nil) end return resps.map(&:to_models).flatten ).all_pages limit: limit sort: sort, includes: includes, filter: { build: id }, resps = client.get_beta_build_localizations( def get_beta_build_localizations(filter: {}, includes: nil, limit: nil, sort: nil)