right_hook 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/right_hook/authenticator.rb +1 -0
- data/lib/right_hook/version.rb +1 -1
- metadata +1 -1
@@ -12,6 +12,7 @@ module RightHook
|
|
12
12
|
# Prompt the user for their password (without displaying the entered keys).
|
13
13
|
# This approach is offered for convenience to make it easier to not store passwords on disk.
|
14
14
|
def interactive_build(username)
|
15
|
+
require 'io/console'
|
15
16
|
new(Octokit::Client.new(login: username, password: $stdin.noecho(&:gets).chomp))
|
16
17
|
end
|
17
18
|
end
|
data/lib/right_hook/version.rb
CHANGED