vidar 0.2.0 → 0.2.1

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: 1cd6a83c0201682b8366247dca55e395e3bdd7012c58c59555258e91a199300b
4
- data.tar.gz: 52ba79dd94564548fae2690c21672ee6c4d56c7034692af2b247541b9e8e22ba
3
+ metadata.gz: b3463555edd14e0fe6868ff76ad6e1677c02c365d73edf4f9ec6a4ab5efe3d2d
4
+ data.tar.gz: 259b0dcb355b43b795a2c6c8fa3c6efae06683e1bcd3f9f2ae38d087ea9f4af0
5
5
  SHA512:
6
- metadata.gz: 86c304b21aaa052552ea618cf01aa5d8bf9790342912b6354f79e40053ca572520fca3104986919763e3c230874d318691b1d6e28d6e455eea690a99e49e6bf5
7
- data.tar.gz: 7333853d537aacf960accd63f7c6e8b97f53a40dbca2a9ff0041677be743860a14eee1549bada27ddfe22c78787beeb4bdc442cb27573399e0e4b345e3c60297
6
+ metadata.gz: 1318973f5fc8354308a228ed320a41eca9050cfba4021b096993545bfb64ee6eac99268cc4074e3cfce6e77306511ce9125266938818f63d19efb6a148bd8301
7
+ data.tar.gz: 4e58538677b8808cea0848077eb4c7c447f03e25d36378fd2f0dfd405245405cd74c3153d945a67034f641693fd5c56eda7fa0d9a2c63ea3b2c3c9e686ad5df0
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- vidar (0.2.0)
4
+ vidar (0.2.1)
5
5
  colorize
6
6
  faraday
7
7
  thor (~> 0.20)
@@ -16,6 +16,10 @@ module Vidar
16
16
  (ready? && running?) || terminated_completed?
17
17
  end
18
18
 
19
+ def print
20
+ puts to_text
21
+ end
22
+
19
23
  def to_text
20
24
  parts = ["Name: #{name}"] + text_statuses
21
25
  parts.map { |s| s.ljust(50, " ") }.join(" | ")
@@ -12,7 +12,7 @@ module Vidar
12
12
  end
13
13
 
14
14
  container_statuses.each do |container_status|
15
- Log.info container_status.to_text
15
+ container_status.print
16
16
  end
17
17
 
18
18
  Log.info "-", "-"
@@ -28,7 +28,6 @@ module Vidar
28
28
  end
29
29
 
30
30
  def perform_with(data)
31
- p data
32
31
  connection.post do |req|
33
32
  req.url webhook_url
34
33
  req.headers['Content-Type'] = 'application/json'
data/lib/vidar/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Vidar
2
- VERSION = '0.2.0'.freeze
2
+ VERSION = '0.2.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vidar
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Krzysztof Knapik