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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 16c003eb860813062c77cfa49fe77085cce0d82f
4
- data.tar.gz: ac97684ab4a9acf50a9e8afe7648e4380141281f
3
+ metadata.gz: d08b6e2696b8b62c1b8428fa2413a1f769629578
4
+ data.tar.gz: d3a25a06e30be59ff8a1530c9c033c2c12f303d4
5
5
  SHA512:
6
- metadata.gz: fdcacb3ae6d39bacd950e0e5c4bff71503b58ab43f7d4feb38d0b61e48775833ae1d0e2abfd0db6344dcb76d38db16148220fb1a5fa169827f14e6ce771fcd38
7
- data.tar.gz: 91c34ffc4151b3d39556bc88f9dd983e616b17d777cf849a8b738b182dc394ab1193a08784cbc3e14ad0d76650d90aefde89179066824e6277582f245bebb993
6
+ metadata.gz: afe300c4081e4e106a2b5dae18327c0aed86c68aeb6c59eb3ca9312196c72af1cfd7058b26ed952159a7a9c13691ce8fd20cc8bcea31c675d3942663fda25937
7
+ data.tar.gz: e9f23657054296bccf5ce0778c1f52df81f7d3b95b0b96fbb1769a44436ef681327e8d7fd84d75ba649413ae44a83452a15729abab4bb29499baee90576c5ba8
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-mingw32
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.