sereal 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +7 -0
  2. data/ext/sereal/encode.c +1 -0
  3. metadata +15 -19
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 802e13eb6a0c49314803629027fd015345366f57
4
+ data.tar.gz: cbf309f9f930d9943e39851b48f5292832495e66
5
+ SHA512:
6
+ metadata.gz: 753e34f2e15086c4c4ec707ec8bfda05df122c237ac2bd18b992132a470a9475039753c9383cb0ffcaf43289802a5c9e513c0f4ed5026165ea38f59bb62a19d5
7
+ data.tar.gz: ba290f161d4c651e5b0a783fff75b22d8c356e8019f9a706ff8a4a1a7ec8797fe8b53ed285b5c306289c1d8ba6ac9d575b5b881d1b6e0bf19371a164f030b296
@@ -259,6 +259,7 @@ VALUE method_sereal_encode(VALUE self, VALUE args) {
259
259
  working_buf,
260
260
  CSNAPPY_WORKMEM_BYTES_POWER_OF_TWO);
261
261
  free(s->data);
262
+ free(working_buf);
262
263
  s->data = compressed;
263
264
  s->size = compressed_len + s_header_len;
264
265
  }
metadata CHANGED
@@ -1,30 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sereal
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
5
- prerelease:
4
+ version: 0.0.3
6
5
  platform: ruby
7
6
  authors:
8
7
  - Borislav Nikolov
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-05-29 00:00:00.000000000 Z
11
+ date: 2013-11-07 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rake-compiler
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - '>='
20
18
  - !ruby/object:Gem::Version
21
19
  version: '0'
22
20
  type: :development
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - '>='
28
25
  - !ruby/object:Gem::Version
29
26
  version: '0'
30
27
  description: Sereal encoder/decoder (https://github.com/Sereal/Sereal)
@@ -34,42 +31,41 @@ extensions:
34
31
  - ext/sereal/extconf.rb
35
32
  extra_rdoc_files: []
36
33
  files:
37
- - ext/sereal/snappy/csnappy_compress.c
38
- - ext/sereal/snappy/csnappy_decompress.c
39
34
  - ext/sereal/decode.c
40
35
  - ext/sereal/encode.c
36
+ - ext/sereal/snappy/csnappy_compress.c
37
+ - ext/sereal/snappy/csnappy_decompress.c
41
38
  - ext/sereal/sereal.c
39
+ - ext/sereal/sereal.h
42
40
  - ext/sereal/buffer.h
43
- - ext/sereal/snappy/csnappy_internal_userspace.h
44
- - ext/sereal/snappy/csnappy.h
45
41
  - ext/sereal/snappy/csnappy_internal.h
46
- - ext/sereal/sereal.h
47
- - ext/sereal/encode.h
42
+ - ext/sereal/snappy/csnappy.h
43
+ - ext/sereal/snappy/csnappy_internal_userspace.h
48
44
  - ext/sereal/decode.h
49
45
  - ext/sereal/proto.h
46
+ - ext/sereal/encode.h
50
47
  - ext/sereal/extconf.rb
51
48
  homepage: https://github.com/Sereal/Sereal
52
49
  licenses: []
50
+ metadata: {}
53
51
  post_install_message:
54
52
  rdoc_options: []
55
53
  require_paths:
56
54
  - lib
57
55
  required_ruby_version: !ruby/object:Gem::Requirement
58
- none: false
59
56
  requirements:
60
- - - ! '>='
57
+ - - '>='
61
58
  - !ruby/object:Gem::Version
62
59
  version: '0'
63
60
  required_rubygems_version: !ruby/object:Gem::Requirement
64
- none: false
65
61
  requirements:
66
- - - ! '>='
62
+ - - '>='
67
63
  - !ruby/object:Gem::Version
68
64
  version: '0'
69
65
  requirements: []
70
66
  rubyforge_project:
71
- rubygems_version: 1.8.23
67
+ rubygems_version: 2.0.3
72
68
  signing_key:
73
- specification_version: 3
69
+ specification_version: 4
74
70
  summary: Sereal encoder/decoder
75
71
  test_files: []