Rakefile in scheduled_job-0.0.8 vs Rakefile in scheduled_job-0.0.9
- old
+ new
@@ -1,6 +1,16 @@
require "bundler/gem_tasks"
require 'rspec/core/rake_task'
+require_relative 'db/connect'
+require 'scheduled_job'
+
RSpec::Core::RakeTask.new('spec')
+Dir[File.dirname(__FILE__) + '/lib/tasks/**/*.rake'].each { |file| import file }
task :default => :spec
+
+desc "console"
+task :console => :dbconnect do
+ require 'pry'
+ binding.pry # rubocop:disable Lint/Debugger
+end