vm_shepherd 2.0.2 → 2.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: 2614911bfd1c14008866807113973c8f46839042
4
- data.tar.gz: 531b81862421564f022975b2dce1d2b33cf7c0a2
3
+ metadata.gz: 2cc4ae5366b6a2923bffe544c5be740423369689
4
+ data.tar.gz: 9b4d95e28531ede51b701c9ac65a6029ca1b8478
5
5
  SHA512:
6
- metadata.gz: 77f4da512e62010a6d86dfdea15c0128ed9237d417dad03bfb0f1edfebc698ac873a49fdd37070891484c841e1a2b670391602178c3f0ae28489873a16a847c6
7
- data.tar.gz: 8cae091e767439f798b9453bb722d8d9e311ea488f931e0860c894b903ca54cfcc5ab881ba23feb3ddbf352f3451f327891444f40f68b833334490804fa66a1f
6
+ metadata.gz: 0683cec8cfae04c547db876e08acb79f0b4a461db148215c6fe7558f0de9ba2f58f93d08347a6155d630d72c0b0fb6fafc4ffa5746d7dbcc4595e96339eb0079
7
+ data.tar.gz: 3da2b7dda514f024a05ab08ac5018e649e4154f12e6ecd4a3ac4c3902d9788f345fcbda8c44d2256401a6e6690525834237fec9242c5be58979202f4731d3120
data/lib/vm_shepherd.rb CHANGED
@@ -7,7 +7,6 @@ require 'vm_shepherd/vcloud/deployer'
7
7
  require 'vm_shepherd/vcloud/destroyer'
8
8
  require 'vm_shepherd/vcloud/vapp_config'
9
9
  require 'vm_shepherd/vsphere_manager'
10
- require 'backport_refinements'
11
10
 
12
11
  module VmShepherd
13
12
  AWS_IAAS_TYPE = 'aws'.freeze
@@ -1,5 +1,7 @@
1
1
  require 'aws-sdk-v1'
2
2
  require 'vm_shepherd/retry_helper'
3
+ require 'vm_shepherd/backport_refinements'
4
+ using VmShepherd::BackportRefinements
3
5
 
4
6
  module VmShepherd
5
7
  class AwsManager
@@ -1,7 +1,7 @@
1
1
  module VmShepherd
2
2
  module BackportRefinements
3
3
  def self.should_refine?
4
- Gem::Version.new(RUBY_VERSION) < Gem::Version.new("2.3.0")
4
+ Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.3.0')
5
5
  end
6
6
 
7
7
  def self.ported_dig(obj, indices)
@@ -1,3 +1,6 @@
1
+ require 'vm_shepherd'
2
+ require 'vm_shepherd/backport_refinements'
3
+
1
4
  using VmShepherd::BackportRefinements
2
5
 
3
6
  module VmShepherd
@@ -1,3 +1,3 @@
1
1
  module VmShepherd
2
- VERSION = '2.0.2'.freeze
2
+ VERSION = '2.0.3'.freeze
3
3
  end
@@ -1,5 +1,5 @@
1
1
  require 'spec_helper'
2
- require 'backport_refinements'
2
+ require 'vm_shepherd/backport_refinements'
3
3
 
4
4
  module VmShepherd
5
5
  RSpec.describe BackportRefinements do
@@ -1,9 +1,9 @@
1
- require 'backport_refinements'
2
- require 'vm_shepherd'
1
+ require 'vm_shepherd/backport_refinements'
2
+ using VmShepherd::BackportRefinements
3
3
 
4
- module VmShepherd
5
- using BackportRefinements
4
+ require 'vm_shepherd/shepherd'
6
5
 
6
+ module VmShepherd
7
7
  RSpec.describe Shepherd do
8
8
  subject(:manager) { Shepherd.new(settings: settings) }
9
9
  let(:first_config) { settings.dig('vm_shepherd', 'vm_configs').first }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vm_shepherd
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ops Manager Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-09 00:00:00.000000000 Z
11
+ date: 2016-01-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-v1
@@ -166,9 +166,9 @@ files:
166
166
  - README.md
167
167
  - Rakefile
168
168
  - ci/run_specs.sh
169
- - lib/backport_refinements.rb
170
169
  - lib/vm_shepherd.rb
171
170
  - lib/vm_shepherd/aws_manager.rb
171
+ - lib/vm_shepherd/backport_refinements.rb
172
172
  - lib/vm_shepherd/data_object.rb
173
173
  - lib/vm_shepherd/openstack_manager.rb
174
174
  - lib/vm_shepherd/retry_helper.rb