rroonga 10.0.2 → 10.0.6

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
  SHA256:
3
- metadata.gz: 323ef18fd80d19942c261d4a8c8ae7f67c39542fc2804b9c6692f013948fd542
4
- data.tar.gz: 1e116cc58914ea3252988d5c6fa246919870814c7697b0794323aee20008ac16
3
+ metadata.gz: f2dda7dccd26063c5e82e93255c933215a21a37e0c31838eec124b3f12ce3892
4
+ data.tar.gz: 472fed29e2ba91ff00dd71981ff59a6866c9a292ea7ac83dc5881bd1069536e1
5
5
  SHA512:
6
- metadata.gz: ec001925838d04408d420bef49008758d4011a32489885c7e6983d9958d8d83b4f889e32beff7a8ecf86b8738f67f4d0eda3f9f7a53e8b7b719cdbd4c196fef5
7
- data.tar.gz: cb9e589771596b4ed1dc481897af4b41e6fcad7cfcf40488c9298814dc28e93b246bf45c2227dc027f24f1396827a2e407792035caf0c28dc725e38591e3cf69
6
+ metadata.gz: 0f4c1aa03b1efc04321588d3dfac9a208dafc35c2a1a84724e47a035a1a3eb7cabeaa6d58655fe6e324c1fbfa706812a5c0cdb817686cbde2a947659c3231c76
7
+ data.tar.gz: fe41f7d510f5ddb1cdd88a8d6de87d477f0f45714f09691b01b2a750bd89c31dd2a60ae334f15e216bfa4fa7752f10f765112efce4c75ecd7084a42b27af837f
@@ -1,5 +1,11 @@
1
1
  # NEWS
2
2
 
3
+ ## 10.0.6: 2020-09-01 {#version-10-0-6}
4
+
5
+ ### Fixes
6
+
7
+ * Fixed a bug that failed `gem install rroonga` in Windows version.
8
+
3
9
  ## 10.0.2: 2020-04-29 {#version-10-0-2}
4
10
 
5
11
  ### Improvements
@@ -75,7 +75,7 @@ RB_GRN_BEGIN_DECLS
75
75
 
76
76
  #ifdef __WIN32__
77
77
  # ifdef RB_GRN_COMPILATION
78
- # define RB_GRN_VAR __declspec(dllexport)
78
+ # define RB_GRN_VAR extern __declspec(dllexport)
79
79
  # else
80
80
  # define RB_GRN_VAR extern __declspec(dllimport)
81
81
  # endif
@@ -93,7 +93,7 @@ RB_GRN_BEGIN_DECLS
93
93
 
94
94
  #define RB_GRN_MAJOR_VERSION 10
95
95
  #define RB_GRN_MINOR_VERSION 0
96
- #define RB_GRN_MICRO_VERSION 2
96
+ #define RB_GRN_MICRO_VERSION 6
97
97
 
98
98
  #define RB_GRN_OBJECT(object) ((RbGrnObject *)(object))
99
99
  #define RB_GRN_NAMED_OBJECT(object) ((RbGrnNamedObject *)(object))
@@ -37,7 +37,7 @@ end
37
37
  require "test-unit"
38
38
  require "test/unit/priority"
39
39
 
40
- Test::Unit::Priority.enable
40
+ Test::Unit::Priority.enable unless ENV["CI"]
41
41
 
42
42
 
43
43
  groonga_command_dir = File.join(base_dir, "..", "groonga-command")
@@ -26,6 +26,7 @@ class RemoteTest < Test::Unit::TestCase
26
26
  else
27
27
  package_config = PKGConfig.package_config("groonga")
28
28
  groonga = package_config.variable("groonga")
29
+ groonga = normalize_groonga_path(groonga)
29
30
  groonga = "groonga" unless File.exist?(groonga)
30
31
  end
31
32
 
@@ -51,6 +52,19 @@ class RemoteTest < Test::Unit::TestCase
51
52
  end
52
53
  end
53
54
 
55
+ def normalize_groonga_path(groonga)
56
+ return groonga unless groonga
57
+ return groonga unless Object.const_defined?(:RubyInstaller)
58
+
59
+ msys2_installation = RubyInstaller::Runtime.msys2_installation
60
+ mingw_prefix = msys2_installation.mingw_prefix
61
+ mingw_bin_path = "#{mingw_prefix}/bin/"
62
+ mingw_bin_path_windows = "#{msys2_installation.mingw_bin_path}\\"
63
+ groonga.gsub(/\A#{Regexp.escape(mingw_bin_path)}/) do
64
+ mingw_bin_path_windows
65
+ end
66
+ end
67
+
54
68
  teardown
55
69
  def teardown_remote_connection
56
70
  if @process_id
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rroonga
3
3
  version: !ruby/object:Gem::Version
4
- version: 10.0.2
4
+ version: 10.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kouhei Sutou
@@ -9,10 +9,10 @@ authors:
9
9
  - daijiro
10
10
  - Yuto HAYAMIZU
11
11
  - SHIDARA Yoji
12
- autorequire:
12
+ autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2020-05-01 00:00:00.000000000 Z
15
+ date: 2020-09-04 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: pkg-config
@@ -152,9 +152,9 @@ email:
152
152
  - y.hayamizu@gmail.com
153
153
  - dara@shidara.net
154
154
  executables:
155
+ - grntest-log-analyze
155
156
  - groonga-database-inspect
156
157
  - grndump
157
- - grntest-log-analyze
158
158
  - groonga-index-dump
159
159
  extensions:
160
160
  - ext/groonga/extconf.rb
@@ -356,7 +356,7 @@ licenses:
356
356
  - LGPL-2.1
357
357
  metadata:
358
358
  msys2_mingw_dependencies: groonga>=10.0.1
359
- post_install_message:
359
+ post_install_message:
360
360
  rdoc_options: []
361
361
  require_paths:
362
362
  - lib
@@ -372,79 +372,79 @@ required_rubygems_version: !ruby/object:Gem::Requirement
372
372
  - !ruby/object:Gem::Version
373
373
  version: '0'
374
374
  requirements: []
375
- rubygems_version: 3.1.2
376
- signing_key:
375
+ rubygems_version: 3.1.4
376
+ signing_key:
377
377
  specification_version: 4
378
378
  summary: Ruby bindings for Groonga that provide full text search and column store
379
379
  features.
380
380
  test_files:
381
- - test/test-request-canceler.rb
382
- - test/test-convert.rb
383
- - test/test-table-select.rb
384
- - test/test-table-dumper.rb
385
- - test/test-table.rb
386
- - test/test-thread.rb
387
- - test/test-gqtp.rb
388
- - test/test-geo-point.rb
389
- - test/test-variable.rb
390
- - test/test-operator.rb
391
- - test/test-table-select-mecab.rb
392
- - test/test-version.rb
393
- - test/test-patricia-trie.rb
394
- - test/test-context.rb
381
+ - test/test-remote.rb
382
+ - test/test-table-arrow.rb
383
+ - test/test-encoding.rb
384
+ - test/test-column-cache.rb
395
385
  - test/test-table-traverse.rb
396
- - test/test-memory-pool.rb
397
- - test/test-config.rb
398
- - test/test-data-column.rb
399
- - test/test-table-offset-and-limit.rb
400
- - test/test-variable-size-column.rb
401
- - test/test-fix-size-column.rb
402
- - test/test-database.rb
403
- - test/test-token-regexp.rb
404
- - test/test-schema-dumper.rb
405
- - test/test-database-inspector.rb
406
386
  - test/test-logger.rb
387
+ - test/test-exception.rb
388
+ - test/test-vector-column.rb
389
+ - test/run-test.rb
390
+ - test/test-memory-pool.rb
391
+ - test/test-context.rb
392
+ - test/test-default-cache.rb
407
393
  - test/test-windows-event-logger.rb
408
- - test/test-package-label.rb
394
+ - test/test-schema-create-table.rb
395
+ - test/test-table-group.rb
396
+ - test/test-database.rb
397
+ - test/test-hash.rb
398
+ - test/test-command-select.rb
399
+ - test/test-table-offset-and-limit.rb
400
+ - test/test-schema-type.rb
401
+ - test/test-sub-records.rb
402
+ - test/test-data-column.rb
409
403
  - test/test-flushable.rb
410
- - test/test-expression-builder.rb
411
- - test/test-table-arrow.rb
404
+ - test/test-double-array-trie.rb
412
405
  - test/groonga-test-utils.rb
413
- - test/test-array.rb
414
- - test/test-procedure.rb
415
- - test/test-index-cursor.rb
406
+ - test/test-name.rb
416
407
  - test/test-lock-timeout.rb
417
- - test/test-double-array-trie.rb
418
- - test/test-exception.rb
419
- - test/test-accessor.rb
420
- - test/test-schema-create-table.rb
421
- - test/run-test.rb
422
- - test/test-column-cache.rb
423
- - test/test-request-timer.rb
424
- - test/test-sub-records.rb
425
- - test/test-normalizer.rb
408
+ - test/test-database-inspector.rb
409
+ - test/test-expression.rb
410
+ - test/test-table-dumper.rb
411
+ - test/test-plugin.rb
412
+ - test/test-procedure.rb
426
413
  - test/test-error-message.rb
427
- - test/test-type.rb
414
+ - test/test-table-select-mecab.rb
415
+ - test/test-expression-builder.rb
416
+ - test/test-operator.rb
417
+ - test/test-query-logger.rb
428
418
  - test/test-table-select-normalize.rb
419
+ - test/test-table-select.rb
429
420
  - test/test-snippet.rb
430
- - test/test-index-column.rb
431
- - test/test-query-logger.rb
421
+ - test/test-variable-size-column.rb
422
+ - test/test-variable.rb
423
+ - test/test-id.rb
424
+ - test/test-patricia-trie.rb
425
+ - test/test-request-timer.rb
426
+ - test/test-pagination.rb
427
+ - test/test-request-canceler.rb
428
+ - test/test-thread.rb
429
+ - test/test-version.rb
432
430
  - test/test-column.rb
433
- - test/test-name.rb
431
+ - test/test-database-dumper.rb
432
+ - test/test-accessor.rb
433
+ - test/test-index-cursor.rb
434
+ - test/test-table.rb
435
+ - test/test-normalizer.rb
434
436
  - test/test-table-select-weight.rb
435
- - test/test-pagination.rb
436
- - test/test-vector-column.rb
437
- - test/test-default-cache.rb
438
- - test/test-id.rb
439
- - test/test-schema.rb
440
- - test/test-plugin.rb
441
- - test/test-table-group.rb
437
+ - test/test-fix-size-column.rb
438
+ - test/test-convert.rb
442
439
  - test/test-record.rb
443
- - test/test-expression.rb
440
+ - test/test-package-label.rb
441
+ - test/test-array.rb
442
+ - test/test-schema.rb
443
+ - test/test-config.rb
444
+ - test/test-index-column.rb
444
445
  - test/test-table-key-support.rb
445
- - test/test-remote.rb
446
- - test/test-encoding.rb
447
- - test/test-database-dumper.rb
448
- - test/test-command-select.rb
449
- - test/test-hash.rb
450
- - test/test-schema-type.rb
446
+ - test/test-schema-dumper.rb
447
+ - test/test-gqtp.rb
448
+ - test/test-token-regexp.rb
449
+ - test/test-type.rb
450
+ - test/test-geo-point.rb