healthety 0.0.2 → 0.0.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.
@@ -10,8 +10,8 @@ module Healthety
10
10
  start
11
11
  end
12
12
 
13
- def host(host)
14
- @host = host
13
+ def server(server)
14
+ @server = server
15
15
  end
16
16
 
17
17
  def port(port)
@@ -24,7 +24,7 @@ module Healthety
24
24
 
25
25
  def start
26
26
  puts message
27
- transmission = Transmission.new(@host, @port)
27
+ transmission = Transmission.new(@server, @port)
28
28
 
29
29
  # Catch Ctrl-C and terminate all worker threads.
30
30
  trap("INT") { @threads.map(&:kill) }
@@ -44,7 +44,7 @@ module Healthety
44
44
 
45
45
  def message
46
46
  <<-EOM
47
- => Workers starting to send to #{@host}:#{@port}
47
+ => Workers starting to send to #{@server}:#{@port}
48
48
  => Ctrl-C to stop
49
49
  EOM
50
50
  end
@@ -1,3 +1,3 @@
1
1
  module Healthety
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: healthety
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.2
5
+ version: 0.0.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - Martin Jagusch