Skip to content

Commit

Permalink
Merge pull request #8 from Julianacodes/mm-4540-activerecord-7
Browse files Browse the repository at this point in the history
Add support for ActiveRecord 7
  • Loading branch information
bradurani authored Feb 14, 2023
2 parents a7e24fd + 2486048 commit 411516a
Show file tree
Hide file tree
Showing 8 changed files with 105 additions and 9 deletions.
4 changes: 4 additions & 0 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ end
appraise "activerecord-6" do
gem "activerecord", ">= 6.0.0", "< 7.0.0"
end

appraise "activerecord-7" do
gem "activerecord", ">= 7.0.0", "< 8.0.0"
end
4 changes: 2 additions & 2 deletions gemfiles/activerecord_4.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
PATH
remote: ..
specs:
pg-eyeballs (1.2.0)
activerecord (>= 4.0, < 7.0)
pg-eyeballs (1.3.0)
activerecord (>= 4.0, < 8.0)
pg

GEM
Expand Down
4 changes: 2 additions & 2 deletions gemfiles/activerecord_5.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
PATH
remote: ..
specs:
pg-eyeballs (1.2.0)
activerecord (>= 4.0, < 7.0)
pg-eyeballs (1.3.0)
activerecord (>= 4.0, < 8.0)
pg

GEM
Expand Down
6 changes: 3 additions & 3 deletions gemfiles/activerecord_6.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
PATH
remote: ..
specs:
pg-eyeballs (1.2.0)
activerecord (>= 4.0, < 7.0)
pg-eyeballs (1.3.0)
activerecord (>= 4.0, < 8.0)
pg

GEM
Expand Down Expand Up @@ -38,7 +38,7 @@ GEM
concurrent-ruby (~> 1.0)
method_source (1.0.0)
minitest (5.14.4)
pg (1.2.3)
pg (1.4.5)
pry (0.14.1)
coderay (~> 1.1)
method_source (~> 1.0)
Expand Down
11 changes: 11 additions & 0 deletions gemfiles/activerecord_7.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "pry"
gem "pry-byebug"
gem "awesome_print"
gem "appraisal"
gem "activerecord", ">= 7.0.0", "< 8.0.0"

gemspec path: "../"
81 changes: 81 additions & 0 deletions gemfiles/activerecord_7.gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
PATH
remote: ..
specs:
pg-eyeballs (1.3.0)
activerecord (>= 4.0, < 8.0)
pg

GEM
remote: https://rubygems.org/
specs:
activemodel (7.0.4.2)
activesupport (= 7.0.4.2)
activerecord (7.0.4.2)
activemodel (= 7.0.4.2)
activesupport (= 7.0.4.2)
activesupport (7.0.4.2)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 1.6, < 2)
minitest (>= 5.1)
tzinfo (~> 2.0)
appraisal (2.4.1)
bundler
rake
thor (>= 0.14.0)
awesome_print (1.9.2)
byebug (11.1.3)
coderay (1.1.3)
concurrent-ruby (1.2.0)
database_cleaner (2.0.1)
database_cleaner-active_record (~> 2.0.0)
database_cleaner-active_record (2.0.1)
activerecord (>= 5.a)
database_cleaner-core (~> 2.0.0)
database_cleaner-core (2.0.1)
diff-lcs (1.5.0)
i18n (1.12.0)
concurrent-ruby (~> 1.0)
method_source (1.0.0)
minitest (5.17.0)
pg (1.4.5)
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 (10.5.0)
rspec (3.12.0)
rspec-core (~> 3.12.0)
rspec-expectations (~> 3.12.0)
rspec-mocks (~> 3.12.0)
rspec-core (3.12.0)
rspec-support (~> 3.12.0)
rspec-expectations (3.12.2)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-mocks (3.12.3)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-support (3.12.0)
thor (1.2.1)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)

PLATFORMS
ruby

DEPENDENCIES
activerecord (>= 7.0.0, < 8.0.0)
appraisal
awesome_print
bundler (~> 1.12)
database_cleaner
pg-eyeballs!
pry
pry-byebug
rake (~> 10.0)
rspec (~> 3.0)

BUNDLED WITH
1.17.3
2 changes: 1 addition & 1 deletion lib/eyeballs/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Eyeballs
VERSION = "1.2.0"
VERSION = "1.3.0"
end
2 changes: 1 addition & 1 deletion pg-eyeballs.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "rspec", "~> 3.0"
spec.add_development_dependency "database_cleaner"

spec.add_dependency "activerecord", ">=4.0", "<7.0"
spec.add_dependency "activerecord", ">=4.0", "<8.0"
spec.add_dependency "pg"

end

0 comments on commit 411516a

Please sign in to comment.