opal 0.3.20 → 0.3.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gitignore +2 -7
- data/.rspec +2 -0
- data/.travis.yml +11 -0
- data/Gemfile +8 -2
- data/LICENSE +2 -3
- data/README.md +106 -239
- data/Rakefile +58 -16
- data/bin/opal +1 -0
- data/core/array.rb +180 -160
- data/core/basic_object.rb +8 -4
- data/core/boolean.rb +6 -6
- data/core/class.rb +9 -15
- data/core/dir.rb +89 -0
- data/core/enumerable.rb +83 -86
- data/core/error.rb +9 -4
- data/core/file.rb +85 -0
- data/core/hash.rb +67 -67
- data/core/kernel.rb +38 -42
- data/core/module.rb +57 -54
- data/core/numeric.rb +41 -41
- data/core/proc.rb +1 -5
- data/core/range.rb +11 -11
- data/core/regexp.rb +27 -22
- data/core/runtime.js +152 -221
- data/core/string.rb +86 -73
- data/core/time.rb +22 -18
- data/docs/post.html +9 -0
- data/docs/pre.html +32 -0
- data/lib/opal.rb +43 -3
- data/lib/opal/builder.rb +9 -26
- data/lib/opal/grammar.rb +1 -1
- data/lib/opal/grammar.y +1 -1
- data/lib/opal/lexer.rb +21 -15
- data/lib/opal/parser.rb +100 -111
- data/lib/opal/rake_task.rb +66 -0
- data/lib/opal/scope.rb +13 -5
- data/lib/opal/version.rb +1 -1
- data/opal.gemspec +2 -0
- data/spec/browser_spec.rb +28 -0
- data/spec/builder/lib_name_for_spec.rb +1 -6
- data/spec/grammar/alias_spec.rb +1 -1
- data/spec/grammar/and_spec.rb +1 -1
- data/spec/grammar/array_spec.rb +1 -1
- data/spec/grammar/attrasgn_spec.rb +1 -1
- data/spec/grammar/begin_spec.rb +1 -1
- data/spec/grammar/block_spec.rb +1 -1
- data/spec/grammar/break_spec.rb +1 -1
- data/spec/grammar/call_spec.rb +1 -1
- data/spec/grammar/class_spec.rb +1 -1
- data/spec/grammar/const_spec.rb +1 -1
- data/spec/grammar/cvar_spec.rb +1 -1
- data/spec/grammar/def_spec.rb +1 -1
- data/spec/grammar/false_spec.rb +1 -1
- data/spec/grammar/file_spec.rb +1 -1
- data/spec/grammar/gvar_spec.rb +1 -1
- data/spec/grammar/hash_spec.rb +1 -1
- data/spec/grammar/iasgn_spec.rb +1 -1
- data/spec/grammar/if_spec.rb +1 -1
- data/spec/grammar/iter_spec.rb +1 -1
- data/spec/grammar/ivar_spec.rb +1 -1
- data/spec/grammar/lambda_spec.rb +1 -1
- data/spec/grammar/lasgn_spec.rb +1 -1
- data/spec/grammar/line_spec.rb +1 -1
- data/spec/grammar/lvar_spec.rb +1 -1
- data/spec/grammar/masgn_spec.rb +1 -1
- data/spec/grammar/module_spec.rb +1 -1
- data/spec/grammar/nil_spec.rb +1 -1
- data/spec/grammar/not_spec.rb +1 -1
- data/spec/grammar/op_asgn1_spec.rb +1 -1
- data/spec/grammar/op_asgn2_spec.rb +1 -1
- data/spec/grammar/or_spec.rb +1 -1
- data/spec/grammar/return_spec.rb +1 -1
- data/spec/grammar/sclass_spec.rb +1 -1
- data/spec/grammar/self_spec.rb +1 -1
- data/spec/grammar/str_spec.rb +1 -1
- data/spec/grammar/super_spec.rb +1 -1
- data/spec/grammar/true_spec.rb +1 -1
- data/spec/grammar/undef_spec.rb +1 -1
- data/spec/grammar/unless_spec.rb +1 -1
- data/spec/grammar/while_spec.rb +1 -1
- data/spec/grammar/xstr_spec.rb +1 -1
- data/spec/grammar/yield_spec.rb +1 -1
- data/spec/spec_helper.rb +6 -1
- data/test/core/array/minus_spec.rb +13 -0
- data/test/core/enumerable/drop_while_spec.rb +0 -5
- data/test/core/range/case_compare_spec.rb +0 -1
- data/test/index.html +1 -1
- data/test/index.min.html +12 -0
- data/test/language/alias_spec.rb +0 -4
- data/test/language/fixtures/next.rb +62 -0
- data/test/language/metaclass_spec.rb +4 -4
- data/test/language/next_spec.rb +0 -63
- data/test/language/send_spec.rb +0 -5
- data/test/language/singleton_class_spec.rb +4 -0
- data/test/opal/array/subclassing_spec.rb +1 -1
- data/test/opal/class/bridge_class_spec.rb +2 -2
- data/test/opal/runtime/class_hierarchy_spec.rb +1 -2
- data/test/opal/runtime/method_missing_spec.rb +17 -0
- data/test/spec_helper.rb +4 -1
- metadata +32 -28
- data/docs/CNAME +0 -1
- data/docs/Rakefile +0 -55
- data/docs/css/styles.css +0 -50
- data/docs/css/syntax.css +0 -63
- data/docs/layout/post.html +0 -3
- data/docs/layout/pre.html +0 -11
- data/examples/dependencies/.gitignore +0 -1
- data/examples/dependencies/Gemfile +0 -6
- data/examples/dependencies/README.md +0 -41
- data/examples/dependencies/Rakefile +0 -10
- data/examples/dependencies/app.rb +0 -19
- data/examples/dependencies/build/.gitkeep +0 -0
- data/examples/dependencies/index.html +0 -13
- data/examples/hello_world/.gitignore +0 -1
- data/examples/hello_world/Gemfile +0 -3
- data/examples/hello_world/README.md +0 -27
- data/examples/hello_world/Rakefile +0 -23
- data/examples/hello_world/app.rb +0 -7
- data/examples/hello_world/index.html +0 -12
- data/lib/opal/builder_task.rb +0 -91
- data/spec/builder/build_order_spec.rb +0 -20
- data/test/opal/runtime/_methods_spec.rb +0 -48
data/spec/grammar/while_spec.rb
CHANGED
data/spec/grammar/xstr_spec.rb
CHANGED
data/spec/grammar/yield_spec.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
|
@@ -1,9 +1,14 @@
|
|
|
1
|
-
abort "Don't run on opal!" if RUBY_ENGINE =~ /^opal/
|
|
1
|
+
abort "Don't run on opal!" if RUBY_VERSION >= '1.9' and RUBY_ENGINE =~ /^opal/
|
|
2
2
|
|
|
3
3
|
require 'opal'
|
|
4
|
+
require 'capybara/rspec'
|
|
4
5
|
|
|
5
6
|
module Kernel
|
|
6
7
|
def opal_parse str, file = '(string)'
|
|
7
8
|
Opal::Grammar.new.parse str, file
|
|
8
9
|
end
|
|
9
10
|
end
|
|
11
|
+
|
|
12
|
+
RSpec.configure do |c|
|
|
13
|
+
c.treat_symbols_as_metadata_keys_with_true_values = true
|
|
14
|
+
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
describe "Array#-" do
|
|
2
|
+
it "subtracts two arrays" do
|
|
3
|
+
([ 1, 2, 3 ] - [ 3, 4, 5 ] ).should == [1, 2]
|
|
4
|
+
([ 1, 2, 3 ] - []).should == [1, 2, 3]
|
|
5
|
+
([] - [ 1, 2, 3 ]).should == []
|
|
6
|
+
([] - []).should == []
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
it "can subtracts an array from itself" do
|
|
10
|
+
ary = [1, 2, 3]
|
|
11
|
+
(ary - ary).should == []
|
|
12
|
+
end
|
|
13
|
+
end
|
|
@@ -16,9 +16,4 @@ describe "Enumerable#drop_while" do
|
|
|
16
16
|
@enum.drop_while{1}.should == []
|
|
17
17
|
@enum.drop_while{nil}.should == @enum.to_a
|
|
18
18
|
end
|
|
19
|
-
|
|
20
|
-
it "passed elements to the block until the first false" do
|
|
21
|
-
a = []
|
|
22
|
-
@enum.drop_while{|obj| (a << obj).size < 3}.should == [1, :go]
|
|
23
|
-
end
|
|
24
19
|
end
|
data/test/index.html
CHANGED
|
@@ -7,6 +7,6 @@
|
|
|
7
7
|
<script type="text/javascript" src="../build/opal.js"></script>
|
|
8
8
|
<script type="text/javascript" src="../build/opal-dom.js"></script>
|
|
9
9
|
<script type="text/javascript" src="../build/opal-spec.js"></script>
|
|
10
|
-
<script type="text/javascript" src="../build/
|
|
10
|
+
<script type="text/javascript" src="../build/specs.js"></script>
|
|
11
11
|
</body>
|
|
12
12
|
</html>
|
data/test/index.min.html
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<title>Opal corelib and runtime specs (minified)</title>
|
|
5
|
+
</head>
|
|
6
|
+
<body>
|
|
7
|
+
<script type="text/javascript" src="../build/opal.min.js"></script>
|
|
8
|
+
<script type="text/javascript" src="../build/opal-dom.min.js"></script>
|
|
9
|
+
<script type="text/javascript" src="../build/opal-spec.min.js"></script>
|
|
10
|
+
<script type="text/javascript" src="../build/specs.min.js"></script>
|
|
11
|
+
</body>
|
|
12
|
+
</html>
|
data/test/language/alias_spec.rb
CHANGED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
class NextSpecs
|
|
2
|
+
def self.yielding_method(expected)
|
|
3
|
+
yield.should == expected
|
|
4
|
+
:method_return_value
|
|
5
|
+
end
|
|
6
|
+
|
|
7
|
+
def self.yielding
|
|
8
|
+
yield
|
|
9
|
+
end
|
|
10
|
+
|
|
11
|
+
def self.while_next(arg)
|
|
12
|
+
x = true
|
|
13
|
+
while x
|
|
14
|
+
begin
|
|
15
|
+
ScratchPad << :begin
|
|
16
|
+
x = false
|
|
17
|
+
if arg
|
|
18
|
+
next 42
|
|
19
|
+
else
|
|
20
|
+
next
|
|
21
|
+
end
|
|
22
|
+
ensure
|
|
23
|
+
ScratchPad << :ensure
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
def self.while_within_iter(arg)
|
|
29
|
+
yielding do
|
|
30
|
+
x = true
|
|
31
|
+
while x
|
|
32
|
+
begin
|
|
33
|
+
ScratchPad << :begin
|
|
34
|
+
x = false
|
|
35
|
+
if arg
|
|
36
|
+
next 42
|
|
37
|
+
else
|
|
38
|
+
next
|
|
39
|
+
end
|
|
40
|
+
ensure
|
|
41
|
+
ScratchPad << :ensure
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
class ChainedNextTest
|
|
49
|
+
def self.meth_with_yield(&b)
|
|
50
|
+
yield.should == :next_return_value
|
|
51
|
+
:method_return_value
|
|
52
|
+
end
|
|
53
|
+
def self.invoking_method(&b)
|
|
54
|
+
meth_with_yield(&b)
|
|
55
|
+
end
|
|
56
|
+
def self.enclosing_method
|
|
57
|
+
invoking_method do
|
|
58
|
+
next :next_return_value
|
|
59
|
+
:wrong_return_value
|
|
60
|
+
end
|
|
61
|
+
end
|
|
62
|
+
end
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
describe "self in a metaclass body (class << obj)" do
|
|
2
|
-
it "is
|
|
3
|
-
class << true; self; end.should ==
|
|
2
|
+
it "is Boolean for true" do
|
|
3
|
+
class << true; self; end.should == Boolean
|
|
4
4
|
end
|
|
5
5
|
|
|
6
|
-
it "is
|
|
7
|
-
class << false; self; end.should ==
|
|
6
|
+
it "is Boolean for false" do
|
|
7
|
+
class << false; self; end.should == Boolean
|
|
8
8
|
end
|
|
9
9
|
|
|
10
10
|
it "is NilClass for nil" do
|
data/test/language/next_spec.rb
CHANGED
|
@@ -1,50 +1,3 @@
|
|
|
1
|
-
class NextSpecs
|
|
2
|
-
def self.yielding_method(expected)
|
|
3
|
-
yield.should == expected
|
|
4
|
-
:method_return_value
|
|
5
|
-
end
|
|
6
|
-
|
|
7
|
-
def self.yielding
|
|
8
|
-
yield
|
|
9
|
-
end
|
|
10
|
-
|
|
11
|
-
def self.while_next(arg)
|
|
12
|
-
x = true
|
|
13
|
-
while x
|
|
14
|
-
begin
|
|
15
|
-
ScratchPad << :begin
|
|
16
|
-
x = false
|
|
17
|
-
if arg
|
|
18
|
-
next 42
|
|
19
|
-
else
|
|
20
|
-
next
|
|
21
|
-
end
|
|
22
|
-
ensure
|
|
23
|
-
ScratchPad << :ensure
|
|
24
|
-
end
|
|
25
|
-
end
|
|
26
|
-
end
|
|
27
|
-
|
|
28
|
-
def self.while_within_iter(arg)
|
|
29
|
-
yielding do
|
|
30
|
-
x = true
|
|
31
|
-
while x
|
|
32
|
-
begin
|
|
33
|
-
ScratchPad << :begin
|
|
34
|
-
x = false
|
|
35
|
-
if arg
|
|
36
|
-
next 42
|
|
37
|
-
else
|
|
38
|
-
next
|
|
39
|
-
end
|
|
40
|
-
ensure
|
|
41
|
-
ScratchPad << :ensure
|
|
42
|
-
end
|
|
43
|
-
end
|
|
44
|
-
end
|
|
45
|
-
end
|
|
46
|
-
end
|
|
47
|
-
|
|
48
1
|
describe "The next statement from within the block" do
|
|
49
2
|
before :each do
|
|
50
3
|
ScratchPad.record []
|
|
@@ -94,22 +47,6 @@ describe "The next statement from within the block" do
|
|
|
94
47
|
end
|
|
95
48
|
|
|
96
49
|
it "returns to the currently yielding method in case of chained calls" do
|
|
97
|
-
class ChainedNextTest
|
|
98
|
-
def self.meth_with_yield(&b)
|
|
99
|
-
yield.should == :next_return_value
|
|
100
|
-
:method_return_value
|
|
101
|
-
end
|
|
102
|
-
def self.invoking_method(&b)
|
|
103
|
-
meth_with_yield(&b)
|
|
104
|
-
end
|
|
105
|
-
def self.enclosing_method
|
|
106
|
-
invoking_method do
|
|
107
|
-
next :next_return_value
|
|
108
|
-
:wrong_return_value
|
|
109
|
-
end
|
|
110
|
-
end
|
|
111
|
-
end
|
|
112
|
-
|
|
113
50
|
ChainedNextTest.enclosing_method.should == :method_return_value
|
|
114
51
|
end
|
|
115
52
|
|
data/test/language/send_spec.rb
CHANGED
|
@@ -43,11 +43,6 @@ describe "Invoking a method" do
|
|
|
43
43
|
specs.fooM0.should == 100
|
|
44
44
|
end
|
|
45
45
|
|
|
46
|
-
it "raises ArgumentError if the method has a positive arity" do
|
|
47
|
-
lambda {
|
|
48
|
-
specs.fooM1
|
|
49
|
-
}.should raise_error(ArgumentError)
|
|
50
|
-
end
|
|
51
46
|
end
|
|
52
47
|
|
|
53
48
|
describe "with only manditory arguments" do
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
class BridgeClassSpec < `BridgeClassProto`
|
|
13
13
|
def get_foo
|
|
14
|
-
|
|
14
|
+
`#{self}.foo`
|
|
15
15
|
end
|
|
16
16
|
|
|
17
17
|
def say_it
|
|
@@ -26,7 +26,7 @@ describe "Bridging native prototypes to a class" do
|
|
|
26
26
|
|
|
27
27
|
it "should report instances as kind of bridged class" do
|
|
28
28
|
obj = `new BridgeClassProto()`
|
|
29
|
-
obj.should
|
|
29
|
+
obj.class.should == BridgeClassSpec
|
|
30
30
|
end
|
|
31
31
|
|
|
32
32
|
it "should have defined instance methods present on prototype" do
|
|
@@ -3,7 +3,7 @@ describe "Class Hierarchy" do
|
|
|
3
3
|
BasicObject.superclass.should == nil
|
|
4
4
|
Object.superclass.should == BasicObject
|
|
5
5
|
Module.superclass.should == Object
|
|
6
|
-
Class.superclass.should ==
|
|
6
|
+
Class.superclass.should == Object
|
|
7
7
|
end
|
|
8
8
|
|
|
9
9
|
it "should have the right classes" do
|
|
@@ -14,7 +14,6 @@ describe "Class Hierarchy" do
|
|
|
14
14
|
end
|
|
15
15
|
|
|
16
16
|
it "instances should have the right class" do
|
|
17
|
-
(BasicObject === BasicObject.new).should == true
|
|
18
17
|
Object.new.class.should == Object
|
|
19
18
|
Class.new.class.should == Class
|
|
20
19
|
Module.new.class.should == Module
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
class MethodMissingSpec
|
|
2
|
+
def method_missing(method, *args)
|
|
3
|
+
[method, args]
|
|
4
|
+
end
|
|
5
|
+
end
|
|
6
|
+
|
|
7
|
+
describe "method_missing" do
|
|
8
|
+
before do
|
|
9
|
+
@object = MethodMissingSpec.new
|
|
10
|
+
end
|
|
11
|
+
|
|
12
|
+
it "should be called for all missing methods" do
|
|
13
|
+
@object.foo.should == ['foo', []]
|
|
14
|
+
@object.bar(10).should == ['bar', [10]]
|
|
15
|
+
(@object.title = 100).should == ['title=', [100]]
|
|
16
|
+
end
|
|
17
|
+
end
|
data/test/spec_helper.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: opal
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.21
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,8 +9,19 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2012-
|
|
13
|
-
dependencies:
|
|
12
|
+
date: 2012-07-16 00:00:00.000000000Z
|
|
13
|
+
dependencies:
|
|
14
|
+
- !ruby/object:Gem::Dependency
|
|
15
|
+
name: rspec
|
|
16
|
+
requirement: &70197919682160 !ruby/object:Gem::Requirement
|
|
17
|
+
none: false
|
|
18
|
+
requirements:
|
|
19
|
+
- - ~>
|
|
20
|
+
- !ruby/object:Gem::Version
|
|
21
|
+
version: '2.10'
|
|
22
|
+
type: :development
|
|
23
|
+
prerelease: false
|
|
24
|
+
version_requirements: *70197919682160
|
|
14
25
|
description: Ruby runtime and core library for javascript.
|
|
15
26
|
email: adam@adambeynon.com
|
|
16
27
|
executables:
|
|
@@ -19,6 +30,8 @@ extensions: []
|
|
|
19
30
|
extra_rdoc_files: []
|
|
20
31
|
files:
|
|
21
32
|
- .gitignore
|
|
33
|
+
- .rspec
|
|
34
|
+
- .travis.yml
|
|
22
35
|
- Gemfile
|
|
23
36
|
- LICENSE
|
|
24
37
|
- README.md
|
|
@@ -30,9 +43,11 @@ files:
|
|
|
30
43
|
- core/boolean.rb
|
|
31
44
|
- core/class.rb
|
|
32
45
|
- core/comparable.rb
|
|
46
|
+
- core/dir.rb
|
|
33
47
|
- core/enumerable.rb
|
|
34
48
|
- core/enumerator.rb
|
|
35
49
|
- core/error.rb
|
|
50
|
+
- core/file.rb
|
|
36
51
|
- core/hash.rb
|
|
37
52
|
- core/json.rb
|
|
38
53
|
- core/kernel.rb
|
|
@@ -49,36 +64,19 @@ files:
|
|
|
49
64
|
- core/struct.rb
|
|
50
65
|
- core/time.rb
|
|
51
66
|
- core/top_self.rb
|
|
52
|
-
- docs/
|
|
53
|
-
- docs/
|
|
54
|
-
- docs/css/styles.css
|
|
55
|
-
- docs/css/syntax.css
|
|
56
|
-
- docs/layout/post.html
|
|
57
|
-
- docs/layout/pre.html
|
|
58
|
-
- examples/dependencies/.gitignore
|
|
59
|
-
- examples/dependencies/Gemfile
|
|
60
|
-
- examples/dependencies/README.md
|
|
61
|
-
- examples/dependencies/Rakefile
|
|
62
|
-
- examples/dependencies/app.rb
|
|
63
|
-
- examples/dependencies/build/.gitkeep
|
|
64
|
-
- examples/dependencies/index.html
|
|
65
|
-
- examples/hello_world/.gitignore
|
|
66
|
-
- examples/hello_world/Gemfile
|
|
67
|
-
- examples/hello_world/README.md
|
|
68
|
-
- examples/hello_world/Rakefile
|
|
69
|
-
- examples/hello_world/app.rb
|
|
70
|
-
- examples/hello_world/index.html
|
|
67
|
+
- docs/post.html
|
|
68
|
+
- docs/pre.html
|
|
71
69
|
- lib/opal.rb
|
|
72
70
|
- lib/opal/builder.rb
|
|
73
|
-
- lib/opal/builder_task.rb
|
|
74
71
|
- lib/opal/grammar.rb
|
|
75
72
|
- lib/opal/grammar.y
|
|
76
73
|
- lib/opal/lexer.rb
|
|
77
74
|
- lib/opal/parser.rb
|
|
75
|
+
- lib/opal/rake_task.rb
|
|
78
76
|
- lib/opal/scope.rb
|
|
79
77
|
- lib/opal/version.rb
|
|
80
78
|
- opal.gemspec
|
|
81
|
-
- spec/
|
|
79
|
+
- spec/browser_spec.rb
|
|
82
80
|
- spec/builder/fixtures/build_source/adam.rb
|
|
83
81
|
- spec/builder/fixtures/build_source/bar/a.rb
|
|
84
82
|
- spec/builder/fixtures/build_source/bar/wow/b.rb
|
|
@@ -160,6 +158,7 @@ files:
|
|
|
160
158
|
- test/core/array/last_spec.rb
|
|
161
159
|
- test/core/array/length_spec.rb
|
|
162
160
|
- test/core/array/map_spec.rb
|
|
161
|
+
- test/core/array/minus_spec.rb
|
|
163
162
|
- test/core/array/plus_spec.rb
|
|
164
163
|
- test/core/array/pop_spec.rb
|
|
165
164
|
- test/core/array/push_spec.rb
|
|
@@ -315,6 +314,7 @@ files:
|
|
|
315
314
|
- test/core/true/to_s_spec.rb
|
|
316
315
|
- test/core/true/xor_spec.rb
|
|
317
316
|
- test/index.html
|
|
317
|
+
- test/index.min.html
|
|
318
318
|
- test/language/alias_spec.rb
|
|
319
319
|
- test/language/and_spec.rb
|
|
320
320
|
- test/language/array_spec.rb
|
|
@@ -323,6 +323,7 @@ files:
|
|
|
323
323
|
- test/language/case_spec.rb
|
|
324
324
|
- test/language/defined_spec.rb
|
|
325
325
|
- test/language/ensure_spec.rb
|
|
326
|
+
- test/language/fixtures/next.rb
|
|
326
327
|
- test/language/fixtures/yield.rb
|
|
327
328
|
- test/language/hash_spec.rb
|
|
328
329
|
- test/language/if_spec.rb
|
|
@@ -354,11 +355,11 @@ files:
|
|
|
354
355
|
- test/opal/kernel/to_json_spec.rb
|
|
355
356
|
- test/opal/nil/to_json_spec.rb
|
|
356
357
|
- test/opal/numeric/to_json_spec.rb
|
|
357
|
-
- test/opal/runtime/_methods_spec.rb
|
|
358
358
|
- test/opal/runtime/call_spec.rb
|
|
359
359
|
- test/opal/runtime/class_hierarchy_spec.rb
|
|
360
360
|
- test/opal/runtime/def_spec.rb
|
|
361
361
|
- test/opal/runtime/defined_spec.rb
|
|
362
|
+
- test/opal/runtime/method_missing_spec.rb
|
|
362
363
|
- test/opal/runtime/super_spec.rb
|
|
363
364
|
- test/opal/string/subclassing_spec.rb
|
|
364
365
|
- test/opal/string/to_json_spec.rb
|
|
@@ -383,12 +384,12 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
383
384
|
version: '0'
|
|
384
385
|
requirements: []
|
|
385
386
|
rubyforge_project:
|
|
386
|
-
rubygems_version: 1.8.
|
|
387
|
+
rubygems_version: 1.8.11
|
|
387
388
|
signing_key:
|
|
388
389
|
specification_version: 3
|
|
389
390
|
summary: Ruby runtime and core library for javascript
|
|
390
391
|
test_files:
|
|
391
|
-
- spec/
|
|
392
|
+
- spec/browser_spec.rb
|
|
392
393
|
- spec/builder/fixtures/build_source/adam.rb
|
|
393
394
|
- spec/builder/fixtures/build_source/bar/a.rb
|
|
394
395
|
- spec/builder/fixtures/build_source/bar/wow/b.rb
|
|
@@ -470,6 +471,7 @@ test_files:
|
|
|
470
471
|
- test/core/array/last_spec.rb
|
|
471
472
|
- test/core/array/length_spec.rb
|
|
472
473
|
- test/core/array/map_spec.rb
|
|
474
|
+
- test/core/array/minus_spec.rb
|
|
473
475
|
- test/core/array/plus_spec.rb
|
|
474
476
|
- test/core/array/pop_spec.rb
|
|
475
477
|
- test/core/array/push_spec.rb
|
|
@@ -625,6 +627,7 @@ test_files:
|
|
|
625
627
|
- test/core/true/to_s_spec.rb
|
|
626
628
|
- test/core/true/xor_spec.rb
|
|
627
629
|
- test/index.html
|
|
630
|
+
- test/index.min.html
|
|
628
631
|
- test/language/alias_spec.rb
|
|
629
632
|
- test/language/and_spec.rb
|
|
630
633
|
- test/language/array_spec.rb
|
|
@@ -633,6 +636,7 @@ test_files:
|
|
|
633
636
|
- test/language/case_spec.rb
|
|
634
637
|
- test/language/defined_spec.rb
|
|
635
638
|
- test/language/ensure_spec.rb
|
|
639
|
+
- test/language/fixtures/next.rb
|
|
636
640
|
- test/language/fixtures/yield.rb
|
|
637
641
|
- test/language/hash_spec.rb
|
|
638
642
|
- test/language/if_spec.rb
|
|
@@ -664,11 +668,11 @@ test_files:
|
|
|
664
668
|
- test/opal/kernel/to_json_spec.rb
|
|
665
669
|
- test/opal/nil/to_json_spec.rb
|
|
666
670
|
- test/opal/numeric/to_json_spec.rb
|
|
667
|
-
- test/opal/runtime/_methods_spec.rb
|
|
668
671
|
- test/opal/runtime/call_spec.rb
|
|
669
672
|
- test/opal/runtime/class_hierarchy_spec.rb
|
|
670
673
|
- test/opal/runtime/def_spec.rb
|
|
671
674
|
- test/opal/runtime/defined_spec.rb
|
|
675
|
+
- test/opal/runtime/method_missing_spec.rb
|
|
672
676
|
- test/opal/runtime/super_spec.rb
|
|
673
677
|
- test/opal/string/subclassing_spec.rb
|
|
674
678
|
- test/opal/string/to_json_spec.rb
|