gdbm 1.3.0 → 1.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -4
  3. data/lib/gdbm.rb +1 -1
  4. metadata +10 -14
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d77e96cabac18ae26ee213c0cc34052096e1fd38
4
- data.tar.gz: 790eb07656751d2b4ab5d3c785e3997d0296473c
3
+ metadata.gz: 300cb3d5b1d852ae498d05a02fe37102266dc383
4
+ data.tar.gz: ae55ccbdc3db884eae0e116df91452b810bc75e4
5
5
  SHA512:
6
- metadata.gz: 78271a2686aadce65e018a9d0656ed6bbc8de44d57ac3241c75257c2b88d9118557087186c5614b5f69cb4341af7bb9779365e1c10d3cd75fabf0e94414b8663
7
- data.tar.gz: 1db72d78f9b8a2cca859dd0f98d2685b2718afb87c2112a9c2cbf80f7586234a86eea6fc6d4df0be3435df1fa64b2211f06aae1f654795c39a1c2c5f1cf4795e
6
+ metadata.gz: 149fd883148b8671864ab703c7152fcfaec758ab7b18503602de734236ec0629fe704680384290efd44d01ae4e8389425d9934ee06ac4b306e1dfc8f8f79802e
7
+ data.tar.gz: 49d0490b4381b7c1f7c9711970f3201e34246aef05b152334b49fcd3aff021b1d1196aec692678e9ff6c0986dfa202a799aa3b3d9479133a4bd9836637502377
data/README.md CHANGED
@@ -30,8 +30,7 @@ JRuby does not require further installation, but Rubinius will need the FFI gem:
30
30
 
31
31
  Tests passing on 64 bit Linux with
32
32
 
33
- * JRuby 1.7.17
34
- * Rubinius 2.2.10 + FFI 1.9.6
33
+ * JRuby 1.7.21 and 9.0.5.0
35
34
 
36
35
  ### Older Tests
37
36
 
@@ -47,9 +46,9 @@ Further testing on other systems is welcome!
47
46
 
48
47
  Two sets of tests are included, copied straight from the MRI distribution. However, they do require the use of ObjectSpace, so this is how to run them with JRuby:
49
48
 
50
- `jruby --1.8 -X+O -r lib/gdbm test/test_gdbm-1.8.7.rb`
49
+ `jruby --1.8 -X+O -r lib/gdbm test/test_gdbm-1.8.7.rb` (Note: only works with JRuby prior to 9.0.0.0)
51
50
 
52
- `jruby -X+O -r lib/gdbm test/test_gdbm-1.9.1.rb`
51
+ `jruby -X+O -r ./lib/gdbm test/test_gdbm-1.9.1.rb`
53
52
 
54
53
  ## License
55
54
 
@@ -35,7 +35,7 @@ module GDBM_FFI
35
35
  if args.length == 1 and args[0].is_a? String
36
36
  super()
37
37
  self.dptr = args[0]
38
- self[:dsize] = args[0].length
38
+ self[:dsize] = args[0].bytesize
39
39
  else
40
40
  super
41
41
  end
metadata CHANGED
@@ -1,20 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gdbm
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Collins
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-14 00:00:00.000000000 Z
11
+ date: 2016-04-29 00:00:00.000000000 Z
12
12
  dependencies: []
13
- description: This library provides a gdbm library compatible with the MRI standard
14
- library, but using Ruby-FFI rather than a C extension. This allows gdbm to easily
15
- be used from alternative Ruby implementations, such as JRuby. It can also be used
16
- with MRI, if there is some kind of need for that.
17
- email:
13
+ description: This library provides a gdbm library compatible with the MRI standard library, but using Ruby-FFI rather than a C extension. This allows gdbm to easily be used from alternative Ruby implementations, such as JRuby. It can also be used with MRI, if there is some kind of need for that.
14
+ email:
18
15
  executables: []
19
16
  extensions: []
20
17
  extra_rdoc_files: []
@@ -24,7 +21,7 @@ files:
24
21
  homepage: http://github.com/presidentbeef/ffi-gdbm
25
22
  licenses: []
26
23
  metadata: {}
27
- post_install_message:
24
+ post_install_message:
28
25
  rdoc_options: []
29
26
  require_paths:
30
27
  - lib
@@ -39,10 +36,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
39
36
  - !ruby/object:Gem::Version
40
37
  version: '0'
41
38
  requirements: []
42
- rubyforge_project:
43
- rubygems_version: 2.4.4
44
- signing_key:
39
+ rubyforge_project:
40
+ rubygems_version: 2.4.8
41
+ signing_key:
45
42
  specification_version: 4
46
- summary: Provides access to gdbm through Ruby-FFI, particularly for JRuby and other
47
- alternative Ruby implementations.
43
+ summary: Provides access to gdbm through Ruby-FFI, particularly for JRuby and other alternative Ruby implementations.
48
44
  test_files: []