therubyracer 0.8.0 → 0.8.1.pre1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of therubyracer might be problematic. Click here for more details.
- data/.gitignore +14 -0
- data/.gitmodules +3 -0
- data/.rspec +1 -0
- data/Changelog.md +165 -0
- data/Gemfile +1 -0
- data/README.md +154 -0
- data/Rakefile +13 -38
- data/ext/v8/upstream/2.3.3/.gitignore +26 -0
- data/lib/v8/context.rb +3 -2
- data/lib/v8/error.rb +3 -3
- data/lib/v8/portal.rb +3 -1
- data/lib/v8/version.rb +3 -0
- data/lib/v8.rb +1 -1
- data/spec/redjs/jsapi_spec.rb +8 -1
- data/therubyracer.gemspec +17 -24
- metadata +107 -82
- data/Doxyfile +0 -1514
- data/History.txt +0 -169
- data/README.rdoc +0 -143
- data/contrib/v8/jasmine/context.rb +0 -13
- data/contrib/v8/jasmine/jasmine-0.10.3.js +0 -2331
- data/contrib/v8/jasmine/window.js +0 -11
- data/contrib/v8/jasmine.rb +0 -22
- data/docs/data_conversion.txt +0 -18
- data/ext/v8/upstream/2.3.3/tools/test.py +0 -1370
- data/script/console +0 -10
- data/script/destroy +0 -14
- data/script/generate +0 -14
- data/spec/contrib/v8/jasmine_spec.rb +0 -38
- data/tasks/compile.rake +0 -11
data/contrib/v8/jasmine.rb
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
require 'v8'
|
2
|
-
require 'v8/jasmine/context'
|
3
|
-
module V8
|
4
|
-
module Jasmine
|
5
|
-
FILENAME = File.join(File.dirname(__FILE__), "jasmine",Dir.new(File.join(File.dirname(__FILE__), "jasmine")).find {|f| f =~ /(\d+.\d+\.\d+)\.js$/})
|
6
|
-
VERSION = $1
|
7
|
-
SOURCE = File.read(FILENAME)
|
8
|
-
|
9
|
-
class << self
|
10
|
-
def included(mod)
|
11
|
-
raise ScriptError, "#{self} cannot be included. Use cxt.extend(V8::Jasmine)"
|
12
|
-
end
|
13
|
-
|
14
|
-
def extended(cxt)
|
15
|
-
raise ScriptError, "#{self} can only extend a V8::Context" unless cxt.kind_of?(V8::Context)
|
16
|
-
cxt.load(File.join(File.dirname(__FILE__), "jasmine", "window.js"))
|
17
|
-
cxt.load(FILENAME)
|
18
|
-
end
|
19
|
-
end
|
20
|
-
end
|
21
|
-
end
|
22
|
-
|
data/docs/data_conversion.txt
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
Short list of types that a receiver should handle:
|
2
|
-
|
3
|
-
type expected method
|
4
|
-
-------------------------------
|
5
|
-
<null> pushNull
|
6
|
-
boolean pushBool
|
7
|
-
int64 pushInt (overloaded on 64-bit int)
|
8
|
-
double pushDouble
|
9
|
-
const std::string& pushString
|
10
|
-
??? pushUndefined
|
11
|
-
|
12
|
-
int32 pushInt (overloaded on 32-bit int)
|
13
|
-
|
14
|
-
for lack of any better ideas have these functions return true on
|
15
|
-
success and false on error
|
16
|
-
|
17
|
-
--
|
18
|
-
should add more later.
|