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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2d00b54cddae7049cf3de22c6ba3b0b64b8a0a7f
4
- data.tar.gz: a8c5e11a8d0e93f0f3a27141c4684d22f5e9fed2
3
+ metadata.gz: 3f53f3776984eb45a0cff0a08140127ac0690c0c
4
+ data.tar.gz: 25533737c8816f30167b33bd5beca51c35c80da6
5
5
  SHA512:
6
- metadata.gz: 78b727f4016fcbf9d6794378298666d04495dd7477f475c7fda1b594eb28c3f68dd7b5299c9c67f7cc182d0762690eca55406d115d2cac1331f605d8b84d6a66
7
- data.tar.gz: 55f21716980e467ce27c1518998665c80eb4afbd74c4b47acb8d6afc682f0dc0485680511505425ab3aa469e812e5840ef28ef7529ac1ae8a8f7bcf19385b0fb
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','~> 0.5.0')
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}" : ""
@@ -1,5 +1,5 @@
1
1
  module Fog
2
2
  module Libvirt
3
- VERSION = '0.0.2'
3
+ VERSION = '0.0.3'
4
4
  end
5
5
  end
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.2
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-06-16 00:00:00.000000000 Z
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.2.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