Skip to content

Commit

Permalink
drop support for ruby 2 and require rails 6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
haffla committed Oct 15, 2023
1 parent 120767d commit 556f956
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 49 deletions.
20 changes: 2 additions & 18 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -1,26 +1,10 @@
# frozen_string_literal: true

appraise "activerecord-5.0.0" do
gem "activerecord", "~> 5.0.0"
end

appraise "activerecord-5.1.0" do
gem "activerecord", "~> 5.1.3"
end

appraise "activerecord-5.2.0" do
gem "activerecord", "~> 5.2.8"
end

appraise "activerecord-6.0.0" do
gem "activerecord", "~> 6.0.6"
end

appraise "activerecord-6.1.0" do
appraise "activerecord-6.1" do
gem "activerecord", "~> 6.1"
end

appraise "activerecord-7.0.8" do
appraise "activerecord-7.0" do
gem "activerecord", "~> 7.0.8"
end

Expand Down
7 changes: 0 additions & 7 deletions gemfiles/activerecord_5.0.0.gemfile

This file was deleted.

7 changes: 0 additions & 7 deletions gemfiles/activerecord_5.1.0.gemfile

This file was deleted.

7 changes: 0 additions & 7 deletions gemfiles/activerecord_5.2.0.gemfile

This file was deleted.

7 changes: 0 additions & 7 deletions gemfiles/activerecord_6.0.0.gemfile

This file was deleted.

File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions jsonb_accessor.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ Gem::Specification.new do |spec|
spec.description = "Adds typed jsonb backed fields to your ActiveRecord models."
spec.homepage = "https://github.com/devmynd/jsonb_accessor"
spec.license = "MIT"
spec.required_ruby_version = ">= 2"
spec.required_ruby_version = ">= 3"

spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) || f.match(/png\z/) }
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]

spec.add_dependency "activerecord", ">= 5.0"
spec.add_dependency "activesupport", ">= 5.0"
spec.add_dependency "activerecord", ">= 6.1"
spec.add_dependency "activesupport", ">= 6.1"
if is_java
spec.add_dependency "activerecord-jdbcpostgresql-adapter", ">= 50.0"
else
Expand Down

0 comments on commit 556f956

Please sign in to comment.