Skip to content

Commit

Permalink
Add support for Rails 7.1, 7.2 and Rails 3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
brunosedler committed Dec 6, 2024
1 parent b1172fc commit 6647712
Show file tree
Hide file tree
Showing 6 changed files with 221 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
- name: Run tests
run: bundle exec rspec
test_pg:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
services:
postgres:
image: postgres
Expand Down Expand Up @@ -80,10 +80,18 @@ jobs:
gemfile: Gemfile.6.1.pg
- ruby: 2.7.4
gemfile: Gemfile.7.0.pg
- ruby: 2.7.4
gemfile: Gemfile.7.1.pg
- ruby: 3.2.1
gemfile: Gemfile.6.1.pg
- ruby: 3.2.1
gemfile: Gemfile.7.0.pg
- ruby: 3.3.6
gemfile: Gemfile.7.0.pg
- ruby: 3.3.6
gemfile: Gemfile.7.1.pg
- ruby: 3.3.6
gemfile: Gemfile.7.2.pg
env:
BUNDLE_GEMFILE: "${{ matrix.gemfile }}"
steps:
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html

### Compatible changes

- Add support for Rails 7.1, 7.2 and Ruby 3.3


## 1.2.1 - 2024-10-25

Expand Down
15 changes: 15 additions & 0 deletions Gemfile.7.1.pg
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
source 'https://rubygems.org'

# Runtime dependencies
gem 'activerecord', '~>7.1.5'
gem 'pg', '>=1.3'

# Development dependencies
gem 'rake'
gem 'database_cleaner'
gem 'rspec', '~>3.5'
gem 'gemika', '>=0.8.1'
gem 'pry-byebug', '>=3.10.1'

# Gem under test
gem 'has_defaults', path: '.'
91 changes: 91 additions & 0 deletions Gemfile.7.1.pg.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
PATH
remote: .
specs:
has_defaults (1.2.1)
activerecord

GEM
remote: https://rubygems.org/
specs:
activemodel (7.1.5)
activesupport (= 7.1.5)
activerecord (7.1.5)
activemodel (= 7.1.5)
activesupport (= 7.1.5)
timeout (>= 0.4.0)
activesupport (7.1.5)
base64
benchmark (>= 0.3)
bigdecimal
concurrent-ruby (~> 1.0, >= 1.0.2)
connection_pool (>= 2.2.5)
drb
i18n (>= 1.6, < 2)
logger (>= 1.4.2)
minitest (>= 5.1)
mutex_m
securerandom (>= 0.3)
tzinfo (~> 2.0)
base64 (0.2.0)
benchmark (0.4.0)
bigdecimal (3.1.8)
byebug (11.1.3)
coderay (1.1.3)
concurrent-ruby (1.3.4)
connection_pool (2.4.1)
database_cleaner (2.1.0)
database_cleaner-active_record (>= 2, < 3)
database_cleaner-active_record (2.2.0)
activerecord (>= 5.a)
database_cleaner-core (~> 2.0.0)
database_cleaner-core (2.0.1)
diff-lcs (1.5.1)
drb (2.2.1)
gemika (0.8.3)
i18n (1.14.6)
concurrent-ruby (~> 1.0)
logger (1.6.1)
method_source (1.1.0)
minitest (5.25.2)
mutex_m (0.3.0)
pg (1.5.9)
pry (0.14.2)
coderay (~> 1.1)
method_source (~> 1.0)
pry-byebug (3.10.1)
byebug (~> 11.0)
pry (>= 0.13, < 0.15)
rake (13.2.1)
rspec (3.13.0)
rspec-core (~> 3.13.0)
rspec-expectations (~> 3.13.0)
rspec-mocks (~> 3.13.0)
rspec-core (3.13.2)
rspec-support (~> 3.13.0)
rspec-expectations (3.13.3)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-mocks (3.13.2)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-support (3.13.1)
securerandom (0.3.2)
timeout (0.4.2)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)

PLATFORMS
ruby

DEPENDENCIES
activerecord (~> 7.1.5)
database_cleaner
gemika (>= 0.8.1)
has_defaults!
pg (>= 1.3)
pry-byebug (>= 3.10.1)
rake
rspec (~> 3.5)

BUNDLED WITH
2.3.26
15 changes: 15 additions & 0 deletions Gemfile.7.2.pg
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
source 'https://rubygems.org'

# Runtime dependencies
gem 'activerecord', '~>7.2.2'
gem 'pg', '>=1.3'

# Development dependencies
gem 'rake'
gem 'database_cleaner'
gem 'rspec', '~>3.5'
gem 'gemika', '>=0.8.1'
gem 'pry-byebug', '>=3.10.1'

# Gem under test
gem 'has_defaults', path: '.'
89 changes: 89 additions & 0 deletions Gemfile.7.2.pg.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
PATH
remote: .
specs:
has_defaults (1.2.1)
activerecord

GEM
remote: https://rubygems.org/
specs:
activemodel (7.2.2)
activesupport (= 7.2.2)
activerecord (7.2.2)
activemodel (= 7.2.2)
activesupport (= 7.2.2)
timeout (>= 0.4.0)
activesupport (7.2.2)
base64
benchmark (>= 0.3)
bigdecimal
concurrent-ruby (~> 1.0, >= 1.3.1)
connection_pool (>= 2.2.5)
drb
i18n (>= 1.6, < 2)
logger (>= 1.4.2)
minitest (>= 5.1)
securerandom (>= 0.3)
tzinfo (~> 2.0, >= 2.0.5)
base64 (0.2.0)
benchmark (0.4.0)
bigdecimal (3.1.8)
byebug (11.1.3)
coderay (1.1.3)
concurrent-ruby (1.3.4)
connection_pool (2.4.1)
database_cleaner (2.1.0)
database_cleaner-active_record (>= 2, < 3)
database_cleaner-active_record (2.2.0)
activerecord (>= 5.a)
database_cleaner-core (~> 2.0.0)
database_cleaner-core (2.0.1)
diff-lcs (1.5.1)
drb (2.2.1)
gemika (0.8.3)
i18n (1.14.6)
concurrent-ruby (~> 1.0)
logger (1.6.1)
method_source (1.1.0)
minitest (5.25.2)
pg (1.5.9)
pry (0.14.2)
coderay (~> 1.1)
method_source (~> 1.0)
pry-byebug (3.10.1)
byebug (~> 11.0)
pry (>= 0.13, < 0.15)
rake (13.2.1)
rspec (3.13.0)
rspec-core (~> 3.13.0)
rspec-expectations (~> 3.13.0)
rspec-mocks (~> 3.13.0)
rspec-core (3.13.2)
rspec-support (~> 3.13.0)
rspec-expectations (3.13.3)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-mocks (3.13.2)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-support (3.13.1)
securerandom (0.3.2)
timeout (0.4.2)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)

PLATFORMS
ruby

DEPENDENCIES
activerecord (~> 7.2.2)
database_cleaner
gemika (>= 0.8.1)
has_defaults!
pg (>= 1.3)
pry-byebug (>= 3.10.1)
rake
rspec (~> 3.5)

BUNDLED WITH
2.5.23

0 comments on commit 6647712

Please sign in to comment.