therubyracer 0.4.0
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/Doxyfile +1514 -0
- data/History.txt +4 -0
- data/Manifest.txt +48 -0
- data/README.rdoc +49 -0
- data/Rakefile +36 -0
- data/docs/data_conversion.txt +18 -0
- data/ext/v8/convert_ruby.cpp +8 -0
- data/ext/v8/convert_ruby.h +106 -0
- data/ext/v8/convert_string.cpp +10 -0
- data/ext/v8/convert_string.h +73 -0
- data/ext/v8/convert_v8.cpp +9 -0
- data/ext/v8/convert_v8.h +113 -0
- data/ext/v8/converters.cpp +4 -0
- data/ext/v8/converters.h +17 -0
- data/ext/v8/extconf.rb +25 -0
- data/ext/v8/v8.cpp +70 -0
- data/ext/v8/v8_cxt.cpp +55 -0
- data/ext/v8/v8_cxt.h +16 -0
- data/ext/v8/v8_func.cpp +10 -0
- data/ext/v8/v8_func.h +11 -0
- data/ext/v8/v8_msg.cpp +11 -0
- data/ext/v8/v8_msg.h +9 -0
- data/ext/v8/v8_obj.cpp +29 -0
- data/ext/v8/v8_obj.h +11 -0
- data/ext/v8/v8_ref.cpp +27 -0
- data/ext/v8/v8_ref.h +31 -0
- data/ext/v8/v8_script.cpp +21 -0
- data/ext/v8/v8_script.h +8 -0
- data/ext/v8/v8_standalone.cpp +70 -0
- data/ext/v8/v8_standalone.h +31 -0
- data/ext/v8/v8_str.cpp +17 -0
- data/ext/v8/v8_str.h +9 -0
- data/ext/v8/v8_template.cpp +55 -0
- data/ext/v8/v8_template.h +11 -0
- data/lib/v8.rb +10 -0
- data/lib/v8/context.rb +41 -0
- data/lib/v8/object.rb +12 -0
- data/lib/v8/to.rb +25 -0
- data/script/console +10 -0
- data/script/destroy +14 -0
- data/script/generate +14 -0
- data/spec/redjs/README.txt +8 -0
- data/spec/redjs/jsapi_spec.rb +376 -0
- data/spec/redjs_helper.rb +3 -0
- data/spec/spec.opts +1 -0
- data/spec/spec_helper.rb +14 -0
- data/tasks/rspec.rake +21 -0
- data/therubyracer.gemspec +34 -0
- metadata +118 -0
data/spec/spec.opts
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
--colour
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
begin
|
2
|
+
require 'spec'
|
3
|
+
rescue LoadError
|
4
|
+
require 'rubygems' unless ENV['NO_RUBYGEMS']
|
5
|
+
gem 'rspec'
|
6
|
+
require 'spec'
|
7
|
+
end
|
8
|
+
|
9
|
+
#
|
10
|
+
# $: is the load path $LOAD_PATH
|
11
|
+
#
|
12
|
+
$:.unshift(File.dirname(__FILE__) + '/../lib')
|
13
|
+
$:.unshift(File.dirname(__FILE__) + '/..')
|
14
|
+
require 'v8'
|
data/tasks/rspec.rake
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
begin
|
2
|
+
require 'spec'
|
3
|
+
rescue LoadError
|
4
|
+
require 'rubygems' unless ENV['NO_RUBYGEMS']
|
5
|
+
require 'spec'
|
6
|
+
end
|
7
|
+
begin
|
8
|
+
require 'spec/rake/spectask'
|
9
|
+
rescue LoadError
|
10
|
+
puts <<-EOS
|
11
|
+
To use rspec for testing you must install rspec gem:
|
12
|
+
gem install rspec
|
13
|
+
EOS
|
14
|
+
exit(0)
|
15
|
+
end
|
16
|
+
|
17
|
+
desc "Run the specs under spec/models"
|
18
|
+
Spec::Rake::SpecTask.new do |t|
|
19
|
+
t.spec_opts = ['--options', "spec/spec.opts"]
|
20
|
+
t.spec_files = FileList['spec/**/*_spec.rb']
|
21
|
+
end
|
@@ -0,0 +1,34 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
|
3
|
+
Gem::Specification.new do |s|
|
4
|
+
s.name = %q{therubyracer}
|
5
|
+
s.version = "0.4.0"
|
6
|
+
|
7
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
|
+
s.authors = ["Charles Lowell", "Bill Robertson"]
|
9
|
+
s.date = %q{2009-12-22}
|
10
|
+
s.description = %q{Embed the V8 Javascript interpreter into Ruby.}
|
11
|
+
s.email = ["cowboyd@thefrontside.net", "billrobertson42@gmail.com"]
|
12
|
+
s.extensions = ["ext/v8/extconf.rb"]
|
13
|
+
s.extra_rdoc_files = ["History.txt", "Manifest.txt", "docs/data_conversion.txt"]
|
14
|
+
s.files = ["Doxyfile", "History.txt", "Manifest.txt", "README.rdoc", "Rakefile", "docs/data_conversion.txt", "ext/v8/convert_ruby.cpp", "ext/v8/convert_ruby.h", "ext/v8/convert_string.cpp", "ext/v8/convert_string.h", "ext/v8/convert_v8.cpp", "ext/v8/convert_v8.h", "ext/v8/converters.cpp", "ext/v8/converters.h", "ext/v8/extconf.rb", "ext/v8/v8.cpp", "ext/v8/v8_cxt.cpp", "ext/v8/v8_cxt.h", "ext/v8/v8_func.cpp", "ext/v8/v8_func.h", "ext/v8/v8_msg.cpp", "ext/v8/v8_msg.h", "ext/v8/v8_obj.cpp", "ext/v8/v8_obj.h", "ext/v8/v8_ref.cpp", "ext/v8/v8_ref.h", "ext/v8/v8_script.cpp", "ext/v8/v8_script.h", "ext/v8/v8_standalone.cpp", "ext/v8/v8_standalone.h", "ext/v8/v8_str.cpp", "ext/v8/v8_str.h", "ext/v8/v8_template.cpp", "ext/v8/v8_template.h", "lib/v8.rb", "lib/v8/context.rb", "lib/v8/object.rb", "lib/v8/to.rb", "script/console", "script/destroy", "script/generate", "spec/redjs/README.txt", "spec/redjs/jsapi_spec.rb", "spec/redjs_helper.rb", "spec/spec.opts", "spec/spec_helper.rb", "tasks/rspec.rake", "therubyracer.gemspec"]
|
15
|
+
s.homepage = %q{http://github.com/cowboyd/therubyracer}
|
16
|
+
s.rdoc_options = ["--main", "README.rdoc"]
|
17
|
+
s.require_paths = ["lib", "ext"]
|
18
|
+
s.rubyforge_project = %q{therubyracer}
|
19
|
+
s.rubygems_version = %q{1.3.5}
|
20
|
+
s.summary = %q{Embed the V8 Javascript interpreter into Ruby.}
|
21
|
+
|
22
|
+
if s.respond_to? :specification_version then
|
23
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
24
|
+
s.specification_version = 3
|
25
|
+
|
26
|
+
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
27
|
+
s.add_development_dependency(%q<hoe>, [">= 2.3.3"])
|
28
|
+
else
|
29
|
+
s.add_dependency(%q<hoe>, [">= 2.3.3"])
|
30
|
+
end
|
31
|
+
else
|
32
|
+
s.add_dependency(%q<hoe>, [">= 2.3.3"])
|
33
|
+
end
|
34
|
+
end
|
metadata
ADDED
@@ -0,0 +1,118 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: therubyracer
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.4.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Charles Lowell
|
8
|
+
- Bill Robertson
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
|
13
|
+
date: 2009-12-22 00:00:00 +02:00
|
14
|
+
default_executable:
|
15
|
+
dependencies:
|
16
|
+
- !ruby/object:Gem::Dependency
|
17
|
+
name: hoe
|
18
|
+
type: :development
|
19
|
+
version_requirement:
|
20
|
+
version_requirements: !ruby/object:Gem::Requirement
|
21
|
+
requirements:
|
22
|
+
- - ">="
|
23
|
+
- !ruby/object:Gem::Version
|
24
|
+
version: 2.3.3
|
25
|
+
version:
|
26
|
+
description: Embed the V8 Javascript interpreter into Ruby.
|
27
|
+
email:
|
28
|
+
- cowboyd@thefrontside.net
|
29
|
+
- billrobertson42@gmail.com
|
30
|
+
executables: []
|
31
|
+
|
32
|
+
extensions:
|
33
|
+
- ext/v8/extconf.rb
|
34
|
+
extra_rdoc_files:
|
35
|
+
- History.txt
|
36
|
+
- Manifest.txt
|
37
|
+
- docs/data_conversion.txt
|
38
|
+
files:
|
39
|
+
- Doxyfile
|
40
|
+
- History.txt
|
41
|
+
- Manifest.txt
|
42
|
+
- README.rdoc
|
43
|
+
- Rakefile
|
44
|
+
- docs/data_conversion.txt
|
45
|
+
- ext/v8/convert_ruby.cpp
|
46
|
+
- ext/v8/convert_ruby.h
|
47
|
+
- ext/v8/convert_string.cpp
|
48
|
+
- ext/v8/convert_string.h
|
49
|
+
- ext/v8/convert_v8.cpp
|
50
|
+
- ext/v8/convert_v8.h
|
51
|
+
- ext/v8/converters.cpp
|
52
|
+
- ext/v8/converters.h
|
53
|
+
- ext/v8/extconf.rb
|
54
|
+
- ext/v8/v8.cpp
|
55
|
+
- ext/v8/v8_cxt.cpp
|
56
|
+
- ext/v8/v8_cxt.h
|
57
|
+
- ext/v8/v8_func.cpp
|
58
|
+
- ext/v8/v8_func.h
|
59
|
+
- ext/v8/v8_msg.cpp
|
60
|
+
- ext/v8/v8_msg.h
|
61
|
+
- ext/v8/v8_obj.cpp
|
62
|
+
- ext/v8/v8_obj.h
|
63
|
+
- ext/v8/v8_ref.cpp
|
64
|
+
- ext/v8/v8_ref.h
|
65
|
+
- ext/v8/v8_script.cpp
|
66
|
+
- ext/v8/v8_script.h
|
67
|
+
- ext/v8/v8_standalone.cpp
|
68
|
+
- ext/v8/v8_standalone.h
|
69
|
+
- ext/v8/v8_str.cpp
|
70
|
+
- ext/v8/v8_str.h
|
71
|
+
- ext/v8/v8_template.cpp
|
72
|
+
- ext/v8/v8_template.h
|
73
|
+
- lib/v8.rb
|
74
|
+
- lib/v8/context.rb
|
75
|
+
- lib/v8/object.rb
|
76
|
+
- lib/v8/to.rb
|
77
|
+
- script/console
|
78
|
+
- script/destroy
|
79
|
+
- script/generate
|
80
|
+
- spec/redjs/README.txt
|
81
|
+
- spec/redjs/jsapi_spec.rb
|
82
|
+
- spec/redjs_helper.rb
|
83
|
+
- spec/spec.opts
|
84
|
+
- spec/spec_helper.rb
|
85
|
+
- tasks/rspec.rake
|
86
|
+
- therubyracer.gemspec
|
87
|
+
has_rdoc: true
|
88
|
+
homepage: http://github.com/cowboyd/therubyracer
|
89
|
+
licenses: []
|
90
|
+
|
91
|
+
post_install_message:
|
92
|
+
rdoc_options:
|
93
|
+
- --main
|
94
|
+
- README.rdoc
|
95
|
+
require_paths:
|
96
|
+
- lib
|
97
|
+
- ext
|
98
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
100
|
+
- - ">="
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: "0"
|
103
|
+
version:
|
104
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
105
|
+
requirements:
|
106
|
+
- - ">="
|
107
|
+
- !ruby/object:Gem::Version
|
108
|
+
version: "0"
|
109
|
+
version:
|
110
|
+
requirements: []
|
111
|
+
|
112
|
+
rubyforge_project: therubyracer
|
113
|
+
rubygems_version: 1.3.5
|
114
|
+
signing_key:
|
115
|
+
specification_version: 3
|
116
|
+
summary: Embed the V8 Javascript interpreter into Ruby.
|
117
|
+
test_files: []
|
118
|
+
|