Skip to content
This repository has been archived by the owner on Aug 12, 2024. It is now read-only.

Commit

Permalink
add missing exported variables
Browse files Browse the repository at this point in the history
  • Loading branch information
bodsch committed Jun 20, 2017
1 parent 4071a56 commit 1e102ba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/icinga2.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ module Icinga2
class Client

attr_reader :version, :revision, :node_name, :start_time, :uptime
attr_reader :avg_latency, :avg_execution_time
attr_reader :hosts_up, :hosts_down, :hosts_in_downtime, :hosts_acknowledged
attr_reader :hosts_all, :hosts_problems, :hosts_handled_warning_problems, :hosts_handled_critical_problems, :hosts_handled_unknown_problems
attr_reader :hosts_handled_problems, :hosts_down_adjusted
Expand Down
4 changes: 3 additions & 1 deletion lib/icinga2/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,12 @@ module Version
MINOR = 6
# tiny part of version
TINY = 3
# patch part
PATCH = 1

end

# Current version of gem.
VERSION = [Version::MAJOR, Version::MINOR, Version::TINY].compact * '.'
VERSION = [Version::MAJOR, Version::MINOR, Version::TINY, Version::PATCH].compact * '.'

end

0 comments on commit 1e102ba

Please sign in to comment.