fog-vsphere 1.9.1 → 1.9.2

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: 06eca68fe929424802778ca57a027d81db538f60
4
- data.tar.gz: 2118bba5d8f23607ddf6133f4fb81fafd58c113d
3
+ metadata.gz: c0ca9adbc08b0aa2c4315f71619c527b7247acfc
4
+ data.tar.gz: 20794599aae0172656042849f39fdd2b156df8ef
5
5
  SHA512:
6
- metadata.gz: 255282ce591683af7e4edd73719d73b6d541acfa33ba2017a1439368431f9a29de7de33b78a6fa5bb422886651088b7f01f554329adb8f0d643ed178da499e85
7
- data.tar.gz: 8fecbdda3f9b1f05065976b221557b0dbd1f8f2c3197889948b02e21014975d2f8ce565468e6e62b2d210ed57fabba6b94f700a42ef7df94a398882c8afdb954
6
+ metadata.gz: '084edffdaf1a33f71796ed93d505473ff07934a8e2da787a9c0f5f9d4a01afb7c4bf3ee22d3532e987c563defe6eb820f2e431d4a54d5ae6ee7c6b22a6ab0e15'
7
+ data.tar.gz: dd7b16ba29a06f92cbb0de94219505ee0fe1faafa4a919ca5c5bc03632c4c517bde33a00624aa7b6dc6d8de5f4f55a670d318ca5630e365077c9fadb80440dd2
@@ -1,3 +1,7 @@
1
+ ## v1.9.2
2
+
3
+ * Properly escape regex characters in DC names for `list_clusters`
4
+
1
5
  ## v1.9.1
2
6
 
3
7
  * Ensure connection has not been closed before using
@@ -36,6 +36,7 @@
36
36
  * Lukas Zapletal <lzap+git@redhat.com>
37
37
  * Marc Grimme <grimme@atix.de>
38
38
  * Marc Grimme <marc.grimme@googlemail.com>
39
+ * Marek Hulan <mhulan@redhat.com>
39
40
  * Martin Matuska <martin@matuska.org>
40
41
  * Matt Darby <matt.darby@rackspace.com>
41
42
  * Matthew Black <matthew.black@sap.com>
@@ -41,7 +41,7 @@ module Fog
41
41
 
42
42
  def cluster_path(cluster, datacenter_name)
43
43
  datacenter = find_raw_datacenter(datacenter_name)
44
- cluster.pretty_path.gsub(/(#{datacenter_name}|#{datacenter.hostFolder.name})\//,'')
44
+ cluster.pretty_path.gsub(/(#{Regexp.escape(datacenter_name)}|#{Regexp.escape(datacenter.hostFolder.name)})\//,'')
45
45
  end
46
46
  end
47
47
 
@@ -1,5 +1,5 @@
1
1
  module Fog
2
2
  module Vsphere
3
- VERSION = '1.9.1'.freeze
3
+ VERSION = '1.9.2'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fog-vsphere
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.1
4
+ version: 1.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - J.R. Garcia
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-05 00:00:00.000000000 Z
11
+ date: 2017-05-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fog-core
@@ -313,7 +313,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
313
313
  version: '0'
314
314
  requirements: []
315
315
  rubyforge_project:
316
- rubygems_version: 2.6.10
316
+ rubygems_version: 2.6.12
317
317
  signing_key:
318
318
  specification_version: 4
319
319
  summary: Module for the 'fog' gem to support VMware vSphere.