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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 90b713359ac3f39f84a2806d2c8838ae0947b31b
4
- data.tar.gz: 59e4d036501006bbebcee527f9ab6a62db3e030d
3
+ metadata.gz: 6074688885d1a8387c93170def13c8d31f2e4d99
4
+ data.tar.gz: 137d2dd3eb3bf13bfcf8793f1cd3a46b5881ad78
5
5
  SHA512:
6
- metadata.gz: 52aa390e38a7231ddd7cbb6690bb99dfcc55bf94dd03d01dedc5e7889b950563c7912369e40fb17ea15bbe0201eedafaa36869ab8943680e85d27a961ed70444
7
- data.tar.gz: 90abe71fc1608d85de4ee60b21906492a1c13c154d5c1980715c4535ef8e351e337e1e97326e1b6f8999bbd28301021a192bfa22724afbf79e508f773b918c58
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.0 [unreleased]
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.0
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
- <b></b>
78
- Linux:: MRI 1.9 & 2.0 (Tested on 64-bit Ubuntu GNU/Linux with 1.9.2p323,
79
- 1.9.3p286 and 2.0.0p119)
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 << "--with-cflags=\"-I#{dir}/include -L#{dir}/lib\""
14
+ cco << %Q{--with-cflags="-I#{dir}/include -L#{dir}/lib"}
15
15
  end
16
16
 
17
17
  Hen.lay! {{
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},
25
- :homepage => :blackwinter,
26
- :extension => {
27
- :cross_config_options => cco,
28
- :ruby_versions => RUBY_VERSION
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
@@ -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'
@@ -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, RCDB_GET_FD(fptr)) == -1) {\
37
+ if (cdb_##init(ptr, fptr->fd) == -1) {\
44
38
  rb_sys_fail(0);\
45
39
  }
46
40
 
@@ -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
@@ -6,7 +6,7 @@ module LibCDB
6
6
 
7
7
  MAJOR = 0
8
8
  MINOR = 1
9
- TINY = 0
9
+ TINY = 1
10
10
 
11
11
  class << self
12
12
 
data/spec/spec_helper.rb CHANGED
@@ -4,6 +4,8 @@ require 'libcdb'
4
4
  require 'tempfile'
5
5
 
6
6
  RSpec.configure { |config|
7
+ config.expect_with(:rspec) { |c| c.syntax = [:should, :expect] }
8
+
7
9
  config.include(Module.new {
8
10
  TEST_DATA = {}
9
11
 
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.0
4
+ version: 0.1.1
5
5
  platform: x86-mswin32-60
6
6
  authors:
7
7
  - Jens Wille
8
8
  autorequire:
9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
28
- H19TDW3R9p594jCl1ykPs3dz/0Bk+r1HTd35Yw+yBbyprSJb4S7OcRRHCryuo09l
29
- NBGyZvOBuqUp0xostWSk0dfxyn/YQ7eqvQRGBhK1VGa7Tg/KYqnemDE57+VOXrua
30
- 59wzaA==
31
- -----END CERTIFICATE-----
32
- date: 2013-08-03 00:00:00.000000000 Z
33
- dependencies: []
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
- - --charset
105
+ - "--title"
106
+ - libcdb-ruby Application documentation (v0.1.1)
107
+ - "--charset"
78
108
  - UTF-8
79
- - --line-numbers
80
- - --all
81
- - --title
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.2
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.0.6
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
Binary file