Sha256: 475ff940729d815ad04d1caf8727108a0b3600f86d101c0e4afbe2417a14a8d2

Contents?: true

Size: 669 Bytes

Versions: 21

Compression:

Stored size: 669 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"
      load "jasmine/tasks/jasmine_rails3.rake"
    end
  end
end

Version data entries

21 entries across 21 versions & 3 rubygems

Version Path
rally-jasmine-1.2.0.18 lib/jasmine/railtie.rb
rally-jasmine-1.2.0.12 lib/jasmine/railtie.rb
rally-jasmine-1.2.0.11 lib/jasmine/railtie.rb
jasmine-multi_json-1.3.2.1 lib/jasmine/railtie.rb
jasmine-1.3.2 lib/jasmine/railtie.rb
rally-jasmine-1.2.0.10 lib/jasmine/railtie.rb
rally-jasmine-1.2.0.8 lib/jasmine/railtie.rb
jasmine-multi_json-1.3.1.1 lib/jasmine/railtie.rb
jasmine-1.3.1 lib/jasmine/railtie.rb
jasmine-1.3.0 lib/jasmine/railtie.rb
rally-jasmine-1.2.0.7 lib/jasmine/railtie.rb
rally-jasmine-1.2.0.6 lib/jasmine/railtie.rb
rally-jasmine-1.2.0.5 lib/jasmine/railtie.rb
rally-jasmine-1.2.0.4 lib/jasmine/railtie.rb
rally-jasmine-1.2.0.3 lib/jasmine/railtie.rb
rally-jasmine-1.2.0.2 lib/jasmine/railtie.rb
rally-jasmine-1.2.0.1 lib/jasmine/railtie.rb
rally-jasmine-1.2.0 lib/jasmine/railtie.rb
jasmine-1.2.1 lib/jasmine/railtie.rb
jasmine-1.2.0 lib/jasmine/railtie.rb