chef-provisioning-vsphere 2.0.9 → 2.0.10

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: 3e151627320d531a6712a2336485d7cf03f61519
4
- data.tar.gz: b565bf4a774b636ccb3448ff3ba3f07d3fab1b33
3
+ metadata.gz: 4ca3d2606974b66b820aa053f32e8aa3e6804b92
4
+ data.tar.gz: add6bbf1fd61a3b887f5880131bec8a2d109d3e1
5
5
  SHA512:
6
- metadata.gz: 355bc3e74e5719ff8731eaee695939add96bd675433ba79a11e19841d2a02d5c858ddba678f5f2769fb20b448af190bc0c4129894776d2c03bf4069ccd5fb56e
7
- data.tar.gz: 443b85c9e3f5994a586b97a5c3a6c8875bec4f563cc25dc4eb4446c09ed977b647cd8c611efb744524e43534f7617291a2f4c782d1890011db20661d31805840
6
+ metadata.gz: 530c84cad6a830a35f8909400cfe4d09e07d796071b016fd3a79570f8fa1031a5844dbd26183b8c11b0c453cd5adfe19dd3df7af7eb3d28eb43c0d9b38180cfe
7
+ data.tar.gz: 69ab9ad90c70fa67552b710fc5f0aae696a1a30887837223ac0f7281f9351e4901bc01f60889d5810d2440f260697bb885449b6c2fdd024ec98921f4a268da0c
@@ -1,6 +1,6 @@
1
1
  # This configuration was generated by
2
2
  # `rubocop --auto-gen-config`
3
- # on 2017-10-20 14:57:28 -0700 using RuboCop version 0.49.1.
3
+ # on 2017-10-30 16:48:40 -0700 using RuboCop version 0.49.1.
4
4
  # The point is for the user to remove these configuration records
5
5
  # one by one as the offenses are removed from the code base.
6
6
  # Note that changes in the inspected code, or installation of new
@@ -52,13 +52,13 @@ Metrics/BlockNesting:
52
52
  # Offense count: 3
53
53
  # Configuration parameters: CountComments.
54
54
  Metrics/ClassLength:
55
- Max: 627
55
+ Max: 638
56
56
 
57
57
  # Offense count: 11
58
58
  Metrics/CyclomaticComplexity:
59
59
  Max: 12
60
60
 
61
- # Offense count: 138
61
+ # Offense count: 140
62
62
  # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
63
63
  # URISchemes: http, https
64
64
  Metrics/LineLength:
@@ -1,7 +1,18 @@
1
1
  # Change Log
2
2
 
3
- ## [2.0.9](https://github.com/chef-partners/chef-provisioning-vsphere/tree/2.0.9) (2017-10-30)
4
- [Full Changelog](https://github.com/chef-partners/chef-provisioning-vsphere/compare/v2.0.8...2.0.9)
3
+ ## [2.0.10](https://github.com/chef-partners/chef-provisioning-vsphere/tree/2.0.10) (2017-10-31)
4
+ [Full Changelog](https://github.com/chef-partners/chef-provisioning-vsphere/compare/v2.0.9...2.0.10)
5
+
6
+ **Closed issues:**
7
+
8
+ - Undefined method `match?' for "machine\_name":String [\#65](https://github.com/chef-partners/chef-provisioning-vsphere/issues/65)
9
+
10
+ **Merged pull requests:**
11
+
12
+ - Fixed RuboCop and clone\_spec\_builder match? -\> match [\#64](https://github.com/chef-partners/chef-provisioning-vsphere/pull/64) ([bemehiser](https://github.com/bemehiser))
13
+
14
+ ## [v2.0.9](https://github.com/chef-partners/chef-provisioning-vsphere/tree/v2.0.9) (2017-10-30)
15
+ [Full Changelog](https://github.com/chef-partners/chef-provisioning-vsphere/compare/v2.0.8...v2.0.9)
5
16
 
6
17
  **Closed issues:**
7
18
 
data/Rakefile CHANGED
@@ -38,4 +38,4 @@ YARD::Rake::YardocTask.new do |t|
38
38
  t.stats_options = ['--list-undoc'] # optional
39
39
  end
40
40
 
41
- task default: %i(style unit)
41
+ task default: %i[style unit]
@@ -16,7 +16,7 @@ Gem::Specification.new do |s|
16
16
  s.homepage = 'https://github.com/chef-partners/chef-provisioning-vsphere'
17
17
  s.license = 'MIT'
18
18
  s.bindir = 'bin'
19
- s.executables = %w()
19
+ s.executables = %w[]
20
20
  s.require_path = 'lib'
21
21
  s.files = `git ls-files -z`.split("\x0")
22
22
  s.test_files = s.files.grep(%r{^(test|spec|features)/})
@@ -178,7 +178,7 @@ module ChefProvisioningVsphere
178
178
  def hostname_from(options, vm_name)
179
179
  hostname = options[:hostname] || vm_name
180
180
  test = /^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])$/
181
- unless hostname.match?(test)
181
+ unless hostname.match(test)
182
182
  raise 'Only letters, numbers or hyphens in hostnames allowed'
183
183
  end
184
184
  RbVmomi::VIM::CustomizationFixedName.new(name: hostname)
@@ -14,7 +14,7 @@ require 'chef/provisioning/vsphere_driver/vm_helper'
14
14
  # Provisions machines in vSphere.
15
15
  module ChefProvisioningVsphere
16
16
  # Inherits the Chef::Provisioning::Driver attirbutes
17
- class VsphereDriver < Chef::Provisioning::Driver # rubocop:disable Metrics/ClassLength
17
+ class VsphereDriver < Chef::Provisioning::Driver
18
18
  include Chef::Mixin::ShellOut
19
19
 
20
20
  # Creates the new object via the URL
@@ -3,5 +3,5 @@
3
3
  # Provisions machines in vSphere.
4
4
  module ChefProvisioningVsphere
5
5
  # The version of this awesome Gem. BOOM.
6
- VERSION = '2.0.9'.freeze
6
+ VERSION = '2.0.10'.freeze
7
7
  end
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.9
4
+ version: 2.0.10
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-10-30 00:00:00.000000000 Z
12
+ date: 2017-10-31 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: chef