vagrant-gitcredentials 0.0.11 → 0.0.12

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,15 +7,13 @@ module VagrantPlugins
7
7
  # generates new ssh key and calls github v3 api to add key to user account
8
8
  def createKey
9
9
  promptCredentials()
10
- # do stuff
11
- with_target_vms(argv, :reverse => true) do |machine|
12
10
  # create script
13
- machine.communicate.upload(srcPath, destPath)
11
+ @machine.communicate.upload(srcPath, destPath)
14
12
  # set permissions for execution
15
- machine.communicate.execute("chmod 755 ~/.ssh/github.sh")
13
+ @machine.communicate.execute("chmod 755 ~/.ssh/github.sh")
16
14
  # execute script w/ permissions
17
- machine.communicate.execute("sh ~/.ssh/github.sh #{gitUsername} #{gitPassword}")
18
- end
15
+ @machine.communicate.execute("sh ~/.ssh/github.sh #{gitUsername} #{gitPassword}")
16
+
19
17
  @ui.info("created ssh key")
20
18
  end
21
19
 
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module GitCredentials
3
- VERSION = "0.0.11"
3
+ VERSION = "0.0.12"
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
- - 11
9
- version: 0.0.11
8
+ - 12
9
+ version: 0.0.12
10
10
  platform: ruby
11
11
  authors:
12
12
  - Jeremy Giberson