remove unused gem
This commit is contained in:
parent
a7ba0eae18
commit
5e65c94ab6
1
Gemfile
1
Gemfile
@ -20,7 +20,6 @@ gem 'dynamic_form'
|
|||||||
gem 'geokit'
|
gem 'geokit'
|
||||||
gem 'redis'
|
gem 'redis'
|
||||||
gem 'resque-scheduler', '2.3.1', :require => 'resque_scheduler'
|
gem 'resque-scheduler', '2.3.1', :require => 'resque_scheduler'
|
||||||
gem 'resque-timeout'
|
|
||||||
gem 'daemons'
|
gem 'daemons'
|
||||||
#gem 'db2fog' (not compatible with Rails 4, see https://github.com/hakanensari/db2fog for Rails 4 version)
|
#gem 'db2fog' (not compatible with Rails 4, see https://github.com/hakanensari/db2fog for Rails 4 version)
|
||||||
gem 'simplificator-rwebthumb', :git => "git://github.com/simplificator/rwebthumb.git"
|
gem 'simplificator-rwebthumb', :git => "git://github.com/simplificator/rwebthumb.git"
|
||||||
|
@ -253,8 +253,6 @@ GEM
|
|||||||
redis (>= 3.0.0)
|
redis (>= 3.0.0)
|
||||||
resque (~> 1.25)
|
resque (~> 1.25)
|
||||||
rufus-scheduler (~> 2.0)
|
rufus-scheduler (~> 2.0)
|
||||||
resque-timeout (1.0.0)
|
|
||||||
resque (~> 1.0)
|
|
||||||
rspec (2.14.1)
|
rspec (2.14.1)
|
||||||
rspec-core (~> 2.14.0)
|
rspec-core (~> 2.14.0)
|
||||||
rspec-expectations (~> 2.14.0)
|
rspec-expectations (~> 2.14.0)
|
||||||
@ -378,7 +376,6 @@ DEPENDENCIES
|
|||||||
rails_autolink
|
rails_autolink
|
||||||
redis
|
redis
|
||||||
resque-scheduler (= 2.3.1)
|
resque-scheduler (= 2.3.1)
|
||||||
resque-timeout
|
|
||||||
rspec-rails (~> 2.14.1)
|
rspec-rails (~> 2.14.1)
|
||||||
sass-rails (= 4.0.2)
|
sass-rails (= 4.0.2)
|
||||||
simplificator-rwebthumb!
|
simplificator-rwebthumb!
|
||||||
|
@ -2,6 +2,7 @@ class ClearChannelJob
|
|||||||
@queue = :clear_channel
|
@queue = :clear_channel
|
||||||
|
|
||||||
def self.perform(channel_id)
|
def self.perform(channel_id)
|
||||||
|
# delete feeds
|
||||||
Feed.delete_in_batches(channel_id)
|
Feed.delete_in_batches(channel_id)
|
||||||
DailyFeed.delete_all(["channel_id = ?", channel_id])
|
DailyFeed.delete_all(["channel_id = ?", channel_id])
|
||||||
if channel = Channel.find(channel_id)
|
if channel = Channel.find(channel_id)
|
||||||
|
Loading…
Reference in New Issue
Block a user