rbvmomi 1.9.0 → 1.9.1

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: c8e16685061414bc6f641e2a7ba8b1a2c3067ccc
4
- data.tar.gz: 2d4f2ef6b5bedcc5c929548c8d0d74ac128e2434
3
+ metadata.gz: 7c931e974fc0e9e2802ca2121962dd23feadcc25
4
+ data.tar.gz: 7d4788c1e10c28f95fba3982b8dc49f461fd32ee
5
5
  SHA512:
6
- metadata.gz: 91f7933b69a4704a508d95e709cbe49a4ae268127e7596b5b8f47fd97de8d650a88e35ef07320319a3b200fb097a0a9590f610e4daf5efddff0d86496fd70c85
7
- data.tar.gz: 608f43fe7d372adc23319e2bf7dcf354c341caef54d642243b99430e3543772424cfaed78f93c26880b8d504d6029fdff8b73e68ddc6e821906231542d6ee6c6
6
+ metadata.gz: cf78028648d0b607d9827dead072204eb9df4baa96d1b0da822ee0a5e427a9cb9ca7589d2f3104ea9af61d943ee49e6442e6976c95931e54ab2864ccb483a473
7
+ data.tar.gz: 6fd4e2febcc1325e7d25e5eb03426cd8a87446d53d5b78a49e323fbb7b0fd49062a9568f5147ccc8791802dff4e8819adb978a04559e338d2f980ac9bff69c7b
data/Gemfile CHANGED
@@ -1,3 +1,6 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
3
  gemspec
4
+
5
+ gem 'json', '< 2' if RUBY_VERSION.start_with?('1.')
6
+ gem 'nokogiri', '< 1.6' if RUBY_VERSION.start_with?('1.8.')
data/README.rdoc CHANGED
@@ -16,6 +16,19 @@ be used alongside the official documentation[http://pubs.vmware.com/vsphere-60/t
16
16
 
17
17
  gem install rbvmomi
18
18
 
19
+ === Support for older Ruby versions
20
+
21
+ RbVmomi supports Ruby 1.8.7 and higher, but certain dependencies may need
22
+ pinning to older versions to get a compatible set of gems.
23
+
24
+ On Ruby 1.8.7:
25
+
26
+ * use +nokogiri+ 1.5.x (Gemfile: <code>gem 'nokogiri', '< 1.6'</code>)
27
+
28
+ On both Ruby 1.9 and 1.8.7:
29
+
30
+ * use +json+ 1.x (Gemfile: <code>gem 'json', '< 2'</code>)
31
+
19
32
  == Usage
20
33
 
21
34
  A simple example of turning on a VM:
@@ -1,3 +1,3 @@
1
1
  module RbVmomi
2
- VERSION = '1.9.0'.freeze
2
+ VERSION = '1.9.1'.freeze
3
3
  end
data/rbvmomi.gemspec CHANGED
@@ -17,8 +17,8 @@ Gem::Specification.new do |spec|
17
17
  spec.extensions << 'ext/mkrf_conf.rb'
18
18
 
19
19
  spec.add_runtime_dependency('builder', '~> 3.2')
20
- spec.add_runtime_dependency('json', '~> 1.8')
21
- spec.add_runtime_dependency('nokogiri', '~> 1.5.11')
20
+ spec.add_runtime_dependency('json', '>= 1.8')
21
+ spec.add_runtime_dependency('nokogiri', '~> 1.5')
22
22
  spec.add_runtime_dependency('trollop', '~> 2.1')
23
23
 
24
24
  spec.add_development_dependency('rake', '~> 10.5')
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.0
4
+ version: 1.9.1
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-19 00:00:00.000000000 Z
12
+ date: 2016-08-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: builder
@@ -29,14 +29,14 @@ dependencies:
29
29
  name: json
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - "~>"
32
+ - - ">="
33
33
  - !ruby/object:Gem::Version
34
34
  version: '1.8'
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - "~>"
39
+ - - ">="
40
40
  - !ruby/object:Gem::Version
41
41
  version: '1.8'
42
42
  - !ruby/object:Gem::Dependency
@@ -45,14 +45,14 @@ dependencies:
45
45
  requirements:
46
46
  - - "~>"
47
47
  - !ruby/object:Gem::Version
48
- version: 1.5.11
48
+ version: '1.5'
49
49
  type: :runtime
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
53
  - - "~>"
54
54
  - !ruby/object:Gem::Version
55
- version: 1.5.11
55
+ version: '1.5'
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: trollop
58
58
  requirement: !ruby/object:Gem::Requirement