rbvmomi 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: 7c931e974fc0e9e2802ca2121962dd23feadcc25
4
- data.tar.gz: 7d4788c1e10c28f95fba3982b8dc49f461fd32ee
3
+ metadata.gz: 154eb9f4cec6101444044a2a177c31f6a617ccad
4
+ data.tar.gz: 89713a766cabd761e77900fb615250d2897142b9
5
5
  SHA512:
6
- metadata.gz: cf78028648d0b607d9827dead072204eb9df4baa96d1b0da822ee0a5e427a9cb9ca7589d2f3104ea9af61d943ee49e6442e6976c95931e54ab2864ccb483a473
7
- data.tar.gz: 6fd4e2febcc1325e7d25e5eb03426cd8a87446d53d5b78a49e323fbb7b0fd49062a9568f5147ccc8791802dff4e8819adb978a04559e338d2f980ac9bff69c7b
6
+ metadata.gz: bf5cbceaf973c52d849824e396a11f0c9b347c42f3b57f284934243dd06948a508c8d0176ec47d134d885e4a2b33ccc78d38926ec345467c74094d7251647c63
7
+ data.tar.gz: 70bc050c3ac9309420e9d457db587c8e509a1c4082b8413c3667c78dba8a760e3e13ff493606c32fe558479eb1dadbc626464773cdb2d59f9e979a947128d6ac
data/Gemfile CHANGED
@@ -4,3 +4,4 @@ gemspec
4
4
 
5
5
  gem 'json', '< 2' if RUBY_VERSION.start_with?('1.')
6
6
  gem 'nokogiri', '< 1.6' if RUBY_VERSION.start_with?('1.8.')
7
+ gem 'test-unit', '~> 2.5' if RUBY_VERSION.start_with?('1.8.')
@@ -1,3 +1,3 @@
1
1
  module RbVmomi
2
- VERSION = '1.9.1'.freeze
2
+ VERSION = '1.9.2'.freeze
3
3
  end
data/rbvmomi.gemspec CHANGED
@@ -14,7 +14,6 @@ Gem::Specification.new do |spec|
14
14
  spec.bindir = 'exe'
15
15
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(/^test\//) }
16
16
  spec.executables << 'rbvmomish'
17
- spec.extensions << 'ext/mkrf_conf.rb'
18
17
 
19
18
  spec.add_runtime_dependency('builder', '~> 3.2')
20
19
  spec.add_runtime_dependency('json', '>= 1.8')
@@ -24,10 +23,7 @@ Gem::Specification.new do |spec|
24
23
  spec.add_development_dependency('rake', '~> 10.5')
25
24
  spec.add_development_dependency('simplecov', '~> 0.12.0')
26
25
  spec.add_development_dependency('yard', '~> 0.9.5')
27
-
28
- unless RUBY_VERSION =~ /^1.8/
29
- spec.add_development_dependency('test-unit', '~> 3.2')
30
- end
26
+ spec.add_development_dependency('test-unit', '>= 2.5')
31
27
 
32
28
  spec.required_ruby_version = '>= 1.8.7'
33
29
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rbvmomi
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
  - Rich Lane
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2016-08-22 00:00:00.000000000 Z
12
+ date: 2016-08-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: builder
@@ -113,22 +113,21 @@ dependencies:
113
113
  name: test-unit
114
114
  requirement: !ruby/object:Gem::Requirement
115
115
  requirements:
116
- - - "~>"
116
+ - - ">="
117
117
  - !ruby/object:Gem::Version
118
- version: '3.2'
118
+ version: '2.5'
119
119
  type: :development
120
120
  prerelease: false
121
121
  version_requirements: !ruby/object:Gem::Requirement
122
122
  requirements:
123
- - - "~>"
123
+ - - ">="
124
124
  - !ruby/object:Gem::Version
125
- version: '3.2'
125
+ version: '2.5'
126
126
  description:
127
127
  email: jr@garciaole.com
128
128
  executables:
129
129
  - rbvmomish
130
- extensions:
131
- - ext/mkrf_conf.rb
130
+ extensions: []
132
131
  extra_rdoc_files: []
133
132
  files:
134
133
  - ".gitignore"
@@ -162,7 +161,6 @@ files:
162
161
  - examples/vdf.rb
163
162
  - examples/vm_drs_behavior.rb
164
163
  - exe/rbvmomish
165
- - ext/mkrf_conf.rb
166
164
  - lib/rbvmomi.rb
167
165
  - lib/rbvmomi/basic_types.rb
168
166
  - lib/rbvmomi/connection.rb
data/ext/mkrf_conf.rb DELETED
@@ -1,24 +0,0 @@
1
- require 'rubygems/dependency_installer'
2
-
3
- # SEE: http://en.wikibooks.org/wiki/Ruby_Programming/RubyGems#How_to_install_different_versions_of_gems_depending_on_which_version_of_ruby_the_installee_is_using
4
-
5
- di = Gem::DependencyInstaller.new
6
-
7
- begin
8
- if RUBY_VERSION =~ /^1.8/
9
- puts "Not installing test-unit. It is included in Ruby #{RUBY_VERSION}"
10
- else
11
- di.install 'test-unit', '~> 3.2'
12
- end
13
- rescue => e
14
- warn "#{$0}: #{e}"
15
-
16
- exit!
17
- end
18
-
19
- puts "Writing fake Rakefile"
20
-
21
- # Write fake Rakefile for rake since Makefile isn't used
22
- File.open(File.join(File.dirname(__FILE__), 'Rakefile'), 'w') do |f|
23
- f.write("task :default" + $/)
24
- end