libcdb-ruby 0.1.0-x86-mswin32-60 → 0.1.1-x86-mswin32-60
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ChangeLog +6 -1
- data/README +10 -12
- data/Rakefile +12 -14
- data/ext/libcdb/extconf.rb +0 -2
- data/ext/libcdb/ruby_cdb.h +1 -7
- data/ext/libcdb/ruby_libcdb.h +0 -8
- data/lib/libcdb/1.9/libcdb_ruby.so +0 -0
- data/lib/libcdb/2.0/libcdb_ruby.so +0 -0
- data/lib/libcdb/2.1/libcdb_ruby.so +0 -0
- data/lib/libcdb/version.rb +1 -1
- data/spec/spec_helper.rb +2 -0
- metadata +71 -43
- data/.rspec +0 -1
- data/lib/libcdb/libcdb_ruby.so +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6074688885d1a8387c93170def13c8d31f2e4d99
|
4
|
+
data.tar.gz: 137d2dd3eb3bf13bfcf8793f1cd3a46b5881ad78
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b2b973e0f2453c770a035ccaf70f10d464f9a30aef2c234039f77d2cd3e296a81780e9a043c3dec1a7d9f25fbc19e4747accc8d8317fadf7cf6ba590e5452605
|
7
|
+
data.tar.gz: 7ea1869fc6f4c95bfcde170b6c52322642bc3e312cc8e1ec5a1bbc35e0565766d02d2bcf0eb3c8e757aef510972d59169b3815ae2c5530fad263c23cce3e896d
|
data/ChangeLog
CHANGED
@@ -2,7 +2,12 @@
|
|
2
2
|
|
3
3
|
= Revision history for libcdb-ruby
|
4
4
|
|
5
|
-
== 0.1.
|
5
|
+
== 0.1.1 [2014-04-25]
|
6
|
+
|
7
|
+
* <b>Dropped support for Ruby 1.9.2.</b>
|
8
|
+
* Housekeeping.
|
9
|
+
|
10
|
+
== 0.1.0 [2013-08-03]
|
6
11
|
|
7
12
|
* Removed usage of +RARRAY_PTR+ (cf. Ruby bug
|
8
13
|
{#8399}[https://bugs.ruby-lang.org/issues/8399]).
|
data/README
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
== VERSION
|
4
4
|
|
5
|
-
This documentation refers to libcdb-ruby version 0.1.
|
5
|
+
This documentation refers to libcdb-ruby version 0.1.1
|
6
6
|
|
7
7
|
|
8
8
|
== DESCRIPTION
|
@@ -62,7 +62,6 @@ creating and reading {constant databases}[http://cr.yp.to/cdb.html].
|
|
62
62
|
|
63
63
|
== PREREQUISITES
|
64
64
|
|
65
|
-
<b></b>
|
66
65
|
* Ruby 1.9+ (see {below}[rdoc-label:label-SUPPORTED+PLATFORMS] for details)
|
67
66
|
* TinyCDB[http://www.corpit.ru/mjt/tinycdb.html] headers (not needed when
|
68
67
|
installing the fat binary gem on Windows)
|
@@ -74,20 +73,19 @@ creating and reading {constant databases}[http://cr.yp.to/cdb.html].
|
|
74
73
|
|
75
74
|
== SUPPORTED PLATFORMS
|
76
75
|
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
Windows:: MRI 1.9 (Tested on 32-bit Windows XP with 1.9.2p290 and 1.9.3p194)
|
76
|
+
Linux:: MRI 1.9.3, 2.0 & 2.1 (Tested on 64-bit Ubuntu GNU/Linux
|
77
|
+
with 1.9.3p488, 2.0.0p377 and 2.1.2p77)
|
78
|
+
Windows:: MRI 1.9.3 (Tested on 32-bit Windows XP with 1.9.3p194)
|
81
79
|
|
82
80
|
|
83
81
|
== LINKS
|
84
82
|
|
85
|
-
<b></b>
|
86
|
-
Documentation:: http://blackwinter.github.com/libcdb-ruby
|
87
|
-
Source code:: http://github.com/blackwinter/libcdb-ruby
|
88
|
-
RubyGem:: http://rubygems.org/gems/libcdb-ruby
|
89
|
-
TinyCDB:: http://www.corpit.ru/mjt/tinycdb.html
|
90
83
|
CDB:: http://cr.yp.to/cdb.html
|
84
|
+
TinyCDB:: http://www.corpit.ru/mjt/tinycdb.html
|
85
|
+
Documentation:: https://blackwinter.github.io/libcdb-ruby/
|
86
|
+
Source code:: https://github.com/blackwinter/libcdb-ruby
|
87
|
+
RubyGem:: https://rubygems.org/gems/libcdb-ruby
|
88
|
+
Travis CI:: https://travis-ci.org/blackwinter/libcdb-ruby
|
91
89
|
|
92
90
|
|
93
91
|
== AUTHORS
|
@@ -110,7 +108,7 @@ team for making extension building such a breeze :)
|
|
110
108
|
Copyright (C) 2012 University of Cologne,
|
111
109
|
Albertus-Magnus-Platz, 50923 Cologne, Germany
|
112
110
|
|
113
|
-
Copyright (C) 2013 Jens Wille
|
111
|
+
Copyright (C) 2013-2014 Jens Wille
|
114
112
|
|
115
113
|
libcdb-ruby is free software: you can redistribute it and/or modify it
|
116
114
|
under the terms of the GNU Affero General Public License as published by
|
data/Rakefile
CHANGED
@@ -11,23 +11,21 @@ begin
|
|
11
11
|
end
|
12
12
|
|
13
13
|
if dir = ENV['MINGW32']
|
14
|
-
cco <<
|
14
|
+
cco << %Q{--with-cflags="-I#{dir}/include -L#{dir}/lib"}
|
15
15
|
end
|
16
16
|
|
17
17
|
Hen.lay! {{
|
18
|
-
:
|
19
|
-
:
|
20
|
-
:
|
21
|
-
:
|
22
|
-
:
|
23
|
-
:
|
24
|
-
:
|
25
|
-
:
|
26
|
-
:
|
27
|
-
|
28
|
-
|
29
|
-
},
|
30
|
-
required_ruby_version: '>= 1.9.2'
|
18
|
+
gem: {
|
19
|
+
name: %q{libcdb-ruby},
|
20
|
+
version: LibCDB::CDB::VERSION,
|
21
|
+
summary: %q{Ruby bindings for CDB Constant Databases.},
|
22
|
+
author: %q{Jens Wille},
|
23
|
+
email: %q{jens.wille@gmail.com},
|
24
|
+
license: %q{AGPL-3.0},
|
25
|
+
homepage: :blackwinter,
|
26
|
+
extension: { cross_config_options: cco },
|
27
|
+
|
28
|
+
required_ruby_version: '>= 1.9.3'
|
31
29
|
}
|
32
30
|
}}
|
33
31
|
rescue LoadError => err
|
data/ext/libcdb/extconf.rb
CHANGED
@@ -3,8 +3,6 @@ require 'mkmf'
|
|
3
3
|
dir_config('cdb')
|
4
4
|
|
5
5
|
if have_library('cdb', 'cdb_init') && have_header('cdb.h') && have_macro('TINYCDB_VERSION', 'cdb.h')
|
6
|
-
have_header('ruby/io.h')
|
7
|
-
have_header('ruby/st.h')
|
8
6
|
create_makefile('libcdb/libcdb_ruby')
|
9
7
|
else
|
10
8
|
abort '*** ERROR: missing required library to compile this module'
|
data/ext/libcdb/ruby_cdb.h
CHANGED
@@ -1,12 +1,6 @@
|
|
1
1
|
#ifndef RUBY_CDB_H
|
2
2
|
#define RUBY_CDB_H
|
3
3
|
|
4
|
-
#ifdef HAVE_RUBY_IO_H
|
5
|
-
#define RCDB_GET_FD(fptr) (fptr)->fd
|
6
|
-
#else
|
7
|
-
#define RCDB_GET_FD(fptr) fileno((fptr)->f)
|
8
|
-
#endif
|
9
|
-
|
10
4
|
#define RCDB_GET_STRUCT(what, _struct, obj, ptr) \
|
11
5
|
if (RTEST(rcdb_##what##er_closed_p(obj))) {\
|
12
6
|
rb_raise(rb_eIOError, "closed stream");\
|
@@ -40,7 +34,7 @@ rcdb_##what##er_alloc(VALUE klass) {\
|
|
40
34
|
\
|
41
35
|
RCDB_##WHAT##ER_GET(self, ptr);\
|
42
36
|
\
|
43
|
-
if (cdb_##init(ptr,
|
37
|
+
if (cdb_##init(ptr, fptr->fd) == -1) {\
|
44
38
|
rb_sys_fail(0);\
|
45
39
|
}
|
46
40
|
|
data/ext/libcdb/ruby_libcdb.h
CHANGED
@@ -2,16 +2,8 @@
|
|
2
2
|
#define RUBY_LIBCDB_H
|
3
3
|
|
4
4
|
#include <ruby.h>
|
5
|
-
#if HAVE_RUBY_IO_H
|
6
5
|
#include <ruby/io.h>
|
7
|
-
#else
|
8
|
-
#include <rubyio.h>
|
9
|
-
#endif
|
10
|
-
#if HAVE_RUBY_ST_H
|
11
6
|
#include <ruby/st.h>
|
12
|
-
#else
|
13
|
-
#include <st.h>
|
14
|
-
#endif
|
15
7
|
#include <cdb.h>
|
16
8
|
#include <sys/types.h>
|
17
9
|
#include <sys/stat.h>
|
Binary file
|
Binary file
|
Binary file
|
data/lib/libcdb/version.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,36 +1,57 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: libcdb-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: x86-mswin32-60
|
6
6
|
authors:
|
7
7
|
- Jens Wille
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
|
-
cert_chain:
|
11
|
-
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-04-25 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: hen
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
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'
|
34
55
|
description: Ruby bindings for CDB Constant Databases.
|
35
56
|
email: jens.wille@gmail.com
|
36
57
|
executables: []
|
@@ -44,10 +65,6 @@ extra_rdoc_files:
|
|
44
65
|
- ext/libcdb/ruby_cdb_reader.c
|
45
66
|
- ext/libcdb/ruby_cdb_writer.c
|
46
67
|
files:
|
47
|
-
- lib/cdb.rb
|
48
|
-
- lib/libcdb-ruby.rb
|
49
|
-
- lib/libcdb.rb
|
50
|
-
- lib/libcdb/version.rb
|
51
68
|
- COPYING
|
52
69
|
- ChangeLog
|
53
70
|
- README
|
@@ -63,40 +80,51 @@ files:
|
|
63
80
|
- ext/libcdb/ruby_cdb_writer.c
|
64
81
|
- ext/libcdb/ruby_cdb_writer.h
|
65
82
|
- ext/libcdb/ruby_libcdb.h
|
83
|
+
- lib/cdb.rb
|
84
|
+
- lib/libcdb-ruby.rb
|
85
|
+
- lib/libcdb.rb
|
86
|
+
- lib/libcdb/1.9/libcdb_ruby.so
|
87
|
+
- lib/libcdb/2.0/libcdb_ruby.so
|
88
|
+
- lib/libcdb/2.1/libcdb_ruby.so
|
89
|
+
- lib/libcdb/version.rb
|
66
90
|
- spec/libcdb/reader_spec.rb
|
67
91
|
- spec/libcdb/writer_spec.rb
|
68
92
|
- spec/spec_helper.rb
|
69
|
-
- .rspec
|
70
|
-
- lib/libcdb/libcdb_ruby.so
|
71
93
|
homepage: http://github.com/blackwinter/libcdb-ruby
|
72
94
|
licenses:
|
73
|
-
- AGPL
|
95
|
+
- AGPL-3.0
|
74
96
|
metadata: {}
|
75
|
-
post_install_message:
|
97
|
+
post_install_message: |2+
|
98
|
+
|
99
|
+
libcdb-ruby-0.1.1 [2014-04-25]:
|
100
|
+
|
101
|
+
* <b>Dropped support for Ruby 1.9.2.</b>
|
102
|
+
* Housekeeping.
|
103
|
+
|
76
104
|
rdoc_options:
|
77
|
-
- --
|
105
|
+
- "--title"
|
106
|
+
- libcdb-ruby Application documentation (v0.1.1)
|
107
|
+
- "--charset"
|
78
108
|
- UTF-8
|
79
|
-
- --line-numbers
|
80
|
-
- --all
|
81
|
-
- --
|
82
|
-
- libcdb-ruby Application documentation (v0.1.0)
|
83
|
-
- --main
|
109
|
+
- "--line-numbers"
|
110
|
+
- "--all"
|
111
|
+
- "--main"
|
84
112
|
- README
|
85
113
|
require_paths:
|
86
114
|
- lib
|
87
115
|
required_ruby_version: !ruby/object:Gem::Requirement
|
88
116
|
requirements:
|
89
|
-
- -
|
117
|
+
- - ">="
|
90
118
|
- !ruby/object:Gem::Version
|
91
|
-
version: 1.9.
|
119
|
+
version: 1.9.3
|
92
120
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
93
121
|
requirements:
|
94
|
-
- -
|
122
|
+
- - ">="
|
95
123
|
- !ruby/object:Gem::Version
|
96
124
|
version: '0'
|
97
125
|
requirements: []
|
98
126
|
rubyforge_project:
|
99
|
-
rubygems_version: 2.
|
127
|
+
rubygems_version: 2.2.2.x
|
100
128
|
signing_key:
|
101
129
|
specification_version: 4
|
102
130
|
summary: Ruby bindings for CDB Constant Databases.
|
data/.rspec
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
--colour
|
data/lib/libcdb/libcdb_ruby.so
DELETED
Binary file
|