Sha256: 959bfb2b473534bb39a47cbb0cfbb3a9602ee315c3248437992f05164d29644d
Contents?: true
Size: 526 Bytes
Versions: 2
Compression:
Stored size: 526 Bytes
Contents
module Aua::Agents::StandardMiteClient KNOWN_CLIENTS = %w(git2mite Mite-on-rails mite-rb jmite Redmine2mite Mantis2mite Billomat hearttp centralstationcrm mighty-mite-statistics) MITE_STANDARD = /^mite\.([a-z]+)/ def self.extend?(agent) KNOWN_CLIENTS.include?(agent.app) || agent.app =~ MITE_STANDARD end def type return :HttpChecker if app == "hearttp" :ApiClient end def name @name ||= app.to_sym end def version return super unless app == "mite.net" versions[2] end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
aua-mite-0.0.7 | lib/aua-mite/agents/standard_mite_client.rb |
aua-mite-0.0.6 | lib/aua-mite/agents/standard_mite_client.rb |