Skip to content

Commit

Permalink
Add support for Rails 7.1 and Ruby 3.3 (#26)
Browse files Browse the repository at this point in the history
Also, drop support for Rails 5.2 and Ruby 2.7.
  • Loading branch information
jaysonvirissimo authored Jan 14, 2024
1 parent 9077cd0 commit 4c980b6
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@ jobs:
- macos
- ubuntu
ruby:
- 2.7
- 3.0
- 3.1
- 3.2
- 3.3
allow_failures:
- false
include:
- os: ubuntu
ruby: ruby-head
allow_failures: false
allow_failures: true
env:
BUNDLE_GEMFILE: "${{ matrix.gemfile }}"
ALLOW_FAILURES: "${{ matrix.allow_failures }}"
Expand Down
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ruby 3.2.2
ruby 3.3.0
6 changes: 3 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
PATH
remote: .
specs:
active_recall (1.9.0)
activerecord (>= 5.2.3, <= 7.1)
activesupport (>= 5.2.3, <= 7.1)
active_recall (2.0.0)
activerecord (>= 6.0, <= 7.2)
activesupport (>= 6.0, <= 7.2)

GEM
remote: https://rubygems.org/
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

**ActiveRecall** is a spaced-repetition system that allows you to treat arbitrary [ActiveRecord](https://github.com/rails/rails/tree/master/activerecord) models as if they were flashcards to be learned and reviewed.
It it based on, and is intended to be backwards compatible with, the [okubo](https://github.com/rgravina/okubo) gem.
The primary differentiating features are that it lets the user specify the scheduling algorithm and is fully compatible with Rails 6+ and Ruby 3+.
The primary differentiating features are that it lets the user specify the scheduling algorithm and is fully compatible with (and requires) Rails 6+ and Ruby 3+.

## Installation

Expand Down
6 changes: 3 additions & 3 deletions active_recall.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "rdoc"
spec.add_development_dependency "rspec", ">= 3.0"
spec.add_development_dependency "sqlite3"
spec.add_runtime_dependency "activerecord", ">= 5.2.3", "<= 7.1"
spec.add_runtime_dependency "activesupport", ">= 5.2.3", "<= 7.1"
spec.required_ruby_version = ">= 2.6"
spec.add_runtime_dependency "activerecord", ">= 6.0", "<= 7.2"
spec.add_runtime_dependency "activesupport", ">= 6.0", "<= 7.2"
spec.required_ruby_version = ">= 3.0"
end
2 changes: 1 addition & 1 deletion lib/active_recall/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module ActiveRecall
VERSION = "1.9.0"
VERSION = "2.0.0"
end

0 comments on commit 4c980b6

Please sign in to comment.