hiptest-publisher 1.19.1 → 1.19.2

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: 74f204d0ec8d684c134f8f329a931174d2b31140be0d8618924f3117c5fecbd8
4
- data.tar.gz: b2c2c17a735e80e5f5b5a0ac17abc8048a8b59f23310e6a68d83412442fd21d2
3
+ metadata.gz: 7aecebbdc9f81af2735e99ccbdecd718de9b4860bab6fe8c546ee5ef0e8c9dbe
4
+ data.tar.gz: e0702bda9848824f1f15c42eea26e56ae21cec95da0e768c3c9310824b5e64e8
5
5
  SHA512:
6
- metadata.gz: 16e5897d3f605ea8fb669bde5f0123b27f46dea96df28ad8bd80d2413f395b2a2cdf7e14aec33ae95e2f72cc8240d9aa7edb8d5687bab787efb3818dab7ed4ce
7
- data.tar.gz: 1581f590e80b5219bfbe39c700db01bec714170830e49dc60cf5c61b8050e4c354963fcabcd099a94f1491fa74270ff904314427facd4d5a54329fb4971fb259
6
+ metadata.gz: 45ee040dbd0dfd891fb0d3193e3461823755ca179550b3eee76b427e32431ddc1542bcd7f7bc0d33541186006cfd60c6a14c61530203c96dd3d41842f824ef19
7
+ data.tar.gz: a6204e46e4f53ab2fbe71496ebb27f27665ec8d22d64ccba298179089d464da635113e24cb4f359e7173257fc49547be563aa0781669eb898d5a4cae19e0c64b
@@ -225,7 +225,7 @@ module Hiptest
225
225
  def hh_description_with_annotations (context, commenter, block)
226
226
  value = compute_block_value(context, commenter, block)
227
227
  value = value.split("\n").map do |line|
228
- line.strip.start_with?('Given', 'When', 'Then', 'And', 'But', '*') ? "\"#{line}\"" : line
228
+ line.strip.downcase.start_with?('given', 'when', 'then', 'and', 'but', '*', '#') ? "\"#{line}\"" : line
229
229
  end.join("\n")
230
230
  value
231
231
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hiptest-publisher
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.19.1
4
+ version: 1.19.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hiptest R&D
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-01-15 00:00:00.000000000 Z
11
+ date: 2019-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colorize