teuton 2.7.1 → 2.7.3

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: ffeca52de938d3464c4c9f4bacf4acb7fd229cc3a02daa9d653d68dfe2d65750
4
- data.tar.gz: 96a03b03bba6ff9ca381ce1b248f93f341b9aa53c2727258032e6a8d24d42454
3
+ metadata.gz: a4bee1e3cc6c28460e9fd3cbaf09dacf2c16c1824a4bc4782aeb1749a25b5fda
4
+ data.tar.gz: 5d41ccb0c129a9894eaa4ae13db4116cf4dc13c875aeaf1edade09159cccc6fc
5
5
  SHA512:
6
- metadata.gz: 8ef9650f56b556eaa91c81c04a07c0e621f9903416333a8b12ea8febb6a07e91cddeaabe80a17d9d82fdaaac337cba2af9e6aa7bc881c3801fee8f90a5ed636c
7
- data.tar.gz: a2003337f9a7ae148b0976cdd87cd0ef1fdb255a18bec08a390adec32c94f7c13a71db9bfa83452fed93259e8d5a53db34e5bfec265831a0d3237390be2de6de
6
+ metadata.gz: 005a48257a74193057e0edba4e6a65edbd7481962f8f380f82f6f5dbae1a6e49f16d74e4f5dc5a9919f8a54ba17c5293f09eaec793e56a11f8d192a706e7a776
7
+ data.tar.gz: 58d57804d06cc4edaaf0327199fc3ff5845fea01e342a071fc61c52376e08b51ae67d233f5f780fe333445bee64d9066bcd6545fd41f29bf587b46a1d00c362f
@@ -1,4 +1,16 @@
1
1
 
2
+ ## [2.7.3] 20230607
3
+
4
+ - [FIX] Hall of fame now use Project class instead of Application.
5
+
6
+ ## [2.7.2] 20230607
7
+
8
+ - [FIX] Fixed an issue that appeared when exporting reports without feedback after failing to connect to remote computer.
9
+
10
+ ## [2.7.1]
11
+
12
+ - [FIX] Fixed an issue that appeared when executing test and fail connection to remote computer.
13
+
2
14
  ## [2.7.0]
3
15
 
4
16
  New features:
data/docs/dsl/expect.md CHANGED
@@ -29,6 +29,7 @@ expect 'obiwan' # Expect previous run command output contains obiwan text
29
29
  | expect_none | no output lines expected |
30
30
  | expect_nothing | no output lines expected |
31
31
  | expect /Obiwan\|obi-wan/ | one or more line/s with Obiwan or obi-wan. This example uses regular expresions. |
32
+ | expect_exit NUMBER | Check exit code is NUMBER |
32
33
 
33
34
  ## Advanced
34
35
 
@@ -1,5 +1,6 @@
1
1
  require "rainbow"
2
2
  require "terminal-table"
3
+ # require_relative "../utils/application"
3
4
  require_relative "../utils/project"
4
5
 
5
6
  # | Verbosity level | Description |
@@ -121,11 +122,12 @@ class ShowReport
121
122
  end
122
123
 
123
124
  def show_hall_of_fame
124
- return if Project.value[:hall_of_fame].size < 3
125
+ hall_of_fame = Project.value[:hall_of_fame]
126
+ return if hall_of_fame.size < 3
125
127
 
126
128
  puts Rainbow("HALL OF FAME").bright
127
129
  my_screen_table = Terminal::Table.new do |st|
128
- app.hall_of_fame.each do |line|
130
+ hall_of_fame.each do |line|
129
131
  st.add_row [line[0], line[1]]
130
132
  end
131
133
  end
@@ -67,6 +67,7 @@ class ArrayFormatter < BaseFormatter
67
67
 
68
68
  if options[:feedback] == false
69
69
  target[:command] = "*" * i[:command].size
70
+ i[:output] = "" if i[:output].nil?
70
71
  target[:output] = "*" * i[:output].size
71
72
  target[:alterations] = "*" * i[:alterations].size
72
73
  target[:expected] = "*" * i[:expected].size
@@ -1,5 +1,5 @@
1
1
  module Teuton
2
- VERSION = "2.7.1"
2
+ VERSION = "2.7.3"
3
3
  APPNAME = "teuton"
4
4
  GEMNAME = "teuton"
5
5
  DOCKERNAME = "dvarrui/#{GEMNAME}"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: teuton
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.7.1
4
+ version: 2.7.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Vargas Ruiz