diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 76ec88f..b341dcf 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -29,7 +29,7 @@ jobs: - name: Setup Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: "3.1.7" + ruby-version: "3.3.12" - uses: actions/setup-node@v3 with: node-version: 14 @@ -73,7 +73,7 @@ jobs: - name: Setup Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: "3.1.7" + ruby-version: "3.3.12" - uses: actions/setup-node@v3 with: node-version: 14 diff --git a/.tool-versions b/.tool-versions new file mode 100644 index 0000000..6c3b8a7 --- /dev/null +++ b/.tool-versions @@ -0,0 +1 @@ +ruby 3.3.12 diff --git a/Gemfile b/Gemfile index d2b3388..0fca1d6 100644 --- a/Gemfile +++ b/Gemfile @@ -5,7 +5,7 @@ end source 'https://rubygems.org' git_source(:github) { |repo| "https://github.com/#{repo}.git" } -ruby '3.1.7' +ruby '3.3.12' if next? gem 'rails', '~> 7.2.0' @@ -41,6 +41,7 @@ gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby] group :test do gem 'test-unit' + gem 'minitest', '~> 5.25' end group :development, :test do diff --git a/Gemfile.lock b/Gemfile.lock index 09f6753..e3b24db 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -153,7 +153,9 @@ GEM racc (~> 1.4) nokogiri (1.18.10-x86_64-linux-gnu) racc (~> 1.4) - pg (1.2.3) + pg (1.6.3-arm64-darwin) + pg (1.6.3-x86_64-darwin) + pg (1.6.3-x86_64-linux) power_assert (2.0.1) pp (0.6.3) prettyprint @@ -282,6 +284,7 @@ GEM PLATFORMS arm64-darwin-23 + arm64-darwin-25 x86_64-darwin-19 x86_64-linux @@ -290,6 +293,7 @@ DEPENDENCIES foundation-rails jbuilder (~> 2.7) listen (~> 3.2) + minitest (~> 5.25) pg (>= 0.18, < 2.0) puma (~> 4.1) rails (~> 7.1.0) @@ -301,7 +305,7 @@ DEPENDENCIES webpacker (~> 5.0) RUBY VERSION - ruby 3.1.7p261 + ruby 3.3.12p206 BUNDLED WITH 2.6.9 diff --git a/Gemfile.next.lock b/Gemfile.next.lock index e733ac3..5c8f369 100644 --- a/Gemfile.next.lock +++ b/Gemfile.next.lock @@ -146,7 +146,9 @@ GEM racc (~> 1.4) nokogiri (1.18.10-x86_64-linux-gnu) racc (~> 1.4) - pg (1.2.3) + pg (1.6.3-arm64-darwin) + pg (1.6.3-x86_64-darwin) + pg (1.6.3-x86_64-linux) power_assert (2.0.1) pp (0.6.3) prettyprint @@ -276,6 +278,7 @@ GEM PLATFORMS arm64-darwin-23 + arm64-darwin-25 x86_64-darwin-19 x86_64-linux @@ -284,6 +287,7 @@ DEPENDENCIES foundation-rails jbuilder (~> 2.7) listen (~> 3.2) + minitest (~> 5.25) pg (>= 0.18, < 2.0) puma (~> 4.1) rails (~> 7.2.0) @@ -295,7 +299,7 @@ DEPENDENCIES webpacker (~> 5.0) RUBY VERSION - ruby 3.1.7p261 + ruby 3.3.12p206 BUNDLED WITH 2.6.9 diff --git a/app.json b/app.json index cf70e4e..2c41ec5 100644 --- a/app.json +++ b/app.json @@ -1,27 +1,28 @@ { "name": "benchmark.fyi", - "description": "", + "description": "Benchmark results for Ruby and Rails", + "stack": "heroku-26", "scripts": { "postdeploy": "bundle exec rails db:schema:load" }, "env": { "LANG": { - "required": true + "value": "en_US.UTF-8" }, "RACK_ENV": { - "required": true + "value": "production" }, "RAILS_ENV": { - "required": true + "value": "production" }, "RAILS_LOG_TO_STDOUT": { - "required": true + "value": "enabled" }, "RAILS_SERVE_STATIC_FILES": { - "required": true + "value": "enabled" }, "SECRET_KEY_BASE": { - "required": true + "generator": "secret" } }, "formation": { @@ -29,7 +30,11 @@ "quantity": 1 } }, - "addons": ["heroku-postgresql"], + "addons": [ + { + "plan": "heroku-postgresql:essential-0" + } + ], "buildpacks": [ { "url": "heroku/nodejs" @@ -38,5 +43,18 @@ "url": "heroku/ruby" } ], - "stack": "heroku-22" + "environments": { + "review": { + "addons": [ + { + "plan": "heroku-postgresql:essential-0" + } + ], + "formation": { + "web": { + "quantity": 1 + } + } + } + } }