diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a46c096..14db801 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,7 +14,7 @@ jobs: strategy: matrix: ruby: - - '3.2.0' + - '3.3.0' steps: - uses: actions/checkout@v3 diff --git a/.rubocop.yml b/.rubocop.yml index 4e57df6..da083ed 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -5,7 +5,7 @@ require: - rubocop-rspec AllCops: - TargetRubyVersion: 3.2 + TargetRubyVersion: 3.3 DisplayCopNames: true NewCops: enable diff --git a/.tool-versions b/.tool-versions index 98fa67a..869046c 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,2 +1,2 @@ -ruby 3.2.2 +ruby 3.3.0 bun 1.0.11 diff --git a/nostr.gemspec b/nostr.gemspec index 6acdb6a..9e5dae7 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://nostr-ruby.com/' spec.license = 'MIT' - spec.required_ruby_version = '>= 3.2.0' + spec.required_ruby_version = '>= 3.3.0' spec.metadata['rubygems_mfa_required'] = 'true' spec.metadata['homepage_uri'] = spec.homepage diff --git a/spec/nostr_spec.rb b/spec/nostr_spec.rb index 9b59ba1..534a35e 100644 --- a/spec/nostr_spec.rb +++ b/spec/nostr_spec.rb @@ -2,6 +2,6 @@ RSpec.describe Nostr do it 'has a version number' do - expect(Nostr::VERSION).not_to be_nil + expect(described_class::VERSION).not_to be_nil end end