ffi-vix_disk_lib 1.0.4 → 1.0.5
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 +1 -1
- data/lib/ffi-vix_disk_lib/version.rb +1 -1
- data/spec/ffi-vix_disk_lib/api_spec.rb +13 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 55bf41c744a9a5340104836576424de5d2b6f55a
|
4
|
+
data.tar.gz: 2940e7622e4a526283de0e2f0f43b2fdcf57672c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f5b854a5899cacd6893a419068d3788c767aef28ba36644db5296e0aa4809549c9590079497ba7a73ceca5966d07c3fb04eeee2f727689dd7692cee5da17966f
|
7
|
+
data.tar.gz: 274f8c957c268da2dd9808d1a9faa70aa28e29923beac0dece47700781937739a2bb3291434e3b4b282470819bff0a3acc2c97be8d7280def6912259072be01b
|
data/lib/ffi-vix_disk_lib/api.rb
CHANGED
@@ -18,7 +18,7 @@ module FFI
|
|
18
18
|
#
|
19
19
|
# Make sure we load one and only one version of VixDiskLib
|
20
20
|
#
|
21
|
-
version_load_order = %w( 6.5.0 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 )
|
21
|
+
version_load_order = %w( 6.7.0 6.5.0 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
22
|
bad_versions = {}
|
23
23
|
load_errors = []
|
24
24
|
loaded_library = ""
|
@@ -10,4 +10,17 @@ describe FFI::VixDiskLib::API do
|
|
10
10
|
expect(err).to eq(described_class::VixErrorType[:VIX_OK])
|
11
11
|
end
|
12
12
|
end
|
13
|
+
|
14
|
+
context "ConnectParams" do
|
15
|
+
case described_class::VERSION
|
16
|
+
when "6.5.0"
|
17
|
+
it "has vimApiVer" do
|
18
|
+
expect(described_class::ConnectParams.members).to include(:vimApiVer)
|
19
|
+
end
|
20
|
+
else
|
21
|
+
it "doesn't have vimApiVer" do
|
22
|
+
expect(described_class::ConnectParams.members).to_not include(:vimApiVer)
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
13
26
|
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.
|
4
|
+
version: 1.0.5
|
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: 2019-01-11 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: bundler
|