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
committed by Râu Cao
parent 5497930dd5
commit d59f31a3c6
8 changed files with 32 additions and 24 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://nostr-ruby.com/'
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