rroonga 3.0.7 → 3.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Rakefile +13 -3
- data/doc/text/news.textile +8 -0
- data/ext/groonga/extconf.rb +1 -3
- data/ext/groonga/rb-grn-table-key-support.c +0 -4
- data/ext/groonga/rb-grn.h +1 -1
- data/rroonga-build.rb +3 -3
- metadata +35 -63
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: d6825aba9ca793b057d14d820baaed5905ee6d3c
|
4
|
+
data.tar.gz: 04afdec113a0f4ce8a913e163a835bbf7ef08e21
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 9a08bb595de1e37b7ca01135d39df767e846a1932cc45a8906aad3694c05f7f4e1c01da6723d287a3ca5537ee9e2a8a8cf218e4c9dce431ccc7eb085b0cb8aa2
|
7
|
+
data.tar.gz: d09efd27bf213100a22fcc71893eb8213e9b03aa1149645224ebf853b5c31a0ce215f1be7f7a7d2578f6f810b0f11c365f7fa7fb675c5f9100a94094e54c9174
|
data/Rakefile
CHANGED
@@ -111,8 +111,8 @@ namespace :win32 do
|
|
111
111
|
namespace :groonga do
|
112
112
|
task :download do
|
113
113
|
require "open-uri"
|
114
|
-
require "rroonga-build"
|
115
|
-
groonga_version = RroongaBuild::
|
114
|
+
require "./rroonga-build"
|
115
|
+
groonga_version = RroongaBuild::LatestGroongaVersion::VERSION.join(".")
|
116
116
|
base_name = "groonga-#{groonga_version}-"
|
117
117
|
if groonga_win32_i386_p
|
118
118
|
base_name << "x86"
|
@@ -150,7 +150,17 @@ Rake::ExtensionTask.new("groonga", spec) do |ext|
|
|
150
150
|
ext.cross_compile = true
|
151
151
|
ext.cross_compiling do |_spec|
|
152
152
|
if windows?(_spec.platform.to_s)
|
153
|
-
|
153
|
+
binary_files = collect_binary_files(relative_binary_dir)
|
154
|
+
_spec.files += binary_files
|
155
|
+
stage_path = "#{ext.tmp_dir}/#{_spec.platform}/stage"
|
156
|
+
binary_files.each do |binary_file|
|
157
|
+
stage_binary_file = "#{stage_path}/#{binary_file}"
|
158
|
+
stage_binary_dir = File.dirname(stage_binary_file)
|
159
|
+
directory stage_binary_dir
|
160
|
+
file stage_binary_file => [stage_binary_dir, binary_file] do
|
161
|
+
cp binary_file, stage_binary_file
|
162
|
+
end
|
163
|
+
end
|
154
164
|
end
|
155
165
|
end
|
156
166
|
end
|
data/doc/text/news.textile
CHANGED
data/ext/groonga/extconf.rb
CHANGED
@@ -232,7 +232,7 @@ end
|
|
232
232
|
unless PKGConfig.have_package(package_name, major, minor, micro)
|
233
233
|
unless have_local_groonga?(package_name, major, minor, micro)
|
234
234
|
required_version = [major, minor, micro]
|
235
|
-
if (required_version <=> LatestGroongaVersion::VERSION)
|
235
|
+
if (required_version <=> LatestGroongaVersion::VERSION) < 0
|
236
236
|
target_version = LatestGroongaVersion::VERSION
|
237
237
|
else
|
238
238
|
target_version = required_version
|
@@ -258,8 +258,6 @@ have_header("ruby/st.h") unless have_macro("HAVE_RUBY_ST_H", "ruby.h")
|
|
258
258
|
have_func("rb_errinfo", "ruby.h")
|
259
259
|
have_type("enum ruby_value_type", "ruby.h")
|
260
260
|
|
261
|
-
have_func("grn_table_tokenize", "groonga.h")
|
262
|
-
|
263
261
|
checking_for(checking_message("--enable-debug-log option")) do
|
264
262
|
enable_debug_log = enable_config("debug-log", false)
|
265
263
|
if enable_debug_log
|
@@ -877,7 +877,6 @@ rb_grn_table_key_support_support_key_p (VALUE self)
|
|
877
877
|
return table->header.domain == GRN_ID_NIL ? Qfalse : Qtrue;
|
878
878
|
}
|
879
879
|
|
880
|
-
#ifdef HAVE_GRN_TABLE_TOKENIZE
|
881
880
|
/*
|
882
881
|
* Tokenize a string using the table as lexicon.
|
883
882
|
*
|
@@ -930,7 +929,6 @@ rb_grn_table_key_support_tokenize (int argc, VALUE *argv, VALUE self)
|
|
930
929
|
|
931
930
|
return rb_tokens;
|
932
931
|
}
|
933
|
-
#endif
|
934
932
|
|
935
933
|
void
|
936
934
|
rb_grn_init_table_key_support (VALUE mGrn)
|
@@ -984,8 +982,6 @@ rb_grn_init_table_key_support (VALUE mGrn)
|
|
984
982
|
rb_define_method(rb_mGrnTableKeySupport, "support_key?",
|
985
983
|
rb_grn_table_key_support_support_key_p, 0);
|
986
984
|
|
987
|
-
#ifdef HAVE_GRN_TABLE_TOKENIZE
|
988
985
|
rb_define_method(rb_mGrnTableKeySupport, "tokenize",
|
989
986
|
rb_grn_table_key_support_tokenize, -1);
|
990
|
-
#endif
|
991
987
|
}
|
data/ext/groonga/rb-grn.h
CHANGED
data/rroonga-build.rb
CHANGED
@@ -19,15 +19,15 @@ module RroongaBuild
|
|
19
19
|
module RequiredGroongaVersion
|
20
20
|
MAJOR = 3
|
21
21
|
MINOR = 0
|
22
|
-
MICRO =
|
22
|
+
MICRO = 8
|
23
23
|
VERSION = [MAJOR, MINOR, MICRO]
|
24
|
-
RELEASED_DATE = Time.utc(2013,
|
24
|
+
RELEASED_DATE = Time.utc(2013, 9, 29)
|
25
25
|
end
|
26
26
|
|
27
27
|
module LatestGroongaVersion
|
28
28
|
MAJOR = 3
|
29
29
|
MINOR = 0
|
30
|
-
MICRO =
|
30
|
+
MICRO = 8
|
31
31
|
VERSION = [MAJOR, MINOR, MICRO]
|
32
32
|
end
|
33
33
|
|
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rroonga
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
5
|
-
prerelease:
|
4
|
+
version: 3.0.8
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Kouhei Sutou
|
@@ -13,207 +12,181 @@ authors:
|
|
13
12
|
autorequire:
|
14
13
|
bindir: bin
|
15
14
|
cert_chain: []
|
16
|
-
date: 2013-09-
|
15
|
+
date: 2013-09-29 00:00:00.000000000 Z
|
17
16
|
dependencies:
|
18
17
|
- !ruby/object:Gem::Dependency
|
19
18
|
name: pkg-config
|
20
19
|
requirement: !ruby/object:Gem::Requirement
|
21
|
-
none: false
|
22
20
|
requirements:
|
23
|
-
- -
|
21
|
+
- - '>='
|
24
22
|
- !ruby/object:Gem::Version
|
25
23
|
version: '0'
|
26
24
|
type: :runtime
|
27
25
|
prerelease: false
|
28
26
|
version_requirements: !ruby/object:Gem::Requirement
|
29
|
-
none: false
|
30
27
|
requirements:
|
31
|
-
- -
|
28
|
+
- - '>='
|
32
29
|
- !ruby/object:Gem::Version
|
33
30
|
version: '0'
|
34
31
|
- !ruby/object:Gem::Dependency
|
35
32
|
name: groonga-client
|
36
33
|
requirement: !ruby/object:Gem::Requirement
|
37
|
-
none: false
|
38
34
|
requirements:
|
39
|
-
- -
|
35
|
+
- - '>='
|
40
36
|
- !ruby/object:Gem::Version
|
41
37
|
version: 0.0.3
|
42
38
|
type: :runtime
|
43
39
|
prerelease: false
|
44
40
|
version_requirements: !ruby/object:Gem::Requirement
|
45
|
-
none: false
|
46
41
|
requirements:
|
47
|
-
- -
|
42
|
+
- - '>='
|
48
43
|
- !ruby/object:Gem::Version
|
49
44
|
version: 0.0.3
|
50
45
|
- !ruby/object:Gem::Dependency
|
51
46
|
name: json
|
52
47
|
requirement: !ruby/object:Gem::Requirement
|
53
|
-
none: false
|
54
48
|
requirements:
|
55
|
-
- -
|
49
|
+
- - '>='
|
56
50
|
- !ruby/object:Gem::Version
|
57
51
|
version: '0'
|
58
52
|
type: :runtime
|
59
53
|
prerelease: false
|
60
54
|
version_requirements: !ruby/object:Gem::Requirement
|
61
|
-
none: false
|
62
55
|
requirements:
|
63
|
-
- -
|
56
|
+
- - '>='
|
64
57
|
- !ruby/object:Gem::Version
|
65
58
|
version: '0'
|
66
59
|
- !ruby/object:Gem::Dependency
|
67
60
|
name: archive-zip
|
68
61
|
requirement: !ruby/object:Gem::Requirement
|
69
|
-
none: false
|
70
62
|
requirements:
|
71
|
-
- -
|
63
|
+
- - '>='
|
72
64
|
- !ruby/object:Gem::Version
|
73
65
|
version: '0'
|
74
66
|
type: :runtime
|
75
67
|
prerelease: false
|
76
68
|
version_requirements: !ruby/object:Gem::Requirement
|
77
|
-
none: false
|
78
69
|
requirements:
|
79
|
-
- -
|
70
|
+
- - '>='
|
80
71
|
- !ruby/object:Gem::Version
|
81
72
|
version: '0'
|
82
73
|
- !ruby/object:Gem::Dependency
|
83
74
|
name: test-unit
|
84
75
|
requirement: !ruby/object:Gem::Requirement
|
85
|
-
none: false
|
86
76
|
requirements:
|
87
|
-
- -
|
77
|
+
- - '>='
|
88
78
|
- !ruby/object:Gem::Version
|
89
79
|
version: 2.4.6
|
90
80
|
type: :development
|
91
81
|
prerelease: false
|
92
82
|
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
none: false
|
94
83
|
requirements:
|
95
|
-
- -
|
84
|
+
- - '>='
|
96
85
|
- !ruby/object:Gem::Version
|
97
86
|
version: 2.4.6
|
98
87
|
- !ruby/object:Gem::Dependency
|
99
88
|
name: test-unit-notify
|
100
89
|
requirement: !ruby/object:Gem::Requirement
|
101
|
-
none: false
|
102
90
|
requirements:
|
103
|
-
- -
|
91
|
+
- - '>='
|
104
92
|
- !ruby/object:Gem::Version
|
105
93
|
version: '0'
|
106
94
|
type: :development
|
107
95
|
prerelease: false
|
108
96
|
version_requirements: !ruby/object:Gem::Requirement
|
109
|
-
none: false
|
110
97
|
requirements:
|
111
|
-
- -
|
98
|
+
- - '>='
|
112
99
|
- !ruby/object:Gem::Version
|
113
100
|
version: '0'
|
114
101
|
- !ruby/object:Gem::Dependency
|
115
102
|
name: rake
|
116
103
|
requirement: !ruby/object:Gem::Requirement
|
117
|
-
none: false
|
118
104
|
requirements:
|
119
|
-
- -
|
105
|
+
- - '>='
|
120
106
|
- !ruby/object:Gem::Version
|
121
107
|
version: '0'
|
122
108
|
type: :development
|
123
109
|
prerelease: false
|
124
110
|
version_requirements: !ruby/object:Gem::Requirement
|
125
|
-
none: false
|
126
111
|
requirements:
|
127
|
-
- -
|
112
|
+
- - '>='
|
128
113
|
- !ruby/object:Gem::Version
|
129
114
|
version: '0'
|
130
115
|
- !ruby/object:Gem::Dependency
|
131
116
|
name: rake-compiler
|
132
117
|
requirement: !ruby/object:Gem::Requirement
|
133
|
-
none: false
|
134
118
|
requirements:
|
135
|
-
- -
|
119
|
+
- - '>='
|
136
120
|
- !ruby/object:Gem::Version
|
137
121
|
version: '0'
|
138
122
|
type: :development
|
139
123
|
prerelease: false
|
140
124
|
version_requirements: !ruby/object:Gem::Requirement
|
141
|
-
none: false
|
142
125
|
requirements:
|
143
|
-
- -
|
126
|
+
- - '>='
|
144
127
|
- !ruby/object:Gem::Version
|
145
128
|
version: '0'
|
146
129
|
- !ruby/object:Gem::Dependency
|
147
130
|
name: bundler
|
148
131
|
requirement: !ruby/object:Gem::Requirement
|
149
|
-
none: false
|
150
132
|
requirements:
|
151
|
-
- -
|
133
|
+
- - '>='
|
152
134
|
- !ruby/object:Gem::Version
|
153
135
|
version: '0'
|
154
136
|
type: :development
|
155
137
|
prerelease: false
|
156
138
|
version_requirements: !ruby/object:Gem::Requirement
|
157
|
-
none: false
|
158
139
|
requirements:
|
159
|
-
- -
|
140
|
+
- - '>='
|
160
141
|
- !ruby/object:Gem::Version
|
161
142
|
version: '0'
|
162
143
|
- !ruby/object:Gem::Dependency
|
163
144
|
name: yard
|
164
145
|
requirement: !ruby/object:Gem::Requirement
|
165
|
-
none: false
|
166
146
|
requirements:
|
167
|
-
- -
|
147
|
+
- - '>='
|
168
148
|
- !ruby/object:Gem::Version
|
169
149
|
version: '0'
|
170
150
|
type: :development
|
171
151
|
prerelease: false
|
172
152
|
version_requirements: !ruby/object:Gem::Requirement
|
173
|
-
none: false
|
174
153
|
requirements:
|
175
|
-
- -
|
154
|
+
- - '>='
|
176
155
|
- !ruby/object:Gem::Version
|
177
156
|
version: '0'
|
178
157
|
- !ruby/object:Gem::Dependency
|
179
158
|
name: packnga
|
180
159
|
requirement: !ruby/object:Gem::Requirement
|
181
|
-
none: false
|
182
160
|
requirements:
|
183
|
-
- -
|
161
|
+
- - '>='
|
184
162
|
- !ruby/object:Gem::Version
|
185
163
|
version: 0.9.7
|
186
164
|
type: :development
|
187
165
|
prerelease: false
|
188
166
|
version_requirements: !ruby/object:Gem::Requirement
|
189
|
-
none: false
|
190
167
|
requirements:
|
191
|
-
- -
|
168
|
+
- - '>='
|
192
169
|
- !ruby/object:Gem::Version
|
193
170
|
version: 0.9.7
|
194
171
|
- !ruby/object:Gem::Dependency
|
195
172
|
name: RedCloth
|
196
173
|
requirement: !ruby/object:Gem::Requirement
|
197
|
-
none: false
|
198
174
|
requirements:
|
199
|
-
- -
|
175
|
+
- - '>='
|
200
176
|
- !ruby/object:Gem::Version
|
201
177
|
version: '0'
|
202
178
|
type: :development
|
203
179
|
prerelease: false
|
204
180
|
version_requirements: !ruby/object:Gem::Requirement
|
205
|
-
none: false
|
206
181
|
requirements:
|
207
|
-
- -
|
182
|
+
- - '>='
|
208
183
|
- !ruby/object:Gem::Version
|
209
184
|
version: '0'
|
210
|
-
description:
|
211
|
-
|
185
|
+
description: |-
|
186
|
+
rroonga is an extension library to use groonga's DB-API
|
212
187
|
layer. rroonga provides Rubyish readable and writable API
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
functional features from Ruby with Rubyish form.'
|
188
|
+
not C like API. You can use groonga's fast and highly
|
189
|
+
functional features from Ruby with Rubyish form.
|
217
190
|
email:
|
218
191
|
- kou@clear-code.com
|
219
192
|
- a@razil.jp
|
@@ -366,28 +339,27 @@ files:
|
|
366
339
|
homepage: http://groonga.rubyforge.org/#about-rroonga
|
367
340
|
licenses:
|
368
341
|
- LGPLv2
|
342
|
+
metadata: {}
|
369
343
|
post_install_message:
|
370
344
|
rdoc_options: []
|
371
345
|
require_paths:
|
372
346
|
- lib
|
373
347
|
- ext/groonga
|
374
348
|
required_ruby_version: !ruby/object:Gem::Requirement
|
375
|
-
none: false
|
376
349
|
requirements:
|
377
|
-
- -
|
350
|
+
- - '>='
|
378
351
|
- !ruby/object:Gem::Version
|
379
352
|
version: 1.9.3
|
380
353
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
381
|
-
none: false
|
382
354
|
requirements:
|
383
|
-
- -
|
355
|
+
- - '>='
|
384
356
|
- !ruby/object:Gem::Version
|
385
357
|
version: '0'
|
386
358
|
requirements: []
|
387
359
|
rubyforge_project: groonga
|
388
|
-
rubygems_version:
|
360
|
+
rubygems_version: 2.0.7
|
389
361
|
signing_key:
|
390
|
-
specification_version:
|
362
|
+
specification_version: 4
|
391
363
|
summary: Ruby bindings for groonga that provide full text search and column store
|
392
364
|
features.
|
393
365
|
test_files:
|