@@ -37,6 +37,7 @@ gem 'activerecord-postgresql-adapter' | |||||
gem 'pg' | gem 'pg' | ||||
gem 'delayed_job_active_record' | gem 'delayed_job_active_record' | ||||
gem 'daemons' | gem 'daemons' | ||||
gem 'heroku_delayed_job_autoscale' | |||||
group :production do | group :production do | ||||
gem 'unicorn' | gem 'unicorn' | ||||
@@ -30,6 +30,7 @@ GEM | |||||
activesupport (3.2.12) | activesupport (3.2.12) | ||||
i18n (~> 0.6) | i18n (~> 0.6) | ||||
multi_json (~> 1.0) | multi_json (~> 1.0) | ||||
addressable (2.3.3) | |||||
arel (3.0.2) | arel (3.0.2) | ||||
bcrypt-ruby (3.0.1) | bcrypt-ruby (3.0.1) | ||||
better_errors (0.6.0) | better_errors (0.6.0) | ||||
@@ -55,10 +56,12 @@ GEM | |||||
activerecord (>= 2.1.0, < 4) | activerecord (>= 2.1.0, < 4) | ||||
delayed_job (~> 3.0) | delayed_job (~> 3.0) | ||||
erubis (2.7.0) | erubis (2.7.0) | ||||
excon (0.16.10) | |||||
execjs (1.4.0) | execjs (1.4.0) | ||||
multi_json (~> 1.0) | multi_json (~> 1.0) | ||||
faraday (0.8.5) | faraday (0.8.5) | ||||
multipart-post (~> 1.1) | multipart-post (~> 1.1) | ||||
fattr (2.2.1) | |||||
feedzirra (0.0.31) | feedzirra (0.0.31) | ||||
activesupport (>= 3.0.8) | activesupport (>= 3.0.8) | ||||
builder (~> 3.0.0) | builder (~> 3.0.0) | ||||
@@ -76,6 +79,18 @@ GEM | |||||
activesupport (>= 3.1, < 4.1) | activesupport (>= 3.1, < 4.1) | ||||
haml (>= 3.1, < 4.1) | haml (>= 3.1, < 4.1) | ||||
railties (>= 3.1, < 4.1) | railties (>= 3.1, < 4.1) | ||||
heroku (2.35.0) | |||||
heroku-api (~> 0.3.7) | |||||
launchy (>= 0.3.2) | |||||
netrc (~> 0.7.7) | |||||
rest-client (~> 1.6.1) | |||||
rubyzip | |||||
heroku-api (0.3.8) | |||||
excon (~> 0.16.10) | |||||
heroku_delayed_job_autoscale (0.0.7) | |||||
delayed_job (>= 2.1) | |||||
heroku (>= 1) | |||||
rush (>= 0.6) | |||||
hike (1.2.1) | hike (1.2.1) | ||||
htmlentities (4.3.1) | htmlentities (4.3.1) | ||||
httpauth (0.2.0) | httpauth (0.2.0) | ||||
@@ -88,6 +103,8 @@ GEM | |||||
jwt (0.1.5) | jwt (0.1.5) | ||||
multi_json (>= 1.0) | multi_json (>= 1.0) | ||||
kgio (2.8.0) | kgio (2.8.0) | ||||
launchy (2.2.0) | |||||
addressable (~> 2.3) | |||||
loofah (1.0.0) | loofah (1.0.0) | ||||
nokogiri (>= 1.3.3) | nokogiri (>= 1.3.3) | ||||
mail (2.4.4) | mail (2.4.4) | ||||
@@ -100,6 +117,7 @@ GEM | |||||
mime-types (1.21) | mime-types (1.21) | ||||
multi_json (1.6.1) | multi_json (1.6.1) | ||||
multipart-post (1.1.5) | multipart-post (1.1.5) | ||||
netrc (0.7.7) | |||||
nokogiri (1.4.7) | nokogiri (1.4.7) | ||||
oauth (0.4.7) | oauth (0.4.7) | ||||
oauth2 (0.8.1) | oauth2 (0.8.1) | ||||
@@ -138,6 +156,11 @@ GEM | |||||
rake (10.0.3) | rake (10.0.3) | ||||
rdoc (3.12.1) | rdoc (3.12.1) | ||||
json (~> 1.4) | json (~> 1.4) | ||||
rest-client (1.6.7) | |||||
mime-types (>= 1.16) | |||||
rubyzip (0.9.9) | |||||
rush (0.6.8) | |||||
session | |||||
sass (3.2.5) | sass (3.2.5) | ||||
sass-rails (3.2.6) | sass-rails (3.2.6) | ||||
railties (~> 3.2.0) | railties (~> 3.2.0) | ||||
@@ -145,6 +168,8 @@ GEM | |||||
tilt (~> 1.3) | tilt (~> 1.3) | ||||
sax-machine (0.0.20) | sax-machine (0.0.20) | ||||
nokogiri (> 0.0.0) | nokogiri (> 0.0.0) | ||||
session (3.1.0) | |||||
fattr | |||||
sorcery (0.8.1) | sorcery (0.8.1) | ||||
bcrypt-ruby (~> 3.0.0) | bcrypt-ruby (~> 3.0.0) | ||||
oauth (~> 0.4.4) | oauth (~> 0.4.4) | ||||
@@ -181,6 +206,7 @@ DEPENDENCIES | |||||
delayed_job_active_record | delayed_job_active_record | ||||
feedzirra | feedzirra | ||||
haml-rails | haml-rails | ||||
heroku_delayed_job_autoscale | |||||
htmlentities | htmlentities | ||||
jquery-rails | jquery-rails | ||||
meta_request | meta_request | ||||
@@ -1,4 +1,5 @@ | |||||
class Feed < ActiveRecord::Base | class Feed < ActiveRecord::Base | ||||
include HerokuDelayedJobAutoscale::Autoscale | |||||
has_many :posts, :dependent => :destroy | has_many :posts, :dependent => :destroy | ||||
has_and_belongs_to_many :layers | has_and_belongs_to_many :layers | ||||
attr_accessible :title, :url, :description, :generator, :last_fetched, :feed_url | attr_accessible :title, :url, :description, :generator, :last_fetched, :feed_url | ||||