groonga-query-log 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 19eaa18b3eb7d4d9b1d96f37e0c02b1da6db7410
4
- data.tar.gz: 305bfe89d67ec8e1665194e3052d132723d7635f
3
+ metadata.gz: 667417fb7b63c25c6adb833d1fa0fa109446ecae
4
+ data.tar.gz: 164767949783e4afd493d9d78c24e8aa1d52e5c5
5
5
  SHA512:
6
- metadata.gz: 865f06dea4e669074e5cc142c70631a8bfc3e9afe5ed4e5a02c4f0d6abfed6f43580b3b22ba554ec7760a5b9294cdd5be9bcb613c0e5f5ae016632f328710408
7
- data.tar.gz: 63a6828d3fa594e0925b1b5ae948a801ca223d2230b4153acce85ea5b13a9020f2de91a876bcc0a7c33139de31d40cd4c2c47396bd3fa60d637f0a881323ceae
6
+ metadata.gz: a2e7934dea3d48b4562b8bbc06423afbfe0dc9dce3da064c2fd2bc792e4a05887e0b6f91425e85b697396da95811666190cf3d319271b3a3c9bd0c10c636093c
7
+ data.tar.gz: 1108f20380850332eb1328145ac2dd94c436274d2185f9cf99c779e40d2deb03529bc4239029fcf6675c968a6fd06cc1aa3d63f983f30d3782dc837e79d77337
@@ -1,5 +1,13 @@
1
1
  # News
2
2
 
3
+ ## 1.2.5: 2017-05-08
4
+
5
+ ### Fixes
6
+
7
+ * groonga-query-log-run-regression-test: Fixed a bug that the
8
+ command doesn't care about error in calculation when it compares
9
+ cache hit rate.
10
+
3
11
  ## 1.2.4: 2017-04-24
4
12
 
5
13
  ### Improvements
@@ -74,7 +74,9 @@ module Groonga
74
74
  end
75
75
 
76
76
  def same_cache_hit_rate?
77
- @response1.body["cache_hit_rate"] == @response2.body["cache_hit_rate"]
77
+ cache_hit_rate1 = @response1.body["cache_hit_rate"]
78
+ cache_hit_rate2 = @response2.body["cache_hit_rate"]
79
+ (cache_hit_rate1 - cache_hit_rate2).abs < (10 ** -13)
78
80
  end
79
81
 
80
82
  def care_order?
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2012-2016 Kouhei Sutou <kou@clear-code.com>
1
+ # Copyright (C) 2012-2017 Kouhei Sutou <kou@clear-code.com>
2
2
  #
3
3
  # This library is free software; you can redistribute it and/or
4
4
  # modify it under the terms of the GNU Lesser General Public
@@ -16,6 +16,6 @@
16
16
 
17
17
  module Groonga
18
18
  module QueryLog
19
- VERSION = "1.2.4"
19
+ VERSION = "1.2.5"
20
20
  end
21
21
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: groonga-query-log
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
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-24 00:00:00.000000000 Z
11
+ date: 2017-05-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: groonga-command-parser