Initial commit

This commit is contained in:
Wilson Silva
2023-01-06 10:00:47 +07:00
commit 7fded5bb7f
18 changed files with 332 additions and 0 deletions

11
spec/nostr_spec.rb Normal file
View File

@@ -0,0 +1,11 @@
# frozen_string_literal: true
RSpec.describe Nostr do
it "has a version number" do
expect(Nostr::VERSION).not_to be nil
end
it "does something useful" do
expect(false).to eq(true)
end
end

15
spec/spec_helper.rb Normal file
View File

@@ -0,0 +1,15 @@
# frozen_string_literal: true
require "nostr"
RSpec.configure do |config|
# Enable flags like --only-failures and --next-failure
config.example_status_persistence_file_path = ".rspec_status"
# Disable RSpec exposing methods globally on `Module` and `main`
config.disable_monkey_patching!
config.expect_with :rspec do |c|
c.syntax = :expect
end
end