groonga-client 0.5.6 → 0.5.7

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: 1b0bd5e24f62c75ab3b044cc600439181e885923
4
- data.tar.gz: e9b6f31ae557a851f8c9e69df2d0234f28d80c91
3
+ metadata.gz: 5ab83b95c15d85e5f1bd05e37b597c490afbee4e
4
+ data.tar.gz: d4fdb392b428c81b7509b434995337d1f887beb8
5
5
  SHA512:
6
- metadata.gz: 7d72469d952dba06f1e9f9ef3aa04440cba5bad47d063e044b412d4cc344dec143b989c26995bf36e854102a29b69dbe495b40d7402c5631529a5e735ddc91ff
7
- data.tar.gz: 584ffaa316938d2aee1c7056b0596db2882920a68110a9432c0c2eb97fc1a49672c01cd11d831d00cf8e16886f8565836506a6bf1fc54f513931fbf5e831a8ec
6
+ metadata.gz: d270ba5225a0e4a57cb39183c48938073303b153e8a5175e67b20dbf8297e214dd211bd68824d4f78154f7785dc096f4f2ecb2ba0348e31e727fe4995137e9b3
7
+ data.tar.gz: 9b7e87d042245811c979a02e6dcf609f55dbdefb020e8925f5594ff9369ad9c0fa10b77ee4f9241812b792fad8b9932c0005e8463e007804a581670b7efd80a5
data/doc/text/news.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # NEWS
2
2
 
3
+ ## 0.5.7 - 2017-11-09
4
+
5
+ ### Fixes
6
+
7
+ * `groonga-client-index-check`: Fixed a bug that `Time` key index
8
+ may be reported as broken unexpectedly.
9
+
3
10
  ## 0.5.6 - 2017-11-09
4
11
 
5
12
  ### Improvements
@@ -136,7 +136,12 @@ module Groonga
136
136
  when String
137
137
  value = Groonga::Client::ScriptSyntax.format_string(token)
138
138
  when Time
139
- value = token.to_f
139
+ if token.usec.zero?
140
+ value = token.to_i
141
+ else
142
+ value = token.strftime("%Y-%m-%d %H:%M:%S.%6N")
143
+ value = Groonga::Client::ScriptSyntax.format_string(value)
144
+ end
140
145
  else
141
146
  value = token
142
147
  end
@@ -16,6 +16,6 @@
16
16
 
17
17
  module Groonga
18
18
  class Client
19
- VERSION = "0.5.6"
19
+ VERSION = "0.5.7"
20
20
  end
21
21
  end
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.5.6
4
+ version: 0.5.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Haruka Yoshihara