bin/console in mangadex-5.3.3.1 vs bin/console in mangadex-5.3.3.2

- old
+ new

@@ -1,16 +1,17 @@ #!/usr/bin/env ruby require "bundler/setup" require "mangadex" -username, password = [ +username, password, email = [ ENV['MD_USERNAME'], ENV['MD_PASSWORD'], + ENV['MD_EMAIL'], ] -if username && password - Mangadex::Auth.login(username, password) +if (username || email) && password + Mangadex::Auth.login(username: username, email: email, password: password) end # You can add fixtures and/or initialization code here to make experimenting # with your gem easier. You can also use a different console, if you like.