simple-mmap 1.1.2 → 1.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/ext/simple_mmap/mapped_file.c +0 -2
  2. metadata +1 -1
@@ -122,7 +122,6 @@ static VALUE sm_mapped_file_read_window_data(VALUE vself, VALUE voffset, VALUE v
122
122
  VALUE vsm_map;
123
123
  simple_mmap_map *sm_map;
124
124
 
125
- sm_map = ALLOC(simple_mmap_map);
126
125
  vsm_map = rb_ivar_get(vself, rb_intern("@mmap_data"));
127
126
  Data_Get_Struct(vsm_map, simple_mmap_map, sm_map);
128
127
 
@@ -158,7 +157,6 @@ static VALUE sm_mapped_file_size(VALUE vself)
158
157
  VALUE vsm_map;
159
158
  simple_mmap_map *sm_map;
160
159
 
161
- sm_map = ALLOC(simple_mmap_map);
162
160
  vsm_map = rb_ivar_get(vself, rb_intern("@mmap_data"));
163
161
  Data_Get_Struct(vsm_map, simple_mmap_map, sm_map);
164
162
  return UINT2NUM(sm_map->len);
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple-mmap
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - "Johan S\xC3\xB8rensen"