opal 0.3.18 → 0.3.19
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 +1 -1
- data/Gemfile +1 -3
- data/README.md +472 -10
- data/Rakefile +10 -52
- data/core/array.rb +9 -14
- data/core/basic_object.rb +7 -10
- data/core/boolean.rb +5 -1
- data/core/class.rb +15 -38
- data/core/dir.rb +89 -0
- data/core/enumerable.rb +133 -57
- data/core/error.rb +15 -1
- data/core/file.rb +85 -0
- data/core/hash.rb +186 -32
- data/core/kernel.rb +30 -31
- data/core/load_order +4 -2
- data/core/module.rb +42 -62
- data/core/numeric.rb +7 -1
- data/core/object.rb +1 -1
- data/core/proc.rb +6 -2
- data/core/range.rb +16 -28
- data/core/regexp.rb +3 -3
- data/core/runtime.js +281 -350
- data/core/string.rb +100 -110
- data/docs/CNAME +1 -0
- data/docs/Rakefile +55 -0
- data/docs/css/styles.css +50 -0
- data/docs/css/syntax.css +63 -0
- data/docs/layout/post.html +3 -0
- data/docs/layout/pre.html +11 -0
- data/examples/dependencies/app.rb +3 -0
- data/lib/opal.rb +2 -1
- data/lib/opal/builder.rb +36 -10
- data/lib/opal/builder_task.rb +51 -24
- data/lib/opal/grammar.rb +2509 -2439
- data/lib/opal/grammar.y +38 -5
- data/lib/opal/lexer.rb +18 -2
- data/lib/opal/parser.rb +375 -349
- data/lib/opal/scope.rb +24 -2
- data/lib/opal/version.rb +1 -1
- data/spec/builder/build_order_spec.rb +20 -0
- data/spec/builder/lib_name_for_spec.rb +24 -0
- data/spec/grammar/call_spec.rb +9 -6
- data/spec/grammar/lambda_spec.rb +64 -0
- data/spec/grammar/sclass_spec.rb +5 -3
- data/{core/spec → test}/core/array/allocate_spec.rb +0 -0
- data/{core/spec → test}/core/array/append_spec.rb +0 -0
- data/{core/spec → test}/core/array/assoc_spec.rb +0 -0
- data/{core/spec → test}/core/array/at_spec.rb +0 -0
- data/{core/spec → test}/core/array/clear_spec.rb +0 -0
- data/{core/spec → test}/core/array/clone_spec.rb +0 -0
- data/{core/spec → test}/core/array/collect_spec.rb +0 -0
- data/{core/spec → test}/core/array/compact_spec.rb +0 -0
- data/{core/spec → test}/core/array/concat_spec.rb +0 -0
- data/{core/spec → test}/core/array/constructor_spec.rb +0 -0
- data/{core/spec → test}/core/array/count_spec.rb +0 -0
- data/{core/spec → test}/core/array/delete_at_spec.rb +0 -0
- data/{core/spec → test}/core/array/delete_if_spec.rb +0 -0
- data/{core/spec → test}/core/array/delete_spec.rb +0 -0
- data/{core/spec → test}/core/array/each_index_spec.rb +0 -0
- data/{core/spec → test}/core/array/each_spec.rb +0 -0
- data/{core/spec → test}/core/array/element_reference_spec.rb +0 -0
- data/{core/spec → test}/core/array/empty_spec.rb +0 -0
- data/{core/spec → test}/core/array/eql_spec.rb +0 -0
- data/{core/spec → test}/core/array/fetch_spec.rb +0 -0
- data/{core/spec → test}/core/array/first_spec.rb +0 -0
- data/{core/spec → test}/core/array/flatten_spec.rb +0 -0
- data/{core/spec → test}/core/array/include_spec.rb +0 -0
- data/{core/spec → test}/core/array/insert_spec.rb +0 -0
- data/{core/spec → test}/core/array/last_spec.rb +0 -0
- data/{core/spec → test}/core/array/length_spec.rb +0 -0
- data/{core/spec → test}/core/array/map_spec.rb +0 -0
- data/{core/spec → test}/core/array/plus_spec.rb +0 -0
- data/{core/spec → test}/core/array/pop_spec.rb +0 -0
- data/{core/spec → test}/core/array/push_spec.rb +0 -0
- data/{core/spec → test}/core/array/rassoc_spec.rb +0 -0
- data/{core/spec → test}/core/array/reject_spec.rb +0 -0
- data/{core/spec → test}/core/array/replace_spec.rb +0 -0
- data/{core/spec → test}/core/array/reverse_each_spec.rb +0 -0
- data/{core/spec → test}/core/array/reverse_spec.rb +0 -0
- data/{core/spec → test}/core/array/size_spec.rb +0 -0
- data/{core/spec → test}/core/array/to_ary_spec.rb +0 -0
- data/{core/spec → test}/core/array/uniq_spec.rb +0 -0
- data/{core/spec → test}/core/array/zip_spec.rb +0 -0
- data/test/core/class/fixtures/classes.rb +9 -0
- data/test/core/class/new_spec.rb +108 -0
- data/{core/spec → test}/core/enumerable/all_spec.rb +0 -0
- data/{core/spec → test}/core/enumerable/any_spec.rb +0 -0
- data/{core/spec → test}/core/enumerable/collect_spec.rb +0 -0
- data/{core/spec → test}/core/enumerable/count_spec.rb +0 -0
- data/test/core/enumerable/detect_spec.rb +48 -0
- data/test/core/enumerable/drop_spec.rb +17 -0
- data/test/core/enumerable/drop_while_spec.rb +24 -0
- data/test/core/enumerable/each_with_index_spec.rb +11 -0
- data/test/core/enumerable/each_with_object_spec.rb +17 -0
- data/test/core/enumerable/entries_spec.rb +6 -0
- data/test/core/enumerable/find_all_spec.rb +13 -0
- data/test/core/enumerable/find_index_spec.rb +45 -0
- data/test/core/enumerable/find_spec.rb +48 -0
- data/test/core/enumerable/first_spec.rb +40 -0
- data/{core/spec → test}/core/enumerable/fixtures/classes.rb +19 -0
- data/test/core/enumerable/grep_spec.rb +21 -0
- data/test/core/enumerable/take_spec.rb +40 -0
- data/test/core/enumerable/to_a_spec.rb +6 -0
- data/{core/spec → test}/core/false/and_spec.rb +0 -0
- data/{core/spec → test}/core/false/inspect_spec.rb +0 -0
- data/{core/spec → test}/core/false/or_spec.rb +0 -0
- data/{core/spec → test}/core/false/to_s_spec.rb +0 -0
- data/{core/spec → test}/core/false/xor_spec.rb +0 -0
- data/test/core/file/expand_path_spec.rb +20 -0
- data/{core/spec → test}/core/hash/allocate_spec.rb +0 -0
- data/{core/spec → test}/core/hash/assoc_spec.rb +0 -0
- data/{core/spec → test}/core/hash/clear_spec.rb +0 -0
- data/{core/spec → test}/core/hash/clone_spec.rb +0 -0
- data/test/core/hash/default_spec.rb +9 -0
- data/{core/spec → test}/core/hash/delete_if_spec.rb +0 -0
- data/test/core/hash/each_key_spec.rb +15 -0
- data/test/core/hash/each_pair_spec.rb +30 -0
- data/test/core/hash/each_spec.rb +30 -0
- data/test/core/hash/each_value_spec.rb +15 -0
- data/{core/spec → test}/core/hash/element_reference_spec.rb +14 -0
- data/{core/spec → test}/core/hash/element_set_spec.rb +1 -0
- data/test/core/hash/empty_spec.rb +10 -0
- data/test/core/hash/fetch_spec.rb +24 -0
- data/test/core/hash/flatten_spec.rb +46 -0
- data/test/core/hash/has_key_spec.rb +24 -0
- data/test/core/hash/has_value_spec.rb +12 -0
- data/test/core/hash/include_spec.rb +24 -0
- data/test/core/hash/index_spec.rb +13 -0
- data/test/core/hash/indexes_spec.rb +9 -0
- data/test/core/hash/indices_spec.rb +9 -0
- data/test/core/hash/invert_spec.rb +12 -0
- data/test/core/hash/keep_if_spec.rb +18 -0
- data/test/core/hash/key_spec.rb +24 -0
- data/test/core/hash/keys_spec.rb +10 -0
- data/test/core/hash/length_spec.rb +10 -0
- data/test/core/hash/member_spec.rb +24 -0
- data/{core/spec → test}/core/hash/merge_spec.rb +0 -0
- data/{core/spec → test}/core/hash/new_spec.rb +0 -0
- data/test/core/hash/rassoc_spec.rb +34 -0
- data/test/core/hash/replace_spec.rb +7 -0
- data/test/core/hash/select_spec.rb +52 -0
- data/test/core/hash/shift_spec.rb +19 -0
- data/test/core/hash/size_spec.rb +10 -0
- data/test/core/hash/update_spec.rb +17 -0
- data/test/core/hash/value_spec.rb +12 -0
- data/test/core/hash/values_at_spec.rb +9 -0
- data/test/core/hash/values_spec.rb +7 -0
- data/test/core/kernel/eql_spec.rb +15 -0
- data/test/core/kernel/equal_value_spec.rb +12 -0
- data/test/core/kernel/loop_spec.rb +23 -0
- data/test/core/kernel/nil_spec.rb +7 -0
- data/test/core/kernel/proc_spec.rb +9 -0
- data/test/core/kernel/rand_spec.rb +14 -0
- data/test/core/kernel/respond_to_spec.rb +24 -0
- data/test/core/kernel/send_spec.rb +56 -0
- data/test/core/kernel/tap_spec.rb +10 -0
- data/test/core/kernel/to_s_spec.rb +5 -0
- data/{core/spec → test}/core/matchdata/to_a_spec.rb +0 -0
- data/{core/spec → test}/core/nil/and_spec.rb +0 -0
- data/{core/spec → test}/core/nil/inspect_spec.rb +0 -0
- data/{core/spec → test}/core/nil/nil_spec.rb +0 -0
- data/{core/spec → test}/core/nil/or_spec.rb +0 -0
- data/{core/spec → test}/core/nil/to_a_spec.rb +0 -0
- data/{core/spec → test}/core/nil/to_f_spec.rb +0 -0
- data/{core/spec → test}/core/nil/to_i_spec.rb +0 -0
- data/{core/spec → test}/core/nil/to_s_spec.rb +0 -0
- data/{core/spec → test}/core/nil/xor_spec.rb +0 -0
- data/{core/spec → test}/core/numeric/equal_value_spec.rb +0 -0
- data/test/core/range/begin_spec.rb +9 -0
- data/test/core/range/case_compare_spec.rb +16 -0
- data/test/core/range/end_spec.rb +9 -0
- data/{core/spec → test}/core/regexp/match_spec.rb +0 -0
- data/test/core/string/capitalize_spec.rb +10 -0
- data/test/core/string/casecmp_spec.rb +16 -0
- data/test/core/string/chomp_spec.rb +43 -0
- data/test/core/string/chop_spec.rb +10 -0
- data/test/core/string/chr_spec.rb +13 -0
- data/test/core/string/comparison_spec.rb +13 -0
- data/test/core/string/downcase_spec.rb +6 -0
- data/test/core/string/element_reference_spec.rb +72 -0
- data/test/core/string/empty_spec.rb +8 -0
- data/test/core/string/end_with_spec.rb +12 -0
- data/test/core/string/fixtures/classes.rb +3 -0
- data/test/core/string/gsub_spec.rb +17 -0
- data/test/core/string/include_spec.rb +12 -0
- data/test/core/string/intern_spec.rb +9 -0
- data/test/core/string/length_spec.rb +9 -0
- data/test/core/string/lstrip_spec.rb +7 -0
- data/test/core/string/match_spec.rb +27 -0
- data/test/core/string/next_spec.rb +10 -0
- data/test/core/string/ord_spec.rb +9 -0
- data/test/core/string/partition_spec.rb +10 -0
- data/test/core/string/reverse_spec.rb +7 -0
- data/test/core/string/rstrip_spec.rb +7 -0
- data/test/core/string/size_spec.rb +9 -0
- data/test/core/string/slice_spec.rb +72 -0
- data/test/core/string/split_spec.rb +5 -0
- data/test/core/string/start_with_spec.rb +12 -0
- data/test/core/string/strip_spec.rb +6 -0
- data/test/core/string/sub_spec.rb +22 -0
- data/test/core/string/succ_spec.rb +10 -0
- data/test/core/string/sum_spec.rb +5 -0
- data/test/core/string/swapcase_spec.rb +18 -0
- data/test/core/string/to_a_spec.rb +9 -0
- data/test/core/string/to_f_spec.rb +14 -0
- data/test/core/string/to_i_spec.rb +25 -0
- data/test/core/string/to_s_spec.rb +13 -0
- data/test/core/string/to_str_spec.rb +13 -0
- data/test/core/string/to_sym_spec.rb +9 -0
- data/test/core/string/upcase_spec.rb +6 -0
- data/test/core/symbol/to_proc_spec.rb +12 -0
- data/{core/spec → test}/core/true/and_spec.rb +0 -0
- data/{core/spec → test}/core/true/inspect_spec.rb +0 -0
- data/{core/spec → test}/core/true/or_spec.rb +0 -0
- data/{core/spec → test}/core/true/to_s_spec.rb +0 -0
- data/{core/spec → test}/core/true/xor_spec.rb +0 -0
- data/test/index.html +11 -0
- data/{core/spec → test}/language/alias_spec.rb +4 -0
- data/{core/spec → test}/language/and_spec.rb +0 -0
- data/{core/spec → test}/language/array_spec.rb +0 -0
- data/{core/spec → test}/language/block_spec.rb +0 -0
- data/{core/spec → test}/language/break_spec.rb +0 -0
- data/{core/spec → test}/language/case_spec.rb +0 -0
- data/{core/spec → test}/language/defined_spec.rb +0 -0
- data/{core/spec → test}/language/ensure_spec.rb +0 -0
- data/test/language/fixtures/yield.rb +23 -0
- data/{core/spec → test}/language/hash_spec.rb +0 -0
- data/{core/spec → test}/language/if_spec.rb +0 -0
- data/test/language/literal_lambda_spec.rb +47 -0
- data/{core/spec → test}/language/loop_spec.rb +0 -0
- data/{core/spec → test}/language/metaclass_spec.rb +0 -0
- data/{core/spec → test}/language/next_spec.rb +0 -0
- data/{core/spec → test}/language/or_spec.rb +0 -0
- data/{core/spec → test}/language/predefined_spec.rb +0 -0
- data/{core/spec → test}/language/regexp_spec.rb +0 -0
- data/{core/spec → test}/language/send_spec.rb +0 -0
- data/{core/spec → test}/language/singleton_class_spec.rb +0 -0
- data/{core/spec → test}/language/super_spec.rb +0 -0
- data/{core/spec → test}/language/symbol_spec.rb +0 -0
- data/{core/spec → test}/language/undef_spec.rb +0 -0
- data/{core/spec → test}/language/unless_spec.rb +0 -0
- data/{core/spec → test}/language/until_spec.rb +0 -0
- data/{core/spec → test}/language/variables_spec.rb +0 -0
- data/{core/spec → test}/language/while_spec.rb +0 -0
- data/test/language/yield_spec.rb +100 -0
- data/test/opal/array/subclassing_spec.rb +32 -0
- data/test/opal/class/bridge_class_spec.rb +37 -0
- data/test/opal/exception/subclassing_spec.rb +17 -0
- data/test/opal/runtime/_methods_spec.rb +48 -0
- data/test/opal/runtime/class_hierarchy_spec.rb +22 -0
- data/test/opal/runtime/def_spec.rb +23 -0
- data/test/opal/string/subclassing_spec.rb +26 -0
- data/test/spec_helper.rb +3 -0
- metadata +437 -111
- data/core/spec/core/class/new_spec.rb +0 -16
- data/core/spec/core/hash/default_spec.rb +0 -4
- data/core/spec/core/symbol/to_proc_spec.rb +0 -6
- data/core/spec/index.html +0 -11
- data/spec/builder/build_source_spec.rb +0 -52
@@ -0,0 +1,17 @@
|
|
1
|
+
class ExceptionSubclassSpec < Exception
|
2
|
+
def nicer_message
|
3
|
+
message + ", but don't worry son - you'll learn"
|
4
|
+
end
|
5
|
+
end
|
6
|
+
|
7
|
+
describe "Exception subclasses" do
|
8
|
+
it "should correctly report the class" do
|
9
|
+
ExceptionSubclassSpec.new.class.should == ExceptionSubclassSpec
|
10
|
+
Exception.new.class.should == Exception
|
11
|
+
end
|
12
|
+
|
13
|
+
it "should copy the subclasses methods onto instances" do
|
14
|
+
msg = "it failed, but don't worry son - you'll learn"
|
15
|
+
ExceptionSubclassSpec.new("it failed").nicer_message.should == msg
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,48 @@
|
|
1
|
+
class RuntimeMethodsSpec
|
2
|
+
end
|
3
|
+
|
4
|
+
class RuntimeMethodsSpec2
|
5
|
+
def foo; end
|
6
|
+
def bar; end
|
7
|
+
end
|
8
|
+
|
9
|
+
class RuntimeMethodsSpec3
|
10
|
+
def woosh; end
|
11
|
+
end
|
12
|
+
|
13
|
+
class RuntimeMethodsSpec3
|
14
|
+
def kapow; end
|
15
|
+
end
|
16
|
+
|
17
|
+
module RuntimeMethodsSpec4
|
18
|
+
def ding; end
|
19
|
+
end
|
20
|
+
|
21
|
+
module RuntimeMethodsSpec4
|
22
|
+
def dong; end
|
23
|
+
end
|
24
|
+
|
25
|
+
class RuntimeMethodsSpec5
|
26
|
+
include RuntimeMethodsSpec4
|
27
|
+
|
28
|
+
def thor; end
|
29
|
+
end
|
30
|
+
|
31
|
+
describe "Class._methods private array" do
|
32
|
+
it "should store a list of all defined methods on classes as jsid's" do
|
33
|
+
`#{RuntimeMethodsSpec}._methods`.should == []
|
34
|
+
`#{RuntimeMethodsSpec2}._methods`.should == ['$foo', '$bar']
|
35
|
+
end
|
36
|
+
|
37
|
+
it "correctly adds methods when reopening classes" do
|
38
|
+
`#{RuntimeMethodsSpec3}._methods`.should == ['$woosh', '$kapow']
|
39
|
+
end
|
40
|
+
|
41
|
+
it "should store methods for modules" do
|
42
|
+
`#{RuntimeMethodsSpec4}._methods`.should == ['$ding', '$dong']
|
43
|
+
end
|
44
|
+
|
45
|
+
it "should not include methods from included modules" do
|
46
|
+
`#{RuntimeMethodsSpec5}._methods`.should == ['$thor']
|
47
|
+
end
|
48
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
describe "Class Hierarchy" do
|
2
|
+
it "should have the right superclasses" do
|
3
|
+
BasicObject.superclass.should == nil
|
4
|
+
Object.superclass.should == BasicObject
|
5
|
+
Module.superclass.should == Object
|
6
|
+
Class.superclass.should == Module
|
7
|
+
end
|
8
|
+
|
9
|
+
it "should have the right classes" do
|
10
|
+
BasicObject.class.should == Class
|
11
|
+
Object.class.should == Class
|
12
|
+
Class.class.should == Class
|
13
|
+
Module.class.should == Class
|
14
|
+
end
|
15
|
+
|
16
|
+
it "instances should have the right class" do
|
17
|
+
(BasicObject === BasicObject.new).should == true
|
18
|
+
Object.new.class.should == Object
|
19
|
+
Class.new.class.should == Class
|
20
|
+
Module.new.class.should == Module
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
def def_test_bar
|
2
|
+
42
|
3
|
+
end
|
4
|
+
|
5
|
+
def self.def_test_foo
|
6
|
+
"bar"
|
7
|
+
end
|
8
|
+
|
9
|
+
$top_level_object = self
|
10
|
+
|
11
|
+
describe "Defining top level methods" do
|
12
|
+
it "should work with def self.x" do
|
13
|
+
$top_level_object.def_test_foo.should == "bar"
|
14
|
+
end
|
15
|
+
|
16
|
+
it "should work with def x" do
|
17
|
+
$top_level_object.def_test_bar.should == 42
|
18
|
+
end
|
19
|
+
|
20
|
+
it "defines methods on singleton class" do
|
21
|
+
Object.new.respond_to?(:def_test_bar).should == false
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
class StringSubclassSpec < String
|
2
|
+
def to_full_name
|
3
|
+
self + ' beynon'
|
4
|
+
end
|
5
|
+
end
|
6
|
+
|
7
|
+
describe "String subclasses" do
|
8
|
+
it "should correctly report the class" do
|
9
|
+
StringSubclassSpec.new.class.should == StringSubclassSpec
|
10
|
+
String.new.class.should == String
|
11
|
+
end
|
12
|
+
|
13
|
+
it "should still set the string's value" do
|
14
|
+
s1 = String.new 'foo'
|
15
|
+
s1.class.should == String
|
16
|
+
s1.should == 'foo'
|
17
|
+
|
18
|
+
s2 = StringSubclassSpec.new 'bar'
|
19
|
+
s2.class.should == StringSubclassSpec
|
20
|
+
s2.should == 'bar'
|
21
|
+
end
|
22
|
+
|
23
|
+
it "should copy the subclasses methods onto instance" do
|
24
|
+
StringSubclassSpec.new('adam').to_full_name.should == 'adam beynon'
|
25
|
+
end
|
26
|
+
end
|
data/test/spec_helper.rb
ADDED
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.19
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-05-
|
12
|
+
date: 2012-05-30 00:00:00.000000000Z
|
13
13
|
dependencies: []
|
14
14
|
description: Ruby runtime and core library for javascript.
|
15
15
|
email: adam@adambeynon.com
|
@@ -30,9 +30,11 @@ files:
|
|
30
30
|
- core/boolean.rb
|
31
31
|
- core/class.rb
|
32
32
|
- core/comparable.rb
|
33
|
+
- core/dir.rb
|
33
34
|
- core/enumerable.rb
|
34
35
|
- core/enumerator.rb
|
35
36
|
- core/error.rb
|
37
|
+
- core/file.rb
|
36
38
|
- core/hash.rb
|
37
39
|
- core/kernel.rb
|
38
40
|
- core/load_order
|
@@ -46,114 +48,16 @@ files:
|
|
46
48
|
- core/rational.rb
|
47
49
|
- core/regexp.rb
|
48
50
|
- core/runtime.js
|
49
|
-
- core/spec/core/array/allocate_spec.rb
|
50
|
-
- core/spec/core/array/append_spec.rb
|
51
|
-
- core/spec/core/array/assoc_spec.rb
|
52
|
-
- core/spec/core/array/at_spec.rb
|
53
|
-
- core/spec/core/array/clear_spec.rb
|
54
|
-
- core/spec/core/array/clone_spec.rb
|
55
|
-
- core/spec/core/array/collect_spec.rb
|
56
|
-
- core/spec/core/array/compact_spec.rb
|
57
|
-
- core/spec/core/array/concat_spec.rb
|
58
|
-
- core/spec/core/array/constructor_spec.rb
|
59
|
-
- core/spec/core/array/count_spec.rb
|
60
|
-
- core/spec/core/array/delete_at_spec.rb
|
61
|
-
- core/spec/core/array/delete_if_spec.rb
|
62
|
-
- core/spec/core/array/delete_spec.rb
|
63
|
-
- core/spec/core/array/each_index_spec.rb
|
64
|
-
- core/spec/core/array/each_spec.rb
|
65
|
-
- core/spec/core/array/element_reference_spec.rb
|
66
|
-
- core/spec/core/array/empty_spec.rb
|
67
|
-
- core/spec/core/array/eql_spec.rb
|
68
|
-
- core/spec/core/array/fetch_spec.rb
|
69
|
-
- core/spec/core/array/first_spec.rb
|
70
|
-
- core/spec/core/array/flatten_spec.rb
|
71
|
-
- core/spec/core/array/include_spec.rb
|
72
|
-
- core/spec/core/array/insert_spec.rb
|
73
|
-
- core/spec/core/array/last_spec.rb
|
74
|
-
- core/spec/core/array/length_spec.rb
|
75
|
-
- core/spec/core/array/map_spec.rb
|
76
|
-
- core/spec/core/array/plus_spec.rb
|
77
|
-
- core/spec/core/array/pop_spec.rb
|
78
|
-
- core/spec/core/array/push_spec.rb
|
79
|
-
- core/spec/core/array/rassoc_spec.rb
|
80
|
-
- core/spec/core/array/reject_spec.rb
|
81
|
-
- core/spec/core/array/replace_spec.rb
|
82
|
-
- core/spec/core/array/reverse_each_spec.rb
|
83
|
-
- core/spec/core/array/reverse_spec.rb
|
84
|
-
- core/spec/core/array/size_spec.rb
|
85
|
-
- core/spec/core/array/to_ary_spec.rb
|
86
|
-
- core/spec/core/array/uniq_spec.rb
|
87
|
-
- core/spec/core/array/zip_spec.rb
|
88
|
-
- core/spec/core/class/new_spec.rb
|
89
|
-
- core/spec/core/enumerable/all_spec.rb
|
90
|
-
- core/spec/core/enumerable/any_spec.rb
|
91
|
-
- core/spec/core/enumerable/collect_spec.rb
|
92
|
-
- core/spec/core/enumerable/count_spec.rb
|
93
|
-
- core/spec/core/enumerable/fixtures/classes.rb
|
94
|
-
- core/spec/core/false/and_spec.rb
|
95
|
-
- core/spec/core/false/inspect_spec.rb
|
96
|
-
- core/spec/core/false/or_spec.rb
|
97
|
-
- core/spec/core/false/to_s_spec.rb
|
98
|
-
- core/spec/core/false/xor_spec.rb
|
99
|
-
- core/spec/core/hash/allocate_spec.rb
|
100
|
-
- core/spec/core/hash/assoc_spec.rb
|
101
|
-
- core/spec/core/hash/clear_spec.rb
|
102
|
-
- core/spec/core/hash/clone_spec.rb
|
103
|
-
- core/spec/core/hash/default_spec.rb
|
104
|
-
- core/spec/core/hash/delete_if_spec.rb
|
105
|
-
- core/spec/core/hash/element_reference_spec.rb
|
106
|
-
- core/spec/core/hash/element_set_spec.rb
|
107
|
-
- core/spec/core/hash/merge_spec.rb
|
108
|
-
- core/spec/core/hash/new_spec.rb
|
109
|
-
- core/spec/core/matchdata/to_a_spec.rb
|
110
|
-
- core/spec/core/nil/and_spec.rb
|
111
|
-
- core/spec/core/nil/inspect_spec.rb
|
112
|
-
- core/spec/core/nil/nil_spec.rb
|
113
|
-
- core/spec/core/nil/or_spec.rb
|
114
|
-
- core/spec/core/nil/to_a_spec.rb
|
115
|
-
- core/spec/core/nil/to_f_spec.rb
|
116
|
-
- core/spec/core/nil/to_i_spec.rb
|
117
|
-
- core/spec/core/nil/to_s_spec.rb
|
118
|
-
- core/spec/core/nil/xor_spec.rb
|
119
|
-
- core/spec/core/numeric/equal_value_spec.rb
|
120
|
-
- core/spec/core/regexp/match_spec.rb
|
121
|
-
- core/spec/core/symbol/to_proc_spec.rb
|
122
|
-
- core/spec/core/true/and_spec.rb
|
123
|
-
- core/spec/core/true/inspect_spec.rb
|
124
|
-
- core/spec/core/true/or_spec.rb
|
125
|
-
- core/spec/core/true/to_s_spec.rb
|
126
|
-
- core/spec/core/true/xor_spec.rb
|
127
|
-
- core/spec/index.html
|
128
|
-
- core/spec/language/alias_spec.rb
|
129
|
-
- core/spec/language/and_spec.rb
|
130
|
-
- core/spec/language/array_spec.rb
|
131
|
-
- core/spec/language/block_spec.rb
|
132
|
-
- core/spec/language/break_spec.rb
|
133
|
-
- core/spec/language/case_spec.rb
|
134
|
-
- core/spec/language/defined_spec.rb
|
135
|
-
- core/spec/language/ensure_spec.rb
|
136
|
-
- core/spec/language/hash_spec.rb
|
137
|
-
- core/spec/language/if_spec.rb
|
138
|
-
- core/spec/language/loop_spec.rb
|
139
|
-
- core/spec/language/metaclass_spec.rb
|
140
|
-
- core/spec/language/next_spec.rb
|
141
|
-
- core/spec/language/or_spec.rb
|
142
|
-
- core/spec/language/predefined_spec.rb
|
143
|
-
- core/spec/language/regexp_spec.rb
|
144
|
-
- core/spec/language/send_spec.rb
|
145
|
-
- core/spec/language/singleton_class_spec.rb
|
146
|
-
- core/spec/language/super_spec.rb
|
147
|
-
- core/spec/language/symbol_spec.rb
|
148
|
-
- core/spec/language/undef_spec.rb
|
149
|
-
- core/spec/language/unless_spec.rb
|
150
|
-
- core/spec/language/until_spec.rb
|
151
|
-
- core/spec/language/variables_spec.rb
|
152
|
-
- core/spec/language/while_spec.rb
|
153
51
|
- core/string.rb
|
154
52
|
- core/struct.rb
|
155
53
|
- core/time.rb
|
156
54
|
- core/top_self.rb
|
55
|
+
- docs/CNAME
|
56
|
+
- docs/Rakefile
|
57
|
+
- docs/css/styles.css
|
58
|
+
- docs/css/syntax.css
|
59
|
+
- docs/layout/post.html
|
60
|
+
- docs/layout/pre.html
|
157
61
|
- examples/dependencies/.gitignore
|
158
62
|
- examples/dependencies/Gemfile
|
159
63
|
- examples/dependencies/README.md
|
@@ -177,7 +81,7 @@ files:
|
|
177
81
|
- lib/opal/scope.rb
|
178
82
|
- lib/opal/version.rb
|
179
83
|
- opal.gemspec
|
180
|
-
- spec/builder/
|
84
|
+
- spec/builder/build_order_spec.rb
|
181
85
|
- spec/builder/fixtures/build_source/adam.rb
|
182
86
|
- spec/builder/fixtures/build_source/bar/a.rb
|
183
87
|
- spec/builder/fixtures/build_source/bar/wow/b.rb
|
@@ -188,6 +92,7 @@ files:
|
|
188
92
|
- spec/builder/fixtures/build_source/foo/b.rb
|
189
93
|
- spec/builder/fixtures/build_source/foo/x.js
|
190
94
|
- spec/builder/fixtures/build_source/foo/y.js
|
95
|
+
- spec/builder/lib_name_for_spec.rb
|
191
96
|
- spec/grammar/alias_spec.rb
|
192
97
|
- spec/grammar/and_spec.rb
|
193
98
|
- spec/grammar/array_spec.rb
|
@@ -208,6 +113,7 @@ files:
|
|
208
113
|
- spec/grammar/if_spec.rb
|
209
114
|
- spec/grammar/iter_spec.rb
|
210
115
|
- spec/grammar/ivar_spec.rb
|
116
|
+
- spec/grammar/lambda_spec.rb
|
211
117
|
- spec/grammar/lasgn_spec.rb
|
212
118
|
- spec/grammar/line_spec.rb
|
213
119
|
- spec/grammar/lvar_spec.rb
|
@@ -230,6 +136,215 @@ files:
|
|
230
136
|
- spec/grammar/xstr_spec.rb
|
231
137
|
- spec/grammar/yield_spec.rb
|
232
138
|
- spec/spec_helper.rb
|
139
|
+
- test/core/array/allocate_spec.rb
|
140
|
+
- test/core/array/append_spec.rb
|
141
|
+
- test/core/array/assoc_spec.rb
|
142
|
+
- test/core/array/at_spec.rb
|
143
|
+
- test/core/array/clear_spec.rb
|
144
|
+
- test/core/array/clone_spec.rb
|
145
|
+
- test/core/array/collect_spec.rb
|
146
|
+
- test/core/array/compact_spec.rb
|
147
|
+
- test/core/array/concat_spec.rb
|
148
|
+
- test/core/array/constructor_spec.rb
|
149
|
+
- test/core/array/count_spec.rb
|
150
|
+
- test/core/array/delete_at_spec.rb
|
151
|
+
- test/core/array/delete_if_spec.rb
|
152
|
+
- test/core/array/delete_spec.rb
|
153
|
+
- test/core/array/each_index_spec.rb
|
154
|
+
- test/core/array/each_spec.rb
|
155
|
+
- test/core/array/element_reference_spec.rb
|
156
|
+
- test/core/array/empty_spec.rb
|
157
|
+
- test/core/array/eql_spec.rb
|
158
|
+
- test/core/array/fetch_spec.rb
|
159
|
+
- test/core/array/first_spec.rb
|
160
|
+
- test/core/array/flatten_spec.rb
|
161
|
+
- test/core/array/include_spec.rb
|
162
|
+
- test/core/array/insert_spec.rb
|
163
|
+
- test/core/array/last_spec.rb
|
164
|
+
- test/core/array/length_spec.rb
|
165
|
+
- test/core/array/map_spec.rb
|
166
|
+
- test/core/array/plus_spec.rb
|
167
|
+
- test/core/array/pop_spec.rb
|
168
|
+
- test/core/array/push_spec.rb
|
169
|
+
- test/core/array/rassoc_spec.rb
|
170
|
+
- test/core/array/reject_spec.rb
|
171
|
+
- test/core/array/replace_spec.rb
|
172
|
+
- test/core/array/reverse_each_spec.rb
|
173
|
+
- test/core/array/reverse_spec.rb
|
174
|
+
- test/core/array/size_spec.rb
|
175
|
+
- test/core/array/to_ary_spec.rb
|
176
|
+
- test/core/array/uniq_spec.rb
|
177
|
+
- test/core/array/zip_spec.rb
|
178
|
+
- test/core/class/fixtures/classes.rb
|
179
|
+
- test/core/class/new_spec.rb
|
180
|
+
- test/core/enumerable/all_spec.rb
|
181
|
+
- test/core/enumerable/any_spec.rb
|
182
|
+
- test/core/enumerable/collect_spec.rb
|
183
|
+
- test/core/enumerable/count_spec.rb
|
184
|
+
- test/core/enumerable/detect_spec.rb
|
185
|
+
- test/core/enumerable/drop_spec.rb
|
186
|
+
- test/core/enumerable/drop_while_spec.rb
|
187
|
+
- test/core/enumerable/each_with_index_spec.rb
|
188
|
+
- test/core/enumerable/each_with_object_spec.rb
|
189
|
+
- test/core/enumerable/entries_spec.rb
|
190
|
+
- test/core/enumerable/find_all_spec.rb
|
191
|
+
- test/core/enumerable/find_index_spec.rb
|
192
|
+
- test/core/enumerable/find_spec.rb
|
193
|
+
- test/core/enumerable/first_spec.rb
|
194
|
+
- test/core/enumerable/fixtures/classes.rb
|
195
|
+
- test/core/enumerable/grep_spec.rb
|
196
|
+
- test/core/enumerable/take_spec.rb
|
197
|
+
- test/core/enumerable/to_a_spec.rb
|
198
|
+
- test/core/false/and_spec.rb
|
199
|
+
- test/core/false/inspect_spec.rb
|
200
|
+
- test/core/false/or_spec.rb
|
201
|
+
- test/core/false/to_s_spec.rb
|
202
|
+
- test/core/false/xor_spec.rb
|
203
|
+
- test/core/file/expand_path_spec.rb
|
204
|
+
- test/core/hash/allocate_spec.rb
|
205
|
+
- test/core/hash/assoc_spec.rb
|
206
|
+
- test/core/hash/clear_spec.rb
|
207
|
+
- test/core/hash/clone_spec.rb
|
208
|
+
- test/core/hash/default_spec.rb
|
209
|
+
- test/core/hash/delete_if_spec.rb
|
210
|
+
- test/core/hash/each_key_spec.rb
|
211
|
+
- test/core/hash/each_pair_spec.rb
|
212
|
+
- test/core/hash/each_spec.rb
|
213
|
+
- test/core/hash/each_value_spec.rb
|
214
|
+
- test/core/hash/element_reference_spec.rb
|
215
|
+
- test/core/hash/element_set_spec.rb
|
216
|
+
- test/core/hash/empty_spec.rb
|
217
|
+
- test/core/hash/fetch_spec.rb
|
218
|
+
- test/core/hash/flatten_spec.rb
|
219
|
+
- test/core/hash/has_key_spec.rb
|
220
|
+
- test/core/hash/has_value_spec.rb
|
221
|
+
- test/core/hash/include_spec.rb
|
222
|
+
- test/core/hash/index_spec.rb
|
223
|
+
- test/core/hash/indexes_spec.rb
|
224
|
+
- test/core/hash/indices_spec.rb
|
225
|
+
- test/core/hash/invert_spec.rb
|
226
|
+
- test/core/hash/keep_if_spec.rb
|
227
|
+
- test/core/hash/key_spec.rb
|
228
|
+
- test/core/hash/keys_spec.rb
|
229
|
+
- test/core/hash/length_spec.rb
|
230
|
+
- test/core/hash/member_spec.rb
|
231
|
+
- test/core/hash/merge_spec.rb
|
232
|
+
- test/core/hash/new_spec.rb
|
233
|
+
- test/core/hash/rassoc_spec.rb
|
234
|
+
- test/core/hash/replace_spec.rb
|
235
|
+
- test/core/hash/select_spec.rb
|
236
|
+
- test/core/hash/shift_spec.rb
|
237
|
+
- test/core/hash/size_spec.rb
|
238
|
+
- test/core/hash/update_spec.rb
|
239
|
+
- test/core/hash/value_spec.rb
|
240
|
+
- test/core/hash/values_at_spec.rb
|
241
|
+
- test/core/hash/values_spec.rb
|
242
|
+
- test/core/kernel/eql_spec.rb
|
243
|
+
- test/core/kernel/equal_value_spec.rb
|
244
|
+
- test/core/kernel/loop_spec.rb
|
245
|
+
- test/core/kernel/nil_spec.rb
|
246
|
+
- test/core/kernel/proc_spec.rb
|
247
|
+
- test/core/kernel/rand_spec.rb
|
248
|
+
- test/core/kernel/respond_to_spec.rb
|
249
|
+
- test/core/kernel/send_spec.rb
|
250
|
+
- test/core/kernel/tap_spec.rb
|
251
|
+
- test/core/kernel/to_s_spec.rb
|
252
|
+
- test/core/matchdata/to_a_spec.rb
|
253
|
+
- test/core/nil/and_spec.rb
|
254
|
+
- test/core/nil/inspect_spec.rb
|
255
|
+
- test/core/nil/nil_spec.rb
|
256
|
+
- test/core/nil/or_spec.rb
|
257
|
+
- test/core/nil/to_a_spec.rb
|
258
|
+
- test/core/nil/to_f_spec.rb
|
259
|
+
- test/core/nil/to_i_spec.rb
|
260
|
+
- test/core/nil/to_s_spec.rb
|
261
|
+
- test/core/nil/xor_spec.rb
|
262
|
+
- test/core/numeric/equal_value_spec.rb
|
263
|
+
- test/core/range/begin_spec.rb
|
264
|
+
- test/core/range/case_compare_spec.rb
|
265
|
+
- test/core/range/end_spec.rb
|
266
|
+
- test/core/regexp/match_spec.rb
|
267
|
+
- test/core/string/capitalize_spec.rb
|
268
|
+
- test/core/string/casecmp_spec.rb
|
269
|
+
- test/core/string/chomp_spec.rb
|
270
|
+
- test/core/string/chop_spec.rb
|
271
|
+
- test/core/string/chr_spec.rb
|
272
|
+
- test/core/string/comparison_spec.rb
|
273
|
+
- test/core/string/downcase_spec.rb
|
274
|
+
- test/core/string/element_reference_spec.rb
|
275
|
+
- test/core/string/empty_spec.rb
|
276
|
+
- test/core/string/end_with_spec.rb
|
277
|
+
- test/core/string/fixtures/classes.rb
|
278
|
+
- test/core/string/gsub_spec.rb
|
279
|
+
- test/core/string/include_spec.rb
|
280
|
+
- test/core/string/intern_spec.rb
|
281
|
+
- test/core/string/length_spec.rb
|
282
|
+
- test/core/string/lstrip_spec.rb
|
283
|
+
- test/core/string/match_spec.rb
|
284
|
+
- test/core/string/next_spec.rb
|
285
|
+
- test/core/string/ord_spec.rb
|
286
|
+
- test/core/string/partition_spec.rb
|
287
|
+
- test/core/string/reverse_spec.rb
|
288
|
+
- test/core/string/rstrip_spec.rb
|
289
|
+
- test/core/string/size_spec.rb
|
290
|
+
- test/core/string/slice_spec.rb
|
291
|
+
- test/core/string/split_spec.rb
|
292
|
+
- test/core/string/start_with_spec.rb
|
293
|
+
- test/core/string/strip_spec.rb
|
294
|
+
- test/core/string/sub_spec.rb
|
295
|
+
- test/core/string/succ_spec.rb
|
296
|
+
- test/core/string/sum_spec.rb
|
297
|
+
- test/core/string/swapcase_spec.rb
|
298
|
+
- test/core/string/to_a_spec.rb
|
299
|
+
- test/core/string/to_f_spec.rb
|
300
|
+
- test/core/string/to_i_spec.rb
|
301
|
+
- test/core/string/to_s_spec.rb
|
302
|
+
- test/core/string/to_str_spec.rb
|
303
|
+
- test/core/string/to_sym_spec.rb
|
304
|
+
- test/core/string/upcase_spec.rb
|
305
|
+
- test/core/symbol/to_proc_spec.rb
|
306
|
+
- test/core/true/and_spec.rb
|
307
|
+
- test/core/true/inspect_spec.rb
|
308
|
+
- test/core/true/or_spec.rb
|
309
|
+
- test/core/true/to_s_spec.rb
|
310
|
+
- test/core/true/xor_spec.rb
|
311
|
+
- test/index.html
|
312
|
+
- test/language/alias_spec.rb
|
313
|
+
- test/language/and_spec.rb
|
314
|
+
- test/language/array_spec.rb
|
315
|
+
- test/language/block_spec.rb
|
316
|
+
- test/language/break_spec.rb
|
317
|
+
- test/language/case_spec.rb
|
318
|
+
- test/language/defined_spec.rb
|
319
|
+
- test/language/ensure_spec.rb
|
320
|
+
- test/language/fixtures/yield.rb
|
321
|
+
- test/language/hash_spec.rb
|
322
|
+
- test/language/if_spec.rb
|
323
|
+
- test/language/literal_lambda_spec.rb
|
324
|
+
- test/language/loop_spec.rb
|
325
|
+
- test/language/metaclass_spec.rb
|
326
|
+
- test/language/next_spec.rb
|
327
|
+
- test/language/or_spec.rb
|
328
|
+
- test/language/predefined_spec.rb
|
329
|
+
- test/language/regexp_spec.rb
|
330
|
+
- test/language/send_spec.rb
|
331
|
+
- test/language/singleton_class_spec.rb
|
332
|
+
- test/language/super_spec.rb
|
333
|
+
- test/language/symbol_spec.rb
|
334
|
+
- test/language/undef_spec.rb
|
335
|
+
- test/language/unless_spec.rb
|
336
|
+
- test/language/until_spec.rb
|
337
|
+
- test/language/variables_spec.rb
|
338
|
+
- test/language/while_spec.rb
|
339
|
+
- test/language/yield_spec.rb
|
340
|
+
- test/opal/array/subclassing_spec.rb
|
341
|
+
- test/opal/class/bridge_class_spec.rb
|
342
|
+
- test/opal/exception/subclassing_spec.rb
|
343
|
+
- test/opal/runtime/_methods_spec.rb
|
344
|
+
- test/opal/runtime/class_hierarchy_spec.rb
|
345
|
+
- test/opal/runtime/def_spec.rb
|
346
|
+
- test/opal/string/subclassing_spec.rb
|
347
|
+
- test/spec_helper.rb
|
233
348
|
homepage: http://opalrb.org
|
234
349
|
licenses: []
|
235
350
|
post_install_message:
|
@@ -244,7 +359,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
244
359
|
version: '0'
|
245
360
|
segments:
|
246
361
|
- 0
|
247
|
-
hash:
|
362
|
+
hash: 433748311557838667
|
248
363
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
249
364
|
none: false
|
250
365
|
requirements:
|
@@ -253,15 +368,15 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
253
368
|
version: '0'
|
254
369
|
segments:
|
255
370
|
- 0
|
256
|
-
hash:
|
371
|
+
hash: 433748311557838667
|
257
372
|
requirements: []
|
258
373
|
rubyforge_project:
|
259
|
-
rubygems_version: 1.8.
|
374
|
+
rubygems_version: 1.8.10
|
260
375
|
signing_key:
|
261
376
|
specification_version: 3
|
262
377
|
summary: Ruby runtime and core library for javascript
|
263
378
|
test_files:
|
264
|
-
- spec/builder/
|
379
|
+
- spec/builder/build_order_spec.rb
|
265
380
|
- spec/builder/fixtures/build_source/adam.rb
|
266
381
|
- spec/builder/fixtures/build_source/bar/a.rb
|
267
382
|
- spec/builder/fixtures/build_source/bar/wow/b.rb
|
@@ -272,6 +387,7 @@ test_files:
|
|
272
387
|
- spec/builder/fixtures/build_source/foo/b.rb
|
273
388
|
- spec/builder/fixtures/build_source/foo/x.js
|
274
389
|
- spec/builder/fixtures/build_source/foo/y.js
|
390
|
+
- spec/builder/lib_name_for_spec.rb
|
275
391
|
- spec/grammar/alias_spec.rb
|
276
392
|
- spec/grammar/and_spec.rb
|
277
393
|
- spec/grammar/array_spec.rb
|
@@ -292,6 +408,7 @@ test_files:
|
|
292
408
|
- spec/grammar/if_spec.rb
|
293
409
|
- spec/grammar/iter_spec.rb
|
294
410
|
- spec/grammar/ivar_spec.rb
|
411
|
+
- spec/grammar/lambda_spec.rb
|
295
412
|
- spec/grammar/lasgn_spec.rb
|
296
413
|
- spec/grammar/line_spec.rb
|
297
414
|
- spec/grammar/lvar_spec.rb
|
@@ -314,3 +431,212 @@ test_files:
|
|
314
431
|
- spec/grammar/xstr_spec.rb
|
315
432
|
- spec/grammar/yield_spec.rb
|
316
433
|
- spec/spec_helper.rb
|
434
|
+
- test/core/array/allocate_spec.rb
|
435
|
+
- test/core/array/append_spec.rb
|
436
|
+
- test/core/array/assoc_spec.rb
|
437
|
+
- test/core/array/at_spec.rb
|
438
|
+
- test/core/array/clear_spec.rb
|
439
|
+
- test/core/array/clone_spec.rb
|
440
|
+
- test/core/array/collect_spec.rb
|
441
|
+
- test/core/array/compact_spec.rb
|
442
|
+
- test/core/array/concat_spec.rb
|
443
|
+
- test/core/array/constructor_spec.rb
|
444
|
+
- test/core/array/count_spec.rb
|
445
|
+
- test/core/array/delete_at_spec.rb
|
446
|
+
- test/core/array/delete_if_spec.rb
|
447
|
+
- test/core/array/delete_spec.rb
|
448
|
+
- test/core/array/each_index_spec.rb
|
449
|
+
- test/core/array/each_spec.rb
|
450
|
+
- test/core/array/element_reference_spec.rb
|
451
|
+
- test/core/array/empty_spec.rb
|
452
|
+
- test/core/array/eql_spec.rb
|
453
|
+
- test/core/array/fetch_spec.rb
|
454
|
+
- test/core/array/first_spec.rb
|
455
|
+
- test/core/array/flatten_spec.rb
|
456
|
+
- test/core/array/include_spec.rb
|
457
|
+
- test/core/array/insert_spec.rb
|
458
|
+
- test/core/array/last_spec.rb
|
459
|
+
- test/core/array/length_spec.rb
|
460
|
+
- test/core/array/map_spec.rb
|
461
|
+
- test/core/array/plus_spec.rb
|
462
|
+
- test/core/array/pop_spec.rb
|
463
|
+
- test/core/array/push_spec.rb
|
464
|
+
- test/core/array/rassoc_spec.rb
|
465
|
+
- test/core/array/reject_spec.rb
|
466
|
+
- test/core/array/replace_spec.rb
|
467
|
+
- test/core/array/reverse_each_spec.rb
|
468
|
+
- test/core/array/reverse_spec.rb
|
469
|
+
- test/core/array/size_spec.rb
|
470
|
+
- test/core/array/to_ary_spec.rb
|
471
|
+
- test/core/array/uniq_spec.rb
|
472
|
+
- test/core/array/zip_spec.rb
|
473
|
+
- test/core/class/fixtures/classes.rb
|
474
|
+
- test/core/class/new_spec.rb
|
475
|
+
- test/core/enumerable/all_spec.rb
|
476
|
+
- test/core/enumerable/any_spec.rb
|
477
|
+
- test/core/enumerable/collect_spec.rb
|
478
|
+
- test/core/enumerable/count_spec.rb
|
479
|
+
- test/core/enumerable/detect_spec.rb
|
480
|
+
- test/core/enumerable/drop_spec.rb
|
481
|
+
- test/core/enumerable/drop_while_spec.rb
|
482
|
+
- test/core/enumerable/each_with_index_spec.rb
|
483
|
+
- test/core/enumerable/each_with_object_spec.rb
|
484
|
+
- test/core/enumerable/entries_spec.rb
|
485
|
+
- test/core/enumerable/find_all_spec.rb
|
486
|
+
- test/core/enumerable/find_index_spec.rb
|
487
|
+
- test/core/enumerable/find_spec.rb
|
488
|
+
- test/core/enumerable/first_spec.rb
|
489
|
+
- test/core/enumerable/fixtures/classes.rb
|
490
|
+
- test/core/enumerable/grep_spec.rb
|
491
|
+
- test/core/enumerable/take_spec.rb
|
492
|
+
- test/core/enumerable/to_a_spec.rb
|
493
|
+
- test/core/false/and_spec.rb
|
494
|
+
- test/core/false/inspect_spec.rb
|
495
|
+
- test/core/false/or_spec.rb
|
496
|
+
- test/core/false/to_s_spec.rb
|
497
|
+
- test/core/false/xor_spec.rb
|
498
|
+
- test/core/file/expand_path_spec.rb
|
499
|
+
- test/core/hash/allocate_spec.rb
|
500
|
+
- test/core/hash/assoc_spec.rb
|
501
|
+
- test/core/hash/clear_spec.rb
|
502
|
+
- test/core/hash/clone_spec.rb
|
503
|
+
- test/core/hash/default_spec.rb
|
504
|
+
- test/core/hash/delete_if_spec.rb
|
505
|
+
- test/core/hash/each_key_spec.rb
|
506
|
+
- test/core/hash/each_pair_spec.rb
|
507
|
+
- test/core/hash/each_spec.rb
|
508
|
+
- test/core/hash/each_value_spec.rb
|
509
|
+
- test/core/hash/element_reference_spec.rb
|
510
|
+
- test/core/hash/element_set_spec.rb
|
511
|
+
- test/core/hash/empty_spec.rb
|
512
|
+
- test/core/hash/fetch_spec.rb
|
513
|
+
- test/core/hash/flatten_spec.rb
|
514
|
+
- test/core/hash/has_key_spec.rb
|
515
|
+
- test/core/hash/has_value_spec.rb
|
516
|
+
- test/core/hash/include_spec.rb
|
517
|
+
- test/core/hash/index_spec.rb
|
518
|
+
- test/core/hash/indexes_spec.rb
|
519
|
+
- test/core/hash/indices_spec.rb
|
520
|
+
- test/core/hash/invert_spec.rb
|
521
|
+
- test/core/hash/keep_if_spec.rb
|
522
|
+
- test/core/hash/key_spec.rb
|
523
|
+
- test/core/hash/keys_spec.rb
|
524
|
+
- test/core/hash/length_spec.rb
|
525
|
+
- test/core/hash/member_spec.rb
|
526
|
+
- test/core/hash/merge_spec.rb
|
527
|
+
- test/core/hash/new_spec.rb
|
528
|
+
- test/core/hash/rassoc_spec.rb
|
529
|
+
- test/core/hash/replace_spec.rb
|
530
|
+
- test/core/hash/select_spec.rb
|
531
|
+
- test/core/hash/shift_spec.rb
|
532
|
+
- test/core/hash/size_spec.rb
|
533
|
+
- test/core/hash/update_spec.rb
|
534
|
+
- test/core/hash/value_spec.rb
|
535
|
+
- test/core/hash/values_at_spec.rb
|
536
|
+
- test/core/hash/values_spec.rb
|
537
|
+
- test/core/kernel/eql_spec.rb
|
538
|
+
- test/core/kernel/equal_value_spec.rb
|
539
|
+
- test/core/kernel/loop_spec.rb
|
540
|
+
- test/core/kernel/nil_spec.rb
|
541
|
+
- test/core/kernel/proc_spec.rb
|
542
|
+
- test/core/kernel/rand_spec.rb
|
543
|
+
- test/core/kernel/respond_to_spec.rb
|
544
|
+
- test/core/kernel/send_spec.rb
|
545
|
+
- test/core/kernel/tap_spec.rb
|
546
|
+
- test/core/kernel/to_s_spec.rb
|
547
|
+
- test/core/matchdata/to_a_spec.rb
|
548
|
+
- test/core/nil/and_spec.rb
|
549
|
+
- test/core/nil/inspect_spec.rb
|
550
|
+
- test/core/nil/nil_spec.rb
|
551
|
+
- test/core/nil/or_spec.rb
|
552
|
+
- test/core/nil/to_a_spec.rb
|
553
|
+
- test/core/nil/to_f_spec.rb
|
554
|
+
- test/core/nil/to_i_spec.rb
|
555
|
+
- test/core/nil/to_s_spec.rb
|
556
|
+
- test/core/nil/xor_spec.rb
|
557
|
+
- test/core/numeric/equal_value_spec.rb
|
558
|
+
- test/core/range/begin_spec.rb
|
559
|
+
- test/core/range/case_compare_spec.rb
|
560
|
+
- test/core/range/end_spec.rb
|
561
|
+
- test/core/regexp/match_spec.rb
|
562
|
+
- test/core/string/capitalize_spec.rb
|
563
|
+
- test/core/string/casecmp_spec.rb
|
564
|
+
- test/core/string/chomp_spec.rb
|
565
|
+
- test/core/string/chop_spec.rb
|
566
|
+
- test/core/string/chr_spec.rb
|
567
|
+
- test/core/string/comparison_spec.rb
|
568
|
+
- test/core/string/downcase_spec.rb
|
569
|
+
- test/core/string/element_reference_spec.rb
|
570
|
+
- test/core/string/empty_spec.rb
|
571
|
+
- test/core/string/end_with_spec.rb
|
572
|
+
- test/core/string/fixtures/classes.rb
|
573
|
+
- test/core/string/gsub_spec.rb
|
574
|
+
- test/core/string/include_spec.rb
|
575
|
+
- test/core/string/intern_spec.rb
|
576
|
+
- test/core/string/length_spec.rb
|
577
|
+
- test/core/string/lstrip_spec.rb
|
578
|
+
- test/core/string/match_spec.rb
|
579
|
+
- test/core/string/next_spec.rb
|
580
|
+
- test/core/string/ord_spec.rb
|
581
|
+
- test/core/string/partition_spec.rb
|
582
|
+
- test/core/string/reverse_spec.rb
|
583
|
+
- test/core/string/rstrip_spec.rb
|
584
|
+
- test/core/string/size_spec.rb
|
585
|
+
- test/core/string/slice_spec.rb
|
586
|
+
- test/core/string/split_spec.rb
|
587
|
+
- test/core/string/start_with_spec.rb
|
588
|
+
- test/core/string/strip_spec.rb
|
589
|
+
- test/core/string/sub_spec.rb
|
590
|
+
- test/core/string/succ_spec.rb
|
591
|
+
- test/core/string/sum_spec.rb
|
592
|
+
- test/core/string/swapcase_spec.rb
|
593
|
+
- test/core/string/to_a_spec.rb
|
594
|
+
- test/core/string/to_f_spec.rb
|
595
|
+
- test/core/string/to_i_spec.rb
|
596
|
+
- test/core/string/to_s_spec.rb
|
597
|
+
- test/core/string/to_str_spec.rb
|
598
|
+
- test/core/string/to_sym_spec.rb
|
599
|
+
- test/core/string/upcase_spec.rb
|
600
|
+
- test/core/symbol/to_proc_spec.rb
|
601
|
+
- test/core/true/and_spec.rb
|
602
|
+
- test/core/true/inspect_spec.rb
|
603
|
+
- test/core/true/or_spec.rb
|
604
|
+
- test/core/true/to_s_spec.rb
|
605
|
+
- test/core/true/xor_spec.rb
|
606
|
+
- test/index.html
|
607
|
+
- test/language/alias_spec.rb
|
608
|
+
- test/language/and_spec.rb
|
609
|
+
- test/language/array_spec.rb
|
610
|
+
- test/language/block_spec.rb
|
611
|
+
- test/language/break_spec.rb
|
612
|
+
- test/language/case_spec.rb
|
613
|
+
- test/language/defined_spec.rb
|
614
|
+
- test/language/ensure_spec.rb
|
615
|
+
- test/language/fixtures/yield.rb
|
616
|
+
- test/language/hash_spec.rb
|
617
|
+
- test/language/if_spec.rb
|
618
|
+
- test/language/literal_lambda_spec.rb
|
619
|
+
- test/language/loop_spec.rb
|
620
|
+
- test/language/metaclass_spec.rb
|
621
|
+
- test/language/next_spec.rb
|
622
|
+
- test/language/or_spec.rb
|
623
|
+
- test/language/predefined_spec.rb
|
624
|
+
- test/language/regexp_spec.rb
|
625
|
+
- test/language/send_spec.rb
|
626
|
+
- test/language/singleton_class_spec.rb
|
627
|
+
- test/language/super_spec.rb
|
628
|
+
- test/language/symbol_spec.rb
|
629
|
+
- test/language/undef_spec.rb
|
630
|
+
- test/language/unless_spec.rb
|
631
|
+
- test/language/until_spec.rb
|
632
|
+
- test/language/variables_spec.rb
|
633
|
+
- test/language/while_spec.rb
|
634
|
+
- test/language/yield_spec.rb
|
635
|
+
- test/opal/array/subclassing_spec.rb
|
636
|
+
- test/opal/class/bridge_class_spec.rb
|
637
|
+
- test/opal/exception/subclassing_spec.rb
|
638
|
+
- test/opal/runtime/_methods_spec.rb
|
639
|
+
- test/opal/runtime/class_hierarchy_spec.rb
|
640
|
+
- test/opal/runtime/def_spec.rb
|
641
|
+
- test/opal/string/subclassing_spec.rb
|
642
|
+
- test/spec_helper.rb
|