Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
f0342fd
Add log/*.log to .gitignore and remove development.log
koji-takao-sp Nov 1, 2025
77c9da2
Add comprehensive coverage measurement with SimpleCov
koji-takao-sp Oct 31, 2025
29e4e4f
Add Rails 7.1 compatibility (partial - 664/674 tests passing)
koji-takao-sp Oct 31, 2025
e2f6441
Complete Rails 7.1.6 support with Rack 3.0 compatibility
koji-takao-sp Oct 31, 2025
cda51a6
Complete Rails 7.2.3 support
koji-takao-sp Nov 1, 2025
de5dfea
Complete Rails 8.0.4 support
koji-takao-sp Nov 1, 2025
d277fc4
Add partial Rails 8.1.2 support (664/674 tests passing)
koji-takao-sp Nov 1, 2025
85d6cce
Add complete Rails 8.1.2 support
koji-takao-sp Nov 1, 2025
88e01a4
Fix Rails 5.2-6.1 compatibility in test_helper.rb
koji-takao-sp Jan 20, 2026
93cf21f
Sync test_helper.rb compatibility fixes from docker-support
koji-takao-sp Jan 20, 2026
878520c
Add Logger require for Ruby 2.6 compatibility
koji-takao-sp Jan 20, 2026
01bdcd4
Fix unstable ordering in BookCommentResource for PostgreSQL
koji-takao-sp Jan 20, 2026
0914344
Fix test_warn_on_joined_to_many for Ruby 2.7 with Rails 5.2
koji-takao-sp Jan 20, 2026
2c4e452
Fix unstable ordering in Book associations for PostgreSQL
koji-takao-sp Jan 20, 2026
013f87a
Update CI matrix for Ruby 3.3, 3.4 and Rails 6.1-8.1
koji-takao-sp Jan 20, 2026
ae2e6af
Add csv gem dependency for Ruby 3.4+ support
koji-takao-sp Jan 20, 2026
dbb5e1a
Add default_scope to BookComment for stable ordering
koji-takao-sp Jan 20, 2026
7a7b80e
Merge pull request #9 from speee/rails-8.1-support-core
koji-takao-sp Jan 20, 2026
3fbf28b
Add Docker support for multi-version Rails testing
koji-takao-sp Jan 20, 2026
9783d74
Add Docker services for Rails 7.1-8.1 testing
koji-takao-sp Jan 20, 2026
d51c6dd
Fix Docker command to remove Gemfile.lock before bundle install
koji-takao-sp Jan 20, 2026
d4203e2
Add SQLite WAL mode files to .gitignore
koji-takao-sp Jan 20, 2026
5ff7f95
Add Docker services for Rails 5.1, 5.2, and 6.0
koji-takao-sp Jan 20, 2026
74294a5
Add Ruby 2.7 Dockerfile for Rails 5.1-6.0 compatibility
koji-takao-sp Jan 20, 2026
44f9266
Fix bundler version for Ruby 2.7 compatibility
koji-takao-sp Jan 20, 2026
5c90b83
Fix Psych::DisallowedClass error for Rails 6.0 with Ruby 2.7+
koji-takao-sp Jan 20, 2026
d78b012
Change Rails 6.1-8.1 to use Ruby 3.1.5
koji-takao-sp Jan 20, 2026
49d75c6
Use Ruby 3.1.5 for Rails 6.1-7.2, Ruby 3.4 for Rails 8.0-8.1
koji-takao-sp Jan 20, 2026
37bad60
Merge pull request #10 from speee/docker-support-speee
koji-takao-sp Jan 20, 2026
005a426
Fix Rails 8.2 deprecation warnings and improve Rack compatibility
koji-takao-sp Jan 20, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add Docker services for Rails 5.1, 5.2, and 6.0
Add Docker Compose services for older Rails versions to enable
comprehensive testing across the full compatibility matrix:

Services added:
- rails-5.1: Rails 5.1.7
- rails-5.2: Rails 5.2.8.1
- rails-6.0: Rails 6.0.6

Usage:
  docker-compose run rails-5.1
  docker-compose run rails-5.2
  docker-compose run rails-6.0

This completes the Docker setup for all Rails versions supported
in the CI matrix (5.1.7 through 8.1.2).

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
  • Loading branch information
koji-takao-sp and claude committed Jan 20, 2026
commit 5ff7f95373fbb88fc9aa850d9e6983e44cf9adab
24 changes: 24 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,30 @@ services:
stdin_open: true
tty: true

# Rails 5.1.7
rails-5.1:
<<: *test-base
container_name: jsonapi-rails-5.1
environment:
- RAILS_VERSION=5.1.7
command: bash -c "rm -f Gemfile.lock && bundle install && bundle exec rake test"

# Rails 5.2.8.1
rails-5.2:
<<: *test-base
container_name: jsonapi-rails-5.2
environment:
- RAILS_VERSION=5.2.8.1
command: bash -c "rm -f Gemfile.lock && bundle install && bundle exec rake test"

# Rails 6.0.6
rails-6.0:
<<: *test-base
container_name: jsonapi-rails-6.0
environment:
- RAILS_VERSION=6.0.6
command: bash -c "rm -f Gemfile.lock && bundle install && bundle exec rake test"

# Rails 6.1.7.10
rails-6.1:
<<: *test-base
Expand Down