Skip to content

Commit

Permalink
Updates to the markup
Browse files Browse the repository at this point in the history
  • Loading branch information
revans committed Jul 22, 2010
1 parent b0a3a54 commit d0cde99
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions ealert.gemspec
Expand Up @@ -9,7 +9,7 @@ Gem::Specification.new do |s|

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Robert R Evans"]
s.date = %q{2010-07-16}
s.date = %q{2010-07-22}
s.default_executable = %q{stream}
s.description = %q{Command line utility to stream twitter events.}
s.email = %q{robert@codewranglers.org}
Expand All @@ -31,6 +31,7 @@ Gem::Specification.new do |s|
"lib/ealert.rb",
"lib/ealert/calais.rb",
"lib/ealert/config.rb",
"lib/ealert/markup.rb",
"lib/ealert/options.rb",
"lib/ealert/store.rb",
"lib/ealert/stream.rb",
Expand All @@ -45,7 +46,7 @@ Gem::Specification.new do |s|
"spec/spec.opts",
"spec/spec_helper.rb"
]
s.homepage = %q{http://github.com/revans/ealert}
s.homepage = %q{git.codewranglers.org:ealert.git}
s.rdoc_options = ["--charset=UTF-8"]
s.require_paths = ["lib"]
s.rubygems_version = %q{1.3.7}
Expand Down
5 changes: 3 additions & 2 deletions lib/ealert/markup.rb
Expand Up @@ -5,10 +5,11 @@ def self.to_html(tweet)
<<-HTML
<div class="tweet">
<div class='avatar'>
#{tweet[:user][:screen_name]}
#{tweet[:user][:profile_image_url]}
</div>
<div class='tweet_text'>
#{tweet[:text]}
<p>#{tweet[:text]}</p>
<p>#{tweet[:user][:screen_name]} tweeted this on #{tweet[:created_at]}</p>
</div>
</div>
HTML
Expand Down

0 comments on commit d0cde99

Please sign in to comment.