chef-provisioning-vsphere 2.0.0 → 2.0.2

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: 21e02f6746bff52619d863fa3c127884d5ffa0ea
4
- data.tar.gz: a3b5e5c8640d74ab193b784a5c5ab263dbf19daa
3
+ metadata.gz: 94f12572899fa323e4850f9dba56919e530f1286
4
+ data.tar.gz: 49bd4bee75b043471c114250d93684333ab42651
5
5
  SHA512:
6
- metadata.gz: 8b2a9949cc6fd0d1d4f9e9b8868f063e6fd5e126f3338a425e0bd26a672cbf0d6d8bf21fdf5dc1a73344ded8413f6f92936e422c06ebc2fd9fcc27c7be75293a
7
- data.tar.gz: a7377e8a83760434aa64b7211da8c8fac87c0f070ec60085c9a868a0b639d16796d9435dcd78ff9cb6cfaf01680385dd4f5c590cd277e67b9b5c71c2d336857f
6
+ metadata.gz: 45810258d60b403cddfd5bed2eda7ca8eec5332e0ad459d8e96bd6325b6200a55382f8bf686da79247c954978a282d375df47a17528533320d926ba3ebc46f7a
7
+ data.tar.gz: 37d60704a8f35eab4354877ee8ebc43d9191ee56af75b1f05146563309ad1faa9f2b7bf7e4492d2b4ff7fccd347969237b28a1418e073d46c3d5285e8c1b01d1
data/.travis.yml CHANGED
@@ -4,7 +4,7 @@ branches:
4
4
  only:
5
5
  - master
6
6
  rvm:
7
- - 2.3.2
7
+ - 2.3.3
8
8
  script:
9
9
  - bundle exec rake style
10
10
  - bundle exec rake unit
data/CHANGELOG.md CHANGED
@@ -1,7 +1,18 @@
1
1
  # Change Log
2
2
 
3
- ## [2.0.0](https://github.com/chef-partners/chef-provisioning-vsphere/tree/2.0.0) (2017-05-12)
4
- [Full Changelog](https://github.com/chef-partners/chef-provisioning-vsphere/compare/v1.1.2...2.0.0)
3
+ ## [2.0.2](https://github.com/chef-partners/chef-provisioning-vsphere/tree/2.0.2) (2017-05-13)
4
+ [Full Changelog](https://github.com/chef-partners/chef-provisioning-vsphere/compare/v2.0.0...2.0.2)
5
+
6
+ **Closed issues:**
7
+
8
+ - datacenter not found error [\#23](https://github.com/chef-partners/chef-provisioning-vsphere/issues/23)
9
+
10
+ **Merged pull requests:**
11
+
12
+ - Enable to match regex [\#26](https://github.com/chef-partners/chef-provisioning-vsphere/pull/26) ([jcalonsoh](https://github.com/jcalonsoh))
13
+
14
+ ## [v2.0.0](https://github.com/chef-partners/chef-provisioning-vsphere/tree/v2.0.0) (2017-05-12)
15
+ [Full Changelog](https://github.com/chef-partners/chef-provisioning-vsphere/compare/v1.1.2...v2.0.0)
5
16
 
6
17
  **Merged pull requests:**
7
18
 
@@ -157,7 +157,7 @@ module ChefProvisioningVsphere
157
157
  def hostname_from(options, vm_name)
158
158
  hostname = options[:hostname] || vm_name
159
159
  test = /^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])$/
160
- unless hostname.match?(test)
160
+ unless hostname.match(test) # rubocop:disable Performance/RegexpMatch
161
161
  raise 'Only letters, numbers or hyphens in hostnames allowed'
162
162
  end
163
163
  RbVmomi::VIM::CustomizationFixedName.new(name: hostname)
@@ -1,4 +1,4 @@
1
- # frozen_string_literal: true
1
+ # frozen_string_literal: false
2
2
  module ChefProvisioningVsphere
3
- VERSION = '2.0.0'
3
+ VERSION = '2.0.2'.freeze
4
4
  end
@@ -1,10 +1,10 @@
1
- # frozen_string_literal: true
1
+ # frozen_string_literal: false
2
2
  require 'uri'
3
3
 
4
4
  module URI
5
5
  class VsphereUrl < Generic
6
6
  DEFAULT_PORT = 443
7
- DEFAULT_PATH = '/sdk'
7
+ DEFAULT_PATH = '/sdk'.freeze
8
8
 
9
9
  def self.from_config(options)
10
10
  parts = []
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef-provisioning-vsphere
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - CenturyLink Cloud
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-05-12 00:00:00.000000000 Z
12
+ date: 2017-05-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rbvmomi