From 90c7e390f5d3c5d3c1d6d9b56e0adb151c8972e2 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Mon, 2 Dec 2024 12:19:57 +0900 Subject: [PATCH] Random::Formatter is only provided from Ruby 3.1 --- .github/workflows/test.yml | 2 +- securerandom.gemspec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e8872f8..257599e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,7 +7,7 @@ jobs: uses: ruby/actions/.github/workflows/ruby_versions.yml@master with: engine: cruby - min_version: 2.6 + min_version: 3.1 test: needs: ruby-versions diff --git a/securerandom.gemspec b/securerandom.gemspec index 0b02348..bfe3bda 100644 --- a/securerandom.gemspec +++ b/securerandom.gemspec @@ -14,7 +14,7 @@ Gem::Specification.new do |spec| spec.summary = %q{Interface for secure random number generator.} spec.description = %q{Interface for secure random number generator.} spec.homepage = "https://github.com/ruby/securerandom" - spec.required_ruby_version = Gem::Requirement.new(">= 2.6.0") + spec.required_ruby_version = Gem::Requirement.new(">= 3.1.0") spec.licenses = ["Ruby", "BSD-2-Clause"] spec.metadata["homepage_uri"] = spec.homepage