From 7f70ef2194222309269af2b7183b09a8334254ec Mon Sep 17 00:00:00 2001 From: Vladimir Dementyev Date: Thu, 22 Feb 2024 11:34:56 -0800 Subject: [PATCH] chore: upgrade to Rails 7 --- Makefile | 6 ++++++ anyt.gemspec | 2 +- lib/anyt/dummy/application.rb | 3 +-- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 3682bff..8fcd15e 100644 --- a/Makefile +++ b/Makefile @@ -3,3 +3,9 @@ lint: test: bundle exec bin/anyt --self-check --require=etc/tests/*.rb + +release: + gem release anyt-core + gem release anyt -t + git push + git push --tags diff --git a/anyt.gemspec b/anyt.gemspec index 6a29928..768cf06 100644 --- a/anyt.gemspec +++ b/anyt.gemspec @@ -28,5 +28,5 @@ Gem::Specification.new do |spec| spec.add_development_dependency "bundler", "~> 2" spec.add_development_dependency "rake", "~> 13.0" - spec.add_development_dependency "puma", "~> 3.6" + spec.add_development_dependency "puma", "~> 6.0" end diff --git a/lib/anyt/dummy/application.rb b/lib/anyt/dummy/application.rb index 914451f..b31f5a3 100644 --- a/lib/anyt/dummy/application.rb +++ b/lib/anyt/dummy/application.rb @@ -10,8 +10,7 @@ require "action_dispatch/middleware/cookies" class TestApp < Rails::Application - secrets.secret_token = "secret_token" - secrets.secret_key_base = "secret_key_base" + config.load_defaults 7.0 config.logger = Logger.new($stdout) config.log_level = AnyCable.config.log_level