ffi-vix_disk_lib 1.0.1 → 1.0.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: 5f0fadca6e254b97a923bfc08f132d31bae14f60
4
- data.tar.gz: df041e90baa48878c991afd2dd24311768dc9181
3
+ metadata.gz: c0f2fe2e7a9ba222e188326fd342503dae14581b
4
+ data.tar.gz: a5b26bfa0975033aff350e9b40bd3acbc4a8ae94
5
5
  SHA512:
6
- metadata.gz: 7ca7c52ecf82d372423a54134a5a42f0796b68151671b4cc60b4ad2ca1dfdf20358f6e32d5f011ba1229d1996bb4735d0e600482a65a2c88103386f3ff57d70e
7
- data.tar.gz: e7d99e384c268acb5fee379c1f59646a5996f79ad7bc4a5d14021d4b71c5163488abaf0e89afd210070a2bd6059b1f64577151fca41f1936de2f35cf6e361aeb
6
+ metadata.gz: 0040f4aec5d2ce573daaa0a222f619d39d4e1009dea91902f0c87d339545c1364a2bdba71fc08697247b3ae13bb8d4d07b6b4a71f3f6084ec526987f7ceaca9e
7
+ data.tar.gz: 443c7577db59018f88ffbf72036ef8b425a4d0bc4a5ab789d903dbe82f360296d5c0b578913255a4bfeb0ed1768549bbfcf5046c72d4574807055e4fbe9cba82
@@ -18,8 +18,8 @@ module FFI
18
18
  #
19
19
  # Make sure we load one and only one version of VixDiskLib
20
20
  #
21
- version_load_order = %w( 5.5.2 5.5.1 5.5.0 5.1.3 5.1.2 5.1.1 5.1.0 5.0.4 5.0.0 1.2.0 1.1.2 )
22
- bad_versions = {"5.1.0" => "Disk Open May Core Dump without an SSL Thumbprint"}
21
+ version_load_order = %w( 6.0.0 5.5.4 5.5.2 5.5.1 5.5.0 5.1.3 5.1.2 5.1.1 5.1.0 5.0.4 5.0.0 1.2.0 1.1.2 )
22
+ bad_versions = {}
23
23
  load_errors = []
24
24
  loaded_library = ""
25
25
  version_load_order.each do |version|
@@ -37,6 +37,7 @@ module FFI
37
37
  get_safe_creds(cred_type, in_conn_parms, @connect_params + API::ConnectParams.offset_of(:creds))
38
38
  conn_parms = @connect_params + API::ConnectParams.offset_of(:port)
39
39
  conn_parms.write_uint32(in_conn_parms[:port]) unless in_conn_parms[:port].nil?
40
+ conn_parms.write_uint32(0) if API::VERSION_MAJOR > 5
40
41
  @connect_params
41
42
  end
42
43
 
@@ -1,5 +1,5 @@
1
1
  module FFI
2
2
  module VixDiskLib
3
- VERSION = "1.0.1"
3
+ VERSION = "1.0.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ffi-vix_disk_lib
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jerry Keselman
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2014-11-25 00:00:00.000000000 Z
13
+ date: 2015-08-25 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler
@@ -40,6 +40,20 @@ dependencies:
40
40
  - - ">="
41
41
  - !ruby/object:Gem::Version
42
42
  version: '0'
43
+ - !ruby/object:Gem::Dependency
44
+ name: minitest
45
+ requirement: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - ">="
48
+ - !ruby/object:Gem::Version
49
+ version: '0'
50
+ type: :development
51
+ prerelease: false
52
+ version_requirements: !ruby/object:Gem::Requirement
53
+ requirements:
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ version: '0'
43
57
  - !ruby/object:Gem::Dependency
44
58
  name: ffi
45
59
  requirement: !ruby/object:Gem::Requirement
@@ -99,11 +113,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
99
113
  version: '0'
100
114
  requirements: []
101
115
  rubyforge_project:
102
- rubygems_version: 2.2.2
116
+ rubygems_version: 2.4.8
103
117
  signing_key:
104
118
  specification_version: 4
105
119
  summary: Ruby FFI Binding to VMware VixDiskLib.
106
120
  test_files:
107
121
  - spec/spec_helper.rb
108
122
  - spec/version_spec.rb
109
- has_rdoc: