Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
29 changes: 6 additions & 23 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,33 +15,16 @@ jobs:
fail-fast: false
matrix:
ruby-version:
- 3.0
- 3.1
- 3.2
active-record-version:
- 6.1.0
- 7.0.0
- 7.1.0
exclude:
- ruby-version: 3.2
active-record-version: 6.0.0
- ruby-version: 3.2
active-record-version: 6.1.0
- ruby-version: 3.2
active-record-version: 7.0.0
- ruby-version: 3.1
active-record-version: 6.0.0
- ruby-version: 3.1
active-record-version: 6.1.0
- ruby-version: 3.0
active-record-version: 6.0.0
env:
ACTIVE_RECORD_VERSION: "${{ matrix.active-record-version }}"
- "3.0"
- "3.1"
- "3.2"
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: "${{ matrix.ruby-version }}"
bundler-cache: true
- name: Run tests
run: bundle exec rspec --format documentation
run: |
bundle exec appraisal install
bundle exec appraisal rspec --format documentation
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ build/

Gemfile.lock

# Do not copy generated appraisal Gemfiles
gemfiles/*

# for a library or gem, you might want to ignore these files since the code is
# intended to run in multiple environments; otherwise, check them in:
# Gemfile.lock
Expand Down
14 changes: 14 additions & 0 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
appraise "activerecord-6.1" do
gem "activerecord", "~> 6.1.0"
gem "concurrent-ruby", "1.3.4"
end

appraise "activerecord-7.0" do
gem "activerecord", "~> 7.0.0"
gem "concurrent-ruby", "1.3.4"
end

appraise "activerecord-7.1" do
gem "activerecord", "~> 7.1.0"
gem "concurrent-ruby"
end
4 changes: 4 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,7 @@ else
end

gem "activerecord", ar

group :development, :test do
gem "appraisal", "2.5.0"
end
2 changes: 1 addition & 1 deletion dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ setup:
commands:
test:
summary: Run the project's specs
command: bundle exec rspec spec/
command: bundle exec appraisal rspec spec/
2 changes: 1 addition & 1 deletion lib/inheritance_integer_type/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module InheritanceIntegerType
VERSION = "0.2.0"
VERSION = "0.2.1"
end