Sha256: 7f801c95a17f863808cda1d6e6f5417704f4c39d354062848d35115be2cd6c02
Contents?: true
Size: 652 Bytes
Versions: 3
Compression:
Stored size: 652 Bytes
Contents
require 'sinatra/base' require 'web_tools' require 'web_tools/support/service_helper' class WebTools::VersionReport < WebTools::Tool def self.description 'Information about the Stone and Gem processes and their host(s)' end get '/' do json("stone" => stone_version_report, "gem" => gem_version_report) end def stone_version_report results = { } rpt = Maglev::System.stone_version_report rpt.keys.each { |k| results[k] = rpt.at(k) } results end def gem_version_report results = { } rpt = Maglev::System.gem_version_report rpt.keys.each { |k| results[k] = rpt.at(k) } results end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
maglev-webtools-1.0.2 | lib/web_tools/version_report.rb |
maglev-webtools-1.0.1 | lib/web_tools/version_report.rb |
maglev-webtools-1.0 | lib/web_tools/version_report.rb |