fog-core 2.0.0 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e97b9e09ecd256672d64f6609d4a944ee0b467b9
4
- data.tar.gz: 753439fe39482319e541798a52fd380fc969d3fb
3
+ metadata.gz: 0aee45dc29f92c62460bf1f6890e64520140a18b
4
+ data.tar.gz: c3be3faff02a6fc5ad8abce9d5a35a6f31813130
5
5
  SHA512:
6
- metadata.gz: 451e3d2b4ed1feac5f73e24e26135fce90e65d7524529d62e768c9425910e3200c6f05c93e0d71e6e3a4bf3d035f4ce4a4aaa6b2e3c18db40278b4ea5b6d0a55
7
- data.tar.gz: 3ff83ee817b848e7ff858bbf5f0c99ea922dd0d9e8b28c2a1726cccef5bc95f1b2f23ba3bc52dd521fe399ed9474d41cf21f979db28e0ef21c16a78861d380b2
6
+ metadata.gz: f92b4ccd509d68170148a500bbe0d75e251328dcf9a2bf23032ca8eb443603e0fcae54055df491f05fa9dd936b54add5280c7a85fa2791832b54e0e97d441fe6
7
+ data.tar.gz: ddc135fde954a4cd3fd64e803fb44a6b890172738fa8f476b10c9e974d11dda53254157f8160b86b49aac16617ec02f3304c36a34823eb212d2f6a2d21ef1d76
@@ -1,4 +1,13 @@
1
- 2.0.0 01/03/2017
1
+ 2.1.0 03/10/2018
2
+ ==========================================================
3
+
4
+ remove libvirt_uri duplication
5
+ fix dnsimple auth variables
6
+ add kubevirt provider
7
+ fix net-ssh paranoid deprecation
8
+ fix nil fetch on object reload
9
+
10
+ 2.0.0 01/03/2018
2
11
  ==========================================================
3
12
 
4
13
  fix association reload
@@ -112,6 +112,10 @@ An alternate file may be used by placing its path in the FOG_RC environment vari
112
112
  :vcloud_director_host:
113
113
  :vcloud_director_username:
114
114
  :vcloud_director_password:
115
+ :kubevirt_hostname:
116
+ :kubevirt_port:
117
+ :kubevirt_token:
118
+
115
119
  #
116
120
  # End of Fog Credentials File
117
121
  #######################################################
@@ -46,6 +46,8 @@ module Fog
46
46
 
47
47
  object = collection.get(identity)
48
48
 
49
+ return unless object
50
+
49
51
  merge_attributes(object.all_associations_and_attributes)
50
52
 
51
53
  self
@@ -65,6 +65,7 @@ module Fog
65
65
  @address = address
66
66
  @username = username
67
67
  @options = { :paranoid => false, :verify_host_key => false }.merge(options)
68
+ @options.delete(:paranoid) if Net::SSH::VALID_OPTIONS.include? :verify_host_key
68
69
  end
69
70
 
70
71
  def upload(local_path, remote_path, upload_options = {}, &block)
@@ -59,6 +59,7 @@ module Fog
59
59
  @address = address
60
60
  @username = username
61
61
  @options = { :paranoid => false, :verify_host_key => false }.merge(options)
62
+ @options.delete(:paranoid) if Net::SSH::VALID_OPTIONS.include? :verify_host_key
62
63
  end
63
64
 
64
65
  def run(commands, &blk)
@@ -1,5 +1,5 @@
1
1
  module Fog
2
2
  module Core
3
- VERSION = "2.0.0"
3
+ VERSION = "2.1.0"
4
4
  end
5
5
  end
@@ -27,8 +27,8 @@ if Fog.mock?
27
27
  :clodo_username => "clodo_username",
28
28
  :digitalocean_api_key => "digitalocean_api_key",
29
29
  :digitalocean_client_id => "digitalocean_client_id",
30
- :dnsimple_email => "dnsimple_email",
31
- :dnsimple_password => "dnsimple_password",
30
+ :dnsimple_token => "dnsimple_token",
31
+ :dnsimple_account => "dnsimple_account",
32
32
  :dnsmadeeasy_api_key => "dnsmadeeasy_api_key",
33
33
  :dnsmadeeasy_secret_key => "dnsmadeeasy_secret_key",
34
34
  :glesys_username => "glesys_username",
@@ -66,7 +66,6 @@ if Fog.mock?
66
66
  :ovirt_url => "http://ovirt:8080/api",
67
67
  :ovirt_username => "admin@internal",
68
68
  :ovirt_password => "123123",
69
- :libvirt_uri => "qemu://libvirt/system",
70
69
  :rackspace_api_key => "rackspace_api_key",
71
70
  :rackspace_username => "rackspace_username",
72
71
  :riakcs_access_key_id => "riakcs_access_key_id",
@@ -92,6 +91,9 @@ if Fog.mock?
92
91
  :libvirt_username => "root",
93
92
  :libvirt_password => "password",
94
93
  :cloudsigma_username => "csuname",
95
- :cloudsigma_password => "cspass"
94
+ :cloudsigma_password => "cspass",
95
+ :kubevirt_token => "[TOKEN]",
96
+ :kubevirt_hostname => "localhost",
97
+ :kubevirt_port => "6443"
96
98
  }.merge(Fog.credentials)
97
99
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fog-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Evan Light
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-01-03 00:00:00.000000000 Z
12
+ date: 2018-03-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: builder
@@ -335,7 +335,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
335
335
  version: '0'
336
336
  requirements: []
337
337
  rubyforge_project:
338
- rubygems_version: 2.6.13
338
+ rubygems_version: 2.6.11
339
339
  signing_key:
340
340
  specification_version: 4
341
341
  summary: Shared classes and tests for fog providers and services.