+sunny / fixing the multi_json octal number error

This commit is contained in:
Puneet Goyal 2012-04-18 11:46:40 +05:30
parent 724541a2cb
commit 4e1ba551e0
5 changed files with 10 additions and 10 deletions

2
.gitignore vendored
View File

@ -16,3 +16,5 @@ _site/
jhw.*.html
coverage/
tmp/
.rvmrc
.idea/*

View File

@ -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'

View File

@ -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

View File

@ -1,5 +1,5 @@
module Jasmine
module Headless
VERSION = "0.9.0.rc1"
VERSION = "0.9.0.rc1.patched"
end
end

View File

@ -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