groonga-client 0.2.8 → 0.2.9

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: 106f3f7e0eb62f2b556ff7ad0b93f235146f7f71
4
- data.tar.gz: ed8cd8b6dc4d4fee6c6d364e68c0ce0d2db42269
3
+ metadata.gz: f1c371756008f81224ef703f8d37842a9d3ba961
4
+ data.tar.gz: 6e7fb7f6af96552eb16cf092d681833c56799d7f
5
5
  SHA512:
6
- metadata.gz: 4fac8ba9aa91b9bd477464f72276375fe48faefc62ad344a4ef3c8d667ff2664dc0a5ad114b09652d5ab9acba122cd8a5ff7ef31e66630b3c5bf59d2561977d9
7
- data.tar.gz: 8c7080561b18c48447b7090a44bba4fcb5828cc8c15a837a6f7991e49b3a1cdc38dcde55d7cf68f6f4ab7164a20de30827dfc6a0691f5e3e0c15dc905dc2620a
6
+ metadata.gz: 749fe1c69be9771f0120276c8aae80b66dadf39ec0366341adf94417378cdf2dcba9947d85ae57a83b77b3d0ef78cdc0873b887cec09681200c0b3fbfc7f990c
7
+ data.tar.gz: 7d43f9e5f5b365c693347ad33233c51a3b902cfe778c3542419fbbc0ddc271c47f42b80fe7bf397844b0333e6bb9519b2d773142d32883b5f0db4e964a566756
data/doc/text/news.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # NEWS
2
2
 
3
+ ## 0.2.9 - 2016-10-05
4
+
5
+ ### Fixes
6
+
7
+ * `Groonga::Client#select`: Accepted symbol as parameter key again.
8
+
3
9
  ## 0.2.8 - 2016-10-05
4
10
 
5
11
  ### Improvements
@@ -178,7 +178,11 @@ module Groonga
178
178
 
179
179
  def method_missing(name, *args, **kwargs, &block)
180
180
  if groonga_command_name?(name)
181
- execute(name, *args, &block)
181
+ if kwargs.empty?
182
+ execute(name, *args, &block)
183
+ else
184
+ execute(name, *args, **kwargs, &block)
185
+ end
182
186
  else
183
187
  super
184
188
  end
@@ -16,6 +16,6 @@
16
16
 
17
17
  module Groonga
18
18
  class Client
19
- VERSION = "0.2.8"
19
+ VERSION = "0.2.9"
20
20
  end
21
21
  end
data/test/test-command.rb CHANGED
@@ -51,7 +51,7 @@ class TestCommand < Test::Unit::TestCase
51
51
 
52
52
  def test_table_list
53
53
  response = Object.new
54
- mock(@client).execute(:table_list, {}) do
54
+ mock(@client).execute(:table_list) do
55
55
  response
56
56
  end
57
57
  @client.table_list
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: groonga-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.8
4
+ version: 0.2.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Haruka Yoshihara