1
0
mirror of https://github.com/bumi/openalias-ruby synced 2026-02-16 00:17:49 +00:00

Openalias ruby wrapper

Openalias.org is great! There is openalias.rs (written in Rust) to
lookup and parse OpenAlias data.
This is a ruby wrapper around that rust library.

I don't know what I am doing so use at your own risk..and with care.
This commit is contained in:
2018-11-01 02:08:35 +01:00
commit d3f471792b
17 changed files with 962 additions and 0 deletions

11
spec/openalias_spec.rb Normal file
View File

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

14
spec/spec_helper.rb Normal file
View File

@@ -0,0 +1,14 @@
require "bundler/setup"
require "openalias"
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