teuton 2.4.2 → 2.4.3

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: 6bb235310c658ecda29f97a42e1997bd733cfea07a3a66f247bbfe12700e43d9
4
- data.tar.gz: 52c90371c74d8de5f087d3ad5478e26cac633e9188351424f6a3b85d1b0d3664
3
+ metadata.gz: 4737382a68bd95498f1fcfe7fab7dd674170ac21e56aeea7761cea9c7edb2c58
4
+ data.tar.gz: 00bbd221c4251ad369a3829eb67d32fce2d05c15a9af764f76874031bc26dc0f
5
5
  SHA512:
6
- metadata.gz: 8ca3e5e24efd6d4891404b875d76abae86f6ab522205e8f16a0b20945aaf859434057fefcfce06100514987f5e876b09eada2999943cb99fc77f8c46783c8ff8
7
- data.tar.gz: ab1398e8666934eda13ced4349354a840b4b5e97e7874bff4a704a713281cf7efe36ea8ee393bc2bebab2345488f454af97f676c28e8d792cab20416d32ce60e
6
+ metadata.gz: bc557091ed6ae131bf925a0da452b34e01a64ee95ffa1cdc52f17742920614c8126ba66e5c2bd830f901dd3acbb8cc644be604ae267eddd60b3937915d3f3b83
7
+ data.tar.gz: 9cd807f54792d0cf64d53a5ff82d03ca8e7e3eaf49338d511948defeaa802731ee1c8cb96ec07192d2c415c8ef113ddd180a3ed60a0bf0421ba12d314b12b601
@@ -1,4 +1,9 @@
1
1
 
2
+ ## [2.4.3]
3
+
4
+ - Fix: "expect_none" without params works as "expect result.count.eq 0"
5
+ - Add: "expect_nothing" that works as "expect result.count.eq 0".
6
+
2
7
  ## [2.4.2]
3
8
 
4
9
  - Fix bug with result.grep_v(Array)
@@ -1,10 +1,8 @@
1
1
  require "singleton"
2
- # require_relative "version"
3
2
  require_relative "utils/name_file_finder"
4
3
 
5
4
  class Application
6
5
  include Singleton
7
- # include Teuton
8
6
 
9
7
  attr_reader :letter
10
8
  attr_reader :running_basedir, :output_basedir
@@ -54,7 +54,12 @@ module DSL
54
54
  expect2 input, expected: output
55
55
  end
56
56
 
57
- def expect_none(input, args = {})
57
+ # def expect_none(input, args = {})
58
+ def expect_nothing(args = {})
59
+ expect2 result.count.eq(0), args
60
+ end
61
+
62
+ def expect_none(input = nil, args = {})
58
63
  if input.nil?
59
64
  # nothing to do
60
65
  elsif input.instance_of? Array
@@ -1,5 +1,5 @@
1
1
  module Teuton
2
- VERSION = "2.4.2"
2
+ VERSION = "2.4.3"
3
3
  APPNAME = "teuton"
4
4
  GEMNAME = "teuton"
5
5
  DOCKERNAME = "dvarrui/#{GEMNAME}"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: teuton
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.2
4
+ version: 2.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Vargas Ruiz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-02-16 00:00:00.000000000 Z
11
+ date: 2023-02-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colorize