numo-binrw 0.1.1 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/numo/binrw/write.c +1 -0
- data/lib/numo/binrw/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 04561a668e470a67c2c7c2a4e6dcf23116c78f081b9d38f51bd58ae77d6621a3
|
4
|
+
data.tar.gz: 17674a6650b171920a5bfc6656752f07f4fe3a3a0974f6c2886df60cdae6eefa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 258179d7c04edd978e3aef700c48fb38289d59d586294adf6410fd1af26c6a17fc01f349641f4225802c099cafad9537a10f0eb3323d79254aa4a1e85675d310
|
7
|
+
data.tar.gz: 127f2fa687a4a271a3e0333a7f833a5da8a323b67c246043777932021bae728e668c8f24a2ff1cee2c7afd6ec98c1c7f26c4709a39273af8c3030a66072bf962
|
data/ext/numo/binrw/write.c
CHANGED
@@ -27,6 +27,7 @@ void bin_write(struct bin_write_arg_ret* st){
|
|
27
27
|
|
28
28
|
VALUE nrw_bin_write(VALUE self, VALUE obj, VALUE filename){
|
29
29
|
char* cfilename;
|
30
|
+
obj = rb_funcall(obj, rb_intern("copy"), 0);
|
30
31
|
void* data = na_get_pointer(obj);
|
31
32
|
long size = NUM2LONG(rb_funcall(obj, rb_intern("size"), 0));
|
32
33
|
|
data/lib/numo/binrw/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: numo-binrw
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Murata Mitsuharu
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-09-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -101,7 +101,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
101
101
|
- !ruby/object:Gem::Version
|
102
102
|
version: '0'
|
103
103
|
requirements: []
|
104
|
-
rubygems_version: 3.
|
104
|
+
rubygems_version: 3.2.22
|
105
105
|
signing_key:
|
106
106
|
specification_version: 4
|
107
107
|
summary: Read binary files and handle them with `NArray`.
|