Skip to content

Commit d53e6fc

Browse files
committed
Upgraded dependencies.
1 parent 6d3d467 commit d53e6fc

19 files changed

+276
-211
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,15 @@ jobs:
66
env:
77
RAILS_ENV: test
88
DATABASE_URL: postgres://test:password@127.0.0.1:5432/grape_on_rails_test
9-
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile.file }}.gemfile
9+
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.entry.gemfile }}.gemfile
1010
strategy:
1111
fail-fast: false
1212
matrix:
13-
gemfile:
14-
- { ruby: '2.7', file: rails_6 }
15-
- { ruby: '3.0', file: rails_6_1 }
16-
- { ruby: '3.1', file: rails_7 }
17-
- { ruby: '3.2', file: rails_7 }
18-
- { ruby: '3.3', file: rails_7 }
19-
- { ruby: '3.4', file: rails_7 }
20-
# - { ruby: '3.2' ,file: rails_edge }
13+
entry:
14+
- { ruby: '3.0', gemfile: rails_6_1 }
15+
- { ruby: '3.2', gemfile: rails_7 }
16+
- { ruby: '3.4', gemfile: rails_8 }
17+
# - { ruby: '3.2', gemfile: rails_edge }
2118
steps:
2219
- uses: actions/checkout@v3
2320
- name: Set up Ruby
@@ -36,7 +33,7 @@ jobs:
3633
run: cp config/database.gha.yml config/database.yml
3734
- uses: harmon758/postgresql-action@v1
3835
with:
39-
postgresql version: "14"
36+
postgresql version: "17"
4037
postgresql db: grape_on_rails_test
4138
postgresql user: test
4239
postgresql password: password

.rspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
--require spec_helper
12
--color
23
--format=documentation
34

.rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Style/FrozenStringLiteralComment:
1313
Layout/LineLength:
1414
Enabled: false
1515

16-
require:
16+
plugins:
1717
- rubocop-capybara
1818
- rubocop-rails
1919
- rubocop-rspec_rails

.rubocop_todo.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This configuration was generated by
22
# `rubocop --auto-gen-config`
3-
# on 2025-02-20 15:23:50 UTC using RuboCop version 1.62.1.
3+
# on 2025-09-26 12:55:58 UTC using RuboCop version 1.81.0.
44
# The point is for the user to remove these configuration records
55
# one by one as the offenses are removed from the code base.
66
# Note that changes in the inspected code, or installation of new
@@ -14,7 +14,6 @@ Lint/EmptyBlock:
1414

1515
# Offense count: 1
1616
# This cop supports unsafe autocorrection (--autocorrect-all).
17-
# Configuration parameters: AutoCorrect.
1817
RSpec/EmptyExampleGroup:
1918
Exclude:
2019
- 'spec/helpers/welcome_helper_spec.rb'
@@ -34,8 +33,7 @@ RSpec/RepeatedExample:
3433
- 'spec/api/headers_spec.rb'
3534

3635
# Offense count: 5
37-
# Configuration parameters: Include, CustomTransform, IgnoreMethods, IgnoreMetadata.
38-
# Include: **/*_spec.rb
36+
# Configuration parameters: CustomTransform, IgnoreMethods, IgnoreMetadata.
3937
RSpec/SpecFilePathFormat:
4038
Exclude:
4139
- 'spec/api/headers_spec.rb'

.ruby-version

Lines changed: 0 additions & 1 deletion
This file was deleted.

Appraisals

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
# frozen_string_literal: true
22

3-
appraise 'rails-6' do
4-
gem 'rails', '~> 6.0'
5-
end
6-
73
appraise 'rails-6-1' do
84
gem 'rails', '~> 6.1'
95
end
@@ -12,6 +8,10 @@ appraise 'rails-7' do
128
gem 'rails', '~> 7.0'
139
end
1410

11+
appraise 'rails-8' do
12+
gem 'rails', '~> 8.0'
13+
end
14+
1515
appraise 'rails-edge' do
1616
gem 'rails', github: 'rails/rails'
1717
end

Gemfile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
11
source 'https://rubygems.org'
22
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
33

4-
# https://stackoverflow.com/questions/79360526/uninitialized-constant-activesupportloggerthreadsafelevellogger-nameerror
5-
gem 'concurrent-ruby', '1.3.4'
4+
gem 'concurrent-ruby'
65

76
# Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main"
8-
gem 'rails', '~> 7.0.8'
7+
gem 'rails', '~> 8.0.3'
98

109
# The original asset pipeline for Rails [https://github.com/rails/sprockets-rails]
1110
gem 'sprockets-rails'
1211

1312
# Use postgresql as the database for Active Record
14-
gem 'pg', '~> 1.1'
13+
gem 'pg'
1514

1615
# Use the Puma web server [https://github.com/puma/puma]
1716
gem 'puma'
@@ -49,7 +48,7 @@ gem 'bootsnap', require: false
4948
# Use Active Storage variants [https://guides.rubyonrails.org/active_storage_overview.html#transforming-images]
5049
# gem "image_processing", "~> 1.2"
5150

52-
gem 'grape', '~> 2.1'
51+
gem 'grape', '~> 2.4'
5352
gem 'grape-swagger'
5453

5554
group :development, :test do
@@ -73,13 +72,14 @@ end
7372
group :test do
7473
# Use system testing [https://guides.rubyonrails.org/testing.html#system-testing]
7574
gem 'capybara'
75+
gem 'mutex_m'
7676
gem 'rspec'
7777
gem 'rspec-rails'
78-
gem 'rubocop', '1.62.1'
78+
gem 'rubocop'
7979
gem 'rubocop-capybara'
8080
gem 'rubocop-rails'
8181
gem 'rubocop-rake'
8282
gem 'rubocop-rspec'
8383
gem 'rubocop-rspec_rails'
84-
gem 'selenium-webdriver', '4.20'
84+
gem 'selenium-webdriver'
8585
end

0 commit comments

Comments
 (0)