fog-libvirt 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/fog-libvirt.gemspec +1 -1
- data/lib/fog/libvirt/models/compute/server.rb +6 -1
- data/lib/fog/libvirt/version.rb +1 -1
- metadata +11 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3f53f3776984eb45a0cff0a08140127ac0690c0c
|
4
|
+
data.tar.gz: 25533737c8816f30167b33bd5beca51c35c80da6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3aa1d4a11bb73f6670e64f8d7a37aa94dcb7d1c1e624a3f27f0142b6f15c391a5431feb45cd0c27b950bfc59aa622102fcee4073eabc1890abc3395fdf14dab1
|
7
|
+
data.tar.gz: 3e8d6c2df13c613f8151158a901722f51a643f0a25dd77060afebaba3c8f7f6f97855fcd2e8dfcecc11cf11f3163ccb5d30e933f91416db0b13565c06f1457f1
|
data/fog-libvirt.gemspec
CHANGED
@@ -26,7 +26,7 @@ Gem::Specification.new do |s|
|
|
26
26
|
s.add_dependency("fog-core", "~> 1.27", ">= 1.27.4")
|
27
27
|
s.add_dependency("fog-json")
|
28
28
|
s.add_dependency("fog-xml", "~> 0.1.1")
|
29
|
-
s.add_dependency('ruby-libvirt','
|
29
|
+
s.add_dependency('ruby-libvirt','>= 0.5.0', '< 0.7.0')
|
30
30
|
s.add_dependency('mime-types','< 2.0') if RUBY_VERSION < '1.9'
|
31
31
|
s.add_dependency('nokogiri', '< 1.6') if RUBY_VERSION < '1.9'
|
32
32
|
s.add_dependency('octokit', '< 3.0') if RUBY_VERSION < '1.9'
|
@@ -1,6 +1,5 @@
|
|
1
1
|
require 'fog/compute/models/server'
|
2
2
|
require 'fog/libvirt/models/compute/util/util'
|
3
|
-
require 'net/ssh/proxy/command'
|
4
3
|
require 'fileutils'
|
5
4
|
|
6
5
|
module Fog
|
@@ -157,6 +156,12 @@ module Fog
|
|
157
156
|
end
|
158
157
|
|
159
158
|
def ssh_proxy
|
159
|
+
begin
|
160
|
+
require 'net/ssh/proxy/command'
|
161
|
+
rescue LoadError
|
162
|
+
Fog::Logger.warning("'net/ssh' missing, please install and try again.")
|
163
|
+
exit(1)
|
164
|
+
end
|
160
165
|
# if this is a direct connection, we don't need a proxy to be set.
|
161
166
|
return nil unless connection.uri.ssh_enabled?
|
162
167
|
user_string= service.uri.user ? "-l #{service.uri.user}" : ""
|
data/lib/fog/libvirt/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fog-libvirt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- geemus (Wesley Beary)
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-11-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fog-core
|
@@ -62,16 +62,22 @@ dependencies:
|
|
62
62
|
name: ruby-libvirt
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
64
64
|
requirements:
|
65
|
-
- - "
|
65
|
+
- - ">="
|
66
66
|
- !ruby/object:Gem::Version
|
67
67
|
version: 0.5.0
|
68
|
+
- - "<"
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: 0.7.0
|
68
71
|
type: :runtime
|
69
72
|
prerelease: false
|
70
73
|
version_requirements: !ruby/object:Gem::Requirement
|
71
74
|
requirements:
|
72
|
-
- - "
|
75
|
+
- - ">="
|
73
76
|
- !ruby/object:Gem::Version
|
74
77
|
version: 0.5.0
|
78
|
+
- - "<"
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: 0.7.0
|
75
81
|
- !ruby/object:Gem::Dependency
|
76
82
|
name: json
|
77
83
|
requirement: !ruby/object:Gem::Requirement
|
@@ -315,7 +321,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
315
321
|
version: '0'
|
316
322
|
requirements: []
|
317
323
|
rubyforge_project:
|
318
|
-
rubygems_version: 2.
|
324
|
+
rubygems_version: 2.4.8
|
319
325
|
signing_key:
|
320
326
|
specification_version: 2
|
321
327
|
summary: Module for the 'fog' gem to support libvirt
|