update publish job to include .atom

This commit is contained in:
maxwell 2011-03-30 10:41:47 -07:00
parent fa27fa2d29
commit 86fe2db24e
2 changed files with 20 additions and 15 deletions

View file

@ -65,6 +65,7 @@ PATH
GEM GEM
remote: http://rubygems.org/ remote: http://rubygems.org/
specs: specs:
SystemTimer (1.2.1)
abstract (1.0.0) abstract (1.0.0)
actionmailer (3.0.3) actionmailer (3.0.3)
actionpack (= 3.0.3) actionpack (= 3.0.3)
@ -93,7 +94,6 @@ GEM
activesupport (= 3.0.3) activesupport (= 3.0.3)
activesupport (3.0.3) activesupport (3.0.3)
addressable (2.2.2) addressable (2.2.2)
archive-tar-minitar (0.5.2)
arel (2.0.9) arel (2.0.9)
aws (2.3.32) aws (2.3.32)
activesupport activesupport
@ -120,6 +120,7 @@ GEM
selenium-webdriver (>= 0.0.3) selenium-webdriver (>= 0.0.3)
carrierwave (0.5.2) carrierwave (0.5.2)
activesupport (~> 3.0) activesupport (~> 3.0)
cgi_multipart_eof_fix (2.5.0)
chalofa_ruby-progressbar (0.0.9.1) chalofa_ruby-progressbar (0.0.9.1)
chef (0.9.12) chef (0.9.12)
bunny (>= 0.6.0) bunny (>= 0.6.0)
@ -174,6 +175,7 @@ GEM
faraday_middleware (0.3.2) faraday_middleware (0.3.2)
faraday (~> 0.5.4) faraday (~> 0.5.4)
fastercsv (1.5.4) fastercsv (1.5.4)
fastthread (1.0.7)
ffi (0.6.3) ffi (0.6.3)
rake (>= 0.8.7) rake (>= 0.8.7)
fixture_builder (0.2.0) fixture_builder (0.2.0)
@ -192,6 +194,7 @@ GEM
chalofa_ruby-progressbar (~> 0.0.9) chalofa_ruby-progressbar (~> 0.0.9)
rspec (~> 2.0) rspec (~> 2.0)
rspec-instafail (~> 0.1.4) rspec-instafail (~> 0.1.4)
gem_plugin (0.2.3)
gherkin (2.3.5) gherkin (2.3.5)
json (>= 1.4.6) json (>= 1.4.6)
haml (3.0.25) haml (3.0.25)
@ -213,8 +216,7 @@ GEM
launchy (0.4.0) launchy (0.4.0)
configuration (>= 0.0.5) configuration (>= 0.0.5)
rake (>= 0.8.1) rake (>= 0.8.1)
linecache19 (0.5.11) linecache (0.43)
ruby_core_source (>= 0.1.4)
mail (2.2.15) mail (2.2.15)
activesupport (>= 2.3.6) activesupport (>= 2.3.6)
i18n (>= 0.4.0) i18n (>= 0.4.0)
@ -229,6 +231,11 @@ GEM
mixlib-config (1.1.2) mixlib-config (1.1.2)
mixlib-log (1.2.0) mixlib-log (1.2.0)
moneta (0.6.0) moneta (0.6.0)
mongrel (1.1.5)
cgi_multipart_eof_fix (>= 2.4)
daemons (>= 1.0.3)
fastthread (>= 1.0.1)
gem_plugin (>= 0.2.3)
multi_json (0.0.5) multi_json (0.0.5)
multi_xml (0.2.2) multi_xml (0.2.2)
multipart-post (1.1.0) multipart-post (1.1.0)
@ -331,20 +338,15 @@ GEM
activesupport (~> 3.0) activesupport (~> 3.0)
railties (~> 3.0) railties (~> 3.0)
rspec (~> 2.5.0) rspec (~> 2.5.0)
ruby-debug-base19 (0.11.24) ruby-debug (0.10.4)
columnize (>= 0.3.1) columnize (>= 0.1)
linecache19 (>= 0.5.11) ruby-debug-base (~> 0.10.4.0)
ruby_core_source (>= 0.1.4) ruby-debug-base (0.10.4)
ruby-debug19 (0.11.6) linecache (>= 0.3)
columnize (>= 0.3.1)
linecache19 (>= 0.5.11)
ruby-debug-base19 (>= 0.11.19)
ruby-hmac (0.4.0) ruby-hmac (0.4.0)
ruby-openid (2.1.8) ruby-openid (2.1.8)
ruby-openid-apps-discovery (1.2.0) ruby-openid-apps-discovery (1.2.0)
ruby-openid (>= 2.1.7) ruby-openid (>= 2.1.7)
ruby_core_source (0.1.4)
archive-tar-minitar (>= 0.5.2)
rubyntlm (0.1.1) rubyntlm (0.1.1)
rubyzip (0.9.4) rubyzip (0.9.4)
selenium-client (1.2.18) selenium-client (1.2.18)
@ -390,6 +392,7 @@ PLATFORMS
ruby ruby
DEPENDENCIES DEPENDENCIES
SystemTimer (= 1.2.1)
acts-as-taggable-on! acts-as-taggable-on!
addressable (= 2.2.2) addressable (= 2.2.2)
aws (= 2.3.32) aws (= 2.3.32)
@ -420,6 +423,7 @@ DEPENDENCIES
json (= 1.4.6) json (= 1.4.6)
launchy launchy
mini_magick (= 3.2) mini_magick (= 3.2)
mongrel
mysql2 (= 0.2.6) mysql2 (= 0.2.6)
nokogiri (= 1.4.3.1) nokogiri (= 1.4.3.1)
omniauth (= 0.1.6) omniauth (= 0.1.6)
@ -431,7 +435,7 @@ DEPENDENCIES
rspec (>= 2.0.0) rspec (>= 2.0.0)
rspec-instafail (>= 0.1.7) rspec-instafail (>= 0.1.7)
rspec-rails (>= 2.0.0) rspec-rails (>= 2.0.0)
ruby-debug19 ruby-debug
selenium-webdriver (= 0.1.3) selenium-webdriver (= 0.1.3)
thin (= 1.2.8) thin (= 1.2.8)
twitter! twitter!

View file

@ -8,7 +8,8 @@ module Job
def self.perform_delegate(sender_public_url) def self.perform_delegate(sender_public_url)
require File.join(Rails.root, 'lib/pubsubhubbub') require File.join(Rails.root, 'lib/pubsubhubbub')
Pubsubhubbub.new(AppConfig[:pubsub_server]).publish(sender_public_url) atom_url = sender_public_url + '.atom'
Pubsubhubbub.new(AppConfig[:pubsub_server]).publish(atom_url)
end end
end end
end end