Skip to content

Commit

Permalink
Add scheduler task to import leaky gems from official repo into the r…
Browse files Browse the repository at this point in the history
…ubymem.com database
  • Loading branch information
bronzdoc committed Sep 22, 2019
1 parent 56e5d67 commit 46eb4aa
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/tasks/scheduler.rake
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
desc "Import leaky gems from https://github.com/rubymem/ruby-mem-advisory-db "
namespace :rubymem do
task :import => :environment do
puts "Importing rubymem leaky gems database..."
RubymemImporter.new.import!
puts "done."
end
end

0 comments on commit 46eb4aa

Please sign in to comment.