lazy-check 1.0.1 → 1.1.0

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: ce342b1406b8345b0927c8aa58e32e6a6364f0951222dcb572faab6ba39af48b
4
- data.tar.gz: 0c600cbd13d400485c49ff506197452277f2fbfb30bf1fb9c0ed8dcc8f471930
3
+ metadata.gz: d4540dba4a1ad89f81bd1bb54e043eb34f25713e4d2ccf42c2641973980354bd
4
+ data.tar.gz: c858d4a60f915abf1d48536573f47333b54c6db6aeaaa10bdff05a4c686b2e69
5
5
  SHA512:
6
- metadata.gz: 015f0b1aac5b8afeee11fb31cd8b3083a04fd9114cefac1c91ddd3ab30b44fa87d983b45616daf1bb029233711964ff23c0a8ecb873ef3c7469c21406ba0bb70
7
- data.tar.gz: da7c88798d81d9efc6e48666c2b19de2d08433ed023129d574bdea0aa13de81e417bef19933fd8babb47caa7a01e56445feaa014785f65e8f466768d6d5a81f9
6
+ metadata.gz: 940d1b4d6923e86683567e14da74632f877bad2666cda026a5804812d96ff2a824978e4c18951fe1edbaff259c534e0f5cc487c7648ee6056cc2fe6f197376b1
7
+ data.tar.gz: b36023a7a8711fe75c5df0851ee81ce9f28f23ee52523e7363402c89e7516641b3d39ccefcff3cf3d47c9cb9166e58154bca1b0c952d515744c2677d020ee026
data/README.md CHANGED
@@ -8,6 +8,7 @@ Add this line to your application's Gemfile:
8
8
 
9
9
  ```ruby
10
10
  gem 'lazy-check'
11
+ gem 'lazy/check'
11
12
  ```
12
13
 
13
14
  And then execute:
@@ -25,7 +26,8 @@ Or install it yourself as:
25
26
  Si on a juste du code XML-like à tester, on peut utiliser la méthode `Lazy::Checker.check`.
26
27
 
27
28
  ~~~ruby
28
- require 'lazy-check'
29
+ gem 'lazy-check'
30
+ require 'lazy/check'
29
31
 
30
32
  code = "<root><div class="contient">du texte</div></root>"
31
33
  check = {tag: 'div.contient', text: "du texte"}
@@ -17,6 +17,7 @@ class Checker
17
17
  # Affichage du rapport
18
18
  #
19
19
  def display
20
+ clear unless debug?
20
21
  puts "\n\n"
21
22
  puts "#{checker.name}".jaune
22
23
  puts "-"* checker.name.length
@@ -57,6 +58,10 @@ class Checker
57
58
  end
58
59
 
59
60
  def start
61
+ clear unless debug?
62
+ puts "\n\n"
63
+ puts "#{checker.name}".jaune
64
+ puts "Merci de patienter…".bleu
60
65
  @start_time = Time.now
61
66
  @successs = []
62
67
  @failures = []
@@ -1,5 +1,5 @@
1
1
  module Lazy
2
2
  module Check
3
- VERSION = "1.0.1"
3
+ VERSION = "1.1.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lazy-check
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - PhilippePerret