groonga-command 1.2.4 → 1.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 748847b083d41d27aacd92385ca2ff6b38391770
4
- data.tar.gz: e62bb8baf128c52c6a3b8eee11358ff4c4b9a671
3
+ metadata.gz: 564117c9b45a098b80b12b0543cb5ebd67df3194
4
+ data.tar.gz: feff6da395499e403cc69ede535b56249c73d4df
5
5
  SHA512:
6
- metadata.gz: af120b0681290fa280228e48965c994bf0c1cb0894752c029b7ff2001c10b192cb2d2d201a61dea67a3cc8e0014999a48787f89e5b907aa3991fd705465eb137
7
- data.tar.gz: d24a55cf5ca9d779b94babc8157a839bd3a5e9eff1e52ef8ae224649b8ace9adc72055186c3fc009f7b9e1a2f052ae352378a04d1c681f7b26125964df0cf54e
6
+ metadata.gz: cf58105ea452626bb29fc82bc88d92f59fc21495149e6958cf7e5df60e343783a395aefef0fd0f01f8af93d7ad7d88357e3dc69592e4ec45c33905756c7da58d
7
+ data.tar.gz: 5b3f769bb4a91f8e79c83cc649a4cd860ffa6e76675389d4ccc0cfe755a86dc96587163b139c552706902bfd52dee93bab3ca67a34c1830abe7c40255c2e6ff8
data/doc/text/news.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # News
2
2
 
3
+ ## 1.2.5: 2016-08-08
4
+
5
+ ### Improvements
6
+
7
+ * {Groonga::Command::Register#path}: Added.
8
+
3
9
  ## 1.2.4: 2016-08-08
4
10
 
5
11
  ### Improvements
@@ -1,6 +1,4 @@
1
- # -*- coding: utf-8 -*-
2
- #
3
- # Copyright (C) 2012 Kouhei Sutou <kou@clear-code.com>
1
+ # Copyright (C) 2012-2016 Kouhei Sutou <kou@clear-code.com>
4
2
  #
5
3
  # This library is free software; you can redistribute it and/or
6
4
  # modify it under the terms of the GNU Lesser General Public
@@ -34,6 +32,13 @@ module Groonga
34
32
  end
35
33
 
36
34
  Command.register(command_name, self)
35
+
36
+ # @return [String] The plugin path to be registered.
37
+ #
38
+ # @since 1.2.5
39
+ def path
40
+ self[:path]
41
+ end
37
42
  end
38
43
  end
39
44
  end
@@ -16,6 +16,6 @@
16
16
 
17
17
  module Groonga
18
18
  module Command
19
- VERSION = "1.2.4"
19
+ VERSION = "1.2.5"
20
20
  end
21
21
  end
@@ -1,6 +1,4 @@
1
- # -*- coding: utf-8 -*-
2
- #
3
- # Copyright (C) 2012-2013 Kouhei Sutou <kou@clear-code.com>
1
+ # Copyright (C) 2012-2016 Kouhei Sutou <kou@clear-code.com>
4
2
  #
5
3
  # This library is free software; you can redistribute it and/or
6
4
  # modify it under the terms of the GNU Lesser General Public
@@ -34,4 +32,11 @@ class RegisterCommandTest < Test::Unit::TestCase
34
32
  command.arguments)
35
33
  end
36
34
  end
35
+
36
+ class PathTest < self
37
+ def test_reader
38
+ command = register_command(:path => "query_expanders/tsv")
39
+ assert_equal("query_expanders/tsv", command.path)
40
+ end
41
+ end
37
42
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: groonga-command
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.4
4
+ version: 1.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kouhei Sutou