grntest 1.5.4 → 1.5.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
  SHA256:
3
- metadata.gz: 52639924062d309f2bd03605a4eec89ff5f22003ef5a5ed269216b09a6190990
4
- data.tar.gz: b6573f497448c771222eef70c93315ab2fe3e141b861c19dc52843ee4d2d92ea
3
+ metadata.gz: e8a09deb6171d6819a7874a580276f5b972859e5d57e5d746759bfbeb54b501b
4
+ data.tar.gz: 60da288a453817a64a157f3ed82d84745dae567e5a3cea418d2a6d46d930313a
5
5
  SHA512:
6
- metadata.gz: 383b205e13e7a0c5986ce7f42425b0e3959f1e1ab162dd25d30bfcc3ddf5891d3a107c22608786446877f68dc111057e1c8fcc163a6196bb3886950efdc09dff
7
- data.tar.gz: 38b7f754bd5bf55fee9d8314de711612011cacf89303bff4bbec43e1ea1605f936dcd7433046a418aad89c624488621ee82053397454f684ae41dccf8b14fcab
6
+ metadata.gz: 748cca0d65ac9073708bd5d9c483f8d14e0f592f9ce3e6ef82874af58597e3703e7ee3b328caf2824eea916151cf8b09785a1583d6203ff3bf5f99f7b915dcd5
7
+ data.tar.gz: debc154f725645857bf626b5b4fb088e8483171473ba0a921bbd3eb458a21fa38a778613c7ca89d5b4634d353329a76893a2cd394ac99b55bbaa0f97575e4efb
data/doc/text/news.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # News
2
2
 
3
+ ## 1.5.5: 2022-01-18
4
+
5
+ ### Improvements
6
+
7
+ * Added support for normalizing function name.
8
+
3
9
  ## 1.5.4: 2022-01-17
4
10
 
5
11
  ### Improvements
@@ -735,6 +735,10 @@ http {
735
735
  normalized_values = {}
736
736
  message = error["message"]
737
737
  normalized_values["message"] = normalize_error_message(message)
738
+ function = error["function"]
739
+ if function
740
+ normalized_values["function"] = normalize_error_function(function)
741
+ end
738
742
  file = error["file"]
739
743
  if file
740
744
  normalized_values["file"] = normalize_error_file_path(file)
@@ -823,6 +827,10 @@ http {
823
827
  end
824
828
  end
825
829
 
830
+ def normalize_error_function(function)
831
+ function.split("::").last
832
+ end
833
+
826
834
  def normalize_error_file_path(path)
827
835
  File.basename(path)
828
836
  end
@@ -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.5.4"
17
+ VERSION = "1.5.5"
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.5.4
4
+ version: 1.5.5
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: 2022-01-17 00:00:00.000000000 Z
12
+ date: 2022-01-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: diff-lcs
@@ -270,12 +270,12 @@ required_rubygems_version: !ruby/object:Gem::Requirement
270
270
  - !ruby/object:Gem::Version
271
271
  version: '0'
272
272
  requirements: []
273
- rubygems_version: 3.1.2
273
+ rubygems_version: 3.4.0.dev
274
274
  signing_key:
275
275
  specification_version: 4
276
276
  summary: Grntest is a testing framework for Groonga. You can write a test for Groonga
277
277
  by writing Groonga commands and expected result.
278
278
  test_files:
279
- - test/run-test.rb
280
- - test/executors/test-standard-io-executor.rb
281
279
  - test/executors/test-base-executor.rb
280
+ - test/executors/test-standard-io-executor.rb
281
+ - test/run-test.rb