From f41889ceb7bcc292f392f3e88e2104fa5cff9723 Mon Sep 17 00:00:00 2001 From: Ben Fritsch Date: Thu, 29 Feb 2024 15:28:38 +0100 Subject: [PATCH] require Ruby 3.0 since we are not testing versions below 3.0 --- pliny.gemspec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pliny.gemspec b/pliny.gemspec index a013c0a1..ce2d1e37 100644 --- a/pliny.gemspec +++ b/pliny.gemspec @@ -15,11 +15,12 @@ Gem::Specification.new do |gem| gem.executables = %x{ git ls-files }.split("\n").select { |d| d =~ /^bin\// }.map { |d| d.gsub(/^bin\//, "") } gem.files = %x{ git ls-files }.split("\n").select { |d| d =~ %r{^(License|README|bin/|data/|ext/|lib/|spec/|test/)} } + gem.required_ruby_version = ">= 3.0" + gem.add_dependency "activesupport", ">= 6.0", "< 8.0" gem.add_dependency "multi_json", "~> 1.9", ">= 1.9.3" gem.add_dependency "prmd", "~> 0.11", ">= 0.11.4" - gem.add_dependency "sinatra", ">= 2.0", "< 5.0" gem.add_dependency "http_accept", "~> 0.1", ">= 0.1.5" gem.add_dependency "sinatra-router", "~> 0.2", ">= 0.2.4"