Sha256: a25e3be6800aa4da07ccd9574b1552868d460ff056228091b2a6212d420e2cbb

Contents?: true

Size: 428 Bytes

Versions: 16

Compression:

Stored size: 428 Bytes

Contents

namespace :phocoder_rails do
  desc "Update pending EncodableJobs"
  task :update_pending_jobs => :environment do
    e = EncodableJob.first
    e.encodable # try to load phocoder config
    e.encodable.class.read_phocodable_configuration
    #puts "api key = #{Phocoder.api_key}"
    #puts "Rails.env = #{Rails.env}"
    puts "Updating #{EncodableJob.pending.count} EncodableJobs"
    EncodableJob.update_pending_jobs
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
phocoder-rails-0.0.58 lib/tasks/phocoder_rails/phocoder_rails.rake
phocoder-rails-0.0.57 lib/tasks/phocoder_rails/phocoder_rails.rake
phocoder-rails-0.0.56 lib/tasks/phocoder_rails/phocoder_rails.rake
phocoder-rails-0.0.55 lib/tasks/phocoder_rails/phocoder_rails.rake
phocoder-rails-0.0.54 lib/tasks/phocoder_rails/phocoder_rails.rake
phocoder-rails-0.0.53 lib/tasks/phocoder_rails/phocoder_rails.rake
phocoder-rails-0.0.52 lib/tasks/phocoder_rails/phocoder_rails.rake
phocoder-rails-0.0.51 lib/tasks/phocoder_rails/phocoder_rails.rake
phocoder-rails-0.0.50 lib/tasks/phocoder_rails/phocoder_rails.rake
phocoder-rails-0.0.49 lib/tasks/phocoder_rails/phocoder_rails.rake
phocoder-rails-0.0.48 lib/tasks/phocoder_rails/phocoder_rails.rake
phocoder-rails-0.0.47 lib/tasks/phocoder_rails/phocoder_rails.rake
phocoder-rails-0.0.46 lib/tasks/phocoder_rails/phocoder_rails.rake
phocoder-rails-0.0.45 lib/tasks/phocoder_rails/phocoder_rails.rake
phocoder-rails-0.0.44 lib/tasks/phocoder_rails/phocoder_rails.rake
phocoder-rails-0.0.43 lib/tasks/phocoder_rails/phocoder_rails.rake