right_hook 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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