gurke 3.2.1 → 3.2.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: a55c7c35ab8e49695cc611ce5bbe99396a1acc2d63593f9885fdf7e29fab0793
4
- data.tar.gz: bc6190dda886605afc557eb3ff8646504f41df28b891750e0d5d1a1ef9b8d690
3
+ metadata.gz: 9474952db05f7f3aad5527b68c1258dc1042a16e0800ec6abb4ba3a1cf1a5062
4
+ data.tar.gz: b90e18c038a138852a4c0ef1de09d61ca3b05f677bc871d49996775fd8deb262
5
5
  SHA512:
6
- metadata.gz: feabf5c0b0df9ac47eea8258769e806410dea9aedf2102d1448806e6e3f2ec469bb0abe45746cc215721f1a0794193261f6177a29f3ae223960b75e8c0ef74c8
7
- data.tar.gz: 7b9bb6cd06febd0fb1159a833b1e68a3b5a777f26d4105983f5cc9a7058f77a41e6b1503d5474b5726e6131e2f1fccc77599a961465881da299a405667ec0d06
6
+ metadata.gz: 6a504262150c0f0d6ec569b87a77d58584e0d7bebf1345f11c92aeb4f174dc74e0307f382d94360a70f60f27dfe12e48ea445d30061c6faaefd66e432ad17193
7
+ data.tar.gz: b4f543612efbb949c37d45e7a4bffe5b6e38d8cebe99e85b6dbd910eb0ccf29afe3968447f20e94db1c4b3451955b1b3d25c08e0f2dd02e828337a25b4f64b68
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 3.2.2
4
+
5
+ * Fix some default reporter formatting issues
6
+
3
7
  ## 3.2.1
4
8
 
5
9
  * Reset world between retried scenario runs
@@ -74,7 +74,7 @@ module Gurke::Reporters
74
74
  end
75
75
 
76
76
  def retry_scenario(*)
77
- io.print " Retry flaky scenario due to previous failure:\n"
77
+ io.print "\n Retry flaky scenario due to previous failure:\n\n"
78
78
  end
79
79
 
80
80
  def after_scenario(*)
@@ -134,7 +134,7 @@ module Gurke::Reporters
134
134
  end
135
135
 
136
136
  def step_skipped(*)
137
- io.print cyan 'skipped'
137
+ io.print status cyan 'skipped'
138
138
  end
139
139
 
140
140
  def print_exception(exception)
data/lib/gurke/version.rb CHANGED
@@ -4,7 +4,7 @@ module Gurke
4
4
  module VERSION
5
5
  MAJOR = 3
6
6
  MINOR = 2
7
- PATCH = 1
7
+ PATCH = 2
8
8
  STAGE = nil
9
9
  STRING = [MAJOR, MINOR, PATCH, STAGE].reject(&:nil?).join('.').freeze
10
10
 
@@ -117,6 +117,17 @@ RSpec.describe Gurke::Reporters::DefaultReporter do
117
117
  end
118
118
  end
119
119
 
120
+ context 'with step pending' do
121
+ let(:state) { nil }
122
+
123
+ it do
124
+ is_expected.to eq unindent <<~TEXT
125
+ . (skipped)
126
+ .
127
+ TEXT
128
+ end
129
+ end
130
+
120
131
  context 'with step failing' do
121
132
  let(:state) { :failed }
122
133
 
@@ -166,8 +177,10 @@ RSpec.describe Gurke::Reporters::DefaultReporter do
166
177
 
167
178
  it do
168
179
  is_expected.to eq unindent <<~TEXT
180
+ .
169
181
  . Retry flaky scenario due to previous failure:
170
182
  .
183
+ .
171
184
  TEXT
172
185
  end
173
186
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gurke
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.1
4
+ version: 3.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Graichen