libcdb-ruby 0.2.0.1-x86-mswin32-60 → 0.2.1-x86-mswin32-60

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: af653f457cbf0eef5806e5553b7de67bcbd7fbfb
4
- data.tar.gz: f1615af88ae6ee51a117a9878a3e4548fb660a11
3
+ metadata.gz: af72247ea8500ed29360a32357b8804ae06fb540
4
+ data.tar.gz: 8dab70c9e62911effe267f90b56933ad8780258e
5
5
  SHA512:
6
- metadata.gz: 0f6a130ba9a58902957bc1053f123719d053632916d96814e2046bc509b5aaabdbc295bf248d7ca352bfff921cd79fc965e56b76a388a0349fcbcb68d82972b3
7
- data.tar.gz: 7db9e49e9f839d9d49917f1e7308ad6d54eef348212a4f93fa7095f67bc9990b07047ea580c8c4246decedf55fe44e4cdb2465a7dbc948812487e3ee6c66e577
6
+ metadata.gz: c1f9c42665450515ceea925bb1bcbf64ac3b88384f0d85ee4316467124b67827051767267f964d3a956621da262a741b9a2fae5d1be7a86d895a66ab09b7cc60
7
+ data.tar.gz: fd066a267c1acbe23ead8211c22a9450949054e625581484e5f82214ecf68c4a3bee6365b5da4d6e5799c34cc6d3d43b433da65425645acd58f347b29ea65f9b
data/ChangeLog CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  = Revision history for libcdb-ruby
4
4
 
5
+ == 0.2.1 [2016-04-19]
6
+
7
+ * Housekeeping.
8
+
5
9
  == 0.2.0 [2014-12-05]
6
10
 
7
11
  * Added encoding support to LibCDB::CDB::Reader.
data/README CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  == VERSION
4
4
 
5
- This documentation refers to libcdb-ruby version 0.2.0
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-2014 Jens Wille
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
@@ -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
- next # TODO: hash table stats
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
 
@@ -6,13 +6,13 @@ module LibCDB
6
6
 
7
7
  MAJOR = 0
8
8
  MINOR = 2
9
- TINY = 0
9
+ TINY = 1
10
10
 
11
11
  class << self
12
12
 
13
13
  # Returns array representation.
14
14
  def to_a
15
- [MAJOR, MINOR, TINY] << 1
15
+ [MAJOR, MINOR, TINY]
16
16
  end
17
17
 
18
18
  # Short-cut for version string.
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.0.1
4
+ version: 0.2.1
5
5
  platform: x86-mswin32-60
6
6
  authors:
7
7
  - Jens Wille
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-06 00:00:00.000000000 Z
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.1
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.1
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.0.1)
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.4.5
152
+ rubygems_version: 2.6.3
147
153
  signing_key:
148
154
  specification_version: 4
149
155
  summary: Ruby bindings for CDB Constant Databases.