1
0
mirror of https://github.com/bumi/openalias-ruby synced 2025-06-16 15:05:35 +00:00

5 Commits

Author SHA1 Message Date
cd337c42b1 Add Openalias.lookup as alias to Openalias.addresses
The rust implementation uses #addresses but I find #lookup a bit more
intuitive and descriptive.
2018-11-03 18:36:50 +01:00
30e9a0d805 Add currency lookup helpers
add ? methods to for simple currency selection:
Openalias.addresses('donate@getmonero.org').find(&:xmr?)
2018-11-03 18:30:37 +01:00
6e3b03abda Make the test a bit more robust
As it (sadly) actually relies on the lookup of the data we do not
control what the result will be.
But in this case make sure we select the expected currency.
2018-11-01 12:50:33 +01:00
987ad03325 Specs! \o/ 2018-11-01 02:38:53 +01:00
d3f471792b 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.
2018-11-01 02:08:35 +01:00