20 Commits

Author SHA1 Message Date
Wilson Silva
0f83b8071a
Update Ruby to v3.3 2024-03-15 19:13:33 +00:00
Wilson Silva
df51354d3e
Fix the signature tests in user_spec 2024-03-13 12:53:27 +00:00
Wilson Silva
61a88981e6
Add full NIP-19 compatibility
note, nprofile, nevent, naddr, npub, nsec and nrelay
2023-11-20 21:03:24 +07:00
Wilson Silva
3520cf8219
Implement NIP-19 bech32-encoded private and public keys
https://github.com/nostr-protocol/nips/blob/master/19.md
2023-11-20 09:59:27 +07:00
Wilson Silva
4b630c678b
Ensure that Nostr::Crypto#descrypt_text always returns a string
Fixes another Steep/RBS violation
2023-11-18 16:38:03 +07:00
Wilson Silva
c27de6d506
Update Puma to version 6.3
Fixes the error "Puma 5 is not compatible with Rack 3, please upgrade to Puma 6 or higher."
2023-09-16 16:13:42 +07:00
Wilson Silva
857bf0ce8e
Implement NIP-04: Encrypted Direct Messages 2023-02-25 17:38:00 +07:00
Wilson Silva
0df4dbb979
Add convenience methods to append event and pubkey references 2023-02-25 17:38:00 +07:00
Wilson Silva
4c9c35520d
Add a missing spec for EventKind::CONTACT_LIST 2023-02-25 17:37:59 +07:00
Wilson Silva
79567fcf22
Extract event signing into its own class 2023-02-25 17:37:58 +07:00
Wilson Silva
97037e6e30
Merge EventFragment into Event
Treating Event as a Value Object in the strictest sense requires additional abstractions and internal complexity that the gem could do without, at least for now.
2023-02-25 17:37:57 +07:00
Wilson Silva
5b1786ddec
Add NIP-01 compliant client code 2023-01-12 17:21:17 +07:00
Wilson Silva
a24e2368cb
Add a test for the gem's version 2023-01-06 12:15:04 +07:00
Wilson Silva
8f0ebc739b
Report code coverage to the console and to HTML files 2023-01-06 12:14:44 +07:00
Wilson Silva
cfa1eecb23
Fix the local code coverage reporting 2023-01-06 12:13:26 +07:00
Wilson Silva
89a23a69e2
Setup code coverage with simplecov 2023-01-06 11:10:20 +07:00
Wilson Silva
80b07ccf4c
Replace IRB with Pry 2023-01-06 11:10:20 +07:00
Wilson Silva
3c228703a9
Fix RuboCop violations 2023-01-06 11:10:17 +07:00
Wilson Silva
e3ef933b4f
Remove dummy spec 2023-01-06 10:22:00 +07:00
Wilson Silva
7fded5bb7f
Initial commit 2023-01-06 10:00:47 +07:00