Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
7b54cd4
allow rails 7.1
ttstarck Jul 30, 2025
f0f958e
segfaulting for some reason
ttstarck Aug 6, 2025
2a36579
add require logger
ttstarck Aug 6, 2025
0a99266
only include em synchrony adapter methods in rails 7.0
ttstarck Aug 6, 2025
d82551c
add rails 7.1 to github workflow
ttstarck Aug 6, 2025
f169f30
add ruby 3.4 to github CI
ttstarck Aug 6, 2025
b2c5089
remove unnecessary em-synchrony code
ttstarck Aug 6, 2025
ea193b9
remove patch for rails 7.1
ttstarck Aug 6, 2025
ad9fe3b
bump bundler version | fix rails 7.0 gemfile to add mutex_m
ttstarck Aug 6, 2025
fa7924a
clean up comments in cp spec
ttstarck Aug 6, 2025
89ed20d
move query stub to before block
ttstarck Aug 6, 2025
6c6f85c
update to use coverall_reborn gem as coveralls was no longer maintained
ttstarck Aug 6, 2025
2e08fa6
use simplecov instead of coveralls
ttstarck Aug 6, 2025
4ff7d7c
remove simplecov
ttstarck Aug 6, 2025
3bc863d
add back in em next ticks
ttstarck Aug 6, 2025
7b3671d
lower rspec
ttstarck Aug 6, 2025
cb90a78
lower rspec to 3.12
ttstarck Aug 6, 2025
886ce61
add bigdecimal to rails 7.0 gemfile
ttstarck Aug 6, 2025
6c51dda
add comment for setting rspec to 3.12
ttstarck Aug 6, 2025
76ddbe7
bump version
ttstarck Aug 6, 2025
645cbfa
add back in double check on connection
ttstarck Aug 6, 2025
13afedc
remove mocks on new
ttstarck Aug 6, 2025
05fd774
use initialize
ttstarck Aug 6, 2025
5acdde2
use separate transaction manager
ttstarck Aug 6, 2025
879f492
bump version
ttstarck Aug 6, 2025
696d2a5
use connect
ttstarck Aug 6, 2025
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
5 changes: 2 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,17 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: [3.1, 3.2, 3.3]
ruby: [3.1, 3.2, 3.3, 3.4]
gemfile:
- Gemfile
- gemfiles/rails_6_1.gemfile
- gemfiles/rails_7_0.gemfile
- gemfiles/rails_7_1.gemfile
env:
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler: 2.2.29
bundler-cache: true
- run: bundle exec rspec
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.1.6
3.3.8
8 changes: 7 additions & 1 deletion Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,10 @@

require "appraisal/matrix"

appraisal_matrix(rails: [">= 6.1", "< 7.1"])
appraisal_matrix(rails: [">= 7.0", "< 7.2"]) do |rails:|
if rails < "7.1"
gem "mutex_m"
gem "base64"
gem "bigdecimal"
end
end
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,23 @@ Inspired by [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

Note: this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.4.0] - Unreleased
### Added
- Support for Rails 7.1

### Removed
- Removed support for Rails 6.1 and below.

### Changed
#### FiberedMysql2Adapter
- Updated to no longer include EM::Synchrony::ActiveRecord::Adapter_4_2 as it is no longer necessary.
- Removed TransactionManager overrides as they are no longer necessary.

#### FiberedMysql2::FiberedDatabaseConnectionPool
- Updated to only override methods needed in Rails 7.0.
- Removed double-checking in #connection for cached connection.
- Updated #checkout patch to use #reap instead of our custom #reaped_connections method.

## [0.3.1] - 2024-10-30
### Fixed
- Fixed bug in FiberedMysqlAdapter.new_client that was causing `uninitialized constant` errors.
Expand Down
3 changes: 1 addition & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,9 @@ gemspec

gem 'appraisal'
gem 'appraisal-matrix'
gem 'coveralls', require: false
gem 'mysql2', '~> 0.5'
gem 'nokogiri'
gem 'pry'
gem 'pry-byebug'
gem 'rake'
gem 'rspec'
gem 'rspec', '~> 3.12.0' # Rspec 3.13 is causing segfaults for some reason in CI...
Loading
Loading