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
4 changes: 2 additions & 2 deletions .github/workflows/rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
TESTOPTS: '-v'
steps:
- uses: actions/checkout@v3
- name: Set up Ruby 3.2
- name: Set up Ruby 3.4
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
ruby-version: 3.4
bundler-cache: true
- name: bundle install
run: bundle install --jobs 4 --retry 3
Expand Down
24 changes: 13 additions & 11 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ on: [push, pull_request]

jobs:
build:
name: >-
${{ matrix.ruby }}
name: ruby ${{ matrix.ruby }} / mongoid ${{ matrix.mongoid }}
env:
CI: true
TESTOPTS: -v
Expand All @@ -14,27 +13,30 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: [2.7, 3.0, 3.1, 3.2, truffleruby]
mongoid: [7, 8]
ruby: ['3.3', '3.4']
mongoid: [7, 8, 9]
experimental: [false]
include:
- ruby: '4.0'
mongoid: 9
experimental: false
- ruby: head
mongoid: head
experimental: true
- ruby: jruby-head
mongoid: 8
experimental: true
- ruby: jruby
mongoid: 7
mongoid: 8
experimental: true
- ruby: jruby
mongoid: 8
mongoid: 9
experimental: true
- ruby: jruby-head
mongoid: 8
mongoid: 9
experimental: true
- ruby: truffleruby
mongoid: 9
experimental: true
- ruby: truffleruby-head
mongoid: 8
mongoid: 9
experimental: true

steps:
Expand Down
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ inherit_from: .rubocop_todo.yml
AllCops:
NewCops: enable
SuggestExtensions: false
TargetRubyVersion: 2.7
TargetRubyVersion: 3.3
Exclude:
- spec/**/*
- vendor/**/*
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ from the [Mongoid 3.0.0-stable branch](https://github.com/mongodb/mongoid/tree/3

## Version Support

* The current release is compatible with Mongoid 7.3 and later, and Ruby 2.7 and later.
* The current release is tested against Mongoid 7.3, 8 and 9, and Ruby 3.3 and later.
* Earlier Mongoid and Ruby versions are supported on earlier releases.

## Installation
Expand Down
1 change: 1 addition & 0 deletions mongoid_paranoia.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Gem::Specification.new do |gem|
gem.files = Dir.glob('lib/**/*') + %w[LICENSE README.md]
gem.require_paths = ['lib']

gem.required_ruby_version = '>= 3.3'
gem.add_dependency 'mongoid', '>= 7.3'
gem.metadata['rubygems_mfa_required'] = 'true'
end
Loading