These are chat archives for opal/opal
I'm building a webapp with Rails, and I want to use Opal.
For some end-to-end encryption things, I need to use the
digest-sha3 gems, both on the server-side and the client-side. Both of these gems do not have any external dependencies, so I think they should be able to interace with Opal.
How can I get Opal/opal-rails to compile these gems so they can be used in the client-side code?
Opal.use_gemwill properly add the lib dir of those gems to
@elia: Thank you for your help!
I tried using
Opal.use_gem. It seems to do what it says on the tin. However, because the Ruby stdlib
OpenSSL classes are not (yet) rewritten for Opal, I've hit a dead end there.