Compare commits

..

4 Commits

Author SHA1 Message Date
John Bintz
f7384d684c It's been fun. Use Karma instead. 2014-05-14 15:34:21 -04:00
John Bintz
1055dc1016 Merge pull request #177 from jeremy-brenner/master
Qt 4.8 fix
2013-03-15 10:59:23 -07:00
Jeremy Brenner
c1e786f3c5 Added compiler directive to include getopt.h on qt versions >= 4.8 2013-03-15 11:23:50 -05:00
John Bintz
aa1d989a90 message about looking for new maintainer 2012-07-30 11:15:32 -04:00
6 changed files with 8 additions and 26 deletions

View File

@ -23,7 +23,7 @@ gem 'mocha'
gem 'cucumber' gem 'cucumber'
gem 'jquery-rails', '> 1.0' gem 'jquery-rails', '~> 1.0.0'
gem 'ejs' gem 'ejs'
gem 'guard-jasmine-headless-webkit', :git => 'git://github.com/johnbintz/guard-jasmine-headless-webkit.git' gem 'guard-jasmine-headless-webkit', :git => 'git://github.com/johnbintz/guard-jasmine-headless-webkit.git'

View File

@ -1,3 +1,5 @@
_This project is dead. You should use [Karma](http://karma-runner.github.io/) instead. I do._
# Jasmine Headless WebKit runner # Jasmine Headless WebKit runner
Run your specs at sonic boom speed! No pesky reload button or page rendering slowdowns! Run your specs at sonic boom speed! No pesky reload button or page rendering slowdowns!

View File

@ -23,6 +23,10 @@
#include "Runner.h" #include "Runner.h"
#if QT_VERSION >= QT_VERSION_CHECK(4, 8, 0)
#include <getopt.h>
#endif
#if QT_VERSION < QT_VERSION_CHECK(4, 7, 0) #if QT_VERSION < QT_VERSION_CHECK(4, 7, 0)
#error Use Qt 4.7 or later version #error Use Qt 4.7 or later version
#endif #endif

View File

@ -1,5 +1,3 @@
require 'rainbow'
module Jasmine::Headless::FileChecker module Jasmine::Headless::FileChecker
def excluded_formats def excluded_formats
::Jasmine::Headless::EXCLUDED_FORMATS ::Jasmine::Headless::EXCLUDED_FORMATS

View File

@ -39,10 +39,6 @@ module Jasmine::Headless
@sprockets_environment = nil @sprockets_environment = nil
end end
def sprockets_environment
@sprockets_environment ||= Sprockets::Environment.new
end
def registered_engines def registered_engines
@registered_engines ||= {} @registered_engines ||= {}
end end
@ -142,7 +138,7 @@ module Jasmine::Headless
def sprockets_environment def sprockets_environment
return @sprockets_environment if @sprockets_environment return @sprockets_environment if @sprockets_environment
@sprockets_environment = self.class.sprockets_environment #|| Sprockets::Environment.new @sprockets_environment = Sprockets::Environment.new
search_paths.each { |path| @sprockets_environment.append_path(path) } search_paths.each { |path| @sprockets_environment.append_path(path) }
@sprockets_environment.unregister_postprocessor('application/javascript', Sprockets::SafetyColons) @sprockets_environment.unregister_postprocessor('application/javascript', Sprockets::SafetyColons)
@ -330,10 +326,6 @@ end
module Jasmine::Headless module Jasmine::Headless
extend self extend self
def sprockets_environment
Jasmine::Headless::FilesList.sprockets_environment
end
def register_engine(file_extension, template_class) def register_engine(file_extension, template_class)
Jasmine::Headless::FilesList.register_engine(file_extension, template_class) Jasmine::Headless::FilesList.register_engine(file_extension, template_class)
end end

View File

@ -189,20 +189,6 @@ describe Jasmine::Headless::FilesList do
end end
end end
describe "#sprockets_environment" do
before(:each) do
Jasmine::Headless::FilesList.reset!
end
it "should return shared class-level sprockets environment that will be used when tests are run" do
processor = Object.new
described_class.sprockets_environment.register_postprocessor "application/javascript", processor
described_class.new.sprockets_environment.postprocessors["application/javascript"].should include(processor)
end
end
end end
end end