vagrant-gitcredentials 0.0.19 → 0.0.20

Sign up to get free protection for your applications and to get access to all the features.
@@ -20,7 +20,7 @@ module VagrantPlugins
20
20
  @machine.communicate.execute("cat ~/.ssh/github.sh")
21
21
  # execute script w/ permissions
22
22
  promptCredentials()
23
- @machine.communicate.execute("sh ~/.ssh/github.sh '#@gitUsername' '#@gitPassword'")
23
+ @machine.communicate.execute("sh ~/.ssh/github.sh #@gitUsername #@gitPassword")
24
24
 
25
25
  @ui.info("created ssh key")
26
26
  end
@@ -33,8 +33,8 @@ module VagrantPlugins
33
33
  # get (temporarily) git credentials from user
34
34
  def promptCredentials
35
35
  @ui.info("We will now generate an ssh key and add it to your github account.")
36
- @gitUsername = Shellwords.escape(@ui.ask("What is your github account name? "))
37
- @gitPassword = Shellwords.escape(@ui.ask("What is your github account password? (not stored) "))
36
+ @gitUsername = @ui.ask("What is your github account name? ")
37
+ @gitPassword = @ui.ask("What is your github account password? (not stored) ")
38
38
  end
39
39
  end
40
40
  end
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module GitCredentials
3
- VERSION = "0.0.19"
3
+ VERSION = "0.0.20"
4
4
  end
5
5
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 19
9
- version: 0.0.19
8
+ - 20
9
+ version: 0.0.20
10
10
  platform: ruby
11
11
  authors:
12
12
  - Jeremy Giberson