ffi-vix_disk_lib 1.0.0 → 1.0.1
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/disk_info.rb +2 -2
- data/lib/ffi-vix_disk_lib/version.rb +1 -1
- 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: 5f0fadca6e254b97a923bfc08f132d31bae14f60
|
4
|
+
data.tar.gz: df041e90baa48878c991afd2dd24311768dc9181
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7ca7c52ecf82d372423a54134a5a42f0796b68151671b4cc60b4ad2ca1dfdf20358f6e32d5f011ba1229d1996bb4735d0e600482a65a2c88103386f3ff57d70e
|
7
|
+
data.tar.gz: e7d99e384c268acb5fee379c1f59646a5996f79ad7bc4a5d14021d4b71c5163488abaf0e89afd210070a2bd6059b1f64577151fca41f1936de2f35cf6e361aeb
|
@@ -6,7 +6,7 @@ module FFI
|
|
6
6
|
attr_reader :info
|
7
7
|
|
8
8
|
def geometry_attribute(info, offset_value, attribute)
|
9
|
-
info.get_uint32(offset_value + Geometry.offset_of(attribute))
|
9
|
+
info.get_uint32(offset_value + API::Geometry.offset_of(attribute))
|
10
10
|
end
|
11
11
|
|
12
12
|
#
|
@@ -17,7 +17,7 @@ module FFI
|
|
17
17
|
def initialize(disk_handle)
|
18
18
|
ruby_info = {}
|
19
19
|
info = FFI::MemoryPointer.new :pointer
|
20
|
-
vix_error =
|
20
|
+
vix_error = API.get_info(disk_handle, info)
|
21
21
|
ApiWrapper.check_error(vix_error, __method__)
|
22
22
|
real_info = info.get_pointer(0)
|
23
23
|
|
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.1
|
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-
|
13
|
+
date: 2014-11-25 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: bundler
|