Sha256: 397bb747f59fdc140113768187e702555be0fe90bc95141258e69082e6f53f8d

Contents?: true

Size: 362 Bytes

Versions: 23

Compression:

Stored size: 362 Bytes

Contents

namespace :google_safe_browsing do
  desc "Performs an Update"
  task :update => :environment do
    GoogleSafeBrowsing::APIv2.update
  end

  desc "Enqueues an Update via Rescheduler, which will reschedule another Update the appropriate number of seconds in the future"
  task :update_and_reschedule => :environment do
    GoogleSafeBrowsing.kick_off
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
google_safe_browsing-0.6.5 lib/tasks/google_safe_browsing_tasks.rake
google_safe_browsing-0.6.4 lib/tasks/google_safe_browsing_tasks.rake
google_safe_browsing-0.6.3 lib/tasks/google_safe_browsing_tasks.rake
google_safe_browsing-0.6.2 lib/tasks/google_safe_browsing_tasks.rake
google_safe_browsing-0.6.1 lib/tasks/google_safe_browsing_tasks.rake
google_safe_browsing-0.6.0 lib/tasks/google_safe_browsing_tasks.rake
google_safe_browsing-0.5.1 lib/tasks/google_safe_browsing_tasks.rake
google_safe_browsing-0.5.0 lib/tasks/google_safe_browsing_tasks.rake
google_safe_browsing-0.4.2 lib/tasks/google_safe_browsing_tasks.rake
google_safe_browsing-0.4.1 lib/tasks/google_safe_browsing_tasks.rake
google_safe_browsing-0.4.0 lib/tasks/google_safe_browsing_tasks.rake
google_safe_browsing-0.3.9 lib/tasks/google_safe_browsing_tasks.rake
google_safe_browsing-0.3.8 lib/tasks/google_safe_browsing_tasks.rake
google_safe_browsing-0.3.7 lib/tasks/google_safe_browsing_tasks.rake
google_safe_browsing-0.3.6 lib/tasks/google_safe_browsing_tasks.rake
google_safe_browsing-0.3.5 lib/tasks/google_safe_browsing_tasks.rake
google_safe_browsing-0.3.4 lib/tasks/google_safe_browsing_tasks.rake
google_safe_browsing-0.3.3 lib/tasks/google_safe_browsing_tasks.rake
google_safe_browsing-0.3.2 lib/tasks/google_safe_browsing_tasks.rake
google_safe_browsing-0.3.1 lib/tasks/google_safe_browsing_tasks.rake