vagrant-poderosa 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8b95f3c54030c035f0b1dbebf0cb416d30d0d3ee
4
- data.tar.gz: e1c4a71e6b023bce2c990b2f5f089e5d6b9ea9e3
3
+ metadata.gz: 980be3af82a8a00e80cd487184507bbc03780ccd
4
+ data.tar.gz: 60d8c59a67cb52c9be963ef658d96cc2c4d53d0a
5
5
  SHA512:
6
- metadata.gz: f215c2ced4d7c810ad5ef991ed64c5014aeae9df03ddb1e5152930603ee5b47a2c1bc5fb40d4ea3bb1d689e551a29251f3f1b7e5d0e363e2023a0fe36d885105
7
- data.tar.gz: b6f072872dfc899ac2edb68544b0d00c5959c048d4aa6fe483c37395f8ef6309552dd40f236c0f9dd966a1916d1549f7149db751cf42ab8d8ad12a5b6ab748e4
6
+ metadata.gz: a36a951331c02568df28c35b233f05dcf515ce7ecf32c8d2c183315c844fde10b7b78777c92347122b46cf696318840a2347daa100eb55024a980ecda313b777
7
+ data.tar.gz: 56cae4a8a4de69d322ed219323959e5801714704da694be1926333d806cdafb052311647fd93c470bd26689ef8948f7d91cef73ad54fc4282a236002fd42647e
data/Gemfile.lock CHANGED
@@ -23,7 +23,7 @@ GIT
23
23
  PATH
24
24
  remote: .
25
25
  specs:
26
- vagrant-poderosa (0.1.0)
26
+ vagrant-poderosa (0.2.0)
27
27
 
28
28
  GEM
29
29
  remote: https://rubygems.org/
@@ -107,4 +107,4 @@ DEPENDENCIES
107
107
  vagrant-poderosa!
108
108
 
109
109
  BUNDLED WITH
110
- 1.10.5
110
+ 1.10.6
@@ -28,14 +28,14 @@ module VagrantPoderosa
28
28
  'encoding' => 'UTF8', 'caption' => ssh_info[:host])
29
29
  root.add_element('Poderosa.Protocols.SSHLoginParameter',
30
30
  ssh_login_parameters)
31
- # filename = Pathname(Dir.tmpdir) + (vm.name.to_s + '.gts')
32
- # file = File.open(filename, 'wb')
33
- Tempfile.open(vm.name.to_s + '.gts') do |file|
31
+
32
+ filename = Pathname(Dir.tmpdir) + ('vagrant-' + vm.name.to_s + '.gts')
33
+
34
+ File.open(filename, 'wb') do |file|
34
35
  doc.write file
35
36
  file.close
36
- # filename
37
- file.path
38
37
  end
38
+ filename
39
39
  end
40
40
 
41
41
  def self.absolute_winpath(path, root_path)
@@ -1,3 +1,3 @@
1
1
  module VagrantPoderosa
2
- VERSION = "0.1.0"
2
+ VERSION = "0.2.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-poderosa
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - IIBUN Toshiyuki