diff --git a/.rubocop.yml b/.rubocop.yml index e3462a7..7b4bdb2 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,5 +1,5 @@ AllCops: - TargetRubyVersion: 2.6 + TargetRubyVersion: 3.2 Style/StringLiterals: Enabled: true diff --git a/.tool-versions b/.tool-versions new file mode 100644 index 0000000..c23af94 --- /dev/null +++ b/.tool-versions @@ -0,0 +1 @@ +ruby 3.2.0 diff --git a/nostr.gemspec b/nostr.gemspec index 1b7aaa5..b78edd2 100644 --- a/nostr.gemspec +++ b/nostr.gemspec @@ -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"