libcdb-ruby 0.2.0.1-x86-mingw32 → 0.2.1-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ChangeLog +4 -0
- data/README +2 -2
- data/lib/libcdb.rb +31 -1
- 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/2.2/libcdb_ruby.so +0 -0
- data/lib/libcdb/2.3/libcdb_ruby.so +0 -0
- data/lib/libcdb/version.rb +2 -2
- metadata +13 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d08b6e2696b8b62c1b8428fa2413a1f769629578
|
4
|
+
data.tar.gz: d3a25a06e30be59ff8a1530c9c033c2c12f303d4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: afe300c4081e4e106a2b5dae18327c0aed86c68aeb6c59eb3ca9312196c72af1cfd7058b26ed952159a7a9c13691ce8fd20cc8bcea31c675d3942663fda25937
|
7
|
+
data.tar.gz: e9f23657054296bccf5ce0778c1f52df81f7d3b95b0b96fbb1769a44436ef681327e8d7fd84d75ba649413ae44a83452a15729abab4bb29499baee90576c5ba8
|
data/ChangeLog
CHANGED
data/README
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
== VERSION
|
4
4
|
|
5
|
-
This documentation refers to libcdb-ruby version 0.2.
|
5
|
+
This documentation refers to libcdb-ruby version 0.2.1
|
6
6
|
|
7
7
|
|
8
8
|
== DESCRIPTION
|
@@ -108,7 +108,7 @@ team for making extension building such a breeze :)
|
|
108
108
|
Copyright (C) 2012 University of Cologne,
|
109
109
|
Albertus-Magnus-Platz, 50923 Cologne, Germany
|
110
110
|
|
111
|
-
Copyright (C) 2013-
|
111
|
+
Copyright (C) 2013-2016 Jens Wille
|
112
112
|
|
113
113
|
libcdb-ruby is free software: you can redistribute it and/or modify it
|
114
114
|
under the terms of the GNU Affero General Public License as published by
|
data/lib/libcdb.rb
CHANGED
@@ -1,3 +1,30 @@
|
|
1
|
+
#--
|
2
|
+
###############################################################################
|
3
|
+
# #
|
4
|
+
# libcdb-ruby -- Ruby bindings for CDB Constant Databases #
|
5
|
+
# #
|
6
|
+
# Copyright (C) 2012 University of Cologne, #
|
7
|
+
# Albertus-Magnus-Platz, #
|
8
|
+
# 50923 Cologne, Germany #
|
9
|
+
# #
|
10
|
+
# Copyright (C) 2013-2016 Jens Wille #
|
11
|
+
# #
|
12
|
+
# libcdb-ruby is free software; you can redistribute it and/or modify it #
|
13
|
+
# under the terms of the GNU Affero General Public License as published by #
|
14
|
+
# the Free Software Foundation; either version 3 of the License, or (at your #
|
15
|
+
# option) any later version. #
|
16
|
+
# #
|
17
|
+
# libcdb-ruby is distributed in the hope that it will be useful, but WITHOUT #
|
18
|
+
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or #
|
19
|
+
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public #
|
20
|
+
# License for more details. #
|
21
|
+
# #
|
22
|
+
# You should have received a copy of the GNU Affero General Public License #
|
23
|
+
# along with libcdb-ruby. If not, see <http://www.gnu.org/licenses/>. #
|
24
|
+
# #
|
25
|
+
###############################################################################
|
26
|
+
#++
|
27
|
+
|
1
28
|
begin
|
2
29
|
require "libcdb/#{RUBY_VERSION[/\d+.\d+/]}/libcdb_ruby"
|
3
30
|
rescue LoadError => err
|
@@ -186,7 +213,9 @@ module LibCDB
|
|
186
213
|
puts 'number of records: %d' % r
|
187
214
|
puts 'key min/avg/max length: %d/%d/%d' % k.values_at(*v1)
|
188
215
|
puts 'val min/avg/max length: %d/%d/%d' % v.values_at(*v1)
|
189
|
-
|
216
|
+
|
217
|
+
# TODO: hash table stats
|
218
|
+
=begin
|
190
219
|
puts 'hash tables/entries/collisions: %d/%d/%d' % h.values_at(*v2)
|
191
220
|
puts 'hash table min/avg/max length: %d/%d/%d' % h.values_at(*v1)
|
192
221
|
puts 'hash table distances:'
|
@@ -194,6 +223,7 @@ module LibCDB
|
|
194
223
|
d = h[:distances]
|
195
224
|
0.upto(9) { |i| puts ' d%d: %6d %2d%%' % [i, *d[i]] }
|
196
225
|
puts ' >9: %6d %2d%%' % d[-1]
|
226
|
+
=end
|
197
227
|
}
|
198
228
|
end
|
199
229
|
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/lib/libcdb/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: libcdb-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: x86-mingw32
|
6
6
|
authors:
|
7
7
|
- Jens Wille
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-04-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: hen
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '0.8'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 0.8.
|
22
|
+
version: 0.8.3
|
23
23
|
type: :development
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '0.8'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 0.8.
|
32
|
+
version: 0.8.3
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: rake
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -107,6 +107,7 @@ files:
|
|
107
107
|
- lib/libcdb/2.0/libcdb_ruby.so
|
108
108
|
- lib/libcdb/2.1/libcdb_ruby.so
|
109
109
|
- lib/libcdb/2.2/libcdb_ruby.so
|
110
|
+
- lib/libcdb/2.3/libcdb_ruby.so
|
110
111
|
- lib/libcdb/version.rb
|
111
112
|
- spec/data/empty.cdb
|
112
113
|
- spec/data/empty.dump
|
@@ -119,10 +120,15 @@ homepage: http://github.com/blackwinter/libcdb-ruby
|
|
119
120
|
licenses:
|
120
121
|
- AGPL-3.0
|
121
122
|
metadata: {}
|
122
|
-
post_install_message:
|
123
|
+
post_install_message: |2+
|
124
|
+
|
125
|
+
libcdb-ruby-0.2.1 [2016-04-19]:
|
126
|
+
|
127
|
+
* Housekeeping.
|
128
|
+
|
123
129
|
rdoc_options:
|
124
130
|
- "--title"
|
125
|
-
- libcdb-ruby Application documentation (v0.2.
|
131
|
+
- libcdb-ruby Application documentation (v0.2.1)
|
126
132
|
- "--charset"
|
127
133
|
- UTF-8
|
128
134
|
- "--line-numbers"
|
@@ -143,7 +149,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
143
149
|
version: '0'
|
144
150
|
requirements: []
|
145
151
|
rubyforge_project:
|
146
|
-
rubygems_version: 2.
|
152
|
+
rubygems_version: 2.6.3
|
147
153
|
signing_key:
|
148
154
|
specification_version: 4
|
149
155
|
summary: Ruby bindings for CDB Constant Databases.
|