From 6fe4d38462bd03495c8f0ebb9f8129ae388a2098 Mon Sep 17 00:00:00 2001
From: Nemo <me@captnemo.in>
Date: Tue, 05 Nov 2024 10:22:16 +0530
Subject: [PATCH] Drop Ruby 3.0

- Upgrades sqlite3 dep to 2.2
- Upgrade a few other deps
---
 .rubocop.yml               | 2 +-
 Gemfile                    | 2 +-
 jekyll-sqlite.gemspec      | 5 +++--
 .github/workflows/main.yml | 1 -
 4 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/.rubocop.yml b/.rubocop.yml
index 362a30a..7f490fd 100644
--- a/.rubocop.yml
+++ a/.rubocop.yml
@@ -1,6 +1,6 @@
 require: rubocop-rake
 AllCops:
-  TargetRubyVersion: 3.0
+  TargetRubyVersion: 3.1
   NewCops: enable
   Exclude:
     - "node_modules/**/*"
diff --git a/Gemfile b/Gemfile
index 85b6ff6..d922f67 100644
--- a/Gemfile
+++ a/Gemfile
@@ -8,7 +8,7 @@
 # These are development dependencies
 gem "jekyll", "~> 4.0"
 gem "rake", "~> 13.0"
-gem "rubocop", "~> 1.21"
+gem "rubocop", "~> 1.68"
 gem "rubocop-rake", "~> 0.6.0"
 
 # Ruby 3.4 preparedness
diff --git a/jekyll-sqlite.gemspec b/jekyll-sqlite.gemspec
index d5b2b7e..1f85153 100644
--- a/jekyll-sqlite.gemspec
+++ a/jekyll-sqlite.gemspec
@@ -11,7 +11,7 @@
 
   spec.summary = "A Jekyll plugin to use SQLite databases as a data source."
   spec.homepage = "https://github.com/captn3m0/jekyll-sqlite"
-  spec.required_ruby_version = ">= 3.0.0"
+  spec.required_ruby_version = ">= 3.1.0"
 
   spec.metadata["homepage_uri"] = spec.homepage
   spec.metadata["source_code_uri"] = spec.homepage
@@ -27,7 +27,6 @@
   spec.bindir = "exe"
   spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
   spec.require_paths = ["lib"]
-
-  spec.add_dependency "sqlite3", "~> 2.0"
+  spec.add_dependency "sqlite3", "~> 2.2"
   spec.metadata["rubygems_mfa_required"] = "true"
 end
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index c51ac9e..7a16e8b 100644
--- a/.github/workflows/main.yml
+++ a/.github/workflows/main.yml
@@ -8,7 +8,6 @@
     strategy:
       matrix:
         ruby:
-          - "3.0"
           - "3.1"
           - "3.2"
           - "3.3"
--
rgit 0.1.5