From 30cbef274da0e2e39ddc20d98733343df20069de Mon Sep 17 00:00:00 2001 From: Manabu Niseki Date: Sat, 10 Aug 2024 10:48:11 +0900 Subject: [PATCH] chore: activerecrod v7.2.0 (#1107) --- lib/mihari/database.rb | 2 +- mihari.gemspec | 26 +++++++++++++------------- spec/spec_helper.rb | 3 +++ 3 files changed, 17 insertions(+), 14 deletions(-) diff --git a/lib/mihari/database.rb b/lib/mihari/database.rb index c5aa0bcb..9eb8e130 100644 --- a/lib/mihari/database.rb +++ b/lib/mihari/database.rb @@ -6,7 +6,7 @@ # # Mihari v7 DB schema # -class V7Schema < ActiveRecord::Migration[7.1] +class V7Schema < ActiveRecord::Migration[7.2] def change create_table :rules, id: :string, if_not_exists: true do |t| t.string :title, null: false diff --git a/mihari.gemspec b/mihari.gemspec index 9f1d2982..9932a8cb 100644 --- a/mihari.gemspec +++ b/mihari.gemspec @@ -42,10 +42,10 @@ Gem::Specification.new do |spec| spec.add_development_dependency "capybara", "~> 3.40" spec.add_development_dependency "factory_bot", "~> 6.4.6" spec.add_development_dependency "fakefs", "~> 2.5" - spec.add_development_dependency "faker", "~> 3.4.1" + spec.add_development_dependency "faker", "~> 3.4.2" spec.add_development_dependency "fuubar", "~> 2.5.1" spec.add_development_dependency "mysql2", "~> 0.5.6" - spec.add_development_dependency "pg", "~> 1.5.6" + spec.add_development_dependency "pg", "~> 1.5.7" spec.add_development_dependency "rack-test", "~> 2.1" spec.add_development_dependency "rake", "~> 13.2.1" spec.add_development_dependency "rb-fsevent", "~> 0.11.2" @@ -56,23 +56,23 @@ Gem::Specification.new do |spec| spec.add_development_dependency "rubocop-capybara", "~> 2.21" spec.add_development_dependency "rubocop-factory_bot", "~> 2.26.1" spec.add_development_dependency "rubocop-rake", "~> 0.6" - spec.add_development_dependency "rubocop-rspec", "~> 3.0.2" + spec.add_development_dependency "rubocop-rspec", "~> 3.0.4" spec.add_development_dependency "rubocop-yard", "~> 0.9.3" spec.add_development_dependency "simplecov-lcov", "~> 0.8" spec.add_development_dependency "simplecov", "~> 0.22" - spec.add_development_dependency "standard", "~> 1.39.1" + spec.add_development_dependency "standard", "~> 1.39.2" spec.add_development_dependency "test-prof", "~> 1.3.3" spec.add_development_dependency "timecop", "~> 0.9.10" spec.add_development_dependency "vcr", "~> 6.2" spec.add_development_dependency "webmock", "~> 3.23.1" unless ci_env? - spec.add_development_dependency "lefthook", "~> 1.6.18" + spec.add_development_dependency "lefthook", "~> 1.7.12" spec.add_development_dependency "ruby-lsp-rspec", "~> 0.1.12" spec.add_development_dependency "solargraph", "~> 0.50" end - spec.add_dependency "activerecord", "7.1.3.4" + spec.add_dependency "activerecord", "7.2.0" spec.add_dependency "addressable", "~> 2.8" spec.add_dependency "anyway_config", "2.6.4" spec.add_dependency "awrence", "3.0.0" @@ -85,7 +85,7 @@ Gem::Specification.new do |spec| spec.add_dependency "dry-struct", "1.6.0" spec.add_dependency "dry-validation", "1.10.0" spec.add_dependency "email_address", "0.2.4" - spec.add_dependency "grape", "2.1.2" + spec.add_dependency "grape", "2.1.3" spec.add_dependency "grape-entity", "1.0.1" spec.add_dependency "grape-swagger", "2.1.0" spec.add_dependency "grape-swagger-entity", "0.5.4" @@ -95,18 +95,18 @@ Gem::Specification.new do |spec| spec.add_dependency "launchy", "3.0.1" spec.add_dependency "memo_wise", "1.9.0" spec.add_dependency "normalize_country", "0.3.2" - spec.add_dependency "parallel", "1.25.1" + spec.add_dependency "parallel", "1.26.1" spec.add_dependency "plissken", "3.0.0" - spec.add_dependency "public_suffix", "6.0.0" + spec.add_dependency "public_suffix", "6.0.1" spec.add_dependency "puma", "6.4.2" - spec.add_dependency "rack", "3.1.6" + spec.add_dependency "rack", "3.1.7" spec.add_dependency "rack-cors", "2.0.2" spec.add_dependency "rack-session", "2.0.0" spec.add_dependency "rackup", "2.1.0" spec.add_dependency "search_cop", "1.4.0" spec.add_dependency "semantic_logger", "4.16.0" - spec.add_dependency "sentry-ruby", "~> 5.18.1" - spec.add_dependency "sentry-sidekiq", "~> 5.18.1" + spec.add_dependency "sentry-ruby", "~> 5.18.2" + spec.add_dependency "sentry-sidekiq", "~> 5.18.2" spec.add_dependency "sidekiq", "7.3.0" spec.add_dependency "slack-notifier", "2.4.0" spec.add_dependency "sqlite3", "~> 1.7" @@ -115,6 +115,6 @@ Gem::Specification.new do |spec| spec.add_dependency "tilt", "2.4.0" spec.add_dependency "tilt-jbuilder", "0.7.1" spec.add_dependency "uuidtools", "2.2.0" - spec.add_dependency "whois", "5.1.1" + spec.add_dependency "whois", "6.0.0" spec.add_dependency "whois-parser", "2.0.0" end diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index c5bdb692..ebc4aa4f 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -2,6 +2,9 @@ require "bundler/setup" +# TODO: delete after factory_bot update +require "active_support/inflector" + require "base64" require "digest" require "factory_bot"