Skip to content

Commit 90c7e39

Browse files
committed
Random::Formatter is only provided from Ruby 3.1
1 parent bb1c078 commit 90c7e39

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
uses: ruby/actions/.github/workflows/ruby_versions.yml@master
88
with:
99
engine: cruby
10-
min_version: 2.6
10+
min_version: 3.1
1111

1212
test:
1313
needs: ruby-versions

securerandom.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Gem::Specification.new do |spec|
1414
spec.summary = %q{Interface for secure random number generator.}
1515
spec.description = %q{Interface for secure random number generator.}
1616
spec.homepage = "https://github.com/ruby/securerandom"
17-
spec.required_ruby_version = Gem::Requirement.new(">= 2.6.0")
17+
spec.required_ruby_version = Gem::Requirement.new(">= 3.1.0")
1818
spec.licenses = ["Ruby", "BSD-2-Clause"]
1919

2020
spec.metadata["homepage_uri"] = spec.homepage

0 commit comments

Comments
 (0)