Skip to content

Commit

Permalink
gem updates
Browse files Browse the repository at this point in the history
  • Loading branch information
matthutchinson committed Oct 3, 2024
1 parent 615f27a commit 613ade7
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 10 deletions.
2 changes: 0 additions & 2 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
appraise "rails-6" do
gem "rails", "6.1.7.8"
gem "sqlite3", "~> 2.1.0"
end

appraise "rails-7" do
gem "rails", "7.2.0"
gem "sqlite3", "~> 2.1.0"
end
2 changes: 1 addition & 1 deletion acts_as_textcaptcha.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ Gem::Specification.new do |spec|

# testing
spec.add_development_dependency("appraisal")
spec.add_development_dependency("rails")
spec.add_development_dependency("minitest")
spec.add_development_dependency("rails", "~> 7.2.1")
spec.add_development_dependency("sqlite3")
spec.add_development_dependency("webmock")
end
1 change: 0 additions & 1 deletion gemfiles/rails_6.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@
source "https://rubygems.org"

gem "rails", "6.1.7.8"
gem "sqlite3", "~> 2.1.0"

gemspec path: "../"
1 change: 0 additions & 1 deletion gemfiles/rails_7.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@
source "https://rubygems.org"

gem "rails", "7.2.0"
gem "sqlite3", "~> 2.1.0"

gemspec path: "../"
6 changes: 1 addition & 5 deletions test/helpers/rails.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@
# init cache, StringIO logger, and test models/db
LOGGER_IO = StringIO.new
Rails.logger = Logger.new(LOGGER_IO)
if Rails.version >= "4"
Rails.cache = ActiveSupport::Cache::MemoryStore.new
else
RAILS_CACHE = ActiveSupport::Cache::MemoryStore.new
end
Rails.cache = ActiveSupport::Cache::MemoryStore.new

# set Rails test env
ENV["RAILS_ENV"] = "test"
Expand Down

0 comments on commit 613ade7

Please sign in to comment.