grntest 1.6.3 → 1.6.4

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
  SHA256:
3
- metadata.gz: aa40165815d080049dd1910a6e417d10c669225e5b151882192181f830e24347
4
- data.tar.gz: d4c4f85b34059a6d8f4c5ed66e4bc60e7294253dcfd8a0f1fc1dbecb42684912
3
+ metadata.gz: 5ce455333ded86e81b262c5bb46ffd1d712b08a6d15135aa18f39a52e2258f6e
4
+ data.tar.gz: 26324018775c7543a54d3caeac5ff782799182c76fb591e9cf50ad0532e33340
5
5
  SHA512:
6
- metadata.gz: 595dda68c29ddd69b0cdb5b76c96c3471c811e23d1a0f3a13622d5341ad463db65d0d71a21556675d22e56dc087b167fea64f61886abd9e62d0745a8cf157e13
7
- data.tar.gz: bbdf5697336b6e0a7963e7d6b399624829fd3184bf5971c056292a9ac7f9197e28093c980c231772f323e2f072be9a3ceee87021a22d559ee59ffbe4eac3e80a
6
+ metadata.gz: 3869551fa9869d793f80dca800ca9fb6396a2c26abd0cd414eec6dbd79456dbbffc305732fc53cb55b1ae7f424bf9602d5ffec6d2a28a827d9be14bfd6ee8c59
7
+ data.tar.gz: 6ec7b1118ffd8e70f3d044b10a5f3704b2c5811cda23da8eab23c8df37356b35fb1a4e6b994958705035dcb01afbbff46f5ba83840fd64172bdbea807b42b6e9
data/doc/text/news.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # News
2
2
 
3
+ ## 1.6.4: 2023-10-21
4
+
5
+ ### Improvements
6
+
7
+ * arrow: Added support for metadata normalization.
8
+
3
9
  ## 1.6.3: 2023-09-18
4
10
 
5
11
  ### Improvements
@@ -711,6 +711,14 @@ http {
711
711
  case name
712
712
  when "start_time", "elapsed_time"
713
713
  value = 0
714
+ when "error_message"
715
+ value = normalize_error_message(value) if value
716
+ when "error_file"
717
+ value = normalize_error_file_path(value) if value
718
+ when "error_line"
719
+ value = 0 if value
720
+ when "error_function"
721
+ value = normalize_error_function(value) if value
714
722
  end
715
723
  normalized_record << value
716
724
  end
@@ -727,10 +735,9 @@ http {
727
735
  end
728
736
 
729
737
  def apache_arrow_metadata?(schema)
730
- # TODO: Use schema.metadata with gobject-introspection 3.4.2 and
731
- # Red Arrow 0.17.0.
732
- schema.fields.collect(&:name) ==
733
- ["return_code", "start_time", "elapsed_time"]
738
+ metadata = schema.metadata
739
+ return false if metadata.nil?
740
+ metadata["GROONGA:data_type"] == "metadata"
734
741
  end
735
742
 
736
743
  def normalize_output_xml(content, options)
@@ -14,5 +14,5 @@
14
14
  # along with this program. If not, see <http://www.gnu.org/licenses/>.
15
15
 
16
16
  module Grntest
17
- VERSION = "1.6.3"
17
+ VERSION = "1.6.4"
18
18
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grntest
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.3
4
+ version: 1.6.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kouhei Sutou
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-09-18 00:00:00.000000000 Z
12
+ date: 2023-10-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: diff-lcs