Make code compatible with Ruby 2.7

Not including specs etc.
This commit is contained in:
Râu Cao
2023-03-08 10:28:46 +07:00
parent e2b650fb84
commit 596529d9eb
5 changed files with 21 additions and 17 deletions

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 = '>= 3.2.0'
spec.required_ruby_version = '>= 2.7.2'
spec.metadata['rubygems_mfa_required'] = 'true'
spec.metadata['homepage_uri'] = spec.homepage