Set the required Ruby version to 3.2.0

I'll relax this later
This commit is contained in:
Wilson Silva 2023-01-06 10:18:27 +07:00
parent 64b33b4869
commit 4780072dea
No known key found for this signature in database
GPG Key ID: 65135F94E23F82C8
3 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,5 @@
AllCops:
TargetRubyVersion: 2.6
TargetRubyVersion: 3.2
Style/StringLiterals:
Enabled: true

1
.tool-versions Normal file
View File

@ -0,0 +1 @@
ruby 3.2.0

View File

@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
spec.description = "Client and relay implementation of the Nostr protocol."
spec.homepage = "https://github.com/wilsonsilva/nostr"
spec.license = "MIT"
spec.required_ruby_version = ">= 2.6.0"
spec.required_ruby_version = ">= 3.2.0"
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = "https://github.com/wilsonsilva/nostr"