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 +4 -4
- data/lib/ffi-vix_disk_lib/api.rb +2 -2
- data/lib/ffi-vix_disk_lib/safe_connect_params.rb +1 -0
- data/lib/ffi-vix_disk_lib/version.rb +1 -1
- metadata +17 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c0f2fe2e7a9ba222e188326fd342503dae14581b
|
4
|
+
data.tar.gz: a5b26bfa0975033aff350e9b40bd3acbc4a8ae94
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0040f4aec5d2ce573daaa0a222f619d39d4e1009dea91902f0c87d339545c1364a2bdba71fc08697247b3ae13bb8d4d07b6b4a71f3f6084ec526987f7ceaca9e
|
7
|
+
data.tar.gz: 443c7577db59018f88ffbf72036ef8b425a4d0bc4a5ab789d903dbe82f360296d5c0b578913255a4bfeb0ed1768549bbfcf5046c72d4574807055e4fbe9cba82
|
data/lib/ffi-vix_disk_lib/api.rb
CHANGED
@@ -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 = {
|
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
|
|
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.
|
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:
|
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.
|
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:
|