gems-validator 0.6.6 → 0.6.9

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: 3e3e30e6968b1845f74847f36013ca90b8c1957a9ffadf2307e7693b6cd5eb8b
4
- data.tar.gz: f47526921876df050765abeb7ecbe208e405895e55744d329c9169ec8f5eda42
3
+ metadata.gz: bdb3d72f0788021c0872f45d38ff4a6601fe345e277d0474369addaa18f23fc5
4
+ data.tar.gz: c5743d9b450e1f6f88b5bbcba2548e28cede6e6b3591e3bc0e1359813898924f
5
5
  SHA512:
6
- metadata.gz: 8a333092b9614eb3c3392b3412a5bd00c51760d964e067a2154eace848ce1eeed8a1a0c707108ec62bda431954fa0aa36e9639a1401847c78d39baca652f0ddd
7
- data.tar.gz: be80948d930a1e0f668ae85000ed0c2eb93060f2b7ac690c7a520061492b694635ede17f902c6326c8838f0b19cba1b5074d1d8f70e16e1bac0b085f88d8f33e
6
+ metadata.gz: 97d6d9acb6317fa68f4f0d34afe528e0271014422d0d1e45169cf253fef4a3ad8b441454fa53142775377206b8bfc24584c0df94bdd253b221738d8dd7b90a6d
7
+ data.tar.gz: 92ef1bdafc02213362bb0241f7e18e2724d7cee9ce7bdcf76d1389cbfbfe61f289479b3393cfa49201c643e96b729780e880590205283e96dea19a58037c8e3d
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gems-validator (0.6.6)
4
+ gems-validator (0.6.9)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -57,7 +57,7 @@ module GemsValidator
57
57
  parse_body
58
58
  end
59
59
  rescue => exception
60
- GemsValidator::OutputMessage.warn("\nA API das bibliotecas homologadas esta fora do ar. Os dados serão coletados do cache.\n")
60
+ GemsValidator::OutputMessage.warn("A API das bibliotecas homologadas esta fora do ar. Os dados serão coletados do cache.", { before: true, after: true })
61
61
  sleep(3)
62
62
  JSON.parse(File.read("#{@pwd}/.euax-homologated-libraries/gems-response.json"))
63
63
  end
@@ -2,16 +2,16 @@
2
2
 
3
3
  module GemsValidator
4
4
  class OutputMessage
5
- def self.error(message)
6
- Bundler::GemspecError.new("[GemsValidator::Error] - #{message}")
5
+ def self.error(message, jump_line = {})
6
+ Bundler::GemspecError.new("#{jump_line[:before] ? "\n" : ''}[GemsValidator::Error] - #{message}#{jump_line[:after] ? "\n" : ''}")
7
7
  end
8
8
 
9
- def self.warn(message)
10
- Bundler.ui.warn("[GemsValidator::Warning] - #{message}")
9
+ def self.warn(message, jump_line = {})
10
+ Bundler.ui.warn("#{jump_line[:before] ? "\n" : ''}[GemsValidator::Warning] - #{message}#{jump_line[:after] ? "\n" : ''}")
11
11
  end
12
12
 
13
- def self.success(message)
14
- Bundler.ui.confirm("[GemsValidator::Success] - #{message}")
13
+ def self.success(message, jump_line = {})
14
+ Bundler.ui.confirm("#{jump_line[:before] ? "\n" : ''}[GemsValidator::Success] - #{message}#{jump_line[:after] ? "\n" : ''}")
15
15
  end
16
16
  end
17
17
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GemsValidator
4
- VERSION = "0.6.6"
4
+ VERSION = "0.6.9"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gems-validator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.6
4
+ version: 0.6.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - henriquesml