opal 0.3.21 → 0.3.22
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +1 -4
- data/Gemfile +9 -4
- data/README.md +10 -589
- data/Rakefile +51 -19
- data/config.ru +17 -0
- data/core/array.rb +42 -34
- data/core/basic_object.rb +4 -4
- data/core/browser.js +31 -0
- data/core/class.rb +7 -7
- data/core/enumerable.rb +65 -69
- data/core/erb.rb +30 -0
- data/core/error.rb +2 -3
- data/core/hash.rb +47 -18
- data/core/kernel.rb +15 -16
- data/core/load_order +2 -1
- data/core/module.rb +19 -37
- data/core/numeric.rb +4 -2
- data/core/object.rb +4 -0
- data/core/proc.rb +6 -3
- data/core/racc.rb +215 -0
- data/core/regexp.rb +16 -21
- data/core/runtime.js +141 -153
- data/core/string.rb +41 -19
- data/core/strscan.rb +61 -0
- data/core/time.rb +1 -5
- data/docs/index.md +616 -0
- data/docs/post.html +2 -8
- data/docs/pre.html +29 -26
- data/docs/try.html +52 -0
- data/lib/opal.rb +33 -3
- data/lib/opal/builder.rb +14 -34
- data/lib/opal/erb_parser.rb +19 -0
- data/lib/opal/grammar.rb +7 -3
- data/lib/opal/grammar.y +3 -0
- data/lib/opal/lexer.rb +16 -8
- data/lib/opal/parser.rb +156 -119
- data/lib/opal/rake_task.rb +2 -2
- data/lib/opal/scope.rb +9 -10
- data/lib/opal/version.rb +1 -1
- data/{test → spec}/core/array/allocate_spec.rb +0 -0
- data/{test → spec}/core/array/append_spec.rb +0 -0
- data/{test → spec}/core/array/assoc_spec.rb +0 -0
- data/{test → spec}/core/array/at_spec.rb +0 -0
- data/{test → spec}/core/array/clear_spec.rb +0 -0
- data/{test → spec}/core/array/clone_spec.rb +0 -0
- data/{test → spec}/core/array/collect_spec.rb +0 -0
- data/{test → spec}/core/array/compact_spec.rb +0 -0
- data/{test → spec}/core/array/concat_spec.rb +0 -0
- data/{test → spec}/core/array/constructor_spec.rb +0 -0
- data/{test → spec}/core/array/count_spec.rb +0 -0
- data/{test → spec}/core/array/delete_at_spec.rb +0 -0
- data/{test → spec}/core/array/delete_if_spec.rb +0 -0
- data/{test → spec}/core/array/delete_spec.rb +0 -0
- data/{test → spec}/core/array/each_index_spec.rb +0 -0
- data/{test → spec}/core/array/each_spec.rb +0 -0
- data/{test → spec}/core/array/element_reference_spec.rb +0 -0
- data/{test → spec}/core/array/empty_spec.rb +0 -0
- data/{test → spec}/core/array/eql_spec.rb +0 -0
- data/{test → spec}/core/array/fetch_spec.rb +0 -0
- data/{test → spec}/core/array/first_spec.rb +0 -0
- data/{test → spec}/core/array/flatten_spec.rb +0 -0
- data/{test → spec}/core/array/include_spec.rb +0 -0
- data/{test → spec}/core/array/insert_spec.rb +0 -0
- data/{test → spec}/core/array/last_spec.rb +0 -0
- data/{test → spec}/core/array/length_spec.rb +0 -0
- data/{test → spec}/core/array/map_spec.rb +0 -0
- data/{test → spec}/core/array/minus_spec.rb +0 -0
- data/{test → spec}/core/array/plus_spec.rb +0 -0
- data/{test → spec}/core/array/pop_spec.rb +0 -0
- data/{test → spec}/core/array/push_spec.rb +0 -0
- data/{test → spec}/core/array/rassoc_spec.rb +0 -0
- data/{test → spec}/core/array/reject_spec.rb +0 -0
- data/{test → spec}/core/array/replace_spec.rb +0 -0
- data/{test → spec}/core/array/reverse_each_spec.rb +0 -0
- data/{test → spec}/core/array/reverse_spec.rb +0 -0
- data/{test → spec}/core/array/size_spec.rb +0 -0
- data/{test → spec}/core/array/to_ary_spec.rb +0 -0
- data/{test → spec}/core/array/uniq_spec.rb +0 -0
- data/{test → spec}/core/array/zip_spec.rb +0 -0
- data/{test → spec}/core/class/fixtures/classes.rb +0 -0
- data/{test → spec}/core/class/new_spec.rb +3 -0
- data/{test → spec}/core/enumerable/all_spec.rb +3 -0
- data/{test → spec}/core/enumerable/any_spec.rb +0 -0
- data/{test → spec}/core/enumerable/collect_spec.rb +0 -0
- data/{test → spec}/core/enumerable/count_spec.rb +0 -0
- data/{test → spec}/core/enumerable/detect_spec.rb +0 -0
- data/{test → spec}/core/enumerable/drop_spec.rb +0 -0
- data/{test → spec}/core/enumerable/drop_while_spec.rb +0 -0
- data/{test → spec}/core/enumerable/each_with_index_spec.rb +0 -0
- data/{test → spec}/core/enumerable/each_with_object_spec.rb +0 -0
- data/{test → spec}/core/enumerable/entries_spec.rb +0 -0
- data/{test → spec}/core/enumerable/find_all_spec.rb +0 -0
- data/{test → spec}/core/enumerable/find_index_spec.rb +0 -0
- data/{test → spec}/core/enumerable/find_spec.rb +0 -0
- data/{test → spec}/core/enumerable/first_spec.rb +0 -0
- data/{test → spec}/core/enumerable/fixtures/classes.rb +0 -0
- data/{test → spec}/core/enumerable/grep_spec.rb +0 -0
- data/{test → spec}/core/enumerable/take_spec.rb +0 -0
- data/{test → spec}/core/enumerable/to_a_spec.rb +0 -0
- data/{test → spec}/core/false/and_spec.rb +0 -0
- data/{test → spec}/core/false/inspect_spec.rb +0 -0
- data/{test → spec}/core/false/or_spec.rb +0 -0
- data/{test → spec}/core/false/to_s_spec.rb +0 -0
- data/{test → spec}/core/false/xor_spec.rb +0 -0
- data/{test → spec}/core/hash/allocate_spec.rb +0 -0
- data/{test → spec}/core/hash/assoc_spec.rb +0 -0
- data/{test → spec}/core/hash/clear_spec.rb +0 -0
- data/{test → spec}/core/hash/clone_spec.rb +0 -0
- data/{test → spec}/core/hash/default_spec.rb +0 -0
- data/{test → spec}/core/hash/delete_if_spec.rb +0 -0
- data/{test → spec}/core/hash/each_key_spec.rb +0 -0
- data/{test → spec}/core/hash/each_pair_spec.rb +0 -0
- data/{test → spec}/core/hash/each_spec.rb +0 -0
- data/{test → spec}/core/hash/each_value_spec.rb +0 -0
- data/{test → spec}/core/hash/element_reference_spec.rb +14 -1
- data/{test → spec}/core/hash/element_set_spec.rb +0 -0
- data/{test → spec}/core/hash/empty_spec.rb +0 -0
- data/{test → spec}/core/hash/fetch_spec.rb +0 -0
- data/{test → spec}/core/hash/flatten_spec.rb +0 -0
- data/{test → spec}/core/hash/has_key_spec.rb +0 -0
- data/{test → spec}/core/hash/has_value_spec.rb +0 -0
- data/{test → spec}/core/hash/include_spec.rb +0 -0
- data/{test → spec}/core/hash/index_spec.rb +0 -0
- data/{test → spec}/core/hash/indexes_spec.rb +0 -0
- data/{test → spec}/core/hash/indices_spec.rb +0 -0
- data/{test → spec}/core/hash/invert_spec.rb +0 -0
- data/{test → spec}/core/hash/keep_if_spec.rb +0 -0
- data/{test → spec}/core/hash/key_spec.rb +0 -0
- data/{test → spec}/core/hash/keys_spec.rb +0 -0
- data/{test → spec}/core/hash/length_spec.rb +0 -0
- data/{test → spec}/core/hash/member_spec.rb +0 -0
- data/{test → spec}/core/hash/merge_spec.rb +0 -0
- data/{test → spec}/core/hash/new_spec.rb +8 -0
- data/{test → spec}/core/hash/rassoc_spec.rb +0 -0
- data/{test → spec}/core/hash/replace_spec.rb +0 -0
- data/{test → spec}/core/hash/select_spec.rb +0 -0
- data/{test → spec}/core/hash/shift_spec.rb +0 -0
- data/{test → spec}/core/hash/size_spec.rb +0 -0
- data/{test → spec}/core/hash/update_spec.rb +0 -0
- data/{test → spec}/core/hash/value_spec.rb +0 -0
- data/{test → spec}/core/hash/values_at_spec.rb +0 -0
- data/{test → spec}/core/hash/values_spec.rb +0 -0
- data/{test → spec}/core/kernel/define_singleton_method_spec.rb +0 -0
- data/{test → spec}/core/kernel/eql_spec.rb +0 -0
- data/{test → spec}/core/kernel/equal_value_spec.rb +0 -0
- data/{test → spec}/core/kernel/loop_spec.rb +0 -0
- data/{test → spec}/core/kernel/nil_spec.rb +0 -0
- data/{test → spec}/core/kernel/proc_spec.rb +4 -0
- data/{test → spec}/core/kernel/rand_spec.rb +0 -0
- data/{test → spec}/core/kernel/respond_to_spec.rb +0 -0
- data/{test → spec}/core/kernel/send_spec.rb +0 -0
- data/{test → spec}/core/kernel/tap_spec.rb +0 -0
- data/{test → spec}/core/kernel/to_s_spec.rb +0 -0
- data/{test → spec}/core/matchdata/to_a_spec.rb +0 -0
- data/{test → spec}/core/nil/and_spec.rb +0 -0
- data/{test → spec}/core/nil/inspect_spec.rb +0 -0
- data/{test → spec}/core/nil/nil_spec.rb +0 -0
- data/{test → spec}/core/nil/or_spec.rb +0 -0
- data/{test → spec}/core/nil/to_a_spec.rb +0 -0
- data/{test → spec}/core/nil/to_f_spec.rb +0 -0
- data/{test → spec}/core/nil/to_i_spec.rb +0 -0
- data/{test → spec}/core/nil/to_s_spec.rb +0 -0
- data/{test → spec}/core/nil/xor_spec.rb +0 -0
- data/{test → spec}/core/numeric/equal_value_spec.rb +0 -0
- data/spec/core/proc/proc_tricks_spec.rb +7 -0
- data/{test → spec}/core/range/begin_spec.rb +0 -0
- data/{test → spec}/core/range/case_compare_spec.rb +0 -0
- data/{test → spec}/core/range/end_spec.rb +0 -0
- data/{test → spec}/core/regexp/match_spec.rb +0 -0
- data/{test → spec}/core/string/capitalize_spec.rb +0 -0
- data/{test → spec}/core/string/casecmp_spec.rb +0 -0
- data/{test → spec}/core/string/chomp_spec.rb +0 -0
- data/{test → spec}/core/string/chop_spec.rb +0 -0
- data/{test → spec}/core/string/chr_spec.rb +0 -0
- data/{test → spec}/core/string/comparison_spec.rb +0 -0
- data/{test → spec}/core/string/downcase_spec.rb +0 -0
- data/{test → spec}/core/string/element_reference_spec.rb +14 -2
- data/{test → spec}/core/string/empty_spec.rb +0 -0
- data/{test → spec}/core/string/end_with_spec.rb +0 -0
- data/{test → spec}/core/string/fixtures/classes.rb +0 -0
- data/{test → spec}/core/string/gsub_spec.rb +0 -0
- data/{test → spec}/core/string/include_spec.rb +0 -0
- data/{test → spec}/core/string/intern_spec.rb +0 -0
- data/{test → spec}/core/string/length_spec.rb +0 -0
- data/{test → spec}/core/string/lstrip_spec.rb +0 -0
- data/{test → spec}/core/string/match_spec.rb +0 -0
- data/{test → spec}/core/string/next_spec.rb +0 -0
- data/{test → spec}/core/string/ord_spec.rb +0 -0
- data/{test → spec}/core/string/partition_spec.rb +0 -0
- data/{test → spec}/core/string/reverse_spec.rb +0 -0
- data/{test → spec}/core/string/rstrip_spec.rb +0 -0
- data/{test → spec}/core/string/size_spec.rb +0 -0
- data/{test → spec}/core/string/slice_spec.rb +4 -1
- data/{test → spec}/core/string/split_spec.rb +0 -0
- data/{test → spec}/core/string/start_with_spec.rb +0 -0
- data/{test → spec}/core/string/strip_spec.rb +0 -0
- data/{test → spec}/core/string/sub_spec.rb +0 -0
- data/{test → spec}/core/string/succ_spec.rb +0 -0
- data/{test → spec}/core/string/sum_spec.rb +0 -0
- data/{test → spec}/core/string/swapcase_spec.rb +0 -0
- data/{test → spec}/core/string/to_a_spec.rb +0 -0
- data/{test → spec}/core/string/to_f_spec.rb +0 -0
- data/{test → spec}/core/string/to_i_spec.rb +0 -0
- data/{test → spec}/core/string/to_s_spec.rb +0 -0
- data/{test → spec}/core/string/to_str_spec.rb +0 -0
- data/{test → spec}/core/string/to_sym_spec.rb +0 -0
- data/{test → spec}/core/string/upcase_spec.rb +0 -0
- data/{test → spec}/core/symbol/to_proc_spec.rb +0 -0
- data/{test → spec}/core/time/at_spec.rb +0 -0
- data/{test → spec}/core/time/day_spec.rb +0 -0
- data/{test → spec}/core/time/friday_spec.rb +0 -0
- data/{test → spec}/core/time/hour_spec.rb +0 -0
- data/{test → spec}/core/time/min_spec.rb +0 -0
- data/{test → spec}/core/time/monday_spec.rb +0 -0
- data/{test → spec}/core/time/month_spec.rb +0 -0
- data/{test → spec}/core/time/now_spec.rb +0 -0
- data/{test → spec}/core/time/saturday_spec.rb +0 -0
- data/{test → spec}/core/true/and_spec.rb +0 -0
- data/{test → spec}/core/true/inspect_spec.rb +0 -0
- data/{test → spec}/core/true/or_spec.rb +0 -0
- data/{test → spec}/core/true/to_s_spec.rb +0 -0
- data/{test → spec}/core/true/xor_spec.rb +0 -0
- data/spec/grammar/lvar_spec.rb +2 -1
- data/spec/grammar/str_spec.rb +1 -1
- data/spec/grammar/xstr_spec.rb +1 -1
- data/{test → spec}/index.html +3 -3
- data/{test → spec}/language/alias_spec.rb +0 -0
- data/{test → spec}/language/and_spec.rb +0 -0
- data/{test → spec}/language/array_spec.rb +0 -0
- data/{test → spec}/language/block_spec.rb +0 -0
- data/{test → spec}/language/break_spec.rb +0 -0
- data/{test → spec}/language/case_spec.rb +0 -0
- data/{test → spec}/language/defined_spec.rb +0 -0
- data/{test → spec}/language/ensure_spec.rb +2 -2
- data/{test → spec}/language/fixtures/next.rb +0 -0
- data/{test → spec}/language/fixtures/yield.rb +0 -0
- data/{test → spec}/language/hash_spec.rb +0 -0
- data/{test → spec}/language/if_spec.rb +0 -0
- data/{test → spec}/language/literal_lambda_spec.rb +0 -0
- data/{test → spec}/language/loop_spec.rb +0 -0
- data/{test → spec}/language/metaclass_spec.rb +0 -0
- data/{test → spec}/language/next_spec.rb +2 -0
- data/{test → spec}/language/or_spec.rb +0 -0
- data/{test → spec}/language/predefined_spec.rb +0 -0
- data/{test → spec}/language/regexp_spec.rb +0 -0
- data/{test → spec}/language/send_spec.rb +0 -0
- data/{test → spec}/language/singleton_class_spec.rb +0 -0
- data/{test → spec}/language/super_spec.rb +0 -0
- data/{test → spec}/language/symbol_spec.rb +0 -0
- data/{test → spec}/language/undef_spec.rb +0 -0
- data/{test → spec}/language/unless_spec.rb +0 -0
- data/{test → spec}/language/until_spec.rb +0 -0
- data/{test → spec}/language/variables_spec.rb +0 -0
- data/{test → spec}/language/while_spec.rb +0 -0
- data/{test → spec}/language/yield_spec.rb +2 -0
- data/{test → spec}/opal/array/subclassing_spec.rb +0 -0
- data/{test → spec}/opal/array/to_json_spec.rb +0 -0
- data/{test → spec}/opal/boolean/singleton_class_spec.rb +0 -0
- data/{test → spec}/opal/boolean/to_json_spec.rb +0 -0
- data/{test → spec}/opal/class/bridge_class_spec.rb +0 -0
- data/spec/opal/erb/erb_spec.rb +15 -0
- data/{test → spec}/opal/exception/subclassing_spec.rb +0 -0
- data/{test → spec}/opal/hash/to_json_spec.rb +0 -0
- data/spec/opal/hash/to_native_spec.rb +5 -0
- data/{test → spec}/opal/json/parse_spec.rb +0 -0
- data/{test → spec}/opal/kernel/to_json_spec.rb +0 -0
- data/{test → spec}/opal/nil/to_json_spec.rb +0 -0
- data/{test → spec}/opal/numeric/to_json_spec.rb +0 -0
- data/{test → spec}/opal/runtime/call_spec.rb +0 -0
- data/{test → spec}/opal/runtime/class_hierarchy_spec.rb +0 -0
- data/{test → spec}/opal/runtime/def_spec.rb +0 -0
- data/{test → spec}/opal/runtime/defined_spec.rb +0 -0
- data/{test → spec}/opal/runtime/method_missing_spec.rb +3 -3
- data/{test → spec}/opal/runtime/super_spec.rb +0 -0
- data/{test → spec}/opal/string/subclassing_spec.rb +0 -0
- data/{test → spec}/opal/string/to_json_spec.rb +0 -0
- data/spec/opal/strscan/check_spec.rb +13 -0
- data/spec/opal/strscan/scan_spec.rb +33 -0
- data/spec/parser/simple_spec.rb +44 -0
- data/spec/spec_helper.rb +7 -7
- metadata +487 -497
- data/core/dir.rb +0 -89
- data/core/file.rb +0 -85
- data/spec/browser_spec.rb +0 -28
- data/spec/builder/fixtures/build_source/adam.rb +0 -0
- data/spec/builder/fixtures/build_source/bar/a.rb +0 -0
- data/spec/builder/fixtures/build_source/bar/wow/b.rb +0 -0
- data/spec/builder/fixtures/build_source/bar/wow/cow/c.rb +0 -0
- data/spec/builder/fixtures/build_source/beynon.rb +0 -0
- data/spec/builder/fixtures/build_source/charles.js +0 -0
- data/spec/builder/fixtures/build_source/foo/a.rb +0 -0
- data/spec/builder/fixtures/build_source/foo/b.rb +0 -0
- data/spec/builder/fixtures/build_source/foo/x.js +0 -0
- data/spec/builder/fixtures/build_source/foo/y.js +0 -0
- data/spec/builder/lib_name_for_spec.rb +0 -19
- data/test/index.min.html +0 -12
- data/test/spec_helper.rb +0 -4
@@ -0,0 +1,44 @@
|
|
1
|
+
describe "Opal::Parser" do
|
2
|
+
it "should parse simple ruby values" do
|
3
|
+
opal_eval('3.142').should == 3.142
|
4
|
+
opal_eval('false').should == false
|
5
|
+
opal_eval('true').should == true
|
6
|
+
opal_eval('nil').should == nil
|
7
|
+
end
|
8
|
+
|
9
|
+
it "should parse ruby strings" do
|
10
|
+
opal_eval('"hello world"').should == "hello world"
|
11
|
+
opal_eval('"hello #{100}"').should == "hello 100"
|
12
|
+
end
|
13
|
+
|
14
|
+
it "should parse method calls" do
|
15
|
+
opal_eval("[1, 2, 3, 4].inspect").should == "[1, 2, 3, 4]"
|
16
|
+
opal_eval("[1, 2, 3, 4].map { |a| a + 42 }").should == [43, 44, 45, 46]
|
17
|
+
end
|
18
|
+
|
19
|
+
it "should parse constant lookups" do
|
20
|
+
opal_eval("Object").should == Object
|
21
|
+
opal_eval("Array").should == Array
|
22
|
+
opal_eval("Spec::ExampleGroup").should == Spec::ExampleGroup
|
23
|
+
end
|
24
|
+
|
25
|
+
it "should parse class and module definitions" do
|
26
|
+
opal_eval("class ParserModuleDefinition; end")
|
27
|
+
opal_eval <<-STR
|
28
|
+
class ParserClassDefinition
|
29
|
+
CONSTANT = 500
|
30
|
+
|
31
|
+
def foo
|
32
|
+
500
|
33
|
+
end
|
34
|
+
|
35
|
+
def self.bar
|
36
|
+
42
|
37
|
+
end
|
38
|
+
end
|
39
|
+
STR
|
40
|
+
|
41
|
+
ParserClassDefinition.bar.should == 42
|
42
|
+
ParserClassDefinition.new.foo.should == 500
|
43
|
+
end
|
44
|
+
end
|
data/spec/spec_helper.rb
CHANGED
@@ -1,14 +1,14 @@
|
|
1
|
-
abort "Don't run on opal!" if RUBY_VERSION >= '1.9' and RUBY_ENGINE =~ /^opal/
|
2
|
-
|
3
1
|
require 'opal'
|
4
|
-
require 'capybara/rspec'
|
5
2
|
|
6
3
|
module Kernel
|
7
|
-
def
|
4
|
+
def opal_eval(str)
|
5
|
+
code = Opal::Parser.new.parse str
|
6
|
+
`eval('(' + code + ')()')`
|
7
|
+
end
|
8
|
+
|
9
|
+
def opal_parse(str, file='(string)')
|
8
10
|
Opal::Grammar.new.parse str, file
|
9
11
|
end
|
10
12
|
end
|
11
13
|
|
12
|
-
|
13
|
-
c.treat_symbols_as_metadata_keys_with_true_values = true
|
14
|
-
end
|
14
|
+
Spec::Runner.autorun
|
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.22
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-08-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|
16
|
-
requirement: &
|
16
|
+
requirement: &70264679995160 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
version: '2.10'
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70264679995160
|
25
25
|
description: Ruby runtime and core library for javascript.
|
26
26
|
email: adam@adambeynon.com
|
27
27
|
executables:
|
@@ -37,17 +37,18 @@ files:
|
|
37
37
|
- README.md
|
38
38
|
- Rakefile
|
39
39
|
- bin/opal
|
40
|
+
- config.ru
|
40
41
|
- core/alpha.rb
|
41
42
|
- core/array.rb
|
42
43
|
- core/basic_object.rb
|
43
44
|
- core/boolean.rb
|
45
|
+
- core/browser.js
|
44
46
|
- core/class.rb
|
45
47
|
- core/comparable.rb
|
46
|
-
- core/dir.rb
|
47
48
|
- core/enumerable.rb
|
48
49
|
- core/enumerator.rb
|
50
|
+
- core/erb.rb
|
49
51
|
- core/error.rb
|
50
|
-
- core/file.rb
|
51
52
|
- core/hash.rb
|
52
53
|
- core/json.rb
|
53
54
|
- core/kernel.rb
|
@@ -57,17 +58,22 @@ files:
|
|
57
58
|
- core/numeric.rb
|
58
59
|
- core/object.rb
|
59
60
|
- core/proc.rb
|
61
|
+
- core/racc.rb
|
60
62
|
- core/range.rb
|
61
63
|
- core/regexp.rb
|
62
64
|
- core/runtime.js
|
63
65
|
- core/string.rb
|
66
|
+
- core/strscan.rb
|
64
67
|
- core/struct.rb
|
65
68
|
- core/time.rb
|
66
69
|
- core/top_self.rb
|
70
|
+
- docs/index.md
|
67
71
|
- docs/post.html
|
68
72
|
- docs/pre.html
|
73
|
+
- docs/try.html
|
69
74
|
- lib/opal.rb
|
70
75
|
- lib/opal/builder.rb
|
76
|
+
- lib/opal/erb_parser.rb
|
71
77
|
- lib/opal/grammar.rb
|
72
78
|
- lib/opal/grammar.y
|
73
79
|
- lib/opal/lexer.rb
|
@@ -76,18 +82,189 @@ files:
|
|
76
82
|
- lib/opal/scope.rb
|
77
83
|
- lib/opal/version.rb
|
78
84
|
- opal.gemspec
|
79
|
-
- spec/
|
80
|
-
- spec/
|
81
|
-
- spec/
|
82
|
-
- spec/
|
83
|
-
- spec/
|
84
|
-
- spec/
|
85
|
-
- spec/
|
86
|
-
- spec/
|
87
|
-
- spec/
|
88
|
-
- spec/
|
89
|
-
- spec/
|
90
|
-
- spec/
|
85
|
+
- spec/core/array/allocate_spec.rb
|
86
|
+
- spec/core/array/append_spec.rb
|
87
|
+
- spec/core/array/assoc_spec.rb
|
88
|
+
- spec/core/array/at_spec.rb
|
89
|
+
- spec/core/array/clear_spec.rb
|
90
|
+
- spec/core/array/clone_spec.rb
|
91
|
+
- spec/core/array/collect_spec.rb
|
92
|
+
- spec/core/array/compact_spec.rb
|
93
|
+
- spec/core/array/concat_spec.rb
|
94
|
+
- spec/core/array/constructor_spec.rb
|
95
|
+
- spec/core/array/count_spec.rb
|
96
|
+
- spec/core/array/delete_at_spec.rb
|
97
|
+
- spec/core/array/delete_if_spec.rb
|
98
|
+
- spec/core/array/delete_spec.rb
|
99
|
+
- spec/core/array/each_index_spec.rb
|
100
|
+
- spec/core/array/each_spec.rb
|
101
|
+
- spec/core/array/element_reference_spec.rb
|
102
|
+
- spec/core/array/empty_spec.rb
|
103
|
+
- spec/core/array/eql_spec.rb
|
104
|
+
- spec/core/array/fetch_spec.rb
|
105
|
+
- spec/core/array/first_spec.rb
|
106
|
+
- spec/core/array/flatten_spec.rb
|
107
|
+
- spec/core/array/include_spec.rb
|
108
|
+
- spec/core/array/insert_spec.rb
|
109
|
+
- spec/core/array/last_spec.rb
|
110
|
+
- spec/core/array/length_spec.rb
|
111
|
+
- spec/core/array/map_spec.rb
|
112
|
+
- spec/core/array/minus_spec.rb
|
113
|
+
- spec/core/array/plus_spec.rb
|
114
|
+
- spec/core/array/pop_spec.rb
|
115
|
+
- spec/core/array/push_spec.rb
|
116
|
+
- spec/core/array/rassoc_spec.rb
|
117
|
+
- spec/core/array/reject_spec.rb
|
118
|
+
- spec/core/array/replace_spec.rb
|
119
|
+
- spec/core/array/reverse_each_spec.rb
|
120
|
+
- spec/core/array/reverse_spec.rb
|
121
|
+
- spec/core/array/size_spec.rb
|
122
|
+
- spec/core/array/to_ary_spec.rb
|
123
|
+
- spec/core/array/uniq_spec.rb
|
124
|
+
- spec/core/array/zip_spec.rb
|
125
|
+
- spec/core/class/fixtures/classes.rb
|
126
|
+
- spec/core/class/new_spec.rb
|
127
|
+
- spec/core/enumerable/all_spec.rb
|
128
|
+
- spec/core/enumerable/any_spec.rb
|
129
|
+
- spec/core/enumerable/collect_spec.rb
|
130
|
+
- spec/core/enumerable/count_spec.rb
|
131
|
+
- spec/core/enumerable/detect_spec.rb
|
132
|
+
- spec/core/enumerable/drop_spec.rb
|
133
|
+
- spec/core/enumerable/drop_while_spec.rb
|
134
|
+
- spec/core/enumerable/each_with_index_spec.rb
|
135
|
+
- spec/core/enumerable/each_with_object_spec.rb
|
136
|
+
- spec/core/enumerable/entries_spec.rb
|
137
|
+
- spec/core/enumerable/find_all_spec.rb
|
138
|
+
- spec/core/enumerable/find_index_spec.rb
|
139
|
+
- spec/core/enumerable/find_spec.rb
|
140
|
+
- spec/core/enumerable/first_spec.rb
|
141
|
+
- spec/core/enumerable/fixtures/classes.rb
|
142
|
+
- spec/core/enumerable/grep_spec.rb
|
143
|
+
- spec/core/enumerable/take_spec.rb
|
144
|
+
- spec/core/enumerable/to_a_spec.rb
|
145
|
+
- spec/core/false/and_spec.rb
|
146
|
+
- spec/core/false/inspect_spec.rb
|
147
|
+
- spec/core/false/or_spec.rb
|
148
|
+
- spec/core/false/to_s_spec.rb
|
149
|
+
- spec/core/false/xor_spec.rb
|
150
|
+
- spec/core/hash/allocate_spec.rb
|
151
|
+
- spec/core/hash/assoc_spec.rb
|
152
|
+
- spec/core/hash/clear_spec.rb
|
153
|
+
- spec/core/hash/clone_spec.rb
|
154
|
+
- spec/core/hash/default_spec.rb
|
155
|
+
- spec/core/hash/delete_if_spec.rb
|
156
|
+
- spec/core/hash/each_key_spec.rb
|
157
|
+
- spec/core/hash/each_pair_spec.rb
|
158
|
+
- spec/core/hash/each_spec.rb
|
159
|
+
- spec/core/hash/each_value_spec.rb
|
160
|
+
- spec/core/hash/element_reference_spec.rb
|
161
|
+
- spec/core/hash/element_set_spec.rb
|
162
|
+
- spec/core/hash/empty_spec.rb
|
163
|
+
- spec/core/hash/fetch_spec.rb
|
164
|
+
- spec/core/hash/flatten_spec.rb
|
165
|
+
- spec/core/hash/has_key_spec.rb
|
166
|
+
- spec/core/hash/has_value_spec.rb
|
167
|
+
- spec/core/hash/include_spec.rb
|
168
|
+
- spec/core/hash/index_spec.rb
|
169
|
+
- spec/core/hash/indexes_spec.rb
|
170
|
+
- spec/core/hash/indices_spec.rb
|
171
|
+
- spec/core/hash/invert_spec.rb
|
172
|
+
- spec/core/hash/keep_if_spec.rb
|
173
|
+
- spec/core/hash/key_spec.rb
|
174
|
+
- spec/core/hash/keys_spec.rb
|
175
|
+
- spec/core/hash/length_spec.rb
|
176
|
+
- spec/core/hash/member_spec.rb
|
177
|
+
- spec/core/hash/merge_spec.rb
|
178
|
+
- spec/core/hash/new_spec.rb
|
179
|
+
- spec/core/hash/rassoc_spec.rb
|
180
|
+
- spec/core/hash/replace_spec.rb
|
181
|
+
- spec/core/hash/select_spec.rb
|
182
|
+
- spec/core/hash/shift_spec.rb
|
183
|
+
- spec/core/hash/size_spec.rb
|
184
|
+
- spec/core/hash/update_spec.rb
|
185
|
+
- spec/core/hash/value_spec.rb
|
186
|
+
- spec/core/hash/values_at_spec.rb
|
187
|
+
- spec/core/hash/values_spec.rb
|
188
|
+
- spec/core/kernel/define_singleton_method_spec.rb
|
189
|
+
- spec/core/kernel/eql_spec.rb
|
190
|
+
- spec/core/kernel/equal_value_spec.rb
|
191
|
+
- spec/core/kernel/loop_spec.rb
|
192
|
+
- spec/core/kernel/nil_spec.rb
|
193
|
+
- spec/core/kernel/proc_spec.rb
|
194
|
+
- spec/core/kernel/rand_spec.rb
|
195
|
+
- spec/core/kernel/respond_to_spec.rb
|
196
|
+
- spec/core/kernel/send_spec.rb
|
197
|
+
- spec/core/kernel/tap_spec.rb
|
198
|
+
- spec/core/kernel/to_s_spec.rb
|
199
|
+
- spec/core/matchdata/to_a_spec.rb
|
200
|
+
- spec/core/nil/and_spec.rb
|
201
|
+
- spec/core/nil/inspect_spec.rb
|
202
|
+
- spec/core/nil/nil_spec.rb
|
203
|
+
- spec/core/nil/or_spec.rb
|
204
|
+
- spec/core/nil/to_a_spec.rb
|
205
|
+
- spec/core/nil/to_f_spec.rb
|
206
|
+
- spec/core/nil/to_i_spec.rb
|
207
|
+
- spec/core/nil/to_s_spec.rb
|
208
|
+
- spec/core/nil/xor_spec.rb
|
209
|
+
- spec/core/numeric/equal_value_spec.rb
|
210
|
+
- spec/core/proc/proc_tricks_spec.rb
|
211
|
+
- spec/core/range/begin_spec.rb
|
212
|
+
- spec/core/range/case_compare_spec.rb
|
213
|
+
- spec/core/range/end_spec.rb
|
214
|
+
- spec/core/regexp/match_spec.rb
|
215
|
+
- spec/core/string/capitalize_spec.rb
|
216
|
+
- spec/core/string/casecmp_spec.rb
|
217
|
+
- spec/core/string/chomp_spec.rb
|
218
|
+
- spec/core/string/chop_spec.rb
|
219
|
+
- spec/core/string/chr_spec.rb
|
220
|
+
- spec/core/string/comparison_spec.rb
|
221
|
+
- spec/core/string/downcase_spec.rb
|
222
|
+
- spec/core/string/element_reference_spec.rb
|
223
|
+
- spec/core/string/empty_spec.rb
|
224
|
+
- spec/core/string/end_with_spec.rb
|
225
|
+
- spec/core/string/fixtures/classes.rb
|
226
|
+
- spec/core/string/gsub_spec.rb
|
227
|
+
- spec/core/string/include_spec.rb
|
228
|
+
- spec/core/string/intern_spec.rb
|
229
|
+
- spec/core/string/length_spec.rb
|
230
|
+
- spec/core/string/lstrip_spec.rb
|
231
|
+
- spec/core/string/match_spec.rb
|
232
|
+
- spec/core/string/next_spec.rb
|
233
|
+
- spec/core/string/ord_spec.rb
|
234
|
+
- spec/core/string/partition_spec.rb
|
235
|
+
- spec/core/string/reverse_spec.rb
|
236
|
+
- spec/core/string/rstrip_spec.rb
|
237
|
+
- spec/core/string/size_spec.rb
|
238
|
+
- spec/core/string/slice_spec.rb
|
239
|
+
- spec/core/string/split_spec.rb
|
240
|
+
- spec/core/string/start_with_spec.rb
|
241
|
+
- spec/core/string/strip_spec.rb
|
242
|
+
- spec/core/string/sub_spec.rb
|
243
|
+
- spec/core/string/succ_spec.rb
|
244
|
+
- spec/core/string/sum_spec.rb
|
245
|
+
- spec/core/string/swapcase_spec.rb
|
246
|
+
- spec/core/string/to_a_spec.rb
|
247
|
+
- spec/core/string/to_f_spec.rb
|
248
|
+
- spec/core/string/to_i_spec.rb
|
249
|
+
- spec/core/string/to_s_spec.rb
|
250
|
+
- spec/core/string/to_str_spec.rb
|
251
|
+
- spec/core/string/to_sym_spec.rb
|
252
|
+
- spec/core/string/upcase_spec.rb
|
253
|
+
- spec/core/symbol/to_proc_spec.rb
|
254
|
+
- spec/core/time/at_spec.rb
|
255
|
+
- spec/core/time/day_spec.rb
|
256
|
+
- spec/core/time/friday_spec.rb
|
257
|
+
- spec/core/time/hour_spec.rb
|
258
|
+
- spec/core/time/min_spec.rb
|
259
|
+
- spec/core/time/monday_spec.rb
|
260
|
+
- spec/core/time/month_spec.rb
|
261
|
+
- spec/core/time/now_spec.rb
|
262
|
+
- spec/core/time/saturday_spec.rb
|
263
|
+
- spec/core/true/and_spec.rb
|
264
|
+
- spec/core/true/inspect_spec.rb
|
265
|
+
- spec/core/true/or_spec.rb
|
266
|
+
- spec/core/true/to_s_spec.rb
|
267
|
+
- spec/core/true/xor_spec.rb
|
91
268
|
- spec/grammar/alias_spec.rb
|
92
269
|
- spec/grammar/and_spec.rb
|
93
270
|
- spec/grammar/array_spec.rb
|
@@ -130,240 +307,61 @@ files:
|
|
130
307
|
- spec/grammar/while_spec.rb
|
131
308
|
- spec/grammar/xstr_spec.rb
|
132
309
|
- spec/grammar/yield_spec.rb
|
310
|
+
- spec/index.html
|
311
|
+
- spec/language/alias_spec.rb
|
312
|
+
- spec/language/and_spec.rb
|
313
|
+
- spec/language/array_spec.rb
|
314
|
+
- spec/language/block_spec.rb
|
315
|
+
- spec/language/break_spec.rb
|
316
|
+
- spec/language/case_spec.rb
|
317
|
+
- spec/language/defined_spec.rb
|
318
|
+
- spec/language/ensure_spec.rb
|
319
|
+
- spec/language/fixtures/next.rb
|
320
|
+
- spec/language/fixtures/yield.rb
|
321
|
+
- spec/language/hash_spec.rb
|
322
|
+
- spec/language/if_spec.rb
|
323
|
+
- spec/language/literal_lambda_spec.rb
|
324
|
+
- spec/language/loop_spec.rb
|
325
|
+
- spec/language/metaclass_spec.rb
|
326
|
+
- spec/language/next_spec.rb
|
327
|
+
- spec/language/or_spec.rb
|
328
|
+
- spec/language/predefined_spec.rb
|
329
|
+
- spec/language/regexp_spec.rb
|
330
|
+
- spec/language/send_spec.rb
|
331
|
+
- spec/language/singleton_class_spec.rb
|
332
|
+
- spec/language/super_spec.rb
|
333
|
+
- spec/language/symbol_spec.rb
|
334
|
+
- spec/language/undef_spec.rb
|
335
|
+
- spec/language/unless_spec.rb
|
336
|
+
- spec/language/until_spec.rb
|
337
|
+
- spec/language/variables_spec.rb
|
338
|
+
- spec/language/while_spec.rb
|
339
|
+
- spec/language/yield_spec.rb
|
340
|
+
- spec/opal/array/subclassing_spec.rb
|
341
|
+
- spec/opal/array/to_json_spec.rb
|
342
|
+
- spec/opal/boolean/singleton_class_spec.rb
|
343
|
+
- spec/opal/boolean/to_json_spec.rb
|
344
|
+
- spec/opal/class/bridge_class_spec.rb
|
345
|
+
- spec/opal/erb/erb_spec.rb
|
346
|
+
- spec/opal/exception/subclassing_spec.rb
|
347
|
+
- spec/opal/hash/to_json_spec.rb
|
348
|
+
- spec/opal/hash/to_native_spec.rb
|
349
|
+
- spec/opal/json/parse_spec.rb
|
350
|
+
- spec/opal/kernel/to_json_spec.rb
|
351
|
+
- spec/opal/nil/to_json_spec.rb
|
352
|
+
- spec/opal/numeric/to_json_spec.rb
|
353
|
+
- spec/opal/runtime/call_spec.rb
|
354
|
+
- spec/opal/runtime/class_hierarchy_spec.rb
|
355
|
+
- spec/opal/runtime/def_spec.rb
|
356
|
+
- spec/opal/runtime/defined_spec.rb
|
357
|
+
- spec/opal/runtime/method_missing_spec.rb
|
358
|
+
- spec/opal/runtime/super_spec.rb
|
359
|
+
- spec/opal/string/subclassing_spec.rb
|
360
|
+
- spec/opal/string/to_json_spec.rb
|
361
|
+
- spec/opal/strscan/check_spec.rb
|
362
|
+
- spec/opal/strscan/scan_spec.rb
|
363
|
+
- spec/parser/simple_spec.rb
|
133
364
|
- spec/spec_helper.rb
|
134
|
-
- test/core/array/allocate_spec.rb
|
135
|
-
- test/core/array/append_spec.rb
|
136
|
-
- test/core/array/assoc_spec.rb
|
137
|
-
- test/core/array/at_spec.rb
|
138
|
-
- test/core/array/clear_spec.rb
|
139
|
-
- test/core/array/clone_spec.rb
|
140
|
-
- test/core/array/collect_spec.rb
|
141
|
-
- test/core/array/compact_spec.rb
|
142
|
-
- test/core/array/concat_spec.rb
|
143
|
-
- test/core/array/constructor_spec.rb
|
144
|
-
- test/core/array/count_spec.rb
|
145
|
-
- test/core/array/delete_at_spec.rb
|
146
|
-
- test/core/array/delete_if_spec.rb
|
147
|
-
- test/core/array/delete_spec.rb
|
148
|
-
- test/core/array/each_index_spec.rb
|
149
|
-
- test/core/array/each_spec.rb
|
150
|
-
- test/core/array/element_reference_spec.rb
|
151
|
-
- test/core/array/empty_spec.rb
|
152
|
-
- test/core/array/eql_spec.rb
|
153
|
-
- test/core/array/fetch_spec.rb
|
154
|
-
- test/core/array/first_spec.rb
|
155
|
-
- test/core/array/flatten_spec.rb
|
156
|
-
- test/core/array/include_spec.rb
|
157
|
-
- test/core/array/insert_spec.rb
|
158
|
-
- test/core/array/last_spec.rb
|
159
|
-
- test/core/array/length_spec.rb
|
160
|
-
- test/core/array/map_spec.rb
|
161
|
-
- test/core/array/minus_spec.rb
|
162
|
-
- test/core/array/plus_spec.rb
|
163
|
-
- test/core/array/pop_spec.rb
|
164
|
-
- test/core/array/push_spec.rb
|
165
|
-
- test/core/array/rassoc_spec.rb
|
166
|
-
- test/core/array/reject_spec.rb
|
167
|
-
- test/core/array/replace_spec.rb
|
168
|
-
- test/core/array/reverse_each_spec.rb
|
169
|
-
- test/core/array/reverse_spec.rb
|
170
|
-
- test/core/array/size_spec.rb
|
171
|
-
- test/core/array/to_ary_spec.rb
|
172
|
-
- test/core/array/uniq_spec.rb
|
173
|
-
- test/core/array/zip_spec.rb
|
174
|
-
- test/core/class/fixtures/classes.rb
|
175
|
-
- test/core/class/new_spec.rb
|
176
|
-
- test/core/enumerable/all_spec.rb
|
177
|
-
- test/core/enumerable/any_spec.rb
|
178
|
-
- test/core/enumerable/collect_spec.rb
|
179
|
-
- test/core/enumerable/count_spec.rb
|
180
|
-
- test/core/enumerable/detect_spec.rb
|
181
|
-
- test/core/enumerable/drop_spec.rb
|
182
|
-
- test/core/enumerable/drop_while_spec.rb
|
183
|
-
- test/core/enumerable/each_with_index_spec.rb
|
184
|
-
- test/core/enumerable/each_with_object_spec.rb
|
185
|
-
- test/core/enumerable/entries_spec.rb
|
186
|
-
- test/core/enumerable/find_all_spec.rb
|
187
|
-
- test/core/enumerable/find_index_spec.rb
|
188
|
-
- test/core/enumerable/find_spec.rb
|
189
|
-
- test/core/enumerable/first_spec.rb
|
190
|
-
- test/core/enumerable/fixtures/classes.rb
|
191
|
-
- test/core/enumerable/grep_spec.rb
|
192
|
-
- test/core/enumerable/take_spec.rb
|
193
|
-
- test/core/enumerable/to_a_spec.rb
|
194
|
-
- test/core/false/and_spec.rb
|
195
|
-
- test/core/false/inspect_spec.rb
|
196
|
-
- test/core/false/or_spec.rb
|
197
|
-
- test/core/false/to_s_spec.rb
|
198
|
-
- test/core/false/xor_spec.rb
|
199
|
-
- test/core/hash/allocate_spec.rb
|
200
|
-
- test/core/hash/assoc_spec.rb
|
201
|
-
- test/core/hash/clear_spec.rb
|
202
|
-
- test/core/hash/clone_spec.rb
|
203
|
-
- test/core/hash/default_spec.rb
|
204
|
-
- test/core/hash/delete_if_spec.rb
|
205
|
-
- test/core/hash/each_key_spec.rb
|
206
|
-
- test/core/hash/each_pair_spec.rb
|
207
|
-
- test/core/hash/each_spec.rb
|
208
|
-
- test/core/hash/each_value_spec.rb
|
209
|
-
- test/core/hash/element_reference_spec.rb
|
210
|
-
- test/core/hash/element_set_spec.rb
|
211
|
-
- test/core/hash/empty_spec.rb
|
212
|
-
- test/core/hash/fetch_spec.rb
|
213
|
-
- test/core/hash/flatten_spec.rb
|
214
|
-
- test/core/hash/has_key_spec.rb
|
215
|
-
- test/core/hash/has_value_spec.rb
|
216
|
-
- test/core/hash/include_spec.rb
|
217
|
-
- test/core/hash/index_spec.rb
|
218
|
-
- test/core/hash/indexes_spec.rb
|
219
|
-
- test/core/hash/indices_spec.rb
|
220
|
-
- test/core/hash/invert_spec.rb
|
221
|
-
- test/core/hash/keep_if_spec.rb
|
222
|
-
- test/core/hash/key_spec.rb
|
223
|
-
- test/core/hash/keys_spec.rb
|
224
|
-
- test/core/hash/length_spec.rb
|
225
|
-
- test/core/hash/member_spec.rb
|
226
|
-
- test/core/hash/merge_spec.rb
|
227
|
-
- test/core/hash/new_spec.rb
|
228
|
-
- test/core/hash/rassoc_spec.rb
|
229
|
-
- test/core/hash/replace_spec.rb
|
230
|
-
- test/core/hash/select_spec.rb
|
231
|
-
- test/core/hash/shift_spec.rb
|
232
|
-
- test/core/hash/size_spec.rb
|
233
|
-
- test/core/hash/update_spec.rb
|
234
|
-
- test/core/hash/value_spec.rb
|
235
|
-
- test/core/hash/values_at_spec.rb
|
236
|
-
- test/core/hash/values_spec.rb
|
237
|
-
- test/core/kernel/define_singleton_method_spec.rb
|
238
|
-
- test/core/kernel/eql_spec.rb
|
239
|
-
- test/core/kernel/equal_value_spec.rb
|
240
|
-
- test/core/kernel/loop_spec.rb
|
241
|
-
- test/core/kernel/nil_spec.rb
|
242
|
-
- test/core/kernel/proc_spec.rb
|
243
|
-
- test/core/kernel/rand_spec.rb
|
244
|
-
- test/core/kernel/respond_to_spec.rb
|
245
|
-
- test/core/kernel/send_spec.rb
|
246
|
-
- test/core/kernel/tap_spec.rb
|
247
|
-
- test/core/kernel/to_s_spec.rb
|
248
|
-
- test/core/matchdata/to_a_spec.rb
|
249
|
-
- test/core/nil/and_spec.rb
|
250
|
-
- test/core/nil/inspect_spec.rb
|
251
|
-
- test/core/nil/nil_spec.rb
|
252
|
-
- test/core/nil/or_spec.rb
|
253
|
-
- test/core/nil/to_a_spec.rb
|
254
|
-
- test/core/nil/to_f_spec.rb
|
255
|
-
- test/core/nil/to_i_spec.rb
|
256
|
-
- test/core/nil/to_s_spec.rb
|
257
|
-
- test/core/nil/xor_spec.rb
|
258
|
-
- test/core/numeric/equal_value_spec.rb
|
259
|
-
- test/core/range/begin_spec.rb
|
260
|
-
- test/core/range/case_compare_spec.rb
|
261
|
-
- test/core/range/end_spec.rb
|
262
|
-
- test/core/regexp/match_spec.rb
|
263
|
-
- test/core/string/capitalize_spec.rb
|
264
|
-
- test/core/string/casecmp_spec.rb
|
265
|
-
- test/core/string/chomp_spec.rb
|
266
|
-
- test/core/string/chop_spec.rb
|
267
|
-
- test/core/string/chr_spec.rb
|
268
|
-
- test/core/string/comparison_spec.rb
|
269
|
-
- test/core/string/downcase_spec.rb
|
270
|
-
- test/core/string/element_reference_spec.rb
|
271
|
-
- test/core/string/empty_spec.rb
|
272
|
-
- test/core/string/end_with_spec.rb
|
273
|
-
- test/core/string/fixtures/classes.rb
|
274
|
-
- test/core/string/gsub_spec.rb
|
275
|
-
- test/core/string/include_spec.rb
|
276
|
-
- test/core/string/intern_spec.rb
|
277
|
-
- test/core/string/length_spec.rb
|
278
|
-
- test/core/string/lstrip_spec.rb
|
279
|
-
- test/core/string/match_spec.rb
|
280
|
-
- test/core/string/next_spec.rb
|
281
|
-
- test/core/string/ord_spec.rb
|
282
|
-
- test/core/string/partition_spec.rb
|
283
|
-
- test/core/string/reverse_spec.rb
|
284
|
-
- test/core/string/rstrip_spec.rb
|
285
|
-
- test/core/string/size_spec.rb
|
286
|
-
- test/core/string/slice_spec.rb
|
287
|
-
- test/core/string/split_spec.rb
|
288
|
-
- test/core/string/start_with_spec.rb
|
289
|
-
- test/core/string/strip_spec.rb
|
290
|
-
- test/core/string/sub_spec.rb
|
291
|
-
- test/core/string/succ_spec.rb
|
292
|
-
- test/core/string/sum_spec.rb
|
293
|
-
- test/core/string/swapcase_spec.rb
|
294
|
-
- test/core/string/to_a_spec.rb
|
295
|
-
- test/core/string/to_f_spec.rb
|
296
|
-
- test/core/string/to_i_spec.rb
|
297
|
-
- test/core/string/to_s_spec.rb
|
298
|
-
- test/core/string/to_str_spec.rb
|
299
|
-
- test/core/string/to_sym_spec.rb
|
300
|
-
- test/core/string/upcase_spec.rb
|
301
|
-
- test/core/symbol/to_proc_spec.rb
|
302
|
-
- test/core/time/at_spec.rb
|
303
|
-
- test/core/time/day_spec.rb
|
304
|
-
- test/core/time/friday_spec.rb
|
305
|
-
- test/core/time/hour_spec.rb
|
306
|
-
- test/core/time/min_spec.rb
|
307
|
-
- test/core/time/monday_spec.rb
|
308
|
-
- test/core/time/month_spec.rb
|
309
|
-
- test/core/time/now_spec.rb
|
310
|
-
- test/core/time/saturday_spec.rb
|
311
|
-
- test/core/true/and_spec.rb
|
312
|
-
- test/core/true/inspect_spec.rb
|
313
|
-
- test/core/true/or_spec.rb
|
314
|
-
- test/core/true/to_s_spec.rb
|
315
|
-
- test/core/true/xor_spec.rb
|
316
|
-
- test/index.html
|
317
|
-
- test/index.min.html
|
318
|
-
- test/language/alias_spec.rb
|
319
|
-
- test/language/and_spec.rb
|
320
|
-
- test/language/array_spec.rb
|
321
|
-
- test/language/block_spec.rb
|
322
|
-
- test/language/break_spec.rb
|
323
|
-
- test/language/case_spec.rb
|
324
|
-
- test/language/defined_spec.rb
|
325
|
-
- test/language/ensure_spec.rb
|
326
|
-
- test/language/fixtures/next.rb
|
327
|
-
- test/language/fixtures/yield.rb
|
328
|
-
- test/language/hash_spec.rb
|
329
|
-
- test/language/if_spec.rb
|
330
|
-
- test/language/literal_lambda_spec.rb
|
331
|
-
- test/language/loop_spec.rb
|
332
|
-
- test/language/metaclass_spec.rb
|
333
|
-
- test/language/next_spec.rb
|
334
|
-
- test/language/or_spec.rb
|
335
|
-
- test/language/predefined_spec.rb
|
336
|
-
- test/language/regexp_spec.rb
|
337
|
-
- test/language/send_spec.rb
|
338
|
-
- test/language/singleton_class_spec.rb
|
339
|
-
- test/language/super_spec.rb
|
340
|
-
- test/language/symbol_spec.rb
|
341
|
-
- test/language/undef_spec.rb
|
342
|
-
- test/language/unless_spec.rb
|
343
|
-
- test/language/until_spec.rb
|
344
|
-
- test/language/variables_spec.rb
|
345
|
-
- test/language/while_spec.rb
|
346
|
-
- test/language/yield_spec.rb
|
347
|
-
- test/opal/array/subclassing_spec.rb
|
348
|
-
- test/opal/array/to_json_spec.rb
|
349
|
-
- test/opal/boolean/singleton_class_spec.rb
|
350
|
-
- test/opal/boolean/to_json_spec.rb
|
351
|
-
- test/opal/class/bridge_class_spec.rb
|
352
|
-
- test/opal/exception/subclassing_spec.rb
|
353
|
-
- test/opal/hash/to_json_spec.rb
|
354
|
-
- test/opal/json/parse_spec.rb
|
355
|
-
- test/opal/kernel/to_json_spec.rb
|
356
|
-
- test/opal/nil/to_json_spec.rb
|
357
|
-
- test/opal/numeric/to_json_spec.rb
|
358
|
-
- test/opal/runtime/call_spec.rb
|
359
|
-
- test/opal/runtime/class_hierarchy_spec.rb
|
360
|
-
- test/opal/runtime/def_spec.rb
|
361
|
-
- test/opal/runtime/defined_spec.rb
|
362
|
-
- test/opal/runtime/method_missing_spec.rb
|
363
|
-
- test/opal/runtime/super_spec.rb
|
364
|
-
- test/opal/string/subclassing_spec.rb
|
365
|
-
- test/opal/string/to_json_spec.rb
|
366
|
-
- test/spec_helper.rb
|
367
365
|
homepage: http://opalrb.org
|
368
366
|
licenses: []
|
369
367
|
post_install_message:
|
@@ -384,23 +382,194 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
384
382
|
version: '0'
|
385
383
|
requirements: []
|
386
384
|
rubyforge_project:
|
387
|
-
rubygems_version: 1.8.
|
385
|
+
rubygems_version: 1.8.5
|
388
386
|
signing_key:
|
389
387
|
specification_version: 3
|
390
388
|
summary: Ruby runtime and core library for javascript
|
391
389
|
test_files:
|
392
|
-
- spec/
|
393
|
-
- spec/
|
394
|
-
- spec/
|
395
|
-
- spec/
|
396
|
-
- spec/
|
397
|
-
- spec/
|
398
|
-
- spec/
|
399
|
-
- spec/
|
400
|
-
- spec/
|
401
|
-
- spec/
|
402
|
-
- spec/
|
403
|
-
- spec/
|
390
|
+
- spec/core/array/allocate_spec.rb
|
391
|
+
- spec/core/array/append_spec.rb
|
392
|
+
- spec/core/array/assoc_spec.rb
|
393
|
+
- spec/core/array/at_spec.rb
|
394
|
+
- spec/core/array/clear_spec.rb
|
395
|
+
- spec/core/array/clone_spec.rb
|
396
|
+
- spec/core/array/collect_spec.rb
|
397
|
+
- spec/core/array/compact_spec.rb
|
398
|
+
- spec/core/array/concat_spec.rb
|
399
|
+
- spec/core/array/constructor_spec.rb
|
400
|
+
- spec/core/array/count_spec.rb
|
401
|
+
- spec/core/array/delete_at_spec.rb
|
402
|
+
- spec/core/array/delete_if_spec.rb
|
403
|
+
- spec/core/array/delete_spec.rb
|
404
|
+
- spec/core/array/each_index_spec.rb
|
405
|
+
- spec/core/array/each_spec.rb
|
406
|
+
- spec/core/array/element_reference_spec.rb
|
407
|
+
- spec/core/array/empty_spec.rb
|
408
|
+
- spec/core/array/eql_spec.rb
|
409
|
+
- spec/core/array/fetch_spec.rb
|
410
|
+
- spec/core/array/first_spec.rb
|
411
|
+
- spec/core/array/flatten_spec.rb
|
412
|
+
- spec/core/array/include_spec.rb
|
413
|
+
- spec/core/array/insert_spec.rb
|
414
|
+
- spec/core/array/last_spec.rb
|
415
|
+
- spec/core/array/length_spec.rb
|
416
|
+
- spec/core/array/map_spec.rb
|
417
|
+
- spec/core/array/minus_spec.rb
|
418
|
+
- spec/core/array/plus_spec.rb
|
419
|
+
- spec/core/array/pop_spec.rb
|
420
|
+
- spec/core/array/push_spec.rb
|
421
|
+
- spec/core/array/rassoc_spec.rb
|
422
|
+
- spec/core/array/reject_spec.rb
|
423
|
+
- spec/core/array/replace_spec.rb
|
424
|
+
- spec/core/array/reverse_each_spec.rb
|
425
|
+
- spec/core/array/reverse_spec.rb
|
426
|
+
- spec/core/array/size_spec.rb
|
427
|
+
- spec/core/array/to_ary_spec.rb
|
428
|
+
- spec/core/array/uniq_spec.rb
|
429
|
+
- spec/core/array/zip_spec.rb
|
430
|
+
- spec/core/class/fixtures/classes.rb
|
431
|
+
- spec/core/class/new_spec.rb
|
432
|
+
- spec/core/enumerable/all_spec.rb
|
433
|
+
- spec/core/enumerable/any_spec.rb
|
434
|
+
- spec/core/enumerable/collect_spec.rb
|
435
|
+
- spec/core/enumerable/count_spec.rb
|
436
|
+
- spec/core/enumerable/detect_spec.rb
|
437
|
+
- spec/core/enumerable/drop_spec.rb
|
438
|
+
- spec/core/enumerable/drop_while_spec.rb
|
439
|
+
- spec/core/enumerable/each_with_index_spec.rb
|
440
|
+
- spec/core/enumerable/each_with_object_spec.rb
|
441
|
+
- spec/core/enumerable/entries_spec.rb
|
442
|
+
- spec/core/enumerable/find_all_spec.rb
|
443
|
+
- spec/core/enumerable/find_index_spec.rb
|
444
|
+
- spec/core/enumerable/find_spec.rb
|
445
|
+
- spec/core/enumerable/first_spec.rb
|
446
|
+
- spec/core/enumerable/fixtures/classes.rb
|
447
|
+
- spec/core/enumerable/grep_spec.rb
|
448
|
+
- spec/core/enumerable/take_spec.rb
|
449
|
+
- spec/core/enumerable/to_a_spec.rb
|
450
|
+
- spec/core/false/and_spec.rb
|
451
|
+
- spec/core/false/inspect_spec.rb
|
452
|
+
- spec/core/false/or_spec.rb
|
453
|
+
- spec/core/false/to_s_spec.rb
|
454
|
+
- spec/core/false/xor_spec.rb
|
455
|
+
- spec/core/hash/allocate_spec.rb
|
456
|
+
- spec/core/hash/assoc_spec.rb
|
457
|
+
- spec/core/hash/clear_spec.rb
|
458
|
+
- spec/core/hash/clone_spec.rb
|
459
|
+
- spec/core/hash/default_spec.rb
|
460
|
+
- spec/core/hash/delete_if_spec.rb
|
461
|
+
- spec/core/hash/each_key_spec.rb
|
462
|
+
- spec/core/hash/each_pair_spec.rb
|
463
|
+
- spec/core/hash/each_spec.rb
|
464
|
+
- spec/core/hash/each_value_spec.rb
|
465
|
+
- spec/core/hash/element_reference_spec.rb
|
466
|
+
- spec/core/hash/element_set_spec.rb
|
467
|
+
- spec/core/hash/empty_spec.rb
|
468
|
+
- spec/core/hash/fetch_spec.rb
|
469
|
+
- spec/core/hash/flatten_spec.rb
|
470
|
+
- spec/core/hash/has_key_spec.rb
|
471
|
+
- spec/core/hash/has_value_spec.rb
|
472
|
+
- spec/core/hash/include_spec.rb
|
473
|
+
- spec/core/hash/index_spec.rb
|
474
|
+
- spec/core/hash/indexes_spec.rb
|
475
|
+
- spec/core/hash/indices_spec.rb
|
476
|
+
- spec/core/hash/invert_spec.rb
|
477
|
+
- spec/core/hash/keep_if_spec.rb
|
478
|
+
- spec/core/hash/key_spec.rb
|
479
|
+
- spec/core/hash/keys_spec.rb
|
480
|
+
- spec/core/hash/length_spec.rb
|
481
|
+
- spec/core/hash/member_spec.rb
|
482
|
+
- spec/core/hash/merge_spec.rb
|
483
|
+
- spec/core/hash/new_spec.rb
|
484
|
+
- spec/core/hash/rassoc_spec.rb
|
485
|
+
- spec/core/hash/replace_spec.rb
|
486
|
+
- spec/core/hash/select_spec.rb
|
487
|
+
- spec/core/hash/shift_spec.rb
|
488
|
+
- spec/core/hash/size_spec.rb
|
489
|
+
- spec/core/hash/update_spec.rb
|
490
|
+
- spec/core/hash/value_spec.rb
|
491
|
+
- spec/core/hash/values_at_spec.rb
|
492
|
+
- spec/core/hash/values_spec.rb
|
493
|
+
- spec/core/kernel/define_singleton_method_spec.rb
|
494
|
+
- spec/core/kernel/eql_spec.rb
|
495
|
+
- spec/core/kernel/equal_value_spec.rb
|
496
|
+
- spec/core/kernel/loop_spec.rb
|
497
|
+
- spec/core/kernel/nil_spec.rb
|
498
|
+
- spec/core/kernel/proc_spec.rb
|
499
|
+
- spec/core/kernel/rand_spec.rb
|
500
|
+
- spec/core/kernel/respond_to_spec.rb
|
501
|
+
- spec/core/kernel/send_spec.rb
|
502
|
+
- spec/core/kernel/tap_spec.rb
|
503
|
+
- spec/core/kernel/to_s_spec.rb
|
504
|
+
- spec/core/matchdata/to_a_spec.rb
|
505
|
+
- spec/core/nil/and_spec.rb
|
506
|
+
- spec/core/nil/inspect_spec.rb
|
507
|
+
- spec/core/nil/nil_spec.rb
|
508
|
+
- spec/core/nil/or_spec.rb
|
509
|
+
- spec/core/nil/to_a_spec.rb
|
510
|
+
- spec/core/nil/to_f_spec.rb
|
511
|
+
- spec/core/nil/to_i_spec.rb
|
512
|
+
- spec/core/nil/to_s_spec.rb
|
513
|
+
- spec/core/nil/xor_spec.rb
|
514
|
+
- spec/core/numeric/equal_value_spec.rb
|
515
|
+
- spec/core/proc/proc_tricks_spec.rb
|
516
|
+
- spec/core/range/begin_spec.rb
|
517
|
+
- spec/core/range/case_compare_spec.rb
|
518
|
+
- spec/core/range/end_spec.rb
|
519
|
+
- spec/core/regexp/match_spec.rb
|
520
|
+
- spec/core/string/capitalize_spec.rb
|
521
|
+
- spec/core/string/casecmp_spec.rb
|
522
|
+
- spec/core/string/chomp_spec.rb
|
523
|
+
- spec/core/string/chop_spec.rb
|
524
|
+
- spec/core/string/chr_spec.rb
|
525
|
+
- spec/core/string/comparison_spec.rb
|
526
|
+
- spec/core/string/downcase_spec.rb
|
527
|
+
- spec/core/string/element_reference_spec.rb
|
528
|
+
- spec/core/string/empty_spec.rb
|
529
|
+
- spec/core/string/end_with_spec.rb
|
530
|
+
- spec/core/string/fixtures/classes.rb
|
531
|
+
- spec/core/string/gsub_spec.rb
|
532
|
+
- spec/core/string/include_spec.rb
|
533
|
+
- spec/core/string/intern_spec.rb
|
534
|
+
- spec/core/string/length_spec.rb
|
535
|
+
- spec/core/string/lstrip_spec.rb
|
536
|
+
- spec/core/string/match_spec.rb
|
537
|
+
- spec/core/string/next_spec.rb
|
538
|
+
- spec/core/string/ord_spec.rb
|
539
|
+
- spec/core/string/partition_spec.rb
|
540
|
+
- spec/core/string/reverse_spec.rb
|
541
|
+
- spec/core/string/rstrip_spec.rb
|
542
|
+
- spec/core/string/size_spec.rb
|
543
|
+
- spec/core/string/slice_spec.rb
|
544
|
+
- spec/core/string/split_spec.rb
|
545
|
+
- spec/core/string/start_with_spec.rb
|
546
|
+
- spec/core/string/strip_spec.rb
|
547
|
+
- spec/core/string/sub_spec.rb
|
548
|
+
- spec/core/string/succ_spec.rb
|
549
|
+
- spec/core/string/sum_spec.rb
|
550
|
+
- spec/core/string/swapcase_spec.rb
|
551
|
+
- spec/core/string/to_a_spec.rb
|
552
|
+
- spec/core/string/to_f_spec.rb
|
553
|
+
- spec/core/string/to_i_spec.rb
|
554
|
+
- spec/core/string/to_s_spec.rb
|
555
|
+
- spec/core/string/to_str_spec.rb
|
556
|
+
- spec/core/string/to_sym_spec.rb
|
557
|
+
- spec/core/string/upcase_spec.rb
|
558
|
+
- spec/core/symbol/to_proc_spec.rb
|
559
|
+
- spec/core/time/at_spec.rb
|
560
|
+
- spec/core/time/day_spec.rb
|
561
|
+
- spec/core/time/friday_spec.rb
|
562
|
+
- spec/core/time/hour_spec.rb
|
563
|
+
- spec/core/time/min_spec.rb
|
564
|
+
- spec/core/time/monday_spec.rb
|
565
|
+
- spec/core/time/month_spec.rb
|
566
|
+
- spec/core/time/now_spec.rb
|
567
|
+
- spec/core/time/saturday_spec.rb
|
568
|
+
- spec/core/true/and_spec.rb
|
569
|
+
- spec/core/true/inspect_spec.rb
|
570
|
+
- spec/core/true/or_spec.rb
|
571
|
+
- spec/core/true/to_s_spec.rb
|
572
|
+
- spec/core/true/xor_spec.rb
|
404
573
|
- spec/grammar/alias_spec.rb
|
405
574
|
- spec/grammar/and_spec.rb
|
406
575
|
- spec/grammar/array_spec.rb
|
@@ -443,237 +612,58 @@ test_files:
|
|
443
612
|
- spec/grammar/while_spec.rb
|
444
613
|
- spec/grammar/xstr_spec.rb
|
445
614
|
- spec/grammar/yield_spec.rb
|
615
|
+
- spec/index.html
|
616
|
+
- spec/language/alias_spec.rb
|
617
|
+
- spec/language/and_spec.rb
|
618
|
+
- spec/language/array_spec.rb
|
619
|
+
- spec/language/block_spec.rb
|
620
|
+
- spec/language/break_spec.rb
|
621
|
+
- spec/language/case_spec.rb
|
622
|
+
- spec/language/defined_spec.rb
|
623
|
+
- spec/language/ensure_spec.rb
|
624
|
+
- spec/language/fixtures/next.rb
|
625
|
+
- spec/language/fixtures/yield.rb
|
626
|
+
- spec/language/hash_spec.rb
|
627
|
+
- spec/language/if_spec.rb
|
628
|
+
- spec/language/literal_lambda_spec.rb
|
629
|
+
- spec/language/loop_spec.rb
|
630
|
+
- spec/language/metaclass_spec.rb
|
631
|
+
- spec/language/next_spec.rb
|
632
|
+
- spec/language/or_spec.rb
|
633
|
+
- spec/language/predefined_spec.rb
|
634
|
+
- spec/language/regexp_spec.rb
|
635
|
+
- spec/language/send_spec.rb
|
636
|
+
- spec/language/singleton_class_spec.rb
|
637
|
+
- spec/language/super_spec.rb
|
638
|
+
- spec/language/symbol_spec.rb
|
639
|
+
- spec/language/undef_spec.rb
|
640
|
+
- spec/language/unless_spec.rb
|
641
|
+
- spec/language/until_spec.rb
|
642
|
+
- spec/language/variables_spec.rb
|
643
|
+
- spec/language/while_spec.rb
|
644
|
+
- spec/language/yield_spec.rb
|
645
|
+
- spec/opal/array/subclassing_spec.rb
|
646
|
+
- spec/opal/array/to_json_spec.rb
|
647
|
+
- spec/opal/boolean/singleton_class_spec.rb
|
648
|
+
- spec/opal/boolean/to_json_spec.rb
|
649
|
+
- spec/opal/class/bridge_class_spec.rb
|
650
|
+
- spec/opal/erb/erb_spec.rb
|
651
|
+
- spec/opal/exception/subclassing_spec.rb
|
652
|
+
- spec/opal/hash/to_json_spec.rb
|
653
|
+
- spec/opal/hash/to_native_spec.rb
|
654
|
+
- spec/opal/json/parse_spec.rb
|
655
|
+
- spec/opal/kernel/to_json_spec.rb
|
656
|
+
- spec/opal/nil/to_json_spec.rb
|
657
|
+
- spec/opal/numeric/to_json_spec.rb
|
658
|
+
- spec/opal/runtime/call_spec.rb
|
659
|
+
- spec/opal/runtime/class_hierarchy_spec.rb
|
660
|
+
- spec/opal/runtime/def_spec.rb
|
661
|
+
- spec/opal/runtime/defined_spec.rb
|
662
|
+
- spec/opal/runtime/method_missing_spec.rb
|
663
|
+
- spec/opal/runtime/super_spec.rb
|
664
|
+
- spec/opal/string/subclassing_spec.rb
|
665
|
+
- spec/opal/string/to_json_spec.rb
|
666
|
+
- spec/opal/strscan/check_spec.rb
|
667
|
+
- spec/opal/strscan/scan_spec.rb
|
668
|
+
- spec/parser/simple_spec.rb
|
446
669
|
- spec/spec_helper.rb
|
447
|
-
- test/core/array/allocate_spec.rb
|
448
|
-
- test/core/array/append_spec.rb
|
449
|
-
- test/core/array/assoc_spec.rb
|
450
|
-
- test/core/array/at_spec.rb
|
451
|
-
- test/core/array/clear_spec.rb
|
452
|
-
- test/core/array/clone_spec.rb
|
453
|
-
- test/core/array/collect_spec.rb
|
454
|
-
- test/core/array/compact_spec.rb
|
455
|
-
- test/core/array/concat_spec.rb
|
456
|
-
- test/core/array/constructor_spec.rb
|
457
|
-
- test/core/array/count_spec.rb
|
458
|
-
- test/core/array/delete_at_spec.rb
|
459
|
-
- test/core/array/delete_if_spec.rb
|
460
|
-
- test/core/array/delete_spec.rb
|
461
|
-
- test/core/array/each_index_spec.rb
|
462
|
-
- test/core/array/each_spec.rb
|
463
|
-
- test/core/array/element_reference_spec.rb
|
464
|
-
- test/core/array/empty_spec.rb
|
465
|
-
- test/core/array/eql_spec.rb
|
466
|
-
- test/core/array/fetch_spec.rb
|
467
|
-
- test/core/array/first_spec.rb
|
468
|
-
- test/core/array/flatten_spec.rb
|
469
|
-
- test/core/array/include_spec.rb
|
470
|
-
- test/core/array/insert_spec.rb
|
471
|
-
- test/core/array/last_spec.rb
|
472
|
-
- test/core/array/length_spec.rb
|
473
|
-
- test/core/array/map_spec.rb
|
474
|
-
- test/core/array/minus_spec.rb
|
475
|
-
- test/core/array/plus_spec.rb
|
476
|
-
- test/core/array/pop_spec.rb
|
477
|
-
- test/core/array/push_spec.rb
|
478
|
-
- test/core/array/rassoc_spec.rb
|
479
|
-
- test/core/array/reject_spec.rb
|
480
|
-
- test/core/array/replace_spec.rb
|
481
|
-
- test/core/array/reverse_each_spec.rb
|
482
|
-
- test/core/array/reverse_spec.rb
|
483
|
-
- test/core/array/size_spec.rb
|
484
|
-
- test/core/array/to_ary_spec.rb
|
485
|
-
- test/core/array/uniq_spec.rb
|
486
|
-
- test/core/array/zip_spec.rb
|
487
|
-
- test/core/class/fixtures/classes.rb
|
488
|
-
- test/core/class/new_spec.rb
|
489
|
-
- test/core/enumerable/all_spec.rb
|
490
|
-
- test/core/enumerable/any_spec.rb
|
491
|
-
- test/core/enumerable/collect_spec.rb
|
492
|
-
- test/core/enumerable/count_spec.rb
|
493
|
-
- test/core/enumerable/detect_spec.rb
|
494
|
-
- test/core/enumerable/drop_spec.rb
|
495
|
-
- test/core/enumerable/drop_while_spec.rb
|
496
|
-
- test/core/enumerable/each_with_index_spec.rb
|
497
|
-
- test/core/enumerable/each_with_object_spec.rb
|
498
|
-
- test/core/enumerable/entries_spec.rb
|
499
|
-
- test/core/enumerable/find_all_spec.rb
|
500
|
-
- test/core/enumerable/find_index_spec.rb
|
501
|
-
- test/core/enumerable/find_spec.rb
|
502
|
-
- test/core/enumerable/first_spec.rb
|
503
|
-
- test/core/enumerable/fixtures/classes.rb
|
504
|
-
- test/core/enumerable/grep_spec.rb
|
505
|
-
- test/core/enumerable/take_spec.rb
|
506
|
-
- test/core/enumerable/to_a_spec.rb
|
507
|
-
- test/core/false/and_spec.rb
|
508
|
-
- test/core/false/inspect_spec.rb
|
509
|
-
- test/core/false/or_spec.rb
|
510
|
-
- test/core/false/to_s_spec.rb
|
511
|
-
- test/core/false/xor_spec.rb
|
512
|
-
- test/core/hash/allocate_spec.rb
|
513
|
-
- test/core/hash/assoc_spec.rb
|
514
|
-
- test/core/hash/clear_spec.rb
|
515
|
-
- test/core/hash/clone_spec.rb
|
516
|
-
- test/core/hash/default_spec.rb
|
517
|
-
- test/core/hash/delete_if_spec.rb
|
518
|
-
- test/core/hash/each_key_spec.rb
|
519
|
-
- test/core/hash/each_pair_spec.rb
|
520
|
-
- test/core/hash/each_spec.rb
|
521
|
-
- test/core/hash/each_value_spec.rb
|
522
|
-
- test/core/hash/element_reference_spec.rb
|
523
|
-
- test/core/hash/element_set_spec.rb
|
524
|
-
- test/core/hash/empty_spec.rb
|
525
|
-
- test/core/hash/fetch_spec.rb
|
526
|
-
- test/core/hash/flatten_spec.rb
|
527
|
-
- test/core/hash/has_key_spec.rb
|
528
|
-
- test/core/hash/has_value_spec.rb
|
529
|
-
- test/core/hash/include_spec.rb
|
530
|
-
- test/core/hash/index_spec.rb
|
531
|
-
- test/core/hash/indexes_spec.rb
|
532
|
-
- test/core/hash/indices_spec.rb
|
533
|
-
- test/core/hash/invert_spec.rb
|
534
|
-
- test/core/hash/keep_if_spec.rb
|
535
|
-
- test/core/hash/key_spec.rb
|
536
|
-
- test/core/hash/keys_spec.rb
|
537
|
-
- test/core/hash/length_spec.rb
|
538
|
-
- test/core/hash/member_spec.rb
|
539
|
-
- test/core/hash/merge_spec.rb
|
540
|
-
- test/core/hash/new_spec.rb
|
541
|
-
- test/core/hash/rassoc_spec.rb
|
542
|
-
- test/core/hash/replace_spec.rb
|
543
|
-
- test/core/hash/select_spec.rb
|
544
|
-
- test/core/hash/shift_spec.rb
|
545
|
-
- test/core/hash/size_spec.rb
|
546
|
-
- test/core/hash/update_spec.rb
|
547
|
-
- test/core/hash/value_spec.rb
|
548
|
-
- test/core/hash/values_at_spec.rb
|
549
|
-
- test/core/hash/values_spec.rb
|
550
|
-
- test/core/kernel/define_singleton_method_spec.rb
|
551
|
-
- test/core/kernel/eql_spec.rb
|
552
|
-
- test/core/kernel/equal_value_spec.rb
|
553
|
-
- test/core/kernel/loop_spec.rb
|
554
|
-
- test/core/kernel/nil_spec.rb
|
555
|
-
- test/core/kernel/proc_spec.rb
|
556
|
-
- test/core/kernel/rand_spec.rb
|
557
|
-
- test/core/kernel/respond_to_spec.rb
|
558
|
-
- test/core/kernel/send_spec.rb
|
559
|
-
- test/core/kernel/tap_spec.rb
|
560
|
-
- test/core/kernel/to_s_spec.rb
|
561
|
-
- test/core/matchdata/to_a_spec.rb
|
562
|
-
- test/core/nil/and_spec.rb
|
563
|
-
- test/core/nil/inspect_spec.rb
|
564
|
-
- test/core/nil/nil_spec.rb
|
565
|
-
- test/core/nil/or_spec.rb
|
566
|
-
- test/core/nil/to_a_spec.rb
|
567
|
-
- test/core/nil/to_f_spec.rb
|
568
|
-
- test/core/nil/to_i_spec.rb
|
569
|
-
- test/core/nil/to_s_spec.rb
|
570
|
-
- test/core/nil/xor_spec.rb
|
571
|
-
- test/core/numeric/equal_value_spec.rb
|
572
|
-
- test/core/range/begin_spec.rb
|
573
|
-
- test/core/range/case_compare_spec.rb
|
574
|
-
- test/core/range/end_spec.rb
|
575
|
-
- test/core/regexp/match_spec.rb
|
576
|
-
- test/core/string/capitalize_spec.rb
|
577
|
-
- test/core/string/casecmp_spec.rb
|
578
|
-
- test/core/string/chomp_spec.rb
|
579
|
-
- test/core/string/chop_spec.rb
|
580
|
-
- test/core/string/chr_spec.rb
|
581
|
-
- test/core/string/comparison_spec.rb
|
582
|
-
- test/core/string/downcase_spec.rb
|
583
|
-
- test/core/string/element_reference_spec.rb
|
584
|
-
- test/core/string/empty_spec.rb
|
585
|
-
- test/core/string/end_with_spec.rb
|
586
|
-
- test/core/string/fixtures/classes.rb
|
587
|
-
- test/core/string/gsub_spec.rb
|
588
|
-
- test/core/string/include_spec.rb
|
589
|
-
- test/core/string/intern_spec.rb
|
590
|
-
- test/core/string/length_spec.rb
|
591
|
-
- test/core/string/lstrip_spec.rb
|
592
|
-
- test/core/string/match_spec.rb
|
593
|
-
- test/core/string/next_spec.rb
|
594
|
-
- test/core/string/ord_spec.rb
|
595
|
-
- test/core/string/partition_spec.rb
|
596
|
-
- test/core/string/reverse_spec.rb
|
597
|
-
- test/core/string/rstrip_spec.rb
|
598
|
-
- test/core/string/size_spec.rb
|
599
|
-
- test/core/string/slice_spec.rb
|
600
|
-
- test/core/string/split_spec.rb
|
601
|
-
- test/core/string/start_with_spec.rb
|
602
|
-
- test/core/string/strip_spec.rb
|
603
|
-
- test/core/string/sub_spec.rb
|
604
|
-
- test/core/string/succ_spec.rb
|
605
|
-
- test/core/string/sum_spec.rb
|
606
|
-
- test/core/string/swapcase_spec.rb
|
607
|
-
- test/core/string/to_a_spec.rb
|
608
|
-
- test/core/string/to_f_spec.rb
|
609
|
-
- test/core/string/to_i_spec.rb
|
610
|
-
- test/core/string/to_s_spec.rb
|
611
|
-
- test/core/string/to_str_spec.rb
|
612
|
-
- test/core/string/to_sym_spec.rb
|
613
|
-
- test/core/string/upcase_spec.rb
|
614
|
-
- test/core/symbol/to_proc_spec.rb
|
615
|
-
- test/core/time/at_spec.rb
|
616
|
-
- test/core/time/day_spec.rb
|
617
|
-
- test/core/time/friday_spec.rb
|
618
|
-
- test/core/time/hour_spec.rb
|
619
|
-
- test/core/time/min_spec.rb
|
620
|
-
- test/core/time/monday_spec.rb
|
621
|
-
- test/core/time/month_spec.rb
|
622
|
-
- test/core/time/now_spec.rb
|
623
|
-
- test/core/time/saturday_spec.rb
|
624
|
-
- test/core/true/and_spec.rb
|
625
|
-
- test/core/true/inspect_spec.rb
|
626
|
-
- test/core/true/or_spec.rb
|
627
|
-
- test/core/true/to_s_spec.rb
|
628
|
-
- test/core/true/xor_spec.rb
|
629
|
-
- test/index.html
|
630
|
-
- test/index.min.html
|
631
|
-
- test/language/alias_spec.rb
|
632
|
-
- test/language/and_spec.rb
|
633
|
-
- test/language/array_spec.rb
|
634
|
-
- test/language/block_spec.rb
|
635
|
-
- test/language/break_spec.rb
|
636
|
-
- test/language/case_spec.rb
|
637
|
-
- test/language/defined_spec.rb
|
638
|
-
- test/language/ensure_spec.rb
|
639
|
-
- test/language/fixtures/next.rb
|
640
|
-
- test/language/fixtures/yield.rb
|
641
|
-
- test/language/hash_spec.rb
|
642
|
-
- test/language/if_spec.rb
|
643
|
-
- test/language/literal_lambda_spec.rb
|
644
|
-
- test/language/loop_spec.rb
|
645
|
-
- test/language/metaclass_spec.rb
|
646
|
-
- test/language/next_spec.rb
|
647
|
-
- test/language/or_spec.rb
|
648
|
-
- test/language/predefined_spec.rb
|
649
|
-
- test/language/regexp_spec.rb
|
650
|
-
- test/language/send_spec.rb
|
651
|
-
- test/language/singleton_class_spec.rb
|
652
|
-
- test/language/super_spec.rb
|
653
|
-
- test/language/symbol_spec.rb
|
654
|
-
- test/language/undef_spec.rb
|
655
|
-
- test/language/unless_spec.rb
|
656
|
-
- test/language/until_spec.rb
|
657
|
-
- test/language/variables_spec.rb
|
658
|
-
- test/language/while_spec.rb
|
659
|
-
- test/language/yield_spec.rb
|
660
|
-
- test/opal/array/subclassing_spec.rb
|
661
|
-
- test/opal/array/to_json_spec.rb
|
662
|
-
- test/opal/boolean/singleton_class_spec.rb
|
663
|
-
- test/opal/boolean/to_json_spec.rb
|
664
|
-
- test/opal/class/bridge_class_spec.rb
|
665
|
-
- test/opal/exception/subclassing_spec.rb
|
666
|
-
- test/opal/hash/to_json_spec.rb
|
667
|
-
- test/opal/json/parse_spec.rb
|
668
|
-
- test/opal/kernel/to_json_spec.rb
|
669
|
-
- test/opal/nil/to_json_spec.rb
|
670
|
-
- test/opal/numeric/to_json_spec.rb
|
671
|
-
- test/opal/runtime/call_spec.rb
|
672
|
-
- test/opal/runtime/class_hierarchy_spec.rb
|
673
|
-
- test/opal/runtime/def_spec.rb
|
674
|
-
- test/opal/runtime/defined_spec.rb
|
675
|
-
- test/opal/runtime/method_missing_spec.rb
|
676
|
-
- test/opal/runtime/super_spec.rb
|
677
|
-
- test/opal/string/subclassing_spec.rb
|
678
|
-
- test/opal/string/to_json_spec.rb
|
679
|
-
- test/spec_helper.rb
|