groonga-command 1.2.4 → 1.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/doc/text/news.md +6 -0
- data/lib/groonga/command/register.rb +8 -3
- data/lib/groonga/command/version.rb +1 -1
- data/test/command/test-register.rb +8 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 564117c9b45a098b80b12b0543cb5ebd67df3194
|
4
|
+
data.tar.gz: feff6da395499e403cc69ede535b56249c73d4df
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf58105ea452626bb29fc82bc88d92f59fc21495149e6958cf7e5df60e343783a395aefef0fd0f01f8af93d7ad7d88357e3dc69592e4ec45c33905756c7da58d
|
7
|
+
data.tar.gz: 5b3f769bb4a91f8e79c83cc649a4cd860ffa6e76675389d4ccc0cfe755a86dc96587163b139c552706902bfd52dee93bab3ca67a34c1830abe7c40255c2e6ff8
|
data/doc/text/news.md
CHANGED
@@ -1,6 +1,4 @@
|
|
1
|
-
#
|
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
|
@@ -1,6 +1,4 @@
|
|
1
|
-
#
|
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
|