Sha256: 6cd05fbc4f33c7a21eb625ace2441bf5890cab15192b90b56b61ad3935baf7a1
Contents?: true
Size: 621 Bytes
Versions: 8
Compression:
Stored size: 621 Bytes
Contents
require "rails/railtie" module Jasmine class Railtie < Rails::Railtie config.before_configuration do old_jasmine_rakefile = ::Rails.root.join('lib', 'tasks', 'jasmine.rake') if old_jasmine_rakefile.exist? && !ENV["USE_JASMINE_RAKE"] puts %Q{ You no longer need to have jasmine.rake in your project, as it is now automatically loaded from the Jasmine gem. To silence this warning, set "USE_JASMINE_RAKE=true" in your environment or remove jasmine.rake. } end end rake_tasks do load "jasmine/tasks/jasmine.rake" end end end
Version data entries
8 entries across 8 versions & 2 rubygems