Class: Gemometer::Notifiers::Hipchat
- Defined in:
- lib/gemometer/notifiers/hipchat.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Gemometer::Notifiers::Base
Instance Method Details
#message ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/gemometer/notifiers/hipchat.rb', line 5 def html = '<p>Outdated gems:</p><ul>' gems.each do |g| html += "<li><a href='https://rubygems.org/gems/#{g[:name]}'>#{g[:name]}</a> (newest #{g[:newest]}, installed #{g[:installed]})</li>" end html += '</ul>' end |