From c23448a292a92946bb25c8e8eebcad9aa0842a73 Mon Sep 17 00:00:00 2001 From: Andrei Kaleshka Date: Tue, 19 Mar 2024 18:15:44 +0100 Subject: [PATCH 1/3] Ruby 3.3 on CI --- .github/workflows/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0b931e3..7900118 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,6 +18,7 @@ jobs: - { ruby: '3.0', rails: '6.1' } - { ruby: '3.1', rails: '7.0' } - { ruby: '3.2', rails: '7.1' } + - { ruby: '3.3', rails: '7.1' } env: BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/rails.${{ matrix.rails }}.gemfile steps: From 579f51146abcb80b799e49d6823a5218c6f9fd16 Mon Sep 17 00:00:00 2001 From: Andrei Kaleshka Date: Tue, 19 Mar 2024 18:16:59 +0100 Subject: [PATCH 2/3] add csv dependency --- Gemfile.lock | 2 ++ actual_db_schema.gemspec | 1 + 2 files changed, 3 insertions(+) diff --git a/Gemfile.lock b/Gemfile.lock index 7aa9bb0..1887562 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -4,6 +4,7 @@ PATH actual_db_schema (0.7.0) activerecord (>= 6.0.0) activesupport (>= 6.0.0) + csv GEM remote: https://rubygems.org/ @@ -92,6 +93,7 @@ GEM concurrent-ruby (1.2.2) connection_pool (2.4.1) crass (1.0.6) + csv (3.2.8) date (3.3.3) debug (1.8.0) irb (>= 1.5.0) diff --git a/actual_db_schema.gemspec b/actual_db_schema.gemspec index d139538..d93ace9 100644 --- a/actual_db_schema.gemspec +++ b/actual_db_schema.gemspec @@ -38,6 +38,7 @@ Gem::Specification.new do |spec| # Uncomment to register a new dependency of your gem spec.add_runtime_dependency "activerecord", ">= 6.0.0" spec.add_runtime_dependency "activesupport", ">= 6.0.0" + spec.add_runtime_dependency "csv" spec.add_development_dependency "appraisal" spec.add_development_dependency "debug" From 365d5e55f25d338e0146a05ecba2304047c21d3e Mon Sep 17 00:00:00 2001 From: Andrei Kaleshka Date: Tue, 19 Mar 2024 18:19:08 +0100 Subject: [PATCH 3/3] bump 0.7.1 --- CHANGELOG.md | 4 ++++ lib/actual_db_schema/version.rb | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 738f491..873756f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## [0.7.1] - 2024-03-19 + +- add csv as a dependency since Ruby 3.3 has removed it from the standard library + ## [0.7.0] - 2024-01-18 - db:phantom_migrations displays the branch in which the phantion migration was run diff --git a/lib/actual_db_schema/version.rb b/lib/actual_db_schema/version.rb index 3f5bd18..b61bf86 100644 --- a/lib/actual_db_schema/version.rb +++ b/lib/actual_db_schema/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module ActualDbSchema - VERSION = "0.7.0" + VERSION = "0.7.1" end