diff --git a/.gitignore b/.gitignore index 54583c8..a4c94d1 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,5 @@ _site/ jhw.*.html coverage/ tmp/ +.rvmrc +.idea/* \ No newline at end of file diff --git a/Gemfile b/Gemfile index b736b0d..6d7c519 100644 --- a/Gemfile +++ b/Gemfile @@ -14,9 +14,9 @@ gem 'guard-cucumber' require 'rbconfig' case RbConfig::CONFIG['host_os'] -when /darwin/ -when /linux/ - gem 'libnotify' + when /darwin/ + when /linux/ + gem 'libnotify' end gem 'mocha' @@ -27,4 +27,3 @@ gem 'jquery-rails', '~> 1.0.0' gem 'ejs' gem 'guard-jasmine-headless-webkit', :git => 'git://github.com/johnbintz/guard-jasmine-headless-webkit.git' - diff --git a/jasmine-headless-webkit.gemspec b/jasmine-headless-webkit.gemspec index 451e58c..49f256c 100644 --- a/jasmine-headless-webkit.gemspec +++ b/jasmine-headless-webkit.gemspec @@ -17,7 +17,7 @@ Gem::Specification.new do |s| s.extensions = `git ls-files -- ext/**/extconf.rb`.split("\n") s.files = `git ls-files`.split("\n") + Dir['jasmine/lib/*'] s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") - s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } + s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) } s.require_paths = ["lib"] s.add_runtime_dependency 'jasmine-core' @@ -27,4 +27,3 @@ Gem::Specification.new do |s| s.add_runtime_dependency 'sprockets' s.add_runtime_dependency 'sprockets-vendor_gems' end - diff --git a/lib/jasmine/headless/version.rb b/lib/jasmine/headless/version.rb index 437ce0e..4b708ce 100644 --- a/lib/jasmine/headless/version.rb +++ b/lib/jasmine/headless/version.rb @@ -1,5 +1,5 @@ module Jasmine module Headless - VERSION = "0.9.0.rc1" + VERSION = "0.9.0.rc1.patched" end end diff --git a/vendor/assets/javascripts/intense.coffee b/vendor/assets/javascripts/intense.coffee index db00e5c..0e6abfd 100644 --- a/vendor/assets/javascripts/intense.coffee +++ b/vendor/assets/javascripts/intense.coffee @@ -11,16 +11,16 @@ window.Intense = { methods: foreground: (color) -> if Intense.useColors - "\033[3#{Intense.colors[color]}m#{this}\033[0m" + "\x33[3#{Intense.colors[color]}m#{this}\x33[0m" else this bright: -> if Intense.useColors - "\033[1m#{this}\033[0m" + "\x33[1m#{this}\x33[0m" else this useColors: true - moveBack: (count = 1) -> "\033[#{count}D" + moveBack: (count = 1) -> "\x33[#{count}D" } for method, code of Intense.methods