Este site funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Acessar
adrianshort
/
apollo
espelhamento de
https://github.com/adrianshort/apollo.git
Observar
1
Favorito
0
Fork
0
Código
Issues
0
Versões
0
Wiki
Atividade
Ver código fonte
Add heroku_delayed_job_autoscale
master
Adrian Short
11 anos atrás
pai
9fb2cecf67
commit
22f1a06ebb
3 arquivos alterados
com
28 adições
e
0 exclusões
Visão dividida
Opções de diferenças
Mostrar estatísticas
Baixar arquivo de patch
Baixar arquivo de diferenças
+1
-0
Gemfile
+26
-0
Gemfile.lock
+1
-0
app/models/feed.rb
+ 1
- 0
Gemfile
Ver arquivo
@@ -37,6 +37,7 @@ gem 'activerecord-postgresql-adapter'
gem 'pg'
gem 'delayed_job_active_record'
gem 'daemons'
gem 'heroku_delayed_job_autoscale'
group :production do
gem 'unicorn'
+ 26
- 0
Gemfile.lock
Ver arquivo
@@ -30,6 +30,7 @@ GEM
activesupport (3.2.12)
i18n (~> 0.6)
multi_json (~> 1.0)
addressable (2.3.3)
arel (3.0.2)
bcrypt-ruby (3.0.1)
better_errors (0.6.0)
@@ -55,10 +56,12 @@ GEM
activerecord (>= 2.1.0, < 4)
delayed_job (~> 3.0)
erubis (2.7.0)
excon (0.16.10)
execjs (1.4.0)
multi_json (~> 1.0)
faraday (0.8.5)
multipart-post (~> 1.1)
fattr (2.2.1)
feedzirra (0.0.31)
activesupport (>= 3.0.8)
builder (~> 3.0.0)
@@ -76,6 +79,18 @@ GEM
activesupport (>= 3.1, < 4.1)
haml (>= 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)
htmlentities (4.3.1)
httpauth (0.2.0)
@@ -88,6 +103,8 @@ GEM
jwt (0.1.5)
multi_json (>= 1.0)
kgio (2.8.0)
launchy (2.2.0)
addressable (~> 2.3)
loofah (1.0.0)
nokogiri (>= 1.3.3)
mail (2.4.4)
@@ -100,6 +117,7 @@ GEM
mime-types (1.21)
multi_json (1.6.1)
multipart-post (1.1.5)
netrc (0.7.7)
nokogiri (1.4.7)
oauth (0.4.7)
oauth2 (0.8.1)
@@ -138,6 +156,11 @@ GEM
rake (10.0.3)
rdoc (3.12.1)
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-rails (3.2.6)
railties (~> 3.2.0)
@@ -145,6 +168,8 @@ GEM
tilt (~> 1.3)
sax-machine (0.0.20)
nokogiri (> 0.0.0)
session (3.1.0)
fattr
sorcery (0.8.1)
bcrypt-ruby (~> 3.0.0)
oauth (~> 0.4.4)
@@ -181,6 +206,7 @@ DEPENDENCIES
delayed_job_active_record
feedzirra
haml-rails
heroku_delayed_job_autoscale
htmlentities
jquery-rails
meta_request
+ 1
- 0
app/models/feed.rb
Ver arquivo
@@ -1,4 +1,5 @@
class Feed < ActiveRecord::Base
include HerokuDelayedJobAutoscale::Autoscale
has_many :posts, :dependent => :destroy
has_and_belongs_to_many :layers
attr_accessible :title, :url, :description, :generator, :last_fetched, :feed_url
Escrever
Pré-visualização
Carregando…
Cancelar
Salvar