opal 0.10.0 → 0.11.0
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.
- checksums.yaml +4 -4
- data/.codeclimate.yml +19 -0
- data/.gitmodules +1 -1
- data/.jshintrc +1 -2
- data/.rspec +1 -2
- data/.travis.yml +42 -20
- data/.yardopts +3 -1
- data/CHANGELOG.md +164 -1
- data/Gemfile +16 -9
- data/HACKING.md +4 -2
- data/README.md +11 -11
- data/Rakefile +1 -1
- data/appveyor.yml +29 -0
- data/benchmark/bm_constant_lookup_big.rb +799 -0
- data/benchmark/bm_constant_lookup_small.rb +59 -0
- data/benchmark/bm_module_definition_big.rb +400 -0
- data/benchmark/bm_module_definition_small.rb +30 -0
- data/benchmark-ips/bm_case.rb +33 -0
- data/benchmark-ips/bm_constants_lookup.rb +13 -0
- data/benchmark-ips/bm_is_number.rb +29 -0
- data/benchmark-ips/bm_symbol_to_proc.rb +19 -0
- data/bin +1 -0
- data/docs/compiled_ruby.md +16 -14
- data/docs/faq.md +3 -3
- data/docs/headless_chrome.md +105 -0
- data/docs/rspec.md +4 -20
- data/docs/unsupported_features.md +6 -4
- data/examples/rack/Gemfile +1 -0
- data/examples/rack/Gemfile.lock +11 -7
- data/examples/rack/app/application.rb +14 -3
- data/examples/rack/app/user.rb +2 -0
- data/examples/rack/config.ru +1 -1
- data/examples/rack/index.html.erb +1 -0
- data/examples/sinatra/Gemfile +1 -1
- data/examples/sinatra/Gemfile.lock +8 -11
- data/examples/sinatra/app/application.rb +2 -0
- data/{bin → exe}/opal +4 -2
- data/{bin → exe}/opal-repl +23 -1
- data/lib/opal/ast/builder.rb +13 -0
- data/lib/opal/ast/node.rb +30 -0
- data/lib/opal/builder.rb +82 -17
- data/lib/opal/builder_processors.rb +9 -7
- data/lib/opal/cli.rb +45 -59
- data/lib/opal/cli_options.rb +19 -12
- data/lib/opal/cli_runners/applescript.rb +3 -4
- data/lib/opal/cli_runners/chrome.js +135 -0
- data/lib/opal/cli_runners/chrome.rb +100 -0
- data/lib/opal/cli_runners/nashorn.rb +1 -1
- data/lib/opal/cli_runners/node_modules/.bin/chrome-remote-interface +1 -0
- data/lib/opal/cli_runners/node_modules/chrome-remote-interface/LICENSE +18 -0
- data/lib/opal/cli_runners/node_modules/chrome-remote-interface/README.md +843 -0
- data/lib/opal/cli_runners/node_modules/chrome-remote-interface/bin/client.js +326 -0
- data/lib/opal/cli_runners/node_modules/chrome-remote-interface/chrome-remote-interface.js +11 -0
- data/lib/opal/cli_runners/node_modules/chrome-remote-interface/index.js +39 -0
- data/lib/opal/cli_runners/node_modules/chrome-remote-interface/lib/api.js +84 -0
- data/lib/opal/cli_runners/node_modules/chrome-remote-interface/lib/chrome.js +289 -0
- data/lib/opal/cli_runners/node_modules/chrome-remote-interface/lib/defaults.js +4 -0
- data/lib/opal/cli_runners/node_modules/chrome-remote-interface/lib/devtools.js +245 -0
- data/lib/opal/cli_runners/node_modules/chrome-remote-interface/lib/external-request.js +23 -0
- data/lib/opal/cli_runners/node_modules/chrome-remote-interface/lib/protocol.json +13303 -0
- data/lib/opal/cli_runners/node_modules/chrome-remote-interface/lib/websocket-wrapper.js +32 -0
- data/lib/opal/cli_runners/node_modules/chrome-remote-interface/package.json +128 -0
- data/lib/opal/cli_runners/node_modules/chrome-remote-interface/webpack.config.js +55 -0
- data/lib/opal/cli_runners/node_modules/commander/Readme.md +195 -0
- data/lib/opal/cli_runners/node_modules/commander/index.js +851 -0
- data/lib/opal/cli_runners/node_modules/commander/package.json +92 -0
- data/{stdlib/nodejs/node_modules/js-yaml/node_modules/argparse → lib/opal/cli_runners/node_modules/ultron}/LICENSE +7 -6
- data/lib/opal/cli_runners/node_modules/ultron/index.js +138 -0
- data/lib/opal/cli_runners/node_modules/ultron/package.json +112 -0
- data/{stdlib/nodejs/node_modules/js-yaml → lib/opal/cli_runners/node_modules/ws}/LICENSE +6 -6
- data/lib/opal/cli_runners/node_modules/ws/README.md +259 -0
- data/lib/opal/cli_runners/node_modules/ws/SECURITY.md +33 -0
- data/lib/opal/cli_runners/node_modules/ws/index.js +15 -0
- data/lib/opal/cli_runners/node_modules/ws/lib/BufferUtil.fallback.js +56 -0
- data/lib/opal/cli_runners/node_modules/ws/lib/BufferUtil.js +15 -0
- data/lib/opal/cli_runners/node_modules/ws/lib/ErrorCodes.js +28 -0
- data/lib/opal/cli_runners/node_modules/ws/lib/EventTarget.js +158 -0
- data/lib/opal/cli_runners/node_modules/ws/lib/Extensions.js +69 -0
- data/lib/opal/cli_runners/node_modules/ws/lib/PerMessageDeflate.js +339 -0
- data/lib/opal/cli_runners/node_modules/ws/lib/Receiver.js +520 -0
- data/lib/opal/cli_runners/node_modules/ws/lib/Sender.js +438 -0
- data/lib/opal/cli_runners/node_modules/ws/lib/Validation.fallback.js +9 -0
- data/lib/opal/cli_runners/node_modules/ws/lib/Validation.js +17 -0
- data/lib/opal/cli_runners/node_modules/ws/lib/WebSocket.js +705 -0
- data/lib/opal/cli_runners/node_modules/ws/lib/WebSocketServer.js +336 -0
- data/lib/opal/cli_runners/node_modules/ws/package.json +122 -0
- data/lib/opal/cli_runners/nodejs.rb +4 -2
- data/lib/opal/cli_runners/package.json +5 -0
- data/lib/opal/cli_runners/server.rb +1 -1
- data/lib/opal/cli_runners.rb +2 -1
- data/lib/opal/compiler.rb +136 -95
- data/lib/opal/config.rb +114 -36
- data/lib/opal/deprecations.rb +18 -0
- data/lib/opal/eof_content.rb +36 -0
- data/lib/opal/erb.rb +1 -0
- data/lib/opal/errors.rb +1 -0
- data/lib/opal/fragment.rb +1 -0
- data/lib/opal/nodes/arglist.rb +2 -1
- data/lib/opal/nodes/args/initialize_kwargs.rb +1 -0
- data/lib/opal/nodes/args/kwarg.rb +9 -7
- data/lib/opal/nodes/args/kwoptarg.rb +13 -8
- data/lib/opal/nodes/args/kwrestarg.rb +5 -5
- data/lib/opal/nodes/args/mlhsarg.rb +3 -2
- data/lib/opal/nodes/args/normarg.rb +6 -7
- data/lib/opal/nodes/args/optarg.rb +5 -7
- data/lib/opal/nodes/args/post_args.rb +6 -5
- data/lib/opal/nodes/args/post_kwargs.rb +1 -0
- data/lib/opal/nodes/args/restarg.rb +7 -7
- data/lib/opal/nodes/array.rb +1 -0
- data/lib/opal/nodes/base.rb +24 -3
- data/lib/opal/nodes/call.rb +168 -155
- data/lib/opal/nodes/call_special.rb +37 -214
- data/lib/opal/nodes/case.rb +36 -22
- data/lib/opal/nodes/class.rb +4 -3
- data/lib/opal/nodes/constants.rb +28 -48
- data/lib/opal/nodes/csend.rb +25 -0
- data/lib/opal/nodes/def.rb +57 -17
- data/lib/opal/nodes/defined.rb +170 -60
- data/lib/opal/nodes/definitions.rb +42 -133
- data/lib/opal/nodes/defs.rb +29 -0
- data/lib/opal/nodes/hash.rb +12 -35
- data/lib/opal/nodes/helpers.rb +31 -62
- data/lib/opal/nodes/if.rb +21 -32
- data/lib/opal/nodes/inline_args.rb +12 -13
- data/lib/opal/nodes/iter.rb +61 -36
- data/lib/opal/nodes/literal.rb +206 -114
- data/lib/opal/nodes/logic.rb +39 -57
- data/lib/opal/nodes/masgn.rb +20 -18
- data/lib/opal/nodes/module.rb +10 -11
- data/lib/opal/nodes/node_with_args.rb +15 -18
- data/lib/opal/nodes/rescue.rb +37 -70
- data/lib/opal/nodes/runtime_helpers.rb +8 -3
- data/lib/opal/nodes/scope.rb +10 -5
- data/lib/opal/nodes/singleton_class.rb +4 -3
- data/lib/opal/nodes/super.rb +112 -88
- data/lib/opal/nodes/top.rb +7 -2
- data/lib/opal/nodes/variables.rb +57 -35
- data/lib/opal/nodes/while.rb +11 -1
- data/lib/opal/nodes/yield.rb +1 -17
- data/lib/opal/nodes.rb +3 -1
- data/lib/opal/parser.rb +29 -766
- data/lib/opal/path_reader.rb +22 -5
- data/lib/opal/paths.rb +10 -4
- data/lib/opal/regexp_anchors.rb +1 -0
- data/lib/opal/rewriter.rb +64 -0
- data/lib/opal/rewriters/base.rb +63 -0
- data/lib/opal/rewriters/binary_operator_assignment.rb +141 -0
- data/lib/opal/rewriters/block_to_iter.rb +17 -0
- data/lib/opal/rewriters/break_finder.rb +34 -0
- data/lib/opal/rewriters/dot_js_syntax.rb +60 -0
- data/lib/opal/rewriters/explicit_writer_return.rb +58 -0
- data/lib/opal/rewriters/for_rewriter.rb +93 -0
- data/lib/opal/rewriters/hashes/key_duplicates_rewriter.rb +58 -0
- data/lib/opal/rewriters/js_reserved_words.rb +108 -0
- data/lib/opal/rewriters/logical_operator_assignment.rb +154 -0
- data/lib/opal/rewriters/opal_engine_check.rb +42 -0
- data/lib/opal/rewriters/rubyspec/filters_rewriter.rb +67 -0
- data/lib/opal/server.rb +4 -0
- data/lib/opal/simple_server.rb +101 -0
- data/lib/opal/source_map.rb +1 -1
- data/lib/opal/util.rb +6 -6
- data/lib/opal/version.rb +2 -1
- data/lib/opal.rb +7 -1
- data/lib/tilt/opal.rb +1 -0
- data/opal/README.md +1 -1
- data/opal/corelib/array.rb +184 -107
- data/opal/corelib/basic_object.rb +6 -6
- data/opal/corelib/boolean.rb +11 -3
- data/opal/corelib/class.rb +14 -11
- data/opal/corelib/comparable.rb +16 -0
- data/opal/corelib/complex.rb +5 -1
- data/opal/corelib/constants.rb +3 -3
- data/opal/corelib/enumerable.rb +176 -11
- data/opal/corelib/error.rb +35 -17
- data/opal/corelib/file.rb +114 -176
- data/opal/corelib/hash.rb +226 -13
- data/opal/corelib/helpers.rb +12 -15
- data/opal/corelib/io.rb +3 -2
- data/opal/corelib/kernel.rb +68 -32
- data/opal/corelib/marshal/read_buffer.rb +288 -150
- data/opal/corelib/marshal/write_buffer.rb +27 -2
- data/opal/corelib/method.rb +33 -13
- data/opal/corelib/module.rb +134 -82
- data/opal/corelib/nil.rb +11 -3
- data/opal/corelib/number.rb +220 -34
- data/opal/corelib/numeric.rb +3 -11
- data/opal/corelib/process.rb +44 -4
- data/opal/corelib/random/seedrandom.js.rb +15 -0
- data/opal/corelib/random.rb +117 -0
- data/opal/corelib/range.rb +147 -24
- data/opal/corelib/regexp.rb +82 -13
- data/opal/corelib/runtime.js +623 -397
- data/opal/corelib/string/encoding.rb +67 -31
- data/opal/corelib/string/inheritance.rb +1 -1
- data/opal/corelib/string.rb +40 -9
- data/opal/corelib/struct.rb +18 -3
- data/opal/corelib/time.rb +3 -3
- data/opal/corelib/variables.rb +1 -1
- data/opal/opal.rb +1 -0
- data/opal.gemspec +32 -29
- data/stdlib/base64.rb +4 -2
- data/stdlib/bigdecimal/bignumber.js.rb +1 -1
- data/stdlib/buffer/array.rb +4 -2
- data/stdlib/date.rb +64 -31
- data/stdlib/headless_chrome.rb +11 -0
- data/stdlib/json.rb +16 -4
- data/stdlib/nashorn/file.rb +15 -0
- data/stdlib/native.rb +21 -12
- data/stdlib/nodejs/dir.rb +1 -1
- data/stdlib/nodejs/file.rb +77 -23
- data/stdlib/nodejs/io.rb +30 -1
- data/stdlib/nodejs/{node_modules/js-yaml/dist/js-yaml.js → js-yaml-3-6-1.js} +815 -626
- data/stdlib/nodejs/kernel.rb +3 -1
- data/stdlib/nodejs/package.json +0 -1
- data/stdlib/nodejs/stacktrace.rb +179 -0
- data/stdlib/nodejs/yaml.rb +2 -1
- data/stdlib/opal/platform.rb +6 -14
- data/stdlib/opal-builder.rb +1 -0
- data/stdlib/opal-platform.rb +15 -0
- data/stdlib/pathname.rb +1 -1
- data/stdlib/rbconfig.rb +1 -1
- data/stdlib/securerandom.rb +1 -1
- data/stdlib/strscan.rb +15 -1
- data/stdlib/yaml.rb +1 -1
- data/tasks/benchmarking.rake +9 -0
- data/tasks/building.rake +24 -20
- data/tasks/linting.rake +24 -13
- data/tasks/testing/mspec_special_calls.rb +44 -15
- data/tasks/testing/opal_rspec_smoketest.Gemfile +6 -0
- data/tasks/testing.rake +351 -202
- metadata +135 -915
- data/lib/opal/cli_runners/phantom.js +0 -70
- data/lib/opal/cli_runners/phantomjs.rb +0 -28
- data/lib/opal/hike_path_finder.rb +0 -18
- data/lib/opal/nodes/for.rb +0 -48
- data/lib/opal/parser/grammar.rb +0 -6157
- data/lib/opal/parser/grammar.y +0 -2011
- data/lib/opal/parser/keywords.rb +0 -66
- data/lib/opal/parser/lexer.rb +0 -1352
- data/lib/opal/parser/parser_scope.rb +0 -28
- data/lib/opal/parser/sexp.rb +0 -90
- data/lib/opal/sprockets/environment.rb +0 -23
- data/lib/opal/sprockets/erb.rb +0 -23
- data/lib/opal/sprockets/path_reader.rb +0 -36
- data/lib/opal/sprockets/processor.rb +0 -145
- data/lib/opal/sprockets/server.rb +0 -133
- data/lib/opal/sprockets/source_map_header_patch.rb +0 -41
- data/lib/opal/sprockets/source_map_server.rb +0 -115
- data/lib/opal/sprockets.rb +0 -91
- data/spec/README.md +0 -10
- data/spec/filters/bugs/array.rb +0 -12
- data/spec/filters/bugs/basicobject.rb +0 -16
- data/spec/filters/bugs/bigdecimal.rb +0 -160
- data/spec/filters/bugs/class.rb +0 -10
- data/spec/filters/bugs/compiler_opal.rb +0 -5
- data/spec/filters/bugs/complex.rb +0 -3
- data/spec/filters/bugs/date.rb +0 -94
- data/spec/filters/bugs/enumerable.rb +0 -50
- data/spec/filters/bugs/enumerator.rb +0 -42
- data/spec/filters/bugs/exception.rb +0 -58
- data/spec/filters/bugs/float.rb +0 -33
- data/spec/filters/bugs/hash.rb +0 -11
- data/spec/filters/bugs/inheritance.rb +0 -5
- data/spec/filters/bugs/integer.rb +0 -28
- data/spec/filters/bugs/kernel.rb +0 -297
- data/spec/filters/bugs/language.rb +0 -275
- data/spec/filters/bugs/language_opal.rb +0 -88
- data/spec/filters/bugs/marshal.rb +0 -43
- data/spec/filters/bugs/method.rb +0 -84
- data/spec/filters/bugs/module.rb +0 -196
- data/spec/filters/bugs/numeric.rb +0 -127
- data/spec/filters/bugs/pathname.rb +0 -5
- data/spec/filters/bugs/proc.rb +0 -36
- data/spec/filters/bugs/range.rb +0 -144
- data/spec/filters/bugs/rational.rb +0 -4
- data/spec/filters/bugs/regexp.rb +0 -196
- data/spec/filters/bugs/set.rb +0 -42
- data/spec/filters/bugs/singleton.rb +0 -6
- data/spec/filters/bugs/string.rb +0 -101
- data/spec/filters/bugs/stringscanner.rb +0 -79
- data/spec/filters/bugs/struct.rb +0 -4
- data/spec/filters/bugs/time.rb +0 -29
- data/spec/filters/bugs/unboundmethod.rb +0 -27
- data/spec/filters/unsupported/array.rb +0 -163
- data/spec/filters/unsupported/basicobject.rb +0 -14
- data/spec/filters/unsupported/bignum.rb +0 -52
- data/spec/filters/unsupported/class.rb +0 -4
- data/spec/filters/unsupported/delegator.rb +0 -5
- data/spec/filters/unsupported/enumerable.rb +0 -11
- data/spec/filters/unsupported/enumerator.rb +0 -13
- data/spec/filters/unsupported/fixnum.rb +0 -14
- data/spec/filters/unsupported/float.rb +0 -43
- data/spec/filters/unsupported/freeze.rb +0 -53
- data/spec/filters/unsupported/hash.rb +0 -51
- data/spec/filters/unsupported/integer.rb +0 -3
- data/spec/filters/unsupported/kernel.rb +0 -31
- data/spec/filters/unsupported/language.rb +0 -17
- data/spec/filters/unsupported/marshal.rb +0 -46
- data/spec/filters/unsupported/matchdata.rb +0 -30
- data/spec/filters/unsupported/math.rb +0 -3
- data/spec/filters/unsupported/module.rb +0 -8
- data/spec/filters/unsupported/pathname.rb +0 -3
- data/spec/filters/unsupported/privacy.rb +0 -147
- data/spec/filters/unsupported/proc.rb +0 -3
- data/spec/filters/unsupported/regexp.rb +0 -59
- data/spec/filters/unsupported/set.rb +0 -4
- data/spec/filters/unsupported/singleton.rb +0 -6
- data/spec/filters/unsupported/string.rb +0 -537
- data/spec/filters/unsupported/struct.rb +0 -6
- data/spec/filters/unsupported/symbol.rb +0 -19
- data/spec/filters/unsupported/taint.rb +0 -15
- data/spec/filters/unsupported/thread.rb +0 -7
- data/spec/filters/unsupported/time.rb +0 -202
- data/spec/lib/builder_processors_spec.rb +0 -27
- data/spec/lib/builder_spec.rb +0 -72
- data/spec/lib/cli_runners/phantomjs_spec.rb +0 -39
- data/spec/lib/cli_spec.rb +0 -211
- data/spec/lib/compiler/call_spec.rb +0 -700
- data/spec/lib/compiler/pre_processed_conditionals_spec.rb +0 -87
- data/spec/lib/compiler_spec.rb +0 -285
- data/spec/lib/config_spec.rb +0 -13
- data/spec/lib/dependency_resolver_spec.rb +0 -40
- data/spec/lib/fixtures/complex_sprockets.js.rb.erb +0 -4
- data/spec/lib/fixtures/file_with_directives.js +0 -2
- data/spec/lib/fixtures/jst_file.js.jst +0 -1
- data/spec/lib/fixtures/no_requires.rb +0 -1
- data/spec/lib/fixtures/opal_file.rb +0 -2
- data/spec/lib/fixtures/require_tree_test.rb +0 -3
- data/spec/lib/fixtures/required_file.js +0 -1
- data/spec/lib/fixtures/required_tree_test/required_file1.rb +0 -1
- data/spec/lib/fixtures/required_tree_test/required_file2.rb +0 -1
- data/spec/lib/fixtures/requires.rb +0 -7
- data/spec/lib/fixtures/source_map/subfolder/other_file.rb +0 -1
- data/spec/lib/fixtures/source_map.rb +0 -1
- data/spec/lib/fixtures/sprockets_file.js.rb +0 -3
- data/spec/lib/fixtures/sprockets_require_tree_test.rb +0 -3
- data/spec/lib/hike_path_finder_spec.rb +0 -23
- data/spec/lib/lexer_spec.rb +0 -110
- data/spec/lib/parser/alias_spec.rb +0 -26
- data/spec/lib/parser/and_spec.rb +0 -13
- data/spec/lib/parser/aref_spec.rb +0 -10
- data/spec/lib/parser/attrasgn_spec.rb +0 -28
- data/spec/lib/parser/begin_spec.rb +0 -42
- data/spec/lib/parser/block_spec.rb +0 -12
- data/spec/lib/parser/break_spec.rb +0 -17
- data/spec/lib/parser/call_spec.rb +0 -201
- data/spec/lib/parser/class_spec.rb +0 -35
- data/spec/lib/parser/comments_spec.rb +0 -11
- data/spec/lib/parser/def_spec.rb +0 -109
- data/spec/lib/parser/if_spec.rb +0 -26
- data/spec/lib/parser/iter_spec.rb +0 -59
- data/spec/lib/parser/lambda_spec.rb +0 -219
- data/spec/lib/parser/literal_spec.rb +0 -118
- data/spec/lib/parser/masgn_spec.rb +0 -37
- data/spec/lib/parser/module_spec.rb +0 -27
- data/spec/lib/parser/not_spec.rb +0 -21
- data/spec/lib/parser/op_asgn1_spec.rb +0 -23
- data/spec/lib/parser/op_asgn2_spec.rb +0 -23
- data/spec/lib/parser/op_asgn_spec.rb +0 -17
- data/spec/lib/parser/or_spec.rb +0 -13
- data/spec/lib/parser/return_spec.rb +0 -22
- data/spec/lib/parser/sclass_spec.rb +0 -21
- data/spec/lib/parser/string_spec.rb +0 -286
- data/spec/lib/parser/super_spec.rb +0 -20
- data/spec/lib/parser/unary_spec.rb +0 -52
- data/spec/lib/parser/undef_spec.rb +0 -19
- data/spec/lib/parser/unless_spec.rb +0 -13
- data/spec/lib/parser/variables_spec.rb +0 -116
- data/spec/lib/parser/while_spec.rb +0 -15
- data/spec/lib/parser/yield_spec.rb +0 -20
- data/spec/lib/path_reader_spec.rb +0 -36
- data/spec/lib/paths_spec.rb +0 -18
- data/spec/lib/shared/path_finder_shared.rb +0 -19
- data/spec/lib/shared/path_reader_shared.rb +0 -31
- data/spec/lib/spec_helper.rb +0 -16
- data/spec/lib/sprockets/erb_spec.rb +0 -38
- data/spec/lib/sprockets/path_reader_spec.rb +0 -41
- data/spec/lib/sprockets/processor_spec.rb +0 -79
- data/spec/lib/sprockets/server_spec.rb +0 -102
- data/spec/lib/sprockets_spec.rb +0 -32
- data/spec/lib/tilt/opal_spec.rb +0 -37
- data/spec/mspec-opal/formatters.rb +0 -188
- data/spec/mspec-opal/runner.rb +0 -193
- data/spec/opal/compiler/irb_spec.rb +0 -44
- data/spec/opal/core/arity_spec.rb +0 -142
- data/spec/opal/core/array/intersection_spec.rb +0 -38
- data/spec/opal/core/array/minus_spec.rb +0 -38
- data/spec/opal/core/array/select_spec.rb +0 -14
- data/spec/opal/core/array/set_range_to_array_spec.rb +0 -7
- data/spec/opal/core/array/union_spec.rb +0 -38
- data/spec/opal/core/array/uniq_spec.rb +0 -49
- data/spec/opal/core/date_spec.rb +0 -177
- data/spec/opal/core/enumerable/all_break_spec.rb +0 -5
- data/spec/opal/core/enumerable/any_break_spec.rb +0 -5
- data/spec/opal/core/enumerable/collect_break_spec.rb +0 -13
- data/spec/opal/core/enumerable/count_break_spec.rb +0 -5
- data/spec/opal/core/enumerable/detect_break_spec.rb +0 -5
- data/spec/opal/core/enumerable/drop_while_break_spec.rb +0 -5
- data/spec/opal/core/enumerable/each_slice_break.rb +0 -6
- data/spec/opal/core/enumerable/each_with_index_break_spec.rb +0 -5
- data/spec/opal/core/enumerable/each_with_object_break_spec.rb +0 -5
- data/spec/opal/core/enumerable/find_all_break_spec.rb +0 -5
- data/spec/opal/core/enumerable/find_index_break_spec.rb +0 -5
- data/spec/opal/core/enumerable/grep_break_spec.rb +0 -5
- data/spec/opal/core/enumerable/max_break_spec.rb +0 -5
- data/spec/opal/core/enumerable/max_by_break_spec.rb +0 -5
- data/spec/opal/core/enumerable/min_break_spec.rb +0 -5
- data/spec/opal/core/enumerable/min_by_break_spec.rb +0 -5
- data/spec/opal/core/enumerable/none_break_spec.rb +0 -5
- data/spec/opal/core/enumerable/one_break_spec.rb +0 -5
- data/spec/opal/core/enumerable/reduce_break_spec.rb +0 -5
- data/spec/opal/core/enumerable/take_while_break_spec.rb +0 -5
- data/spec/opal/core/enumerator/with_index_spec.rb +0 -6
- data/spec/opal/core/exception_spec.rb +0 -20
- data/spec/opal/core/fixtures/class.rb +0 -124
- data/spec/opal/core/fixtures/class_variables.rb +0 -0
- data/spec/opal/core/fixtures/constants.rb +0 -33
- data/spec/opal/core/fixtures/require_tree_files/file 1.rb +0 -1
- data/spec/opal/core/fixtures/require_tree_files/file 2.rb +0 -1
- data/spec/opal/core/fixtures/require_tree_files/file 3.rb +0 -1
- data/spec/opal/core/fixtures/require_tree_files/file 4.rb +0 -1
- data/spec/opal/core/fixtures/require_tree_files/file 5.rb +0 -1
- data/spec/opal/core/fixtures/require_tree_files/nested/nested 1.rb +0 -1
- data/spec/opal/core/fixtures/require_tree_files/nested/nested 2.rb +0 -1
- data/spec/opal/core/fixtures/require_tree_files/other/other 1.rb +0 -1
- data/spec/opal/core/fixtures/require_tree_with_dot/file 1.rb +0 -1
- data/spec/opal/core/fixtures/require_tree_with_dot/file 2.rb +0 -1
- data/spec/opal/core/fixtures/require_tree_with_dot/file 3.rb +0 -1
- data/spec/opal/core/fixtures/require_tree_with_dot/index.rb +0 -3
- data/spec/opal/core/hash/has_value_spec.rb +0 -13
- data/spec/opal/core/hash/internals_spec.rb +0 -332
- data/spec/opal/core/helpers_spec.rb +0 -14
- data/spec/opal/core/kernel/Array_spec.rb +0 -10
- data/spec/opal/core/kernel/at_exit_spec.rb +0 -70
- data/spec/opal/core/kernel/block_given_spec.rb +0 -30
- data/spec/opal/core/kernel/class_spec.rb +0 -6
- data/spec/opal/core/kernel/define_singleton_method_spec.rb +0 -21
- data/spec/opal/core/kernel/equal_value_spec.rb +0 -12
- data/spec/opal/core/kernel/extend_spec.rb +0 -21
- data/spec/opal/core/kernel/format_spec.rb +0 -122
- data/spec/opal/core/kernel/freeze_spec.rb +0 -15
- data/spec/opal/core/kernel/instance_eval_spec.rb +0 -28
- data/spec/opal/core/kernel/instance_variable_defined_spec.rb +0 -15
- data/spec/opal/core/kernel/instance_variable_get_spec.rb +0 -14
- data/spec/opal/core/kernel/instance_variable_set_spec.rb +0 -10
- data/spec/opal/core/kernel/instance_variables_spec.rb +0 -110
- data/spec/opal/core/kernel/loop_spec.rb +0 -23
- data/spec/opal/core/kernel/match_spec.rb +0 -5
- data/spec/opal/core/kernel/method_spec.rb +0 -31
- data/spec/opal/core/kernel/methods_spec.rb +0 -25
- data/spec/opal/core/kernel/nil_spec.rb +0 -7
- data/spec/opal/core/kernel/p_spec.rb +0 -15
- data/spec/opal/core/kernel/printf_spec.rb +0 -11
- data/spec/opal/core/kernel/proc_spec.rb +0 -13
- data/spec/opal/core/kernel/raise_spec.rb +0 -13
- data/spec/opal/core/kernel/rand_spec.rb +0 -23
- data/spec/opal/core/kernel/require_tree_spec.rb +0 -18
- data/spec/opal/core/kernel/respond_to_spec.rb +0 -41
- data/spec/opal/core/kernel/send_spec.rb +0 -56
- data/spec/opal/core/kernel/sprintf_spec.rb +0 -5
- data/spec/opal/core/language/arguments/mlhs_arg_spec.rb +0 -19
- data/spec/opal/core/language/block_spec.rb +0 -538
- data/spec/opal/core/language/class_spec.rb +0 -55
- data/spec/opal/core/language/equal_spec.rb +0 -8
- data/spec/opal/core/language/fixtures/array.rb +0 -11
- data/spec/opal/core/language/fixtures/block.rb +0 -57
- data/spec/opal/core/language/fixtures/break.rb +0 -240
- data/spec/opal/core/language/fixtures/ensure.rb +0 -72
- data/spec/opal/core/language/fixtures/literal_lambda.rb +0 -7
- data/spec/opal/core/language/fixtures/metaclass.rb +0 -33
- data/spec/opal/core/language/fixtures/module.rb +0 -24
- data/spec/opal/core/language/fixtures/next.rb +0 -128
- data/spec/opal/core/language/fixtures/return.rb +0 -118
- data/spec/opal/core/language/fixtures/send.rb +0 -111
- data/spec/opal/core/language/fixtures/send_1.9.rb +0 -22
- data/spec/opal/core/language/fixtures/super.rb +0 -308
- data/spec/opal/core/language/fixtures/variables.rb +0 -58
- data/spec/opal/core/language/fixtures/yield.rb +0 -28
- data/spec/opal/core/language/heredoc_spec.rb +0 -42
- data/spec/opal/core/language/keyword_arguments_spec.rb +0 -11
- data/spec/opal/core/language/predefined_spec.rb +0 -138
- data/spec/opal/core/language/proc_spec.rb +0 -263
- data/spec/opal/core/language/regexp_spec.rb +0 -20
- data/spec/opal/core/language/rescue_spec.rb +0 -18
- data/spec/opal/core/language/send_spec.rb +0 -230
- data/spec/opal/core/language/string_spec.rb +0 -44
- data/spec/opal/core/language/ternary_operator_spec.rb +0 -20
- data/spec/opal/core/language/variables_spec.rb +0 -1366
- data/spec/opal/core/language/versions/array_1.9.rb +0 -39
- data/spec/opal/core/language/versions/block_1.9.rb +0 -0
- data/spec/opal/core/language/versions/break_1.9.rb +0 -0
- data/spec/opal/core/language/versions/case_1.9.rb +0 -20
- data/spec/opal/core/language/versions/def_2_0_spec.rb +0 -62
- data/spec/opal/core/language/versions/hash_1_9_spec.rb +0 -23
- data/spec/opal/core/language/versions/literal_lambda_1.9.rb +0 -143
- data/spec/opal/core/language/versions/not_1.9.rb +0 -22
- data/spec/opal/core/language/versions/send_1.9.rb +0 -241
- data/spec/opal/core/language/versions/symbol_1.9.rb +0 -15
- data/spec/opal/core/language/versions/variables_1.9.rb +0 -8
- data/spec/opal/core/language_spec.rb +0 -45
- data/spec/opal/core/marshal/dump_spec.rb +0 -53
- data/spec/opal/core/marshal/load_spec.rb +0 -7
- data/spec/opal/core/method/to_proc_spec.rb +0 -28
- data/spec/opal/core/module/alias_method_spec.rb +0 -28
- data/spec/opal/core/module/ancestors_spec.rb +0 -11
- data/spec/opal/core/module/append_features_spec.rb +0 -14
- data/spec/opal/core/module/attr_accessor_spec.rb +0 -26
- data/spec/opal/core/module/const_defined_spec.rb +0 -84
- data/spec/opal/core/module/const_get_spec.rb +0 -85
- data/spec/opal/core/module/const_missing_spec.rb +0 -17
- data/spec/opal/core/module/const_set_spec.rb +0 -64
- data/spec/opal/core/module/constants_spec.rb +0 -49
- data/spec/opal/core/module/fixtures/classes.rb +0 -444
- data/spec/opal/core/module/method_defined_spec.rb +0 -48
- data/spec/opal/core/module/method_lookup_spec.rb +0 -13
- data/spec/opal/core/module/module_function_spec.rb +0 -25
- data/spec/opal/core/module/name_spec.rb +0 -41
- data/spec/opal/core/module/public_method_defined_spec.rb +0 -18
- data/spec/opal/core/module/remove_const_spec.rb +0 -22
- data/spec/opal/core/module/undef_method_spec.rb +0 -66
- data/spec/opal/core/numeric/bit_and_spec.rb +0 -7
- data/spec/opal/core/numeric/bit_or_spec.rb +0 -8
- data/spec/opal/core/numeric/bit_xor_spec.rb +0 -6
- data/spec/opal/core/numeric/ceil_spec.rb +0 -8
- data/spec/opal/core/numeric/chr_spec.rb +0 -8
- data/spec/opal/core/numeric/comparison_spec.rb +0 -24
- data/spec/opal/core/numeric/complement_spec.rb +0 -8
- data/spec/opal/core/numeric/divide_spec.rb +0 -10
- data/spec/opal/core/numeric/eql_spec.rb +0 -9
- data/spec/opal/core/numeric/exponent_spec.rb +0 -33
- data/spec/opal/core/numeric/floor_spec.rb +0 -8
- data/spec/opal/core/numeric/gt_spec.rb +0 -11
- data/spec/opal/core/numeric/gte_spec.rb +0 -12
- data/spec/opal/core/numeric/integer_spec.rb +0 -9
- data/spec/opal/core/numeric/left_shift_spec.rb +0 -21
- data/spec/opal/core/numeric/lt_spec.rb +0 -11
- data/spec/opal/core/numeric/lte_spec.rb +0 -12
- data/spec/opal/core/numeric/minus_spec.rb +0 -8
- data/spec/opal/core/numeric/modulo_spec.rb +0 -19
- data/spec/opal/core/numeric/multiply_spec.rb +0 -9
- data/spec/opal/core/numeric/next_spec.rb +0 -9
- data/spec/opal/core/numeric/ord_spec.rb +0 -9
- data/spec/opal/core/numeric/plus_spec.rb +0 -8
- data/spec/opal/core/numeric/pred_spec.rb +0 -7
- data/spec/opal/core/numeric/right_shift_spec.rb +0 -25
- data/spec/opal/core/numeric/step_spec.rb +0 -11
- data/spec/opal/core/numeric/succ_spec.rb +0 -9
- data/spec/opal/core/numeric/times_spec.rb +0 -36
- data/spec/opal/core/numeric/to_f_spec.rb +0 -7
- data/spec/opal/core/numeric/to_i_spec.rb +0 -7
- data/spec/opal/core/numeric/to_json_spec.rb +0 -8
- data/spec/opal/core/numeric/to_s_spec.rb +0 -26
- data/spec/opal/core/numeric/uminus_spec.rb +0 -9
- data/spec/opal/core/numeric/upto_spec.rb +0 -19
- data/spec/opal/core/numeric/zero_spec.rb +0 -7
- data/spec/opal/core/object_id_spec.rb +0 -56
- data/spec/opal/core/proc/call_spec.rb +0 -21
- data/spec/opal/core/proc/element_reference_spec.rb +0 -21
- data/spec/opal/core/proc/proc_tricks_spec.rb +0 -7
- data/spec/opal/core/runtime/begin_spec.rb +0 -39
- data/spec/opal/core/runtime/block_send_spec.rb +0 -28
- data/spec/opal/core/runtime/block_spec.rb +0 -23
- data/spec/opal/core/runtime/bridged_classes_spec.rb +0 -123
- data/spec/opal/core/runtime/constants_spec.rb +0 -13
- data/spec/opal/core/runtime/donate_spec.rb +0 -53
- data/spec/opal/core/runtime/eval_spec.rb +0 -5
- data/spec/opal/core/runtime/main_methods_spec.rb +0 -27
- data/spec/opal/core/runtime/method_missing_spec.rb +0 -68
- data/spec/opal/core/runtime/method_spec.rb +0 -31
- data/spec/opal/core/runtime/operator_call_spec.rb +0 -13
- data/spec/opal/core/runtime/paren_spec.rb +0 -14
- data/spec/opal/core/runtime/rescue_spec.rb +0 -71
- data/spec/opal/core/runtime/return_spec.rb +0 -38
- data/spec/opal/core/runtime/send_spec.rb +0 -34
- data/spec/opal/core/runtime/singleton_class_spec.rb +0 -13
- data/spec/opal/core/runtime/super_spec.rb +0 -223
- data/spec/opal/core/runtime/truthy_spec.rb +0 -63
- data/spec/opal/core/runtime/variables_spec.rb +0 -20
- data/spec/opal/core/runtime_spec.rb +0 -58
- data/spec/opal/core/source_map_spec.rb +0 -49
- data/spec/opal/core/string_spec.rb +0 -32
- data/spec/opal/javascript_api_spec.rb +0 -16
- data/spec/opal/stdlib/erb/erb_spec.rb +0 -30
- data/spec/opal/stdlib/erb/inline_block.opalerb +0 -3
- data/spec/opal/stdlib/erb/quoted.opalerb +0 -1
- data/spec/opal/stdlib/erb/simple.opalerb +0 -1
- data/spec/opal/stdlib/js_spec.rb +0 -66
- data/spec/opal/stdlib/json/ext_spec.rb +0 -48
- data/spec/opal/stdlib/json/parse_spec.rb +0 -33
- data/spec/opal/stdlib/native/alias_native_spec.rb +0 -27
- data/spec/opal/stdlib/native/array_spec.rb +0 -11
- data/spec/opal/stdlib/native/each_spec.rb +0 -13
- data/spec/opal/stdlib/native/element_reference_spec.rb +0 -16
- data/spec/opal/stdlib/native/exposure_spec.rb +0 -33
- data/spec/opal/stdlib/native/ext_spec.rb +0 -19
- data/spec/opal/stdlib/native/hash_spec.rb +0 -51
- data/spec/opal/stdlib/native/initialize_spec.rb +0 -17
- data/spec/opal/stdlib/native/method_missing_spec.rb +0 -51
- data/spec/opal/stdlib/native/native_alias_spec.rb +0 -19
- data/spec/opal/stdlib/native/native_class_spec.rb +0 -18
- data/spec/opal/stdlib/native/native_module_spec.rb +0 -13
- data/spec/opal/stdlib/native/native_reader_spec.rb +0 -22
- data/spec/opal/stdlib/native/native_writer_spec.rb +0 -30
- data/spec/opal/stdlib/native/new_spec.rb +0 -92
- data/spec/opal/stdlib/native/struct_spec.rb +0 -12
- data/spec/opal/stdlib/promise/always_spec.rb +0 -49
- data/spec/opal/stdlib/promise/error_spec.rb +0 -15
- data/spec/opal/stdlib/promise/rescue_spec.rb +0 -53
- data/spec/opal/stdlib/promise/then_spec.rb +0 -79
- data/spec/opal/stdlib/promise/trace_spec.rb +0 -51
- data/spec/opal/stdlib/promise/value_spec.rb +0 -15
- data/spec/opal/stdlib/promise/when_spec.rb +0 -34
- data/spec/opal/stdlib/source_map_spec.rb +0 -8
- data/spec/opal/stdlib/strscan/scan_spec.rb +0 -11
- data/spec/opal/stdlib/template/paths_spec.rb +0 -10
- data/spec/opal/stdlib/thread/mutex_spec.rb +0 -40
- data/spec/opal/stdlib/thread/thread_queue_spec.rb +0 -32
- data/spec/opal/stdlib/thread/thread_spec.rb +0 -60
- data/spec/ruby_specs +0 -121
- data/spec/spec_helper.rb +0 -26
- data/spec/support/match_helpers.rb +0 -57
- data/spec/support/mspec_rspec_adapter.rb +0 -33
- data/spec/support/parser_helpers.rb +0 -37
- data/stdlib/nodejs/node_modules/js-yaml/HISTORY.md +0 -277
- data/stdlib/nodejs/node_modules/js-yaml/README.md +0 -288
- data/stdlib/nodejs/node_modules/js-yaml/bin/js-yaml.js +0 -140
- data/stdlib/nodejs/node_modules/js-yaml/bower.json +0 -23
- data/stdlib/nodejs/node_modules/js-yaml/dist/js-yaml.min.js +0 -3
- data/stdlib/nodejs/node_modules/js-yaml/examples/custom_types.js +0 -102
- data/stdlib/nodejs/node_modules/js-yaml/examples/custom_types.yml +0 -18
- data/stdlib/nodejs/node_modules/js-yaml/examples/dumper.js +0 -31
- data/stdlib/nodejs/node_modules/js-yaml/examples/dumper.json +0 -22
- data/stdlib/nodejs/node_modules/js-yaml/examples/sample_document.js +0 -18
- data/stdlib/nodejs/node_modules/js-yaml/examples/sample_document.yml +0 -197
- data/stdlib/nodejs/node_modules/js-yaml/index.js +0 -7
- data/stdlib/nodejs/node_modules/js-yaml/lib/js-yaml/common.js +0 -62
- data/stdlib/nodejs/node_modules/js-yaml/lib/js-yaml/dumper.js +0 -554
- data/stdlib/nodejs/node_modules/js-yaml/lib/js-yaml/exception.js +0 -25
- data/stdlib/nodejs/node_modules/js-yaml/lib/js-yaml/loader.js +0 -1581
- data/stdlib/nodejs/node_modules/js-yaml/lib/js-yaml/mark.js +0 -78
- data/stdlib/nodejs/node_modules/js-yaml/lib/js-yaml/schema/core.js +0 -18
- data/stdlib/nodejs/node_modules/js-yaml/lib/js-yaml/schema/default_full.js +0 -25
- data/stdlib/nodejs/node_modules/js-yaml/lib/js-yaml/schema/default_safe.js +0 -28
- data/stdlib/nodejs/node_modules/js-yaml/lib/js-yaml/schema/failsafe.js +0 -17
- data/stdlib/nodejs/node_modules/js-yaml/lib/js-yaml/schema/json.js +0 -25
- data/stdlib/nodejs/node_modules/js-yaml/lib/js-yaml/schema.js +0 -103
- data/stdlib/nodejs/node_modules/js-yaml/lib/js-yaml/type/binary.js +0 -133
- data/stdlib/nodejs/node_modules/js-yaml/lib/js-yaml/type/bool.js +0 -37
- data/stdlib/nodejs/node_modules/js-yaml/lib/js-yaml/type/float.js +0 -110
- data/stdlib/nodejs/node_modules/js-yaml/lib/js-yaml/type/int.js +0 -183
- data/stdlib/nodejs/node_modules/js-yaml/lib/js-yaml/type/js/function.js +0 -85
- data/stdlib/nodejs/node_modules/js-yaml/lib/js-yaml/type/js/regexp.js +0 -84
- data/stdlib/nodejs/node_modules/js-yaml/lib/js-yaml/type/js/undefined.js +0 -27
- data/stdlib/nodejs/node_modules/js-yaml/lib/js-yaml/type/map.js +0 -8
- data/stdlib/nodejs/node_modules/js-yaml/lib/js-yaml/type/merge.js +0 -12
- data/stdlib/nodejs/node_modules/js-yaml/lib/js-yaml/type/null.js +0 -36
- data/stdlib/nodejs/node_modules/js-yaml/lib/js-yaml/type/omap.js +0 -56
- data/stdlib/nodejs/node_modules/js-yaml/lib/js-yaml/type/pairs.js +0 -61
- data/stdlib/nodejs/node_modules/js-yaml/lib/js-yaml/type/seq.js +0 -8
- data/stdlib/nodejs/node_modules/js-yaml/lib/js-yaml/type/set.js +0 -33
- data/stdlib/nodejs/node_modules/js-yaml/lib/js-yaml/type/str.js +0 -8
- data/stdlib/nodejs/node_modules/js-yaml/lib/js-yaml/type/timestamp.js +0 -98
- data/stdlib/nodejs/node_modules/js-yaml/lib/js-yaml/type.js +0 -61
- data/stdlib/nodejs/node_modules/js-yaml/lib/js-yaml.js +0 -39
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/HISTORY.md +0 -115
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/README.md +0 -239
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/examples/arguments.js +0 -36
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/examples/choice.js +0 -22
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/examples/constants.js +0 -59
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/examples/help.js +0 -13
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/examples/nargs.js +0 -33
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/examples/parents.js +0 -28
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/examples/prefix_chars.js +0 -23
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/examples/sub_commands.js +0 -49
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/examples/sum.js +0 -35
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/examples/testformatters.js +0 -270
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/index.js +0 -1
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/lib/action/append/constant.js +0 -47
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/lib/action/append.js +0 -55
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/lib/action/count.js +0 -40
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/lib/action/help.js +0 -48
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/lib/action/store/constant.js +0 -43
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/lib/action/store/false.js +0 -27
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/lib/action/store/true.js +0 -26
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/lib/action/store.js +0 -50
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/lib/action/subparsers.js +0 -148
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/lib/action/version.js +0 -50
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/lib/action.js +0 -146
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/lib/action_container.js +0 -481
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/lib/argparse.js +0 -14
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/lib/argument/error.js +0 -50
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/lib/argument/exclusive.js +0 -54
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/lib/argument/group.js +0 -75
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/lib/argument_parser.js +0 -1168
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/lib/const.js +0 -18
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/lib/help/added_formatters.js +0 -88
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/lib/help/formatter.js +0 -798
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/lib/namespace.js +0 -77
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/LICENSE +0 -23
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/README.md +0 -22
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/package.json +0 -69
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/underscore-min.js +0 -6
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/underscore.js +0 -1415
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/.npmignore +0 -2
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/.travis.yml +0 -8
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/README.markdown +0 -825
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/bower.json +0 -33
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/component.json +0 -11
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/foo.js +0 -10
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/gulpfile.js +0 -26
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/lib/underscore.string.js +0 -673
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/libpeerconnection.log +0 -0
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/package.json +0 -107
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/package.json +0 -62
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/esprima/README.md +0 -73
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/esprima/bin/esparse.js +0 -117
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/esprima/bin/esvalidate.js +0 -177
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/esprima/esprima.js +0 -3908
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/esprima/package.json +0 -69
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/esprima/test/compat.js +0 -239
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/esprima/test/reflect.js +0 -422
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/esprima/test/run.js +0 -66
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/esprima/test/runner.js +0 -387
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/esprima/test/test.js +0 -20238
- data/stdlib/nodejs/node_modules/js-yaml/package.json +0 -83
- data/stdlib/phantomjs.rb +0 -17
- data/tasks/testing/sprockets-phantomjs.js +0 -54
- data/test/nodejs/test_dir.rb +0 -17
- data/test/nodejs/test_file.rb +0 -30
- data/test/opal/test_keyword.rb +0 -590
- data/test/opal/unsupported_and_bugs.rb +0 -30
- /data/{CODE_OF_CONDUCT.md → CONDUCT.md} +0 -0
- /data/{bin → exe}/opal-build +0 -0
- /data/{bin → exe}/opal-mspec +0 -0
data/spec/filters/bugs/module.rb
DELETED
|
@@ -1,196 +0,0 @@
|
|
|
1
|
-
opal_filter "Module" do
|
|
2
|
-
fails "Module#alias_method can call a method with super aliased twice"
|
|
3
|
-
fails "Module#alias_method raises a TypeError when the given name can't be converted using to_str"
|
|
4
|
-
fails "Module#alias_method retains method visibility"
|
|
5
|
-
fails "Module#append_features copies own tainted status to the given module"
|
|
6
|
-
fails "Module#append_features copies own untrusted status to the given module"
|
|
7
|
-
fails "Module#append_features on Class raises a TypeError if calling after rebinded to Class"
|
|
8
|
-
fails "Module#append_features raises an ArgumentError on a cyclic include"
|
|
9
|
-
fails "Module#attr applies current visibility to methods created"
|
|
10
|
-
fails "Module#attr converts non string/symbol/fixnum names to strings using to_str"
|
|
11
|
-
fails "Module#attr creates a getter but no setter for all given attribute names"
|
|
12
|
-
fails "Module#attr creates a getter for the given attribute name"
|
|
13
|
-
fails "Module#attr raises a TypeError when the given names can't be converted to strings using to_str"
|
|
14
|
-
fails "Module#attr_accessor applies current visibility to methods created"
|
|
15
|
-
fails "Module#attr_accessor converts non string/symbol/fixnum names to strings using to_str"
|
|
16
|
-
fails "Module#attr_accessor not allows creating an attr_accessor on an immediate class"
|
|
17
|
-
fails "Module#attr_accessor raises a TypeError when the given names can't be converted to strings using to_str"
|
|
18
|
-
fails "Module#attr_reader applies current visibility to methods created"
|
|
19
|
-
fails "Module#attr_reader converts non string/symbol/fixnum names to strings using to_str"
|
|
20
|
-
fails "Module#attr_reader not allows for adding an attr_reader to an immediate"
|
|
21
|
-
fails "Module#attr_reader raises a TypeError when the given names can't be converted to strings using to_str"
|
|
22
|
-
fails "Module#attr_writer applies current visibility to methods created"
|
|
23
|
-
fails "Module#attr_writer converts non string/symbol/fixnum names to strings using to_str"
|
|
24
|
-
fails "Module#attr_writer not allows for adding an attr_writer to an immediate"
|
|
25
|
-
fails "Module#attr_writer raises a TypeError when the given names can't be converted to strings using to_str"
|
|
26
|
-
fails "Module#autoload (concurrently) blocks a second thread while a first is doing the autoload"
|
|
27
|
-
fails "Module#autoload (concurrently) blocks others threads while doing an autoload"
|
|
28
|
-
fails "Module#autoload allows multiple autoload constants for a single file"
|
|
29
|
-
fails "Module#autoload calls #to_path on non-String filename arguments"
|
|
30
|
-
fails "Module#autoload calls #to_path on non-string filenames"
|
|
31
|
-
fails "Module#autoload does NOT raise a NameError when the autoload file did not define the constant and a module is opened with the same name"
|
|
32
|
-
fails "Module#autoload does not load the file if the file is manually required"
|
|
33
|
-
fails "Module#autoload does not load the file when accessing the constants table of the module"
|
|
34
|
-
fails "Module#autoload does not load the file when referring to the constant in defined?"
|
|
35
|
-
fails "Module#autoload does not remove the constant from the constant table if load fails"
|
|
36
|
-
fails "Module#autoload does not remove the constant from the constant table if the loaded files does not define it"
|
|
37
|
-
fails "Module#autoload ignores the autoload request if the file is already loaded"
|
|
38
|
-
fails "Module#autoload loads a file with .rb extension when passed the name without the extension"
|
|
39
|
-
fails "Module#autoload loads the file that defines subclass XX::YY < YY and YY is a top level constant"
|
|
40
|
-
fails "Module#autoload loads the file when opening a module that is the autoloaded constant"
|
|
41
|
-
fails "Module#autoload loads the registered constant into a dynamically created class"
|
|
42
|
-
fails "Module#autoload loads the registered constant into a dynamically created module"
|
|
43
|
-
fails "Module#autoload loads the registered constant when it is accessed"
|
|
44
|
-
fails "Module#autoload loads the registered constant when it is included"
|
|
45
|
-
fails "Module#autoload loads the registered constant when it is inherited from"
|
|
46
|
-
fails "Module#autoload loads the registered constant when it is opened as a class"
|
|
47
|
-
fails "Module#autoload loads the registered constant when it is opened as a module"
|
|
48
|
-
fails "Module#autoload looks up the constant in the scope where it is referred"
|
|
49
|
-
fails "Module#autoload looks up the constant when in a meta class scope"
|
|
50
|
-
fails "Module#autoload on a frozen module raises a RuntimeError before setting the name"
|
|
51
|
-
fails "Module#autoload raises a NameError when the constant name has a space in it"
|
|
52
|
-
fails "Module#autoload raises a NameError when the constant name starts with a lower case letter"
|
|
53
|
-
fails "Module#autoload raises a NameError when the constant name starts with a number"
|
|
54
|
-
fails "Module#autoload raises a TypeError if not passed a String or object respodning to #to_path for the filename"
|
|
55
|
-
fails "Module#autoload raises a TypeError if opening a class with a different superclass than the class defined in the autoload file"
|
|
56
|
-
fails "Module#autoload raises an ArgumentError when an empty filename is given"
|
|
57
|
-
fails "Module#autoload registers a file to load the first time the named constant is accessed"
|
|
58
|
-
fails "Module#autoload retains the autoload even if the request to require fails"
|
|
59
|
-
fails "Module#autoload returns 'constant' on referring the constant with defined?()"
|
|
60
|
-
fails "Module#autoload runs for an exception condition class and doesn't trample the exception"
|
|
61
|
-
fails "Module#autoload sets the autoload constant in the constants table"
|
|
62
|
-
fails "Module#autoload shares the autoload request across dup'ed copies of modules"
|
|
63
|
-
fails "Module#autoload when changing $LOAD_PATH does not reload a file due to a different load path"
|
|
64
|
-
fails "Module#autoload? returns nil if no file has been registered for a constant"
|
|
65
|
-
fails "Module#autoload? returns the name of the file that will be autoloaded"
|
|
66
|
-
fails "Module#class_eval converts a non-string filename to a string using to_str"
|
|
67
|
-
fails "Module#class_eval converts non string eval-string to string using to_str"
|
|
68
|
-
fails "Module#class_eval raises a TypeError when the given eval-string can't be converted to string using to_str"
|
|
69
|
-
fails "Module#class_eval raises a TypeError when the given filename can't be converted to string using to_str"
|
|
70
|
-
fails "Module#class_eval uses the optional filename and lineno parameters for error messages"
|
|
71
|
-
fails "Module#class_exec defines method in the receiver's scope"
|
|
72
|
-
fails "Module#class_variable_defined? converts a non string/symbol/fixnum name to string using to_str"
|
|
73
|
-
fails "Module#class_variable_defined? raises a TypeError when the given names can't be converted to strings using to_str"
|
|
74
|
-
fails "Module#class_variable_defined? returns false if a class variables with the given name is defined in an extended module"
|
|
75
|
-
fails "Module#class_variable_defined? returns false if the class variable is not defined in a metaclass"
|
|
76
|
-
fails "Module#class_variable_defined? returns true if a class variable with the given name is defined in self"
|
|
77
|
-
fails "Module#class_variable_defined? returns true if a class variable with the given name is defined in the metaclass"
|
|
78
|
-
fails "Module#class_variable_defined? returns true if a class variables with the given name is defined in an included module"
|
|
79
|
-
fails "Module#class_variable_defined? returns true if the class variable is defined in a metaclass"
|
|
80
|
-
fails "Module#class_variable_get returns the value of a class variable with the given name defined in an included module"
|
|
81
|
-
fails "Module#class_variables does not return class variables defined in extended modules"
|
|
82
|
-
fails "Module#class_variables returns an Array of Symbols of class variable names defined in a metaclass"
|
|
83
|
-
fails "Module#class_variables returns an Array with names of class variables defined in metaclasses"
|
|
84
|
-
fails "Module#class_variables returns an Array with the names of class variables of self"
|
|
85
|
-
fails "Module#const_get raises a NameError if the constant is defined in the receiver's supperclass and the inherit flag is false" # requires to not copy the whole $$scope on inheriting
|
|
86
|
-
fails "Module#constants doesn't returns inherited constants when passed false"
|
|
87
|
-
fails "Module#constants doesn't returns inherited constants when passed nil"
|
|
88
|
-
fails "Module#constants returns all constants including inherited when passed some object"
|
|
89
|
-
fails "Module#constants returns all constants including inherited when passed true"
|
|
90
|
-
fails "Module#constants returns an array of Symbol names of all constants defined in the module and all included modules"
|
|
91
|
-
fails "Module#constants returns only public constants"
|
|
92
|
-
fails "Module#define_method raises a TypeError when a Method from a singleton class is defined on another class"
|
|
93
|
-
fails "Module#define_method raises a TypeError when a Method from one class is defined on an unrelated class"
|
|
94
|
-
fails "Module#define_method raises a TypeError when an UnboundMethod from a child class is defined on a parent class"
|
|
95
|
-
fails "Module#define_method raises a TypeError when an UnboundMethod from one class is defined on an unrelated class"
|
|
96
|
-
fails "Module#extend_object does not copy own tainted status to the given object"
|
|
97
|
-
fails "Module#extend_object does not copy own untrusted status to the given object"
|
|
98
|
-
fails "Module#extend_object extends the given object with its constants and methods by default"
|
|
99
|
-
fails "Module#extend_object is called when #extend is called on an object"
|
|
100
|
-
fails "Module#extend_object on Class raises a TypeError if calling after rebinded to Class"
|
|
101
|
-
fails "Module#include detects cyclic includes"
|
|
102
|
-
fails "Module#include does not override existing constants in modules and classes"
|
|
103
|
-
fails "Module#include doesn't include module if it is included in a super class"
|
|
104
|
-
fails "Module#include? raises a TypeError when no module was given"
|
|
105
|
-
fails "Module#include? returns true if the given module is included by self or one of it's ancestors"
|
|
106
|
-
fails "Module#initialize is called on subclasses"
|
|
107
|
-
fails "Module#instance_method gives UnboundMethod method name, Module defined in and Module extracted from"
|
|
108
|
-
fails "Module#instance_method raises a NameError if the method has been undefined"
|
|
109
|
-
fails "Module#instance_method raises a TypeError if not passed a symbol"
|
|
110
|
-
fails "Module#instance_method raises a TypeError if the given name is not a string/symbol"
|
|
111
|
-
fails "Module#method_defined? converts the given name to a string using to_str"
|
|
112
|
-
fails "Module#method_defined? raises a TypeError when the given object is not a string/symbol/fixnum"
|
|
113
|
-
fails "Module#method_defined? returns true if a public or private method with the given name is defined in self, self's ancestors or one of self's included modules"
|
|
114
|
-
fails "Module#const_defined? returns false if the constant is defined in the receiver's superclass and the inherit flag is false"
|
|
115
|
-
fails "Module#const_defined? returns true for toplevel constant when the name begins with '::'"
|
|
116
|
-
fails "Module#const_defined? returns true when passed a scoped constant name"
|
|
117
|
-
fails "Module#const_defined? returns true when passed a scoped constant name for a constant in the inheritance hierarchy and the inherited flag is default"
|
|
118
|
-
fails "Module#const_defined? returns true when passed a scoped constant name for a constant in the inheritance hierarchy and the inherited flag is true"
|
|
119
|
-
fails "Module#const_defined? returns true or false for the nested name"
|
|
120
|
-
fails "Module#const_defined? returns true when passed a constant name with EUC-JP characters"
|
|
121
|
-
fails "Module#module_eval converts a non-string filename to a string using to_str"
|
|
122
|
-
fails "Module#module_eval converts non string eval-string to string using to_str"
|
|
123
|
-
fails "Module#module_eval raises a TypeError when the given eval-string can't be converted to string using to_str"
|
|
124
|
-
fails "Module#module_eval raises a TypeError when the given filename can't be converted to string using to_str"
|
|
125
|
-
fails "Module#module_eval uses the optional filename and lineno parameters for error messages"
|
|
126
|
-
fails "Module#module_exec defines method in the receiver's scope"
|
|
127
|
-
fails "Module#module_function as a toggle (no arguments) in a Module body does not affect module_evaled method definitions also if outside the eval itself"
|
|
128
|
-
fails "Module#module_function as a toggle (no arguments) in a Module body doesn't affect definitions when inside an eval even if the definitions are outside of it"
|
|
129
|
-
fails "Module#module_function as a toggle (no arguments) in a Module body has no effect if inside a module_eval if the definitions are outside of it"
|
|
130
|
-
fails "Module#module_function on Class raises a TypeError if calling after rebinded to Class"
|
|
131
|
-
fails "Module#module_function with specific method names raises a TypeError when the given names can't be converted to string using to_str"
|
|
132
|
-
fails "Module#module_function with specific method names tries to convert the given names to strings using to_str"
|
|
133
|
-
fails "Module#name is not nil for a nested module created with the module keyword"
|
|
134
|
-
fails "Module#name is set with a conditional assignment to a constant"
|
|
135
|
-
fails "Module#name is set with a conditional assignment to a nested constant"
|
|
136
|
-
fails "Module#name preserves the encoding in which the class was defined"
|
|
137
|
-
fails "Module#prepend accepts no-arguments"
|
|
138
|
-
fails "Module#prepend adds the module in the subclass chains"
|
|
139
|
-
fails "Module#prepend allows wrapping methods"
|
|
140
|
-
fails "Module#prepend also prepends included modules"
|
|
141
|
-
fails "Module#prepend calls #prepend_features(self) in reversed order on each module"
|
|
142
|
-
fails "Module#prepend calls prepended after prepend_features"
|
|
143
|
-
fails "Module#prepend causes the prepended module's method to be aliased by alias_method"
|
|
144
|
-
fails "Module#prepend clears any caches"
|
|
145
|
-
fails "Module#prepend depends on prepend_features to add the module"
|
|
146
|
-
fails "Module#prepend detects cyclic prepends"
|
|
147
|
-
fails "Module#prepend does not affect the superclass"
|
|
148
|
-
fails "Module#prepend does not import constants"
|
|
149
|
-
fails "Module#prepend does not import methods to modules and classes"
|
|
150
|
-
fails "Module#prepend does not interfere with a define_method super in the original class"
|
|
151
|
-
fails "Module#prepend does not raise a TypeError when the argument is an instance of a subclass of Module"
|
|
152
|
-
fails "Module#prepend imports instance methods"
|
|
153
|
-
fails "Module#prepend includes prepended modules in ancestors"
|
|
154
|
-
fails "Module#prepend inserts a later prepended module into the chain"
|
|
155
|
-
fails "Module#prepend is a public method"
|
|
156
|
-
fails "Module#prepend keeps the module in the chain when dupping an intermediate module"
|
|
157
|
-
fails "Module#prepend keeps the module in the chain when dupping the class"
|
|
158
|
-
fails "Module#prepend prepends multiple modules in the right order"
|
|
159
|
-
fails "Module#prepend raises a TypeError when the argument is not a Module"
|
|
160
|
-
fails "Module#prepend reports the prepended module as the method owner"
|
|
161
|
-
fails "Module#prepend reports the prepended module as the unbound method owner"
|
|
162
|
-
fails "Module#prepend returns the class it's included into"
|
|
163
|
-
fails "Module#prepend sees an instance of a prepended class as kind of the prepended module"
|
|
164
|
-
fails "Module#prepend supports super when the module is prepended into a singleton class with a class super"
|
|
165
|
-
fails "Module#prepend supports super when the module is prepended into a singleton class"
|
|
166
|
-
fails "Module#prepend throws a NoMethodError when there is no more superclass"
|
|
167
|
-
fails "Module#prepend works with subclasses"
|
|
168
|
-
fails "Module#prepend_features clears caches of the given module"
|
|
169
|
-
fails "Module#prepend_features copies own tainted status to the given module"
|
|
170
|
-
fails "Module#prepend_features copies own untrusted status to the given module"
|
|
171
|
-
fails "Module#prepend_features gets called when self is included in another module/class"
|
|
172
|
-
fails "Module#prepend_features on Class raises a TypeError if calling after rebinded to Class"
|
|
173
|
-
fails "Module#prepend_features raises an ArgumentError on a cyclic prepend"
|
|
174
|
-
fails "Module#prepended is invoked when self is prepended to another module or class"
|
|
175
|
-
fails "Module#private without arguments within a closure sets the visibility outside the closure"
|
|
176
|
-
fails "Module#protected without arguments within a closure sets the visibility outside the closure"
|
|
177
|
-
fails "Module#remove_class_variable raises a NameError when an uninitialized class variable is given"
|
|
178
|
-
fails "Module#remove_class_variable raises a NameError when passed a symbol with no leading @"
|
|
179
|
-
fails "Module#remove_class_variable raises a NameError when passed a symbol with one leading @"
|
|
180
|
-
fails "Module#remove_class_variable removes a class variable defined in a metaclass"
|
|
181
|
-
fails "Module#remove_class_variable removes class variable"
|
|
182
|
-
fails "Module#remove_class_variable returns the value of removing class variable"
|
|
183
|
-
fails "Module#remove_const calls #to_str to convert the given name to a String"
|
|
184
|
-
fails "Module#remove_const raises a NameError and does not call #const_missing if the constant is not defined directly in the module"
|
|
185
|
-
fails "Module#remove_const raises a NameError and does not call #const_missing if the constant is not defined"
|
|
186
|
-
fails "Module#remove_const raises a NameError if the name contains non-alphabetic characters except '_'"
|
|
187
|
-
fails "Module#remove_const raises a NameError if the name does not start with a capital letter"
|
|
188
|
-
fails "Module#remove_const raises a NameError if the name starts with a non-alphabetic character"
|
|
189
|
-
fails "Module#remove_const raises a TypeError if conversion to a String by calling #to_str fails"
|
|
190
|
-
fails "Module#remove_const returns nil when removing autoloaded constant"
|
|
191
|
-
fails "Module.constants returns an array of Symbol names" # requires Bignum
|
|
192
|
-
fails "Module.constants returns Module's constants when given a parameter"
|
|
193
|
-
fails "Module.new creates a new Module and passes it to the provided block"
|
|
194
|
-
fails "Module::Nesting returns the list of Modules nested at the point of call"
|
|
195
|
-
fails "Module::Nesting returns the nesting for module/class declaring the called method"
|
|
196
|
-
end
|
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
opal_filter "Numeric" do
|
|
2
|
-
fails "Numeric#remainder returns the result of calling self#% with other - other if self is greater than 0 and other is less than 0"
|
|
3
|
-
fails "Numeric#remainder returns the result of calling self#% with other - other if self is less than 0 and other is greater than 0"
|
|
4
|
-
fails "Numeric#remainder returns the result of calling self#% with other if self and other are greater than 0"
|
|
5
|
-
fails "Numeric#remainder returns the result of calling self#% with other if self and other are less than 0"
|
|
6
|
-
fails "Numeric#remainder returns the result of calling self#% with other if self is 0"
|
|
7
|
-
fails "Numeric#singleton_method_added raises a TypeError when trying to define a singleton method on a Numeric"
|
|
8
|
-
fails "Numeric#step with keyword arguments defaults to step = 1"
|
|
9
|
-
fails "Numeric#step with keyword arguments does not rescue ArgumentError exceptions"
|
|
10
|
-
fails "Numeric#step with keyword arguments does not rescue TypeError exceptions"
|
|
11
|
-
fails "Numeric#step with keyword arguments should loop over self when step is 0 or 0.0"
|
|
12
|
-
fails "Numeric#step with keyword arguments when at least one of self, stop or step is a Float with a negative Infinity step yields once if self > stop"
|
|
13
|
-
fails "Numeric#step with keyword arguments when at least one of self, stop or step is a Float with a negative Infinity step yields once if stop is -Infinity"
|
|
14
|
-
fails "Numeric#step with keyword arguments when at least one of self, stop or step is a Float with a negative Infinity step yields once when self and stop are Infinity"
|
|
15
|
-
fails "Numeric#step with keyword arguments when at least one of self, stop or step is a Float with a negative Infinity step yields once when self equals stop"
|
|
16
|
-
fails "Numeric#step with keyword arguments when at least one of self, stop or step is a Float with a negative step is careful about not yielding a value smaller than limit"
|
|
17
|
-
fails "Numeric#step with keyword arguments when at least one of self, stop or step is a Float with a negative step yields once when self equals stop"
|
|
18
|
-
fails "Numeric#step with keyword arguments when at least one of self, stop or step is a Float with a negative step yields while decreasing self by step while self > stop"
|
|
19
|
-
fails "Numeric#step with keyword arguments when at least one of self, stop or step is a Float with a positive Infinity step yields once if self < stop"
|
|
20
|
-
fails "Numeric#step with keyword arguments when at least one of self, stop or step is a Float with a positive Infinity step yields once when self and stop are Infinity"
|
|
21
|
-
fails "Numeric#step with keyword arguments when at least one of self, stop or step is a Float with a positive Infinity step yields once when self equals stop"
|
|
22
|
-
fails "Numeric#step with keyword arguments when at least one of self, stop or step is a Float with a positive Infinity step yields once when stop is Infinity"
|
|
23
|
-
fails "Numeric#step with keyword arguments when at least one of self, stop or step is a Float with a positive step is careful about not yielding a value greater than limit"
|
|
24
|
-
fails "Numeric#step with keyword arguments when at least one of self, stop or step is a Float with a positive step yields once when self equals stop"
|
|
25
|
-
fails "Numeric#step with keyword arguments when at least one of self, stop or step is a Float with a positive step yields while increasing self by step while < stop"
|
|
26
|
-
fails "Numeric#step with keyword arguments when at least one of self, stop or step is a Float yields Floats even if only self is a Float"
|
|
27
|
-
fails "Numeric#step with keyword arguments when at least one of self, stop or step is a Float yields Floats even if only step is a Float"
|
|
28
|
-
fails "Numeric#step with keyword arguments when at least one of self, stop or step is a Float yields Floats even if only stop is a Float"
|
|
29
|
-
fails "Numeric#step with keyword arguments when no block is given returned Enumerator size should return infinity_value when step is 0"
|
|
30
|
-
fails "Numeric#step with keyword arguments when no block is given returned Enumerator size should return infinity_value when step is 0.0"
|
|
31
|
-
fails "Numeric#step with keyword arguments when no block is given returned Enumerator size when self, stop and step are Fixnums and step is negative returns 0 if value < limit"
|
|
32
|
-
fails "Numeric#step with keyword arguments when no block is given returned Enumerator size when self, stop and step are Fixnums and step is negative returns the difference between self and stop divided by the number of steps"
|
|
33
|
-
fails "Numeric#step with keyword arguments when no block is given returned Enumerator size when self, stop and step are Fixnums and step is positive returns 0 if value > limit"
|
|
34
|
-
fails "Numeric#step with keyword arguments when no block is given returned Enumerator size when self, stop and step are Fixnums and step is positive returns the difference between self and stop divided by the number of steps"
|
|
35
|
-
fails "Numeric#step with keyword arguments when no block is given returned Enumerator size when self, stop or step is a Float and step is negative returns 0 if value < limit"
|
|
36
|
-
fails "Numeric#step with keyword arguments when no block is given returned Enumerator size when self, stop or step is a Float and step is negative returns 1 if step is infinity_value"
|
|
37
|
-
fails "Numeric#step with keyword arguments when no block is given returned Enumerator size when self, stop or step is a Float and step is negative returns the difference between self and stop divided by the number of steps"
|
|
38
|
-
fails "Numeric#step with keyword arguments when no block is given returned Enumerator size when self, stop or step is a Float and step is positive returns 0 if value > limit"
|
|
39
|
-
fails "Numeric#step with keyword arguments when no block is given returned Enumerator size when self, stop or step is a Float and step is positive returns 1 if step is infinity_value"
|
|
40
|
-
fails "Numeric#step with keyword arguments when no block is given returned Enumerator size when self, stop or step is a Float and step is positive returns the difference between self and stop divided by the number of steps"
|
|
41
|
-
fails "Numeric#step with keyword arguments when no block is given returned Enumerator size when step is a String with self and stop as Fixnums raises an when step is a numeric representation"
|
|
42
|
-
fails "Numeric#step with keyword arguments when no block is given returned Enumerator size when step is a String with self and stop as Fixnums raises an with step as an alphanumeric string"
|
|
43
|
-
fails "Numeric#step with keyword arguments when no block is given returned Enumerator size when step is a String with self and stop as Floats raises an when step is a numeric representation"
|
|
44
|
-
fails "Numeric#step with keyword arguments when no block is given returned Enumerator size when step is a String with self and stop as Floats raises an with step as an alphanumeric string"
|
|
45
|
-
fails "Numeric#step with keyword arguments when no block is given returns an Enumerator that uses the given step"
|
|
46
|
-
fails "Numeric#step with keyword arguments when self, stop and step are Fixnums with a negative step yields once when self equals stop"
|
|
47
|
-
fails "Numeric#step with keyword arguments when self, stop and step are Fixnums with a negative step yields while decreasing self by step until stop is reached"
|
|
48
|
-
fails "Numeric#step with keyword arguments when self, stop and step are Fixnums with a positive step yields once when self equals stop"
|
|
49
|
-
fails "Numeric#step with keyword arguments when self, stop and step are Fixnums with a positive step yields while increasing self by step until stop is reached"
|
|
50
|
-
fails "Numeric#step with keyword arguments when self, stop and step are Fixnums yields only Fixnums"
|
|
51
|
-
fails "Numeric#step with keyword arguments when step is a String with self and stop as Fixnums raises an when step is a numeric representation"
|
|
52
|
-
fails "Numeric#step with keyword arguments when step is a String with self and stop as Fixnums raises an with step as an alphanumeric string"
|
|
53
|
-
fails "Numeric#step with keyword arguments when step is a String with self and stop as Floats raises an when step is a numeric representation"
|
|
54
|
-
fails "Numeric#step with keyword arguments when step is a String with self and stop as Floats raises an with step as an alphanumeric string"
|
|
55
|
-
fails "Numeric#step with mixed arguments should loop over self when step is 0 or 0.0"
|
|
56
|
-
fails "Numeric#step with mixed arguments when at least one of self, stop or step is a Float with a Infinity stop and a negative step does not yield when self is negative infinity"
|
|
57
|
-
fails "Numeric#step with mixed arguments when at least one of self, stop or step is a Float with a Infinity stop and a negative step does not yield when self is positive infinity"
|
|
58
|
-
fails "Numeric#step with mixed arguments when at least one of self, stop or step is a Float with a Infinity stop and a positive step does not yield when self is infinity"
|
|
59
|
-
fails "Numeric#step with mixed arguments when at least one of self, stop or step is a Float with a negative Infinity step does not yield when stop is Infinity"
|
|
60
|
-
fails "Numeric#step with mixed arguments when at least one of self, stop or step is a Float with a negative Infinity stop and a negative step does not yield when self is negative infinity"
|
|
61
|
-
fails "Numeric#step with mixed arguments when at least one of self, stop or step is a Float with a negative Infinity stop and a positive step does not yield when self is negative infinity"
|
|
62
|
-
fails "Numeric#step with mixed arguments when at least one of self, stop or step is a Float with a negative step is careful about not yielding a value smaller than limit"
|
|
63
|
-
fails "Numeric#step with mixed arguments when at least one of self, stop or step is a Float with a negative step yields while decreasing self by step while self > stop"
|
|
64
|
-
fails "Numeric#step with mixed arguments when at least one of self, stop or step is a Float with a positive Infinity step does not yield when self > stop"
|
|
65
|
-
fails "Numeric#step with mixed arguments when at least one of self, stop or step is a Float with a positive Infinity step does not yield when stop is -Infinity"
|
|
66
|
-
fails "Numeric#step with mixed arguments when at least one of self, stop or step is a Float with a positive Infinity step yields once if self < stop"
|
|
67
|
-
fails "Numeric#step with mixed arguments when at least one of self, stop or step is a Float with a positive step does not yield when self is greater than stop"
|
|
68
|
-
fails "Numeric#step with mixed arguments when at least one of self, stop or step is a Float with a positive step is careful about not yielding a value greater than limit"
|
|
69
|
-
fails "Numeric#step with mixed arguments when at least one of self, stop or step is a Float with a positive step yields while increasing self by step while < stop"
|
|
70
|
-
fails "Numeric#step with mixed arguments when at least one of self, stop or step is a Float yields Floats even if only self is a Float"
|
|
71
|
-
fails "Numeric#step with mixed arguments when at least one of self, stop or step is a Float yields Floats even if only step is a Float"
|
|
72
|
-
fails "Numeric#step with mixed arguments when at least one of self, stop or step is a Float yields Floats even if only stop is a Float"
|
|
73
|
-
fails "Numeric#step with mixed arguments when no block is given returned Enumerator size should return infinity_value when step is 0"
|
|
74
|
-
fails "Numeric#step with mixed arguments when no block is given returned Enumerator size should return infinity_value when step is 0.0"
|
|
75
|
-
fails "Numeric#step with mixed arguments when no block is given returned Enumerator size when self, stop and step are Fixnums and step is negative returns 0 if value < limit"
|
|
76
|
-
fails "Numeric#step with mixed arguments when no block is given returned Enumerator size when self, stop and step are Fixnums and step is negative returns the difference between self and stop divided by the number of steps"
|
|
77
|
-
fails "Numeric#step with mixed arguments when no block is given returned Enumerator size when self, stop and step are Fixnums and step is positive returns 0 if value > limit"
|
|
78
|
-
fails "Numeric#step with mixed arguments when no block is given returned Enumerator size when self, stop and step are Fixnums and step is positive returns the difference between self and stop divided by the number of steps"
|
|
79
|
-
fails "Numeric#step with mixed arguments when no block is given returned Enumerator size when self, stop or step is a Float and step is negative returns 0 if value < limit"
|
|
80
|
-
fails "Numeric#step with mixed arguments when no block is given returned Enumerator size when self, stop or step is a Float and step is negative returns 1 if step is infinity_value"
|
|
81
|
-
fails "Numeric#step with mixed arguments when no block is given returned Enumerator size when self, stop or step is a Float and step is negative returns the difference between self and stop divided by the number of steps"
|
|
82
|
-
fails "Numeric#step with mixed arguments when no block is given returned Enumerator size when self, stop or step is a Float and step is positive returns 0 if value > limit"
|
|
83
|
-
fails "Numeric#step with mixed arguments when no block is given returned Enumerator size when self, stop or step is a Float and step is positive returns 1 if step is infinity_value"
|
|
84
|
-
fails "Numeric#step with mixed arguments when no block is given returned Enumerator size when self, stop or step is a Float and step is positive returns the difference between self and stop divided by the number of steps"
|
|
85
|
-
fails "Numeric#step with mixed arguments when no block is given returned Enumerator size when step is a String with self and stop as Fixnums raises an when step is a numeric representation"
|
|
86
|
-
fails "Numeric#step with mixed arguments when no block is given returned Enumerator size when step is a String with self and stop as Fixnums raises an with step as an alphanumeric string"
|
|
87
|
-
fails "Numeric#step with mixed arguments when no block is given returned Enumerator size when step is a String with self and stop as Floats raises an when step is a numeric representation"
|
|
88
|
-
fails "Numeric#step with mixed arguments when no block is given returned Enumerator size when step is a String with self and stop as Floats raises an with step as an alphanumeric string"
|
|
89
|
-
fails "Numeric#step with mixed arguments when no block is given returns an Enumerator that uses the given step"
|
|
90
|
-
fails "Numeric#step with mixed arguments when self, stop and step are Fixnums with a negative step yields while decreasing self by step until stop is reached"
|
|
91
|
-
fails "Numeric#step with mixed arguments when self, stop and step are Fixnums with a positive step does not yield when self is greater than stop"
|
|
92
|
-
fails "Numeric#step with mixed arguments when self, stop and step are Fixnums with a positive step yields while increasing self by step until stop is reached"
|
|
93
|
-
fails "Numeric#step with mixed arguments when self, stop and step are Fixnums yields only Fixnums"
|
|
94
|
-
fails "Numeric#step with mixed arguments when step is a String with self and stop as Fixnums raises an when step is a numeric representation"
|
|
95
|
-
fails "Numeric#step with mixed arguments when step is a String with self and stop as Fixnums raises an with step as an alphanumeric string"
|
|
96
|
-
fails "Numeric#step with mixed arguments when step is a String with self and stop as Floats raises an when step is a numeric representation"
|
|
97
|
-
fails "Numeric#step with mixed arguments when step is a String with self and stop as Floats raises an with step as an alphanumeric string"
|
|
98
|
-
fails "Numeric#step with positional args when at least one of self, stop or step is a Float with a Infinity stop and a negative step does not yield when self is negative infinity"
|
|
99
|
-
fails "Numeric#step with positional args when at least one of self, stop or step is a Float with a Infinity stop and a negative step does not yield when self is positive infinity"
|
|
100
|
-
fails "Numeric#step with positional args when at least one of self, stop or step is a Float with a Infinity stop and a positive step does not yield when self is infinity"
|
|
101
|
-
fails "Numeric#step with positional args when at least one of self, stop or step is a Float with a negative Infinity step does not yield when stop is Infinity"
|
|
102
|
-
fails "Numeric#step with positional args when at least one of self, stop or step is a Float with a negative Infinity stop and a negative step does not yield when self is negative infinity"
|
|
103
|
-
fails "Numeric#step with positional args when at least one of self, stop or step is a Float with a negative Infinity stop and a positive step does not yield when self is negative infinity"
|
|
104
|
-
fails "Numeric#step with positional args when at least one of self, stop or step is a Float with a negative step is careful about not yielding a value smaller than limit"
|
|
105
|
-
fails "Numeric#step with positional args when at least one of self, stop or step is a Float with a positive Infinity step does not yield when stop is -Infinity"
|
|
106
|
-
fails "Numeric#step with positional args when at least one of self, stop or step is a Float with a positive step is careful about not yielding a value greater than limit"
|
|
107
|
-
fails "Numeric#step with positional args when no block is given returned Enumerator size raises an ArgumentError when step is 0"
|
|
108
|
-
fails "Numeric#step with positional args when no block is given returned Enumerator size raises an ArgumentError when step is 0.0"
|
|
109
|
-
fails "Numeric#step with positional args when no block is given returned Enumerator size when self, stop and step are Fixnums and step is negative returns 0 if value < limit"
|
|
110
|
-
fails "Numeric#step with positional args when no block is given returned Enumerator size when self, stop and step are Fixnums and step is negative returns the difference between self and stop divided by the number of steps"
|
|
111
|
-
fails "Numeric#step with positional args when no block is given returned Enumerator size when self, stop and step are Fixnums and step is positive returns 0 if value > limit"
|
|
112
|
-
fails "Numeric#step with positional args when no block is given returned Enumerator size when self, stop and step are Fixnums and step is positive returns the difference between self and stop divided by the number of steps"
|
|
113
|
-
fails "Numeric#step with positional args when no block is given returned Enumerator size when self, stop or step is a Float and step is negative returns 0 if value < limit"
|
|
114
|
-
fails "Numeric#step with positional args when no block is given returned Enumerator size when self, stop or step is a Float and step is negative returns 1 if step is infinity_value"
|
|
115
|
-
fails "Numeric#step with positional args when no block is given returned Enumerator size when self, stop or step is a Float and step is negative returns the difference between self and stop divided by the number of steps"
|
|
116
|
-
fails "Numeric#step with positional args when no block is given returned Enumerator size when self, stop or step is a Float and step is positive returns 0 if value > limit"
|
|
117
|
-
fails "Numeric#step with positional args when no block is given returned Enumerator size when self, stop or step is a Float and step is positive returns 1 if step is infinity_value"
|
|
118
|
-
fails "Numeric#step with positional args when no block is given returned Enumerator size when self, stop or step is a Float and step is positive returns the difference between self and stop divided by the number of steps"
|
|
119
|
-
fails "Numeric#step with positional args when no block is given returned Enumerator size when step is a String with self and stop as Fixnums raises an when step is a numeric representation"
|
|
120
|
-
fails "Numeric#step with positional args when no block is given returned Enumerator size when step is a String with self and stop as Fixnums raises an with step as an alphanumeric string"
|
|
121
|
-
fails "Numeric#step with positional args when no block is given returned Enumerator size when step is a String with self and stop as Floats raises an when step is a numeric representation"
|
|
122
|
-
fails "Numeric#step with positional args when no block is given returned Enumerator size when step is a String with self and stop as Floats raises an with step as an alphanumeric string"
|
|
123
|
-
fails "Numeric#step with positional args when step is a String with self and stop as Fixnums raises an when step is a numeric representation"
|
|
124
|
-
fails "Numeric#step with positional args when step is a String with self and stop as Fixnums raises an with step as an alphanumeric string"
|
|
125
|
-
fails "Numeric#step with positional args when step is a String with self and stop as Floats raises an when step is a numeric representation"
|
|
126
|
-
fails "Numeric#step with positional args when step is a String with self and stop as Floats raises an with step as an alphanumeric string"
|
|
127
|
-
end
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
opal_filter "Pathname" do
|
|
2
|
-
fails "Pathname#relative_path_from raises an error when the two paths do not share a common prefix"
|
|
3
|
-
fails "Pathname#relative_path_from raises an error when the base directory has .."
|
|
4
|
-
fails "Pathname#relative_path_from returns current and pattern when only those patterns are used"
|
|
5
|
-
end
|
data/spec/filters/bugs/proc.rb
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
opal_filter "Proc" do
|
|
2
|
-
fails "Proc as an implicit block pass argument remains the same object if re-vivified by the target method"
|
|
3
|
-
fails "Proc#arity for instances created with proc { || } returns zero for definition \n @a = proc { |a=1| }\n @b = proc { |a=1, b=2| }"
|
|
4
|
-
fails "Proc#arity for instances created with proc { || } returns zero for definition \n @a = proc { |a: 1| }\n @b = proc { |a: 1, b: 2| }"
|
|
5
|
-
fails "Proc#arity for instances created with proc { || } returns zero for definition \n @a = proc { |**k, &l| }\n @b = proc { |a: 1, b: 2, **k| }"
|
|
6
|
-
fails "Proc#arity for instances created with proc { || } returns zero for definition \n @a = proc { |a=1, b: 2| }\n @b = proc { |a=1, b: 2| }"
|
|
7
|
-
fails "Proc#arity for instances created with proc { || } returns positive values for definition \n @a = proc { |a, b=1| }\n @b = proc { |a, b, c=1, d=2| }"
|
|
8
|
-
fails "Proc#arity for instances created with proc { || } returns positive values for definition \n @a = proc { |(a, (*b, c)), d=1| }\n @b = proc { |a, (*b, c), d, (*e), (*), **k| }"
|
|
9
|
-
fails "Proc#binding returns a Binding instance"
|
|
10
|
-
fails "Proc#binding returns the binding associated with self"
|
|
11
|
-
fails "Proc#curry with arity argument returns Procs with arities of -1 regardless of the value of _arity_"
|
|
12
|
-
fails "Proc#inspect for a proc created with UnboundMethod#to_proc returns a description including '(lambda)' and optionally including file and line number"
|
|
13
|
-
fails "Proc#inspect for a proc created with lambda returns a description including '(lambda)' and optionally including file and line number"
|
|
14
|
-
fails "Proc#lambda? is preserved when passing a Proc with & to the lambda keyword"
|
|
15
|
-
fails "Proc#lambda? is preserved when passing a Proc with & to the proc keyword"
|
|
16
|
-
fails "Proc#source_location returns an Array"
|
|
17
|
-
fails "Proc#source_location returns the first line of a multi-line proc (i.e. the line containing 'proc do')"
|
|
18
|
-
fails "Proc#source_location returns the location of the proc's body; not necessarily the proc itself"
|
|
19
|
-
fails "Proc#source_location sets the first value to the path of the file in which the proc was defined"
|
|
20
|
-
fails "Proc#source_location sets the last value to a Fixnum representing the line on which the proc was defined"
|
|
21
|
-
fails "Proc#source_location works even if the proc was created on the same line"
|
|
22
|
-
fails "Proc#to_s for a proc created with UnboundMethod#to_proc returns a description including '(lambda)' and optionally including file and line number"
|
|
23
|
-
fails "Proc#to_s for a proc created with lambda returns a description including '(lambda)' and optionally including file and line number"
|
|
24
|
-
fails "Proc.allocate raises a TypeError"
|
|
25
|
-
fails "Proc.new with a block argument called indirectly from a subclass returns the passed proc created from a block"
|
|
26
|
-
fails "Proc.new with a block argument called indirectly from a subclass returns the passed proc created from a method"
|
|
27
|
-
fails "Proc.new with a block argument called indirectly from a subclass returns the passed proc created from a symbol"
|
|
28
|
-
fails "Proc.new with an associated block called on a subclass of Proc returns an instance of the subclass"
|
|
29
|
-
fails "Proc.new with an associated block called on a subclass of Proc that does not 'super' in 'initialize' still constructs a functional proc"
|
|
30
|
-
fails "Proc.new with an associated block called on a subclass of Proc using a reified block parameter returns an instance of the subclass"
|
|
31
|
-
fails "Proc.new with an associated block calls initialize on the Proc object"
|
|
32
|
-
fails "Proc.new with an associated block raises a LocalJumpError when context of the block no longer exists"
|
|
33
|
-
fails "Proc.new with an associated block returns a new Proc instance from the block passed to the containing method"
|
|
34
|
-
fails "Proc.new with an associated block returns a subclass of Proc"
|
|
35
|
-
fails "Proc.new without a block uses the implicit block from an enclosing method"
|
|
36
|
-
end
|
data/spec/filters/bugs/range.rb
DELETED
|
@@ -1,144 +0,0 @@
|
|
|
1
|
-
opal_filter "Range" do
|
|
2
|
-
fails "Range#bsearch raises a TypeError if the Range has Object values"
|
|
3
|
-
fails "Range#bsearch raises a TypeError if the Range has String values"
|
|
4
|
-
fails "Range#bsearch raises a TypeError if the block returns a String"
|
|
5
|
-
fails "Range#bsearch raises a TypeError if the block returns an Object"
|
|
6
|
-
fails "Range#bsearch returns an Enumerator when not passed a block"
|
|
7
|
-
fails "Range#bsearch when no block is given returned Enumerator size returns nil"
|
|
8
|
-
fails "Range#bsearch with Float values with a block returning negative, zero, positive numbers accepts (+/-)Float::INFINITY from the block"
|
|
9
|
-
fails "Range#bsearch with Float values with a block returning negative, zero, positive numbers returns an element at an index for which block returns 0"
|
|
10
|
-
fails "Range#bsearch with Float values with a block returning negative, zero, positive numbers returns an element at an index for which block returns 0.0"
|
|
11
|
-
fails "Range#bsearch with Float values with a block returning negative, zero, positive numbers returns nil if the block never returns zero"
|
|
12
|
-
fails "Range#bsearch with Float values with a block returning negative, zero, positive numbers returns nil if the block returns greater than zero for every element"
|
|
13
|
-
fails "Range#bsearch with Float values with a block returning negative, zero, positive numbers returns nil if the block returns less than zero for every element"
|
|
14
|
-
fails "Range#bsearch with Float values with a block returning true or false returns minimum element if the block returns true for every element"
|
|
15
|
-
fails "Range#bsearch with Float values with a block returning true or false returns nil if the block returns false for every element"
|
|
16
|
-
fails "Range#bsearch with Float values with a block returning true or false returns nil if the block returns nil for every element"
|
|
17
|
-
fails "Range#bsearch with Float values with a block returning true or false returns the smallest element for which block returns true"
|
|
18
|
-
fails "Range#bsearch with Integer values with a block returning negative, zero, positive numbers accepts (+/-)Float::INFINITY from the block"
|
|
19
|
-
fails "Range#bsearch with Integer values with a block returning negative, zero, positive numbers returns an element at an index for which block returns 0"
|
|
20
|
-
fails "Range#bsearch with Integer values with a block returning negative, zero, positive numbers returns an element at an index for which block returns 0.0"
|
|
21
|
-
fails "Range#bsearch with Integer values with a block returning negative, zero, positive numbers returns nil if the block never returns zero"
|
|
22
|
-
fails "Range#bsearch with Integer values with a block returning negative, zero, positive numbers returns nil if the block returns greater than zero for every element"
|
|
23
|
-
fails "Range#bsearch with Integer values with a block returning negative, zero, positive numbers returns nil if the block returns less than zero for every element"
|
|
24
|
-
fails "Range#bsearch with Integer values with a block returning true or false returns minimum element if the block returns true for every element"
|
|
25
|
-
fails "Range#bsearch with Integer values with a block returning true or false returns nil if the block returns false for every element"
|
|
26
|
-
fails "Range#bsearch with Integer values with a block returning true or false returns nil if the block returns nil for every element"
|
|
27
|
-
fails "Range#bsearch with Integer values with a block returning true or false returns the last element if the block returns true for the last element"
|
|
28
|
-
fails "Range#bsearch with Integer values with a block returning true or false returns the smallest element for which block returns true"
|
|
29
|
-
fails "Range#cover? compares values using <=>"
|
|
30
|
-
fails "Range#cover? returns false if range is empty"
|
|
31
|
-
fails "Range#cover? returns false if the range does not contain the argument"
|
|
32
|
-
fails "Range#cover? uses the range element's <=> to make the comparison"
|
|
33
|
-
fails "Range#each passes each element to the given block by using #succ"
|
|
34
|
-
fails "Range#each raises a TypeError if the first element does not respond to #succ"
|
|
35
|
-
fails "Range#each raises a TypeError if the first element is a Time object"
|
|
36
|
-
fails "Range#each when no block is given returned Enumerator size returns the enumerable size"
|
|
37
|
-
fails "Range#first calls #to_int to convert the argument"
|
|
38
|
-
fails "Range#first raises a TypeError if #to_int does not return an Integer"
|
|
39
|
-
fails "Range#first raises a TypeError when passed a String"
|
|
40
|
-
fails "Range#first raises a TypeError when passed nil"
|
|
41
|
-
fails "Range#first raises an ArgumentError when count is negative"
|
|
42
|
-
fails "Range#first returns all elements in the range when count exceeds the number of elements"
|
|
43
|
-
fails "Range#first returns an empty array for an empty Range"
|
|
44
|
-
fails "Range#first returns an empty array when passed zero"
|
|
45
|
-
fails "Range#first returns the specified number of elements from the beginning"
|
|
46
|
-
fails "Range#first truncates the value when passed a Float"
|
|
47
|
-
fails "Range#hash generates the same hash values for Ranges with the same start, end and exclude_end? values"
|
|
48
|
-
fails "Range#include? compares values using <=>"
|
|
49
|
-
fails "Range#include? on string elements returns false if other is not matched by element.succ"
|
|
50
|
-
fails "Range#include? returns false if range is empty"
|
|
51
|
-
fails "Range#include? returns false if the range does not contain the argument"
|
|
52
|
-
fails "Range#include? with weird succ when excluded end value returns false if other is not matched by element.succ"
|
|
53
|
-
fails "Range#include? with weird succ when included end value returns false if other is equal as last element but not matched by element.succ"
|
|
54
|
-
fails "Range#include? with weird succ when included end value returns false if other is not matched by element.succ"
|
|
55
|
-
fails "Range#initialize is private"
|
|
56
|
-
fails "Range#initialize raises a NameError if called on an already initialized Range"
|
|
57
|
-
fails "Range#inspect returns a tainted string if either end is tainted"
|
|
58
|
-
fails "Range#inspect returns a untrusted string if either end is untrusted"
|
|
59
|
-
fails "Range#last calls #to_int to convert the argument"
|
|
60
|
-
fails "Range#last raises a TypeError if #to_int does not return an Integer"
|
|
61
|
-
fails "Range#last raises a TypeError when passed a String"
|
|
62
|
-
fails "Range#last raises a TypeError when passed nil"
|
|
63
|
-
fails "Range#last raises an ArgumentError when count is negative"
|
|
64
|
-
fails "Range#last returns all elements in the range when count exceeds the number of elements"
|
|
65
|
-
fails "Range#last returns an empty array for an empty Range"
|
|
66
|
-
fails "Range#last returns an empty array when passed zero"
|
|
67
|
-
fails "Range#last returns the specified number of elements from the end"
|
|
68
|
-
fails "Range#last truncates the value when passed a Float"
|
|
69
|
-
fails "Range#max given a block calls #> and #< on the return value of the block"
|
|
70
|
-
fails "Range#max raises TypeError when called on a Time...Time(excluded end point)"
|
|
71
|
-
fails "Range#max raises TypeError when called on an exclusive range and a non Integer value"
|
|
72
|
-
fails "Range#max returns nil when the endpoint equals the start point and the range is exclusive"
|
|
73
|
-
fails "Range#max returns nil when the endpoint is less than the start point in a Float range"
|
|
74
|
-
fails "Range#max returns nil when the endpoint is less than the start point"
|
|
75
|
-
fails "Range#max returns the maximum value in the range when called with no arguments"
|
|
76
|
-
fails "Range#member? compares values using <=>"
|
|
77
|
-
fails "Range#member? on string elements returns false if other is not matched by element.succ"
|
|
78
|
-
fails "Range#member? returns false if range is empty"
|
|
79
|
-
fails "Range#member? returns false if the range does not contain the argument"
|
|
80
|
-
fails "Range#member? with weird succ when excluded end value returns false if other is not matched by element.succ"
|
|
81
|
-
fails "Range#member? with weird succ when included end value returns false if other is equal as last element but not matched by element.succ"
|
|
82
|
-
fails "Range#member? with weird succ when included end value returns false if other is not matched by element.succ"
|
|
83
|
-
fails "Range#min given a block calls #> and #< on the return value of the block"
|
|
84
|
-
fails "Range#min returns nil when the endpoint equals the start point and the range is exclusive"
|
|
85
|
-
fails "Range#min returns nil when the start point is greater than the endpoint in a Float range"
|
|
86
|
-
fails "Range#min returns nil when the start point is greater than the endpoint"
|
|
87
|
-
fails "Range#step calls #to_int to coerce step to an Integer"
|
|
88
|
-
fails "Range#step coerces the argument to integer by invoking to_int"
|
|
89
|
-
fails "Range#step raises TypeError if step"
|
|
90
|
-
fails "Range#step raises a TypeError if #to_int does not return an Integer"
|
|
91
|
-
fails "Range#step raises a TypeError if step does not respond to #to_int"
|
|
92
|
-
fails "Range#step raises a TypeError if the first element does not respond to #succ"
|
|
93
|
-
fails "Range#step raises an ArgumentError if step is 0"
|
|
94
|
-
fails "Range#step raises an ArgumentError if step is 0.0"
|
|
95
|
-
fails "Range#step raises an ArgumentError if step is negative"
|
|
96
|
-
fails "Range#step returns an enumerator when no block is given"
|
|
97
|
-
fails "Range#step returns self"
|
|
98
|
-
fails "Range#step when no block is given returned Enumerator size raises a TypeError if #to_int does not return an Integer"
|
|
99
|
-
fails "Range#step when no block is given returned Enumerator size raises a TypeError if step does not respond to #to_int"
|
|
100
|
-
fails "Range#step when no block is given returned Enumerator size raises an ArgumentError if step is 0"
|
|
101
|
-
fails "Range#step when no block is given returned Enumerator size raises an ArgumentError if step is 0.0"
|
|
102
|
-
fails "Range#step when no block is given returned Enumerator size raises an ArgumentError if step is negative"
|
|
103
|
-
fails "Range#step when no block is given returned Enumerator size return nil and not raises a TypeError if the first element does not respond to #succ"
|
|
104
|
-
fails "Range#step when no block is given returned Enumerator size returns nil with begin and end are String"
|
|
105
|
-
fails "Range#step when no block is given returned Enumerator size returns the ceil of range size divided by the number of steps"
|
|
106
|
-
fails "Range#step when no block is given returned Enumerator size returns the correct number of steps when one of the arguments is a float"
|
|
107
|
-
fails "Range#step when no block is given returned Enumerator size returns the range size when there's no step_size"
|
|
108
|
-
fails "Range#step with exclusive end and Float values returns Float values of 'step * n + begin < end'"
|
|
109
|
-
fails "Range#step with exclusive end and Float values yields Float values incremented by 1 and less than end when not passed a step"
|
|
110
|
-
fails "Range#step with exclusive end and Float values yields Float values incremented by a Float step"
|
|
111
|
-
fails "Range#step with exclusive end and Float values yields Float values incremented by an Integer step"
|
|
112
|
-
fails "Range#step with exclusive end and Float, Integer values yields Float values incremented by 1 and less than end when not passed a step"
|
|
113
|
-
fails "Range#step with exclusive end and Float, Integer values yields Float values incremented by a Float step"
|
|
114
|
-
fails "Range#step with exclusive end and Float, Integer values yields Float values incremented by an Integer step"
|
|
115
|
-
fails "Range#step with exclusive end and Integer values yields Float values incremented by a Float step"
|
|
116
|
-
fails "Range#step with exclusive end and Integer values yields Integer values incremented by 1 and less than end when not passed a step"
|
|
117
|
-
fails "Range#step with exclusive end and Integer values yields Integer values incremented by an Integer step"
|
|
118
|
-
fails "Range#step with exclusive end and Integer, Float values yields Float values incremented by 1 and less than end when not passed a step"
|
|
119
|
-
fails "Range#step with exclusive end and Integer, Float values yields Float values incremented by an Integer step"
|
|
120
|
-
fails "Range#step with exclusive end and Integer, Float values yields an Float and then Float values incremented by a Float step"
|
|
121
|
-
fails "Range#step with exclusive end and String values raises a TypeError when passed a Float step"
|
|
122
|
-
fails "Range#step with exclusive end and String values yields String values incremented by #succ and less than or equal to end when not passed a step"
|
|
123
|
-
fails "Range#step with exclusive end and String values yields String values incremented by #succ called Integer step times"
|
|
124
|
-
fails "Range#step with inclusive end and Float values returns Float values of 'step * n + begin <= end'"
|
|
125
|
-
fails "Range#step with inclusive end and Float values yields Float values incremented by 1 and less than or equal to end when not passed a step"
|
|
126
|
-
fails "Range#step with inclusive end and Float values yields Float values incremented by a Float step"
|
|
127
|
-
fails "Range#step with inclusive end and Float values yields Float values incremented by an Integer step"
|
|
128
|
-
fails "Range#step with inclusive end and Float, Integer values yields Float values incremented by 1 and less than or equal to end when not passed a step"
|
|
129
|
-
fails "Range#step with inclusive end and Float, Integer values yields Float values incremented by a Float step"
|
|
130
|
-
fails "Range#step with inclusive end and Float, Integer values yields Float values incremented by an Integer step"
|
|
131
|
-
fails "Range#step with inclusive end and Integer values yields Float values incremented by a Float step"
|
|
132
|
-
fails "Range#step with inclusive end and Integer values yields Integer values incremented by 1 and less than or equal to end when not passed a step"
|
|
133
|
-
fails "Range#step with inclusive end and Integer values yields Integer values incremented by an Integer step"
|
|
134
|
-
fails "Range#step with inclusive end and Integer, Float values yields Float values incremented by 1 and less than or equal to end when not passed a step"
|
|
135
|
-
fails "Range#step with inclusive end and Integer, Float values yields Float values incremented by a Float step"
|
|
136
|
-
fails "Range#step with inclusive end and Integer, Float values yields Float values incremented by an Integer step"
|
|
137
|
-
fails "Range#step with inclusive end and String values calls #succ on begin and each element returned by #succ"
|
|
138
|
-
fails "Range#step with inclusive end and String values raises a TypeError when passed a Float step"
|
|
139
|
-
fails "Range#step with inclusive end and String values yields String values incremented by #succ and less than or equal to end when not passed a step"
|
|
140
|
-
fails "Range#step with inclusive end and String values yields String values incremented by #succ called Integer step times"
|
|
141
|
-
fails "Range#to_s provides a printable form of self"
|
|
142
|
-
fails "Range#to_s returns a tainted string if either end is tainted"
|
|
143
|
-
fails "Range#to_s returns a untrusted string if either end is untrusted"
|
|
144
|
-
end
|