gdbm 2.0.0 → 2.1.0

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 +4 -4
  2. data/ext/gdbm/gdbm.c +4 -3
  3. metadata +4 -61
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d8712d243347c6f11adadc74dc9ecd7d75d2b73033ed44f5c22bf6091020945e
4
- data.tar.gz: 57c8a736e7d4266d81c8b7f05ad27a5e42148b6a6d13076ce2a05db2766ff499
3
+ metadata.gz: 1fe7f718ae05e02de1a5f8c170654ecdd69c46b453b97f4463cbeaa7a5924597
4
+ data.tar.gz: 2e9ec0c59cf37b9c75d1e585958a7ecdb9bd8cd26e14e06c7fb89269478036b3
5
5
  SHA512:
6
- metadata.gz: e30eaa362c15a803a5477dbf065469a837fd8d28008724975eadf62edc64c11c71850657f70c8ff92fe56fe907e63e3203d3f8ec4411bc34608587cfd94dd2de
7
- data.tar.gz: e77c38c65a4fd19eb7bd2478193d6678a7e075216b79ffbcecc8bdb3d226f5397f875ab034721c15af6c2a63eb6a20003af0912362e1d46575a0d52721567d70
6
+ metadata.gz: 67b884bee094b0ee10c3edaa074dd629a2bd36c5c8b4b4ab22db69d9bb77090fef12146469b0289bfbfc2283cf120c532d7437a8b7169c1e7ed34a43ed1aef57
7
+ data.tar.gz: d53bd3f1a6b64d68ee5490d4d0261ef4ab64850553cac2873cf85c4b3052aa1c052253a2c0e9c7028b4d44793e113013031de932ee4269bc3fbf39ecb99cad60
@@ -83,6 +83,10 @@ static VALUE rb_cGDBM, rb_eGDBMError, rb_eGDBMFatalError;
83
83
 
84
84
  #define MY_BLOCK_SIZE (2048)
85
85
  #define MY_FATAL_FUNC rb_gdbm_fatal
86
+
87
+ NORETURN(static void rb_gdbm_fatal(const char *msg));
88
+ NORETURN(static void closed_dbm(void));
89
+
86
90
  static void
87
91
  rb_gdbm_fatal(const char *msg)
88
92
  {
@@ -320,7 +324,6 @@ rb_gdbm_fetch(GDBM_FILE dbm, datum key)
320
324
 
321
325
  str = rb_str_new(val.dptr, val.dsize);
322
326
  free(val.dptr);
323
- OBJ_TAINT(str);
324
327
  return str;
325
328
  }
326
329
 
@@ -361,7 +364,6 @@ rb_gdbm_firstkey(GDBM_FILE dbm)
361
364
 
362
365
  str = rb_str_new(key.dptr, key.dsize);
363
366
  free(key.dptr);
364
- OBJ_TAINT(str);
365
367
  return str;
366
368
  }
367
369
 
@@ -382,7 +384,6 @@ rb_gdbm_nextkey(GDBM_FILE dbm, VALUE keystr)
382
384
 
383
385
  str = rb_str_new(key2.dptr, key2.dsize);
384
386
  free(key2.dptr);
385
- OBJ_TAINT(str);
386
387
  return str;
387
388
  }
388
389
 
metadata CHANGED
@@ -1,71 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gdbm
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yukihiro Matsumoto
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-04-28 00:00:00.000000000 Z
12
- dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: bundler
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: '1.14'
20
- type: :development
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: '1.14'
27
- - !ruby/object:Gem::Dependency
28
- name: rake
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: '10.0'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
39
- - !ruby/object:Gem::Version
40
- version: '10.0'
41
- - !ruby/object:Gem::Dependency
42
- name: rake-compiler
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: '0'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - ">="
53
- - !ruby/object:Gem::Version
54
- version: '0'
55
- - !ruby/object:Gem::Dependency
56
- name: test-unit
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - ">="
60
- - !ruby/object:Gem::Version
61
- version: '0'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - ">="
67
- - !ruby/object:Gem::Version
68
- version: '0'
11
+ date: 2019-11-30 00:00:00.000000000 Z
12
+ dependencies: []
69
13
  description: Ruby extension for GNU dbm.
70
14
  email:
71
15
  - matz@ruby-lang.org
@@ -95,8 +39,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
95
39
  - !ruby/object:Gem::Version
96
40
  version: '0'
97
41
  requirements: []
98
- rubyforge_project:
99
- rubygems_version: 2.7.3
42
+ rubygems_version: 3.0.3
100
43
  signing_key:
101
44
  specification_version: 4
102
45
  summary: Ruby extension for GNU dbm.