rethinkdb-elixir
rethinkdb-elixir copied to clipboard
Add support for user authentication
Add authentication via :user and :pass options.
User accounts have been added to RethinkDB in version 2.3. The default options for connecting are [user: "admin", pass: ""]. The old authentication (using :auth_key) has been removed.
If you wish to provide the old authentication method for backward compatibility, i will update my PR to do so 😺.
Won't compile with Elixir < 1.2. Maybe you should update your .travis.yml to use version 1.2 and 1.3 instead. Also I would test using OPT 18 and 19 instead of 18.0 and 18.1.
I've updated .travis.yml to work with Elixir 1.3 and both OTP 18 and 19.
- RethinkDB is now part of the Travis-CI addons and don't have to be installed manually.
- OTP 19 requires rebar3 which is installed with
mix local.rebar. - Travis-CI can now run without
sudo: requiredwhich makes is more lightweight and faster.
Awesome. I'll take a look as soon as I am able. I appreciate the help!
Can we get a test for user auth? Otherwise, this looks great.
Will write a few tests asap.
Any news on this one? I'd love to see this functionality.