webspicy 0.20.23 → 0.20.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 81d8ffb7aa9875416729a3b6226e621ea4140d4f30cc4852444c43ca8fbe5eb3
4
- data.tar.gz: 8fa3e5471c7d732d21668ec99dfad7aa9fdb820f2e6fb41d180076206848c697
3
+ metadata.gz: 358d398af31550346d16e0b0aea1fbdbbdb6d9b6097adc0f53642faf73605447
4
+ data.tar.gz: 73bbb61d76edb81151a2d201b51a8e509d79728145a524f04a33bb80696ced46
5
5
  SHA512:
6
- metadata.gz: 07c62996f90df9ed4b7665712154edb3b0e9c59cdd25bea7c46520b0d4979a3e0c5cd127e0ac8bd2c08f060730d0f0f43609cc3d802b67a129e315eee0877568
7
- data.tar.gz: a40f2056c7284919b4ef5aa520a7bafb07af8456737bf7944a51981fb44ac9d56389ea777ff51e0b8861bd2c8d43923bf6814784e80399775d9c123366d99f76
6
+ metadata.gz: 641ccd34d62b106ac983ed192fb54f313dfd03a1a068a95018e84fdb840a0e54dfa3d410617a2fb357519eebd344e3f179e7cdac0cc7ae61b43b51a770f32284
7
+ data.tar.gz: f9ed1ae27dbaae00369437622f04610391225ce39c19636e430cb5e10f1606a52b50582aa01a83a611aee61aab673a4eb67f94d340f21906924409020713f886
@@ -51,16 +51,14 @@ module Webspicy
51
51
  end
52
52
 
53
53
  def before_service
54
- @spec_file_line_printed = false
54
+ @test_case_seen = false
55
55
  end
56
56
 
57
57
  def before_test_case
58
- unless @spec_file_line_printed
59
- io.puts spec_file_line(spec_file)
60
- io.puts
61
- io.flush
62
- @spec_file_line_printed = true
63
- end
58
+ @test_case_seen = true
59
+ io.puts spec_file_line(spec_file)
60
+ io.puts
61
+ io.flush
64
62
  io.puts service_line(service, test_case)
65
63
  io.flush
66
64
  end
@@ -86,10 +84,8 @@ module Webspicy
86
84
  end
87
85
 
88
86
  def service_done
89
- unless @spec_file_line_printed
90
- io.puts
91
- io.flush
92
- end
87
+ io.puts if @test_case_seen
88
+ io.flush
93
89
  end
94
90
 
95
91
  end # class Documentation
@@ -2,7 +2,7 @@ module Webspicy
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 20
5
- TINY = 23
5
+ TINY = 24
6
6
  end
7
7
  VERSION = "#{Version::MAJOR}.#{Version::MINOR}.#{Version::TINY}"
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: webspicy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.20.23
4
+ version: 0.20.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bernard Lambeau