Skip to content

Commit

Permalink
Merge branch 'master' into lucgrabowski-check-if-app-removed-from-sale
Browse files Browse the repository at this point in the history
  • Loading branch information
lucgrabowski committed May 4, 2024
2 parents d924281 + e8fe2a9 commit 6fe8395
Show file tree
Hide file tree
Showing 50 changed files with 547 additions and 327 deletions.
4 changes: 4 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,10 @@ workflows:
name: 'Execute tests on macOS (Xcode 15.2.0, Ruby 3.2)'
xcode_version: '15.2.0'
ruby_version: '3.2'
- tests_macos:
name: 'Execute tests on macOS (Xcode 15.3, Ruby 3.3)'
xcode_version: '15.3'
ruby_version: '3.3'
ruby_opt: -W:deprecated
- tests_ubuntu:
name: 'Execute tests on Ubuntu'
Expand Down
4 changes: 2 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ gem "danger-junit", "~> 1.0"
# A fake filesystem.
# Version 1.9+ requires Ruby >=2.7, while fastlane uses a `required_ruby_version` of `>= 2.6`.
gem "fakefs", "1.8"
# for file uploads with Faraday
gem "mime-types", ['>= 1.16', '< 4.0']
# Fast XML parser and object marshaller.
gem "ox", "2.13.2"
# Provides an interactive debugging environment for Ruby.
Expand All @@ -31,8 +33,6 @@ gem "rake"
# A readline implementation in Ruby
# See: https://github.com/deivid-rodriguez/byebug/issues/289#issuecomment-251383465
gem "rb-readline"
# A simple and flexible REST client.
gem "rest-client", ">= 1.8.0"
# Behavior-driven testing tool for Ruby.
gem "rspec", "~> 3.10"
# Formatter for RSpec to generate JUnit compatible reports.
Expand Down
25 changes: 7 additions & 18 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
fastlane (2.219.0)
fastlane (2.220.0)
CFPropertyList (>= 2.3, < 4.0.0)
addressable (>= 2.8, < 3.0.0)
artifactory (~> 3.0)
Expand Down Expand Up @@ -54,7 +54,7 @@ GEM
ast (2.4.2)
atomos (0.1.3)
aws-eventstream (1.3.0)
aws-partitions (1.876.0)
aws-partitions (1.877.0)
aws-sdk-core (3.190.1)
aws-eventstream (~> 1, >= 1.3.0)
aws-partitions (~> 1, >= 1.651.0)
Expand Down Expand Up @@ -116,11 +116,10 @@ GEM
digest-crc (0.6.5)
rake (>= 12.0.0, < 14.0.0)
docile (1.3.5)
domain_name (0.5.20190701)
unf (>= 0.0.5, < 1.0.0)
domain_name (0.6.20240107)
dotenv (2.8.1)
emoji_regex (3.2.3)
excon (0.108.0)
excon (0.109.0)
fakefs (1.8.0)
faraday (1.4.1)
faraday-excon (~> 1.1)
Expand Down Expand Up @@ -185,7 +184,6 @@ GEM
signet (>= 0.16, < 2.a)
hashdiff (1.0.1)
highline (2.0.3)
http-accept (1.7.0)
http-cookie (1.0.5)
domain_name (~> 0.5)
httpclient (2.8.3)
Expand All @@ -198,9 +196,9 @@ GEM
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
method_source (1.0.0)
mime-types (3.3.1)
mime-types (3.5.2)
mime-types-data (~> 3.2015)
mime-types-data (3.2021.0225)
mime-types-data (3.2024.0206)
mini_magick (4.12.0)
mini_mime (1.1.5)
multi_json (1.15.0)
Expand All @@ -210,7 +208,6 @@ GEM
nanaimo (0.3.0)
nap (1.1.0)
naturally (2.2.1)
netrc (0.11.0)
no_proxy_fix (0.1.2)
octokit (4.25.1)
faraday (>= 1, < 3)
Expand Down Expand Up @@ -250,11 +247,6 @@ GEM
declarative (< 0.1.0)
trailblazer-option (>= 0.1.1, < 0.2.0)
uber (< 0.2.0)
rest-client (2.1.0)
http-accept (>= 1.7.0, < 2.0)
http-cookie (>= 1.0.2, < 2.0)
mime-types (>= 1.16, < 4.0)
netrc (~> 0.8)
retriable (3.1.2)
rexml (3.2.6)
rouge (2.0.7)
Expand Down Expand Up @@ -332,9 +324,6 @@ GEM
tty-spinner (0.9.3)
tty-cursor (~> 0.7)
uber (0.1.0)
unf (0.1.4)
unf_ext
unf_ext (0.0.8.2)
unicode-display_width (2.4.2)
webmock (3.18.1)
addressable (>= 2.8.0)
Expand Down Expand Up @@ -377,14 +366,14 @@ DEPENDENCIES
fastlane-plugin-clubmate
fastlane-plugin-ruby
fastlane-plugin-slack_train (>= 0.2.0)
mime-types (>= 1.16, < 4.0)
ox (= 2.13.2)
pry
pry-byebug
pry-rescue
pry-stack_explorer
rake
rb-readline
rest-client (>= 1.8.0)
rspec (~> 3.10)
rspec_junit_formatter (~> 0.4.1)
rubocop (= 1.50.2)
Expand Down
172 changes: 86 additions & 86 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,38 +35,50 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
<!-- This table is regenerated and resorted on each release -->
<table id='team'>
<tr>
<td id='iulian-onofrei'>
<a href='https://github.com/revolter'>
<img src='https://github.com/revolter.png' width='140px;'>
</a>
<h4 align='center'><a href='https://twitter.com/Revolt666'>Iulian Onofrei</a></h4>
</td>
<td id='manu-wallner'>
<a href='https://github.com/milch'>
<img src='https://github.com/milch.png' width='140px;'>
</a>
<h4 align='center'><a href='https://twitter.com/acrooow'>Manu Wallner</a></h4>
</td>
<td id='joshua-liebowitz'>
<a href='https://github.com/taquitos'>
<img src='https://github.com/taquitos.png' width='140px;'>
</a>
<h4 align='center'><a href='https://twitter.com/taquitos'>Joshua Liebowitz</a></h4>
</td>
<td id='danielle-tomlinson'>
<a href='https://github.com/endocrimes'>
<img src='https://github.com/endocrimes.png' width='140px;'>
<td id='fumiya-nakamura'>
<a href='https://github.com/nafu'>
<img src='https://github.com/nafu.png' width='140px;'>
</a>
<h4 align='center'><a href='https://twitter.com/endocrimes'>Danielle Tomlinson</a></h4>
<h4 align='center'><a href='https://twitter.com/nafu003'>Fumiya Nakamura</a></h4>
</td>
<td id='satoshi-namai'>
<a href='https://github.com/ainame'>
<img src='https://github.com/ainame.png' width='140px;'>
<td id='helmut-januschka'>
<a href='https://github.com/hjanuschka'>
<img src='https://github.com/hjanuschka.png' width='140px;'>
</a>
<h4 align='center'><a href='https://twitter.com/ainame'>Satoshi Namai</a></h4>
<h4 align='center'><a href='https://twitter.com/hjanuschka'>Helmut Januschka</a></h4>
</td>
<td id='felix-krause'>
<a href='https://github.com/KrauseFx'>
<img src='https://github.com/KrauseFx.png' width='140px;'>
<td id='jorge-revuelta-h'>
<a href='https://github.com/minuscorp'>
<img src='https://github.com/minuscorp.png' width='140px;'>
</a>
<h4 align='center'><a href='https://twitter.com/KrauseFx'>Felix Krause</a></h4>
<h4 align='center'><a href='https://twitter.com/minuscorp'>Jorge Revuelta H</a></h4>
</td>
</tr>
<tr>
<td id='jan-piotrowski'>
<a href='https://github.com/janpio'>
<img src='https://github.com/janpio.png' width='140px;'>
</a>
<h4 align='center'><a href='https://twitter.com/Sujan'>Jan Piotrowski</a></h4>
</td>
<td id='daniel-jankowski'>
<a href='https://github.com/mollyIV'>
<img src='https://github.com/mollyIV.png' width='140px;'>
</a>
<h4 align='center'><a href='https://twitter.com/mollyIV'>Daniel Jankowski</a></h4>
</td>
<td id='艂ukasz-grabowski'>
<a href='https://github.com/lucgrabowski'>
<img src='https://github.com/lucgrabowski.png' width='140px;'>
Expand All @@ -79,18 +91,6 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
</a>
<h4 align='center'><a href='https://twitter.com/mgrebenets'>Maksym Grebenets</a></h4>
</td>
<td id='fumiya-nakamura'>
<a href='https://github.com/nafu'>
<img src='https://github.com/nafu.png' width='140px;'>
</a>
<h4 align='center'><a href='https://twitter.com/nafu003'>Fumiya Nakamura</a></h4>
</td>
<td id='j茅r么me-lacoste'>
<a href='https://github.com/lacostej'>
<img src='https://github.com/lacostej.png' width='140px;'>
</a>
<h4 align='center'><a href='https://twitter.com/lacostej'>J茅r么me Lacoste</a></h4>
</td>
<td id='stefan-natchev'>
<a href='https://github.com/snatchev'>
<img src='https://github.com/snatchev.png' width='140px;'>
Expand All @@ -99,107 +99,107 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
</td>
</tr>
<tr>
<td id='helmut-januschka'>
<a href='https://github.com/hjanuschka'>
<img src='https://github.com/hjanuschka.png' width='140px;'>
<td id='josh-holtz'>
<a href='https://github.com/joshdholtz'>
<img src='https://github.com/joshdholtz.png' width='140px;'>
</a>
<h4 align='center'><a href='https://twitter.com/hjanuschka'>Helmut Januschka</a></h4>
<h4 align='center'><a href='https://twitter.com/joshdholtz'>Josh Holtz</a></h4>
</td>
<td id='manish-rathi'>
<a href='https://github.com/crazymanish'>
<img src='https://github.com/crazymanish.png' width='140px;'>
</a>
<h4 align='center'><a href='https://twitter.com/iammanishrathi'>Manish Rathi</a></h4>
</td>
<td id='max-ott'>
<a href='https://github.com/max-ott'>
<img src='https://github.com/max-ott.png' width='140px;'>
<td id='felix-krause'>
<a href='https://github.com/KrauseFx'>
<img src='https://github.com/KrauseFx.png' width='140px;'>
</a>
<h4 align='center'><a href='https://twitter.com/ott_max'>Max Ott</a></h4>
<h4 align='center'><a href='https://twitter.com/KrauseFx'>Felix Krause</a></h4>
</td>
<td id='jimmy-dee'>
<a href='https://github.com/jdee'>
<img src='https://github.com/jdee.png' width='140px;'>
<td id='kohki-miki'>
<a href='https://github.com/giginet'>
<img src='https://github.com/giginet.png' width='140px;'>
</a>
<h4 align='center'>Jimmy Dee</h4>
<h4 align='center'><a href='https://twitter.com/giginet'>Kohki Miki</a></h4>
</td>
<td id='roger-oba'>
<a href='https://github.com/rogerluan'>
<img src='https://github.com/rogerluan.png' width='140px;'>
<td id='joshua-liebowitz'>
<a href='https://github.com/taquitos'>
<img src='https://github.com/taquitos.png' width='140px;'>
</a>
<h4 align='center'><a href='https://twitter.com/rogerluan_'>Roger Oba</a></h4>
<h4 align='center'><a href='https://twitter.com/taquitos'>Joshua Liebowitz</a></h4>
</td>
</tr>
<tr>
<td id='iulian-onofrei'>
<a href='https://github.com/revolter'>
<img src='https://github.com/revolter.png' width='140px;'>
<td id='aaron-brager'>
<a href='https://github.com/getaaron'>
<img src='https://github.com/getaaron.png' width='140px;'>
</a>
<h4 align='center'><a href='https://twitter.com/Revolt666'>Iulian Onofrei</a></h4>
<h4 align='center'><a href='https://twitter.com/getaaron'>Aaron Brager</a></h4>
</td>
<td id='josh-holtz'>
<a href='https://github.com/joshdholtz'>
<img src='https://github.com/joshdholtz.png' width='140px;'>
<td id='roger-oba'>
<a href='https://github.com/rogerluan'>
<img src='https://github.com/rogerluan.png' width='140px;'>
</a>
<h4 align='center'><a href='https://twitter.com/joshdholtz'>Josh Holtz</a></h4>
<h4 align='center'><a href='https://twitter.com/rogerluan_'>Roger Oba</a></h4>
</td>
<td id='daniel-jankowski'>
<a href='https://github.com/mollyIV'>
<img src='https://github.com/mollyIV.png' width='140px;'>
<td id='luka-mirosevic'>
<a href='https://github.com/lmirosevic'>
<img src='https://github.com/lmirosevic.png' width='140px;'>
</a>
<h4 align='center'><a href='https://twitter.com/mollyIV'>Daniel Jankowski</a></h4>
<h4 align='center'><a href='https://twitter.com/lmirosevic'>Luka Mirosevic</a></h4>
</td>
<td id='andrew-mcburney'>
<a href='https://github.com/armcburney'>
<img src='https://github.com/armcburney.png' width='140px;'>
<td id='matthew-ellis'>
<a href='https://github.com/matthewellis'>
<img src='https://github.com/matthewellis.png' width='140px;'>
</a>
<h4 align='center'><a href='https://twitter.com/armcburney'>Andrew McBurney</a></h4>
<h4 align='center'><a href='https://twitter.com/mellis1995'>Matthew Ellis</a></h4>
</td>
<td id='jan-piotrowski'>
<a href='https://github.com/janpio'>
<img src='https://github.com/janpio.png' width='140px;'>
<td id='satoshi-namai'>
<a href='https://github.com/ainame'>
<img src='https://github.com/ainame.png' width='140px;'>
</a>
<h4 align='center'><a href='https://twitter.com/Sujan'>Jan Piotrowski</a></h4>
<h4 align='center'><a href='https://twitter.com/ainame'>Satoshi Namai</a></h4>
</td>
</tr>
<tr>
<td id='luka-mirosevic'>
<a href='https://github.com/lmirosevic'>
<img src='https://github.com/lmirosevic.png' width='140px;'>
<td id='jimmy-dee'>
<a href='https://github.com/jdee'>
<img src='https://github.com/jdee.png' width='140px;'>
</a>
<h4 align='center'><a href='https://twitter.com/lmirosevic'>Luka Mirosevic</a></h4>
<h4 align='center'>Jimmy Dee</h4>
</td>
<td id='kohki-miki'>
<a href='https://github.com/giginet'>
<img src='https://github.com/giginet.png' width='140px;'>
<td id='max-ott'>
<a href='https://github.com/max-ott'>
<img src='https://github.com/max-ott.png' width='140px;'>
</a>
<h4 align='center'><a href='https://twitter.com/giginet'>Kohki Miki</a></h4>
<h4 align='center'><a href='https://twitter.com/ott_max'>Max Ott</a></h4>
</td>
<td id='aaron-brager'>
<a href='https://github.com/getaaron'>
<img src='https://github.com/getaaron.png' width='140px;'>
<td id='j茅r么me-lacoste'>
<a href='https://github.com/lacostej'>
<img src='https://github.com/lacostej.png' width='140px;'>
</a>
<h4 align='center'><a href='https://twitter.com/getaaron'>Aaron Brager</a></h4>
<h4 align='center'><a href='https://twitter.com/lacostej'>J茅r么me Lacoste</a></h4>
</td>
<td id='olivier-halligon'>
<a href='https://github.com/AliSoftware'>
<img src='https://github.com/AliSoftware.png' width='140px;'>
</a>
<h4 align='center'><a href='https://twitter.com/aligatr'>Olivier Halligon</a></h4>
</td>
<td id='jorge-revuelta-h'>
<a href='https://github.com/minuscorp'>
<img src='https://github.com/minuscorp.png' width='140px;'>
<td id='danielle-tomlinson'>
<a href='https://github.com/endocrimes'>
<img src='https://github.com/endocrimes.png' width='140px;'>
</a>
<h4 align='center'><a href='https://twitter.com/minuscorp'>Jorge Revuelta H</a></h4>
<h4 align='center'><a href='https://twitter.com/endocrimes'>Danielle Tomlinson</a></h4>
</td>
</tr>
<tr>
<td id='matthew-ellis'>
<a href='https://github.com/matthewellis'>
<img src='https://github.com/matthewellis.png' width='140px;'>
<td id='andrew-mcburney'>
<a href='https://github.com/armcburney'>
<img src='https://github.com/armcburney.png' width='140px;'>
</a>
<h4 align='center'><a href='https://twitter.com/mellis1995'>Matthew Ellis</a></h4>
<h4 align='center'><a href='https://twitter.com/armcburney'>Andrew McBurney</a></h4>
</td>
</table>

Expand Down
4 changes: 2 additions & 2 deletions deliver/lib/deliver/submit_for_review.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ def create_review_submission(options, app, version, platform)
10.times do
version_with_latest_info = Spaceship::ConnectAPI::AppStoreVersion.get(app_store_version_id: version.id)

if version_with_latest_info.app_store_state == Spaceship::ConnectAPI::AppStoreVersion::AppStoreState::READY_FOR_REVIEW
if version_with_latest_info.app_version_state == Spaceship::ConnectAPI::AppStoreVersion::AppVersionState::READY_FOR_REVIEW
break
end

UI.message("Waiting for the state of the version to become #{Spaceship::ConnectAPI::AppStoreVersion::AppStoreState::READY_FOR_REVIEW}...")
UI.message("Waiting for the state of the version to become #{Spaceship::ConnectAPI::AppStoreVersion::AppVersionState::READY_FOR_REVIEW}...")

sleep(15)
end
Expand Down

0 comments on commit 6fe8395

Please sign in to comment.