├── tool ├── docker │ └── .keep └── native_launcher_darwin ├── .ruby-version ├── spec ├── truffle │ ├── methods │ │ ├── Object.txt │ │ └── BasicObject.txt │ ├── interop │ │ └── fixtures │ │ │ ├── eval_file.invalid │ │ │ ├── eval_file_value.rb │ │ │ ├── no_magic.rb │ │ │ ├── eval_file.rb │ │ │ ├── eval_file_id.rb │ │ │ ├── big5_magic.rb │ │ │ ├── utf8_magic.rb │ │ │ ├── usascii_magic.rb │ │ │ └── eval_file_return.rb │ └── .rubocop.yml ├── ruby │ ├── core │ │ ├── io │ │ │ └── fixtures │ │ │ │ ├── empty.txt │ │ │ │ ├── one_byte.txt │ │ │ │ ├── bom_UTF-8.txt │ │ │ │ ├── no_bom_UTF-8.txt │ │ │ │ ├── read_text.txt │ │ │ │ ├── copy_stream.txt │ │ │ │ ├── reopen_stdout.rb │ │ │ │ ├── numbered_lines.txt │ │ │ │ ├── incomplete.txt │ │ │ │ ├── read_binary.txt │ │ │ │ ├── read_euc_jp.txt │ │ │ │ ├── bom_UTF-16BE.txt │ │ │ │ ├── bom_UTF-16LE.txt │ │ │ │ ├── bom_UTF-32BE.txt │ │ │ │ └── bom_UTF-32LE.txt │ │ ├── file │ │ │ └── fixtures │ │ │ │ └── do_not_remove │ │ ├── process │ │ │ └── fixtures │ │ │ │ └── in.txt │ │ ├── module │ │ │ └── fixtures │ │ │ │ ├── autoload_never_set.rb │ │ │ │ ├── path2 │ │ │ │ └── load_path.rb │ │ │ │ ├── autoload_w2.rb │ │ │ │ ├── autoload.rb │ │ │ │ ├── constants_autoload_a.rb │ │ │ │ ├── constants_autoload_b.rb │ │ │ │ ├── autoload_empty.rb │ │ │ │ ├── autoload_callback.rb │ │ │ │ ├── autoload_required_directly_nested.rb │ │ │ │ ├── autoload_x.rb │ │ │ │ ├── constants_autoload_c.rb │ │ │ │ ├── autoload_j.rb │ │ │ │ ├── module.rb │ │ │ │ ├── autoload_r.rb │ │ │ │ ├── autoload_raise.rb │ │ │ │ ├── autoload_t.rb │ │ │ │ ├── autoload_o.rb │ │ │ │ ├── constants_autoload_d.rb │ │ │ │ ├── autoload_overridden.rb │ │ │ │ ├── autoload_w.rb │ │ │ │ ├── autoload_lm.rb │ │ │ │ ├── autoload_during_require.rb │ │ │ │ ├── autoload_i.rb │ │ │ │ └── autoload_s.rb │ │ ├── argf │ │ │ └── fixtures │ │ │ │ ├── bin_file.txt │ │ │ │ ├── file1.txt │ │ │ │ ├── file2.txt │ │ │ │ ├── stdin.txt │ │ │ │ ├── lineno.rb │ │ │ │ ├── rewind.rb │ │ │ │ └── filename.rb │ │ ├── binding │ │ │ └── fixtures │ │ │ │ └── irb.rb │ │ ├── env │ │ │ ├── indexes_spec.rb │ │ │ ├── indices_spec.rb │ │ │ └── rehash_spec.rb │ │ ├── exception │ │ │ └── initialize_spec.rb │ │ ├── main │ │ │ └── fixtures │ │ │ │ └── wrapped_include.rb │ │ ├── kernel │ │ │ └── fixtures │ │ │ │ ├── chop_f.rb │ │ │ │ ├── chomp_f.rb │ │ │ │ ├── chop.rb │ │ │ │ ├── chomp.rb │ │ │ │ ├── caller_at_exit.rb │ │ │ │ ├── autoload_b.rb │ │ │ │ ├── autoload_d.rb │ │ │ │ └── eval_locals.rb │ │ ├── symbol │ │ │ └── fixtures │ │ │ │ └── classes.rb │ │ ├── float │ │ │ └── fixtures │ │ │ │ └── classes.rb │ │ ├── integer │ │ │ └── fixtures │ │ │ │ └── classes.rb │ │ ├── thread │ │ │ └── backtrace │ │ │ │ └── location │ │ │ │ └── fixtures │ │ │ │ └── main.rb │ │ └── marshal │ │ │ └── fixtures │ │ │ └── random.dump │ ├── command_line │ │ └── fixtures │ │ │ ├── bad_syntax.rb │ │ │ ├── loadpath.rb │ │ │ ├── require.rb │ │ │ ├── bin │ │ │ ├── dash_s_fail │ │ │ ├── launcher.rb │ │ │ ├── embedded_ruby.txt │ │ │ ├── bad_embedded_ruby.txt │ │ │ └── hybrid_launcher.sh │ │ │ ├── test_file.rb │ │ │ ├── verbose.rb │ │ │ ├── names.txt │ │ │ ├── rubyopt.rb │ │ │ ├── change_directory_script.rb │ │ │ ├── conditional_range.txt │ │ │ ├── full_names.txt │ │ │ ├── freeze_flag_required.rb │ │ │ ├── freeze_flag_two_literals.rb │ │ │ └── freeze_flag_one_literal.rb │ ├── library │ │ ├── csv │ │ │ └── fixtures │ │ │ │ └── one_line.csv │ │ ├── scanf │ │ │ └── io │ │ │ │ └── fixtures │ │ │ │ ├── helloworld.txt │ │ │ │ └── date.txt │ │ ├── socket │ │ │ ├── fixtures │ │ │ │ └── send_io.txt │ │ │ └── socket │ │ │ │ └── new_spec.rb │ │ ├── yaml │ │ │ ├── fixtures │ │ │ │ └── test_yaml.yml │ │ │ ├── emitter_spec.rb │ │ │ ├── parser_spec.rb │ │ │ ├── each_node_spec.rb │ │ │ ├── object_maker_spec.rb │ │ │ ├── quick_emit_spec.rb │ │ │ ├── transfer_spec.rb │ │ │ ├── try_implicit_spec.rb │ │ │ ├── add_builtin_type_spec.rb │ │ │ ├── add_domain_type_spec.rb │ │ │ ├── add_private_type_spec.rb │ │ │ ├── add_ruby_type_spec.rb │ │ │ ├── detect_implicit_spec.rb │ │ │ ├── generic_parser_spec.rb │ │ │ ├── parse_documents_spec.rb │ │ │ └── read_type_class_spec.rb │ │ ├── zlib │ │ │ ├── deflate │ │ │ │ ├── flush_spec.rb │ │ │ │ ├── new_spec.rb │ │ │ │ └── append_spec.rb │ │ │ ├── gzipfile │ │ │ │ ├── crc_spec.rb │ │ │ │ ├── sync_spec.rb │ │ │ │ ├── wrap_spec.rb │ │ │ │ ├── finish_spec.rb │ │ │ │ ├── level_spec.rb │ │ │ │ ├── mtime_spec.rb │ │ │ │ ├── os_code_spec.rb │ │ │ │ └── to_io_spec.rb │ │ │ ├── inflate │ │ │ │ ├── new_spec.rb │ │ │ │ ├── sync_spec.rb │ │ │ │ └── sync_point_spec.rb │ │ │ ├── zlib_version_spec.rb │ │ │ ├── zstream │ │ │ │ ├── close_spec.rb │ │ │ │ ├── end_spec.rb │ │ │ │ ├── ended_spec.rb │ │ │ │ ├── reset_spec.rb │ │ │ │ ├── closed_spec.rb │ │ │ │ ├── finish_spec.rb │ │ │ │ ├── finished_spec.rb │ │ │ │ ├── stream_end_spec.rb │ │ │ │ ├── total_in_spec.rb │ │ │ │ ├── total_out_spec.rb │ │ │ │ └── flush_next_in_spec.rb │ │ │ ├── gzipreader │ │ │ │ ├── lineno_spec.rb │ │ │ │ ├── new_spec.rb │ │ │ │ ├── open_spec.rb │ │ │ │ ├── tell_spec.rb │ │ │ │ ├── unused_spec.rb │ │ │ │ ├── readchar_spec.rb │ │ │ │ ├── readline_spec.rb │ │ │ │ └── readlines_spec.rb │ │ │ └── gzipwriter │ │ │ │ ├── comment_spec.rb │ │ │ │ ├── flush_spec.rb │ │ │ │ ├── new_spec.rb │ │ │ │ ├── open_spec.rb │ │ │ │ ├── pos_spec.rb │ │ │ │ ├── print_spec.rb │ │ │ │ ├── printf_spec.rb │ │ │ │ ├── putc_spec.rb │ │ │ │ ├── puts_spec.rb │ │ │ │ ├── tell_spec.rb │ │ │ │ └── orig_name_spec.rb │ │ ├── coverage │ │ │ └── fixtures │ │ │ │ ├── start_coverage.rb │ │ │ │ └── second_class.rb │ │ ├── mathn │ │ │ └── math │ │ │ │ └── fixtures │ │ │ │ └── classes.rb │ │ ├── net │ │ │ └── ftp │ │ │ │ ├── fixtures │ │ │ │ ├── passive.rb │ │ │ │ ├── puttextfile │ │ │ │ ├── default_passive.rb │ │ │ │ └── putbinaryfile │ │ │ │ └── shared │ │ │ │ └── pwd.rb │ │ ├── complex │ │ │ ├── numeric │ │ │ │ └── im_spec.rb │ │ │ └── math │ │ │ │ └── fixtures │ │ │ │ └── classes.rb │ │ ├── openstruct │ │ │ └── fixtures │ │ │ │ └── classes.rb │ │ └── win32ole │ │ │ └── fixtures │ │ │ └── event.xml │ ├── optional │ │ └── capi │ │ │ └── fixtures │ │ │ ├── foo.rb │ │ │ ├── encoding.rb │ │ │ ├── const_get_object.rb │ │ │ ├── const_get.rb │ │ │ ├── const_get_at.rb │ │ │ ├── const_get_from.rb │ │ │ ├── module_autoload.rb │ │ │ └── path_to_class.rb │ ├── fixtures │ │ ├── code │ │ │ ├── load_fixture │ │ │ ├── a │ │ │ │ ├── load_fixture.so │ │ │ │ ├── load_fixture.dll │ │ │ │ ├── load_fixture.dylib │ │ │ │ └── load_fixture.bundle │ │ │ ├── b │ │ │ │ └── load_fixture.rb │ │ │ ├── file_fixture.rb │ │ │ ├── load_fixture.dll │ │ │ ├── load_fixture.rb │ │ │ ├── load_fixture.so │ │ │ ├── gem │ │ │ │ └── load_fixture.rb │ │ │ ├── load_ext_fixture.rb │ │ │ ├── load_fixture.bundle │ │ │ ├── load_fixture.dylib │ │ │ ├── load_fixture.ext │ │ │ ├── load_fixture.ext.dll │ │ │ ├── load_fixture.ext.rb │ │ │ ├── load_fixture.ext.so │ │ │ ├── load_fixture.ext.bundle │ │ │ ├── load_fixture.ext.dylib │ │ │ ├── load_fixture_and__FILE__.rb │ │ │ ├── raise_fixture.rb │ │ │ ├── symlink │ │ │ │ ├── symlink2 │ │ │ │ │ └── symlink2.rb │ │ │ │ └── symlink1.rb │ │ │ ├── wrap_fixture.rb │ │ │ ├── concurrent3.rb │ │ │ ├── line_fixture.rb │ │ │ └── recursive_require_fixture.rb │ │ └── math │ │ │ └── common.rb │ ├── language │ │ ├── fixtures │ │ │ ├── file.rb │ │ │ ├── utf8-bom.rb │ │ │ ├── argv_encoding.rb │ │ │ ├── begin_file.rb │ │ │ ├── utf8-nobom.rb │ │ │ ├── no_magic_comment.rb │ │ │ ├── freeze_magic_comment_required_no_comment.rb │ │ │ ├── magic_comment.rb │ │ │ ├── case_magic_comment.rb │ │ │ ├── print_magic_comment_result_at_exit.rb │ │ │ ├── utf16-be-nobom.rb │ │ │ ├── dollar_zero.rb │ │ │ ├── emacs_magic_comment.rb │ │ │ ├── second_line_magic_comment.rb │ │ │ ├── utf16-le-nobom.rb │ │ │ ├── binary_symbol.rb │ │ │ ├── second_token_magic_comment.rb │ │ │ ├── freeze_magic_comment_required.rb │ │ │ └── shebang_magic_comment.rb │ │ └── predefined │ │ │ └── fixtures │ │ │ ├── data_only.rb │ │ │ ├── data4.rb │ │ │ ├── print_data.rb │ │ │ ├── empty_data.rb │ │ │ ├── toplevel_binding_id_required.rb │ │ │ ├── data1.rb │ │ │ ├── data5.rb │ │ │ ├── data2.rb │ │ │ └── data3.rb │ ├── shared │ │ └── file │ │ │ ├── setgid.rb │ │ │ ├── setuid.rb │ │ │ ├── owned.rb │ │ │ ├── pipe.rb │ │ │ └── socket.rb │ └── .gitignore ├── mspec │ ├── spec │ │ ├── commands │ │ │ └── fixtures │ │ │ │ ├── four.txt │ │ │ │ ├── three.rb │ │ │ │ ├── one_spec.rb │ │ │ │ ├── two_spec.rb │ │ │ │ └── level2 │ │ │ │ └── three_spec.rb │ │ ├── runner │ │ │ └── filters │ │ │ │ └── a.yaml │ │ └── fixtures │ │ │ └── my_ruby │ ├── bin │ │ ├── mkspec.bat │ │ ├── mspec.bat │ │ ├── mspec-ci.bat │ │ ├── mspec-run.bat │ │ └── mspec-tag.bat │ ├── tool │ │ └── sync │ │ │ └── .gitignore │ ├── Gemfile │ └── lib │ │ └── mspec │ │ ├── expectations.rb │ │ ├── mocks.rb │ │ ├── version.rb │ │ └── helpers │ │ └── flunk.rb └── tags │ ├── core │ ├── argf │ │ ├── lineno_tags.txt │ │ ├── close_tags.txt │ │ ├── rewind_tags.txt │ │ ├── path_tags.txt │ │ └── filename_tags.txt │ ├── array │ │ ├── max_tags.txt │ │ ├── min_tags.txt │ │ └── equal_value_tags.txt │ ├── gc │ │ ├── start_tags.txt │ │ ├── count_tags.txt │ │ └── garbage_collect_tags.txt │ ├── kernel │ │ ├── match_tags.txt │ │ ├── __send___tags.txt │ │ ├── lambda_tags.txt │ │ ├── pp_tags.txt │ │ ├── dup_tags.txt │ │ ├── autoload_tags.txt │ │ └── caller_tags.txt │ ├── module │ │ ├── attr_tags.txt │ │ ├── using_tags.txt │ │ ├── alias_method_tags.txt │ │ ├── attr_reader_tags.txt │ │ ├── attr_writer_tags.txt │ │ ├── include_tags.txt │ │ ├── undef_method_tags.txt │ │ ├── attr_accessor_tags.txt │ │ ├── remove_method_tags.txt │ │ ├── public_tags.txt │ │ ├── private_tags.txt │ │ └── autoload_tags.txt │ ├── hash │ │ ├── rehash_tags.txt │ │ ├── constructor_tags.txt │ │ ├── each_tags.txt │ │ └── each_pair_tags.txt │ ├── io │ │ ├── sync_tags.txt │ │ ├── ungetbyte_tags.txt │ │ ├── pos_tags.txt │ │ ├── try_convert_tags.txt │ │ ├── codepoints_tags.txt │ │ ├── sysseek_tags.txt │ │ ├── syswrite_tags.txt │ │ ├── write_tags.txt │ │ ├── sysread_tags.txt │ │ └── each_tags.txt │ ├── math │ │ ├── gamma_tags.txt │ │ └── log2_tags.txt │ ├── dir │ │ ├── pwd_tags.txt │ │ └── getwd_tags.txt │ ├── fiber │ │ └── resume_tags.txt │ ├── file │ │ ├── pipe_tags.txt │ │ ├── socket_tags.txt │ │ ├── setgid_tags.txt │ │ ├── setuid_tags.txt │ │ ├── umask_tags.txt │ │ ├── stat │ │ │ ├── pipe_tags.txt │ │ │ └── inspect_tags.txt │ │ ├── sticky_tags.txt │ │ ├── path_tags.txt │ │ ├── to_path_tags.txt │ │ ├── mtime_tags.txt │ │ └── atime_tags.txt │ ├── method │ │ ├── clone_tags.txt │ │ ├── eql_tags.txt │ │ ├── equal_value_tags.txt │ │ ├── parameters_tags.txt │ │ └── source_location_tags.txt │ ├── time │ │ ├── gmtoff_tags.txt │ │ ├── gmt_offset_tags.txt │ │ ├── utc_offset_tags.txt │ │ ├── gm_tags.txt │ │ ├── succ_tags.txt │ │ ├── local_tags.txt │ │ ├── mktime_tags.txt │ │ ├── strftime_tags.txt │ │ └── gmtime_tags.txt │ ├── continuation │ │ └── new_tags.txt │ ├── regexp │ │ ├── source_tags.txt │ │ └── union_tags.txt │ ├── tracepoint │ │ ├── event_tags.txt │ │ ├── eval_script_tags.txt │ │ ├── path_tags.txt │ │ ├── binding_tags.txt │ │ ├── return_value_tags.txt │ │ ├── callee_id_tags.txt │ │ ├── instruction_sequence_tags.txt │ │ ├── defined_class_tags.txt │ │ ├── method_id_tags.txt │ │ └── new_tags.txt │ ├── exception │ │ ├── key_error_tags.txt │ │ ├── standard_error_tags.txt │ │ ├── name_error_tags.txt │ │ ├── interrupt_tags.txt │ │ ├── no_method_error_tags.txt │ │ └── signal_exception_tags.txt │ ├── range │ │ ├── member_tags.txt │ │ ├── include_tags.txt │ │ └── case_compare_tags.txt │ ├── rational │ │ ├── numerator_tags.txt │ │ ├── denominator_tags.txt │ │ ├── minus_tags.txt │ │ ├── plus_tags.txt │ │ ├── divide_tags.txt │ │ └── multiply_tags.txt │ ├── float │ │ ├── divide_tags.txt │ │ ├── gt_tags.txt │ │ ├── gte_tags.txt │ │ ├── lt_tags.txt │ │ ├── lte_tags.txt │ │ ├── minus_tags.txt │ │ ├── plus_tags.txt │ │ ├── multiply_tags.txt │ │ ├── round_tags.txt │ │ └── truncate_tags.txt │ ├── integer │ │ ├── gt_tags.txt │ │ ├── lt_tags.txt │ │ ├── divide_tags.txt │ │ ├── gte_tags.txt │ │ ├── lte_tags.txt │ │ ├── minus_tags.txt │ │ ├── plus_tags.txt │ │ ├── sqrt_tags.txt │ │ ├── multiply_tags.txt │ │ └── left_shift_tags.txt │ ├── process │ │ ├── status │ │ │ ├── pid_tags.txt │ │ │ └── _tags.txt │ │ ├── set_proctitle_tags.txt │ │ ├── wait2_tags.txt │ │ ├── ppid_tags.txt │ │ ├── gid_tags.txt │ │ ├── initgroups_tags.txt │ │ ├── setpgid_tags.txt │ │ ├── setsid_tags.txt │ │ └── setpgrp_tags.txt │ ├── binding │ │ └── irb_tags.txt │ ├── mutex │ │ └── sleep_tags.txt │ ├── string │ │ └── uplus_tags.txt │ ├── thread │ │ ├── safe_level_tags.txt │ │ └── raise_tags.txt │ ├── unboundmethod │ │ ├── clone_tags.txt │ │ └── owner_tags.txt │ ├── enumerable │ │ ├── all_tags.txt │ │ ├── any_tags.txt │ │ ├── chunk_tags.txt │ │ ├── first_tags.txt │ │ ├── none_tags.txt │ │ ├── one_tags.txt │ │ └── uniq_tags.txt │ ├── enumerator │ │ ├── arithmetic_sequence │ │ │ ├── each_tags.txt │ │ │ ├── end_tags.txt │ │ │ └── begin_tags.txt │ │ ├── chain │ │ │ └── each_tags.txt │ │ ├── next_values_tags.txt │ │ └── peek_values_tags.txt │ ├── main │ │ ├── def_tags.txt │ │ └── include_tags.txt │ ├── proc │ │ ├── source_location_tags.txt │ │ └── new_tags.txt │ ├── encoding │ │ └── locale_charmap_tags.txt │ ├── marshal │ │ └── dump_tags.txt │ └── symbol │ │ ├── all_symbols_tags.txt │ │ └── match_tags.txt │ ├── library │ ├── cgi │ │ ├── escape_tags.txt │ │ └── cookie │ │ │ └── to_s_tags.txt │ ├── erb │ │ └── util │ │ │ ├── u_tags.txt │ │ │ └── url_encode_tags.txt │ ├── etc │ │ ├── struct_group_tags.txt │ │ ├── getpwnam_tags.txt │ │ └── getlogin_tags.txt │ ├── English │ │ └── English_tags.txt │ ├── delegate │ │ └── delegator │ │ │ └── eql_tags.txt │ ├── set │ │ ├── classify_tags.txt │ │ ├── divide_tags.txt │ │ ├── sortedset │ │ │ ├── divide_tags.txt │ │ │ └── classify_tags.txt │ │ └── compare_by_identity_tags.txt │ ├── tempfile │ │ ├── length_tags.txt │ │ ├── size_tags.txt │ │ └── initialize_tags.txt │ ├── date │ │ ├── iso8601_tags.txt │ │ └── minus_month_tags.txt │ ├── readline │ │ ├── vi_editing_mode_tags.txt │ │ ├── emacs_editing_mode_tags.txt │ │ └── history │ │ │ ├── append_tags.txt │ │ │ └── push_tags.txt │ ├── stringio │ │ ├── tell_tags.txt │ │ ├── close_read_tags.txt │ │ ├── close_tags.txt │ │ ├── close_write_tags.txt │ │ └── readpartial_tags.txt │ ├── time │ │ └── to_time_tags.txt │ ├── yaml │ │ ├── tagurize_tags.txt │ │ └── to_yaml_tags.txt │ ├── bigdecimal │ │ ├── gt_tags.txt │ │ ├── lt_tags.txt │ │ ├── gte_tags.txt │ │ ├── lte_tags.txt │ │ ├── to_f_tags.txt │ │ └── limit_tags.txt │ ├── datetime │ │ ├── sec_tags.txt │ │ ├── add_tags.txt │ │ ├── second_tags.txt │ │ ├── to_time_tags.txt │ │ └── now_tags.txt │ ├── socket │ │ ├── socket │ │ │ ├── gethostname_tags.txt │ │ │ ├── sockaddr_in_tags.txt │ │ │ └── pack_sockaddr_in_tags.txt │ │ ├── option │ │ │ └── inspect_tags.txt │ │ ├── tcpserver │ │ │ └── new_tags.txt │ │ ├── basicsocket │ │ │ ├── recv_tags.txt │ │ │ └── setsockopt_tags.txt │ │ ├── tcpsocket │ │ │ └── recv_nonblock_tags.txt │ │ ├── udpsocket │ │ │ └── inspect_tags.txt │ │ └── unixserver │ │ │ └── accept_nonblock_tags.txt │ ├── bigmath │ │ └── log_tags.txt │ ├── zlib │ │ └── gzipreader │ │ │ ├── read_tags.txt │ │ │ └── gets_tags.txt │ ├── net │ │ └── telnet │ │ │ ├── cmd_tags.txt │ │ │ ├── puts_tags.txt │ │ │ ├── sock_tags.txt │ │ │ ├── login_tags.txt │ │ │ ├── print_tags.txt │ │ │ ├── waitfor_tags.txt │ │ │ ├── write_tags.txt │ │ │ ├── initialize_tags.txt │ │ │ └── preprocess_tags.txt │ ├── stringscanner │ │ ├── rest_size_tags.txt │ │ ├── restsize_tags.txt │ │ └── reset_tags.txt │ ├── syslog │ │ └── inspect_tags.txt │ └── weakref │ │ └── __getobj___tags.txt │ ├── language │ ├── range_tags.txt │ ├── variables_tags.txt │ ├── BEGIN_tags.txt │ ├── for_tags.txt │ ├── regexp │ │ └── repetition_tags.txt │ ├── execution_tags.txt │ └── class_tags.txt │ ├── optional │ └── capi │ │ ├── gc_tags.txt │ │ ├── string_tags.txt │ │ ├── typed_data_tags.txt │ │ └── kernel_tags.txt │ ├── truffle │ ├── irb │ │ ├── arrows_tags.txt │ │ └── interrupt_tags.txt │ ├── gc │ │ └── time_tags.txt │ ├── constants_tags.txt │ ├── rbconfig_tags.txt │ ├── securerandom_tags.txt │ ├── filename_length_tags.txt │ ├── safe_tags.txt │ ├── objspace │ │ └── define_finalizer_tags.txt │ ├── kernel │ │ └── gem_tags.txt │ └── nfi_tags.txt │ └── command_line │ ├── dash_w_tags.txt │ ├── dash_r_tags.txt │ ├── error_message_tags.txt │ └── dash_upper_f_tags.txt ├── test ├── truffle │ ├── ecosystem │ │ ├── blog │ │ │ ├── log │ │ │ │ └── .keep │ │ │ ├── tmp │ │ │ │ └── .keep │ │ │ ├── lib │ │ │ │ ├── tasks │ │ │ │ │ └── .keep │ │ │ │ └── assets │ │ │ │ │ └── .keep │ │ │ ├── storage │ │ │ │ └── .keep │ │ │ ├── vendor │ │ │ │ └── .keep │ │ │ ├── public │ │ │ │ ├── favicon.ico │ │ │ │ ├── apple-touch-icon.png │ │ │ │ └── apple-touch-icon-precomposed.png │ │ │ ├── test │ │ │ │ ├── helpers │ │ │ │ │ └── .keep │ │ │ │ ├── system │ │ │ │ │ └── .keep │ │ │ │ ├── fixtures │ │ │ │ │ └── files │ │ │ │ │ │ └── .keep │ │ │ │ └── integration │ │ │ │ │ └── .keep │ │ │ ├── app │ │ │ │ ├── assets │ │ │ │ │ ├── images │ │ │ │ │ │ └── .keep │ │ │ │ │ └── config │ │ │ │ │ │ └── manifest.js │ │ │ │ ├── models │ │ │ │ │ └── concerns │ │ │ │ │ │ └── .keep │ │ │ │ ├── controllers │ │ │ │ │ └── concerns │ │ │ │ │ │ └── .keep │ │ │ │ ├── helpers │ │ │ │ │ └── application_helper.rb │ │ │ │ ├── jobs │ │ │ │ │ └── application_job.rb │ │ │ │ └── views │ │ │ │ │ └── posts │ │ │ │ │ ├── new.html.erb │ │ │ │ │ └── edit.html.erb │ │ │ ├── config │ │ │ │ ├── master.key │ │ │ │ └── environments │ │ │ │ │ ├── test-mysql.rb │ │ │ │ │ ├── test-postgresql.rb │ │ │ │ │ ├── development-mysql.rb │ │ │ │ │ ├── production-mysql.rb │ │ │ │ │ ├── development-postgresql.rb │ │ │ │ │ └── production-postgresql.rb │ │ │ └── package.json │ │ └── hello-world │ │ │ └── bin │ │ │ └── hello-world.rb │ ├── cexts │ │ ├── method │ │ │ ├── lib │ │ │ │ ├── method │ │ │ │ │ └── .keep │ │ │ │ └── method.rb │ │ │ ├── expected.txt │ │ │ ├── ext │ │ │ │ └── method │ │ │ │ │ └── extconf.rb │ │ │ └── bin │ │ │ │ └── method │ │ ├── module │ │ │ ├── lib │ │ │ │ ├── module │ │ │ │ │ └── .keep │ │ │ │ └── module.rb │ │ │ ├── expected.txt │ │ │ ├── ext │ │ │ │ └── module │ │ │ │ │ └── extconf.rb │ │ │ └── bin │ │ │ │ └── module │ │ ├── globals │ │ │ ├── lib │ │ │ │ ├── globals │ │ │ │ │ └── .keep │ │ │ │ └── globals.rb │ │ │ ├── expected.txt │ │ │ └── ext │ │ │ │ └── globals │ │ │ │ ├── extconf.rb │ │ │ │ └── extern.c │ │ ├── minimum │ │ │ ├── lib │ │ │ │ ├── minimum │ │ │ │ │ └── .keep │ │ │ │ └── minimum.rb │ │ │ ├── expected.txt │ │ │ ├── bin │ │ │ │ └── minimum │ │ │ └── ext │ │ │ │ └── minimum │ │ │ │ ├── extconf.rb │ │ │ │ └── minimum.c │ │ ├── nokogiri │ │ │ └── lib │ │ │ │ └── nokogiri │ │ │ │ └── .keep │ │ ├── oily_png │ │ │ ├── lib │ │ │ │ └── oily_png │ │ │ │ │ └── .keep │ │ │ └── test.rb │ │ ├── xopenssl │ │ │ ├── lib │ │ │ │ ├── xopenssl │ │ │ │ │ └── .keep │ │ │ │ └── xopenssl.rb │ │ │ ├── expected.txt │ │ │ └── bin │ │ │ │ └── xopenssl │ │ ├── backtraces │ │ │ ├── lib │ │ │ │ ├── backtraces │ │ │ │ │ └── .keep │ │ │ │ └── backtraces.rb │ │ │ └── ext │ │ │ │ └── nativetestlib.c │ │ └── psd_native │ │ │ └── lib │ │ │ └── psd_native │ │ │ └── .keep │ ├── integration │ │ ├── no_extra_output │ │ │ └── twelve.txt │ │ └── irb │ │ │ ├── input.txt │ │ │ └── output.txt │ └── compiler │ │ └── can-we-fold-yet │ │ └── input.txt └── mri │ ├── tests │ ├── rdoc │ │ ├── hidden.zip.txt │ │ ├── test.txt │ │ ├── README │ │ ├── MarkdownTest_1.0.3 │ │ │ └── Nested blockquotes.text │ │ └── binary.dat │ ├── json │ │ └── fixtures │ │ │ ├── fail2.json │ │ │ ├── fail24.json │ │ │ ├── fail27.json │ │ │ ├── fail4.json │ │ │ ├── fail8.json │ │ │ ├── fail19.json │ │ │ ├── fail20.json │ │ │ ├── fail23.json │ │ │ ├── fail28.json │ │ │ ├── fail5.json │ │ │ ├── fail9.json │ │ │ ├── fail6.json │ │ │ ├── fail7.json │ │ │ ├── fail11.json │ │ │ ├── fail12.json │ │ │ ├── fail14.json │ │ │ ├── fail21.json │ │ │ ├── fail22.json │ │ │ ├── fail25.json │ │ │ ├── pass16.json │ │ │ ├── fail3.json │ │ │ ├── pass15.json │ │ │ ├── pass17.json │ │ │ ├── pass26.json │ │ │ ├── fail13.json │ │ │ ├── pass2.json │ │ │ ├── fail10.json │ │ │ └── obsolete_fail1.json │ ├── colors │ ├── cext-c │ │ ├── load │ │ │ ├── dot.dot │ │ │ │ ├── dot.dot.c │ │ │ │ └── extconf.rb │ │ │ └── protect │ │ │ │ └── extconf.rb │ │ ├── vm │ │ │ └── extconf.rb │ │ ├── dln │ │ │ └── empty │ │ │ │ ├── empty.c │ │ │ │ └── extconf.rb │ │ ├── scan_args │ │ │ └── extconf.rb │ │ ├── win32 │ │ │ └── dln │ │ │ │ ├── libdlntest.def │ │ │ │ └── libdlntest.c │ │ ├── num2int │ │ │ └── extconf.rb │ │ ├── printf │ │ │ └── extconf.rb │ │ ├── bug-3571 │ │ │ └── extconf.rb │ │ ├── bug-5832 │ │ │ └── extconf.rb │ │ ├── fatal │ │ │ └── extconf.rb │ │ ├── iseq_load │ │ │ └── extconf.rb │ │ ├── st │ │ │ ├── update │ │ │ │ └── extconf.rb │ │ │ ├── foreach │ │ │ │ └── extconf.rb │ │ │ └── numhash │ │ │ │ └── extconf.rb │ │ ├── typeddata │ │ │ └── extconf.rb │ │ ├── array │ │ │ └── resize │ │ │ │ └── extconf.rb │ │ ├── bug_reporter │ │ │ └── extconf.rb │ │ ├── marshal │ │ │ ├── usr │ │ │ │ └── extconf.rb │ │ │ └── compat │ │ │ │ └── extconf.rb │ │ ├── notimplement │ │ │ └── extconf.rb │ │ ├── tracepoint │ │ │ └── extconf.rb │ │ ├── debug │ │ │ └── extconf.rb │ │ ├── exception │ │ │ └── extconf.rb │ │ ├── method │ │ │ └── extconf.rb │ │ ├── postponed_job │ │ │ └── extconf.rb │ │ ├── regexp │ │ │ └── extconf.rb │ │ ├── thread_fd_close │ │ │ └── extconf.rb │ │ ├── arith_seq │ │ │ └── extract │ │ │ │ └── extconf.rb │ │ ├── funcall │ │ │ └── extconf.rb │ │ ├── bignum │ │ │ └── extconf.rb │ │ ├── class │ │ │ └── extconf.rb │ │ ├── float │ │ │ └── extconf.rb │ │ ├── hash │ │ │ └── extconf.rb │ │ ├── integer │ │ │ └── extconf.rb │ │ ├── iter │ │ │ └── extconf.rb │ │ ├── proc │ │ │ └── extconf.rb │ │ ├── recursion │ │ │ └── extconf.rb │ │ ├── string │ │ │ └── extconf.rb │ │ ├── struct │ │ │ └── extconf.rb │ │ └── time │ │ │ └── extconf.rb │ ├── rubygems │ │ ├── foo │ │ │ └── discover.rb │ │ ├── sff │ │ │ └── discover.rb │ │ ├── bad_rake.rb │ │ └── good_rake.rb │ ├── webrick │ │ ├── .htaccess │ │ └── webrick.rhtml │ ├── cext-ruby │ │ └── load │ │ │ └── script.rb │ ├── win32ole │ │ └── orig_data.csv │ ├── erb │ │ └── hello.erb │ ├── rss │ │ └── dot.png │ ├── scanf │ │ └── data.txt │ ├── rexml │ │ └── data │ │ │ ├── simple.xml │ │ │ ├── euc.xml │ │ │ ├── t63-1.xml │ │ │ ├── t63-2.svg │ │ │ ├── utf16.xml │ │ │ ├── iso8859-1.xml │ │ │ ├── ticket_61.xml │ │ │ ├── jaxen24.xml │ │ │ ├── pi2.xml │ │ │ └── xmlfile-bug.xml │ ├── csv │ │ ├── line_endings.gz │ │ └── helper.rb │ ├── cgi │ │ └── testdata │ │ │ ├── large.png │ │ │ └── small.png │ ├── dtrace │ │ └── dummy.rb │ └── ruby │ │ └── enc │ │ ├── test_euc_jp.rb │ │ └── test_shift_jis.rb │ └── excludes │ ├── TestCase.rb │ ├── TestKconv.rb │ ├── TestLogger.rb │ ├── TestMatrix.rb │ ├── TestVM.rb │ ├── TC_Enumerable.rb │ ├── TestCSV │ ├── Row.rb │ ├── Parsing.rb │ └── Features.rb │ ├── TestComparable.rb │ ├── TestDateAttr.rb │ ├── TestErbCommand.rb │ ├── TestFnmatch.rb │ ├── TestIONonblock.rb │ ├── TestIterator.rb │ ├── TestRDocAlias.rb │ ├── TestRDocExtend.rb │ ├── TestRDocParserRd.rb │ ├── TestRakeNameSpace.rb │ ├── TestStringchar.rb │ ├── TestUTF32.rb │ ├── TestWhileuntil.rb │ ├── Bug │ ├── TestException.rb │ └── Marshal │ │ └── TestInternalIVar.rb │ ├── RSS │ ├── TestDublinCore.rb │ ├── TestITunes.rb │ ├── TestMakerITunes.rb │ ├── TestParserAtomFeed.rb │ ├── TestParserAtom.rb │ └── TestParser10.rb │ ├── Row │ └── DifferentOFS.rb │ ├── TestDateMarshal.rb │ ├── TestDigest │ ├── TestBase.rb │ └── TestSHA2.rb │ ├── TestHash │ └── TestDelete.rb │ ├── TestIRB │ └── TestRubyLex.rb │ ├── TestISO8859.rb │ ├── TestRDocComment.rb │ ├── TestRDocInclude.rb │ ├── TestRDocNormalClass.rb │ ├── TestRDocNormalModule.rb │ ├── TestRakeTaskArguments.rb │ ├── TestZlibGzipFile.rb │ ├── Test_DotDot.rb │ ├── Emoji │ └── TestRenameSJIS.rb │ ├── Psych │ ├── TestClass.rb │ ├── TestException.rb │ └── TestObjectReferences.rb │ ├── REXMLTests │ ├── BaseTester.rb │ ├── ElementsTester.rb │ ├── REXMLTester.rb │ ├── AttributeTest.rb │ ├── InstructionTest.rb │ ├── LightParserTester.rb │ ├── OrderTester.rb │ ├── TestIssuezillaParsing.rb │ ├── TestAttributes.rb │ ├── TestDocTypeAccessor.rb │ ├── TestDocument.rb │ ├── TestNotationDeclPublic.rb │ ├── TestNotationDeclSystem.rb │ ├── TestXmlDeclaration.rb │ ├── TestTreeParser │ │ └── TestInvalid.rb │ └── TestXPathAxisPredcedingSibling.rb │ ├── TestArray │ └── TestResize.rb │ ├── TestAssignment.rb │ ├── TestFiddle.rb │ ├── TestFuncall.rb │ ├── TestGemPackage.rb │ ├── TestJSON.rb │ ├── TestMiniTestRunner.rb │ ├── TestMixedUnicodeEscape.rb │ ├── TestRDocText.rb │ ├── TestRakeTestTask.rb │ ├── TestRecursion.rb │ ├── TestResolvAddr.rb │ ├── TestShellwords.rb │ ├── TestTestUnitSorting.rb │ ├── TestThreadGroup.rb │ ├── TestWEBrickHTTPServer.rb │ ├── TestZlibGzipWriter.rb │ ├── Test_Array │ └── TestResize.rb │ ├── Test_BUG_3571.rb │ ├── Test_Hash │ └── TestDelete.rb │ ├── Test_Load_Protect.rb │ ├── Test_StringExternalNew.rb │ ├── PPTestModule │ ├── PPDelegateTest.rb │ └── PPFileStatTest.rb │ ├── TestBugReporter.rb │ ├── TestGB18030.rb │ ├── TestGemResolverSpecification.rb │ ├── TestRDocGeneratorJsonIndex.rb │ ├── TestResolvMDNS.rb │ ├── TestSocketAncData.rb │ ├── TestThreadFdClose.rb │ ├── Features │ └── DifferentOFS.rb │ ├── TestGemCommandsEnvironmentCommand.rb │ ├── TestRakeDirectoryTask.rb │ ├── XPathAxesTester.rb │ ├── TestGemPackageTarReaderEntry.rb │ ├── TestOptionParser │ ├── Acceptable.rb │ └── BashCompletion.rb │ ├── Test_Class │ └── Test_Class2Name.rb │ ├── CGIUtilTest.rb │ ├── DefaultFormatterTest │ └── InstructionTest.rb │ ├── TestGemCommandsContentsCommand.rb │ ├── TestNotImplement.rb │ ├── TestEtc.rb │ ├── TestGemCommandsUninstallCommand.rb │ ├── TestNetHTTP.rb │ ├── YAMLStoreTest.rb │ ├── OpenSSL │ ├── TestPartialRecordRead.rb │ └── TestEC.rb │ ├── TSortTest.rb │ ├── TestFixnum.rb │ ├── TestForTestHideSkip.rb │ ├── TestKeyError.rb │ ├── TestRubyVM.rb │ ├── TestUnicodeEscape.rb │ ├── TestEncoding.rb │ ├── TestJSONGenerate.rb │ ├── TestRubyYieldGen.rb │ └── Test_Integer.rb ├── bench ├── benchmark ├── benchmark-interface │ ├── tests │ │ └── expected │ │ │ ├── long-deep.txt │ │ │ ├── mri-deep.txt │ │ │ ├── bench9000-deep.txt │ │ │ ├── benchmark-deep.txt │ │ │ ├── interface-deep.txt │ │ │ ├── rbench-deep.txt │ │ │ ├── readme-deep.txt │ │ │ ├── script-deep.txt │ │ │ ├── bench9000micro-deep.txt │ │ │ ├── mri-simple.txt │ │ │ ├── long-simple.txt │ │ │ ├── bench9000-simple.txt │ │ │ ├── bench9000micro-simple.txt │ │ │ ├── readme-simple.txt │ │ │ ├── script-simple.txt │ │ │ ├── mri-bm.txt │ │ │ ├── long-bm.txt │ │ │ ├── long-bmbm.txt │ │ │ ├── mri-bmbm.txt │ │ │ ├── bench9000-bm.txt │ │ │ ├── bench9000-bmbm.txt │ │ │ ├── bench9000micro-bm.txt │ │ │ ├── bench9000micro-bmbm.txt │ │ │ ├── interface-simple.txt │ │ │ ├── readme-bm.txt │ │ │ └── readme-bmbm.txt │ └── Gemfile ├── psd.rb │ ├── psd.rb │ │ └── lib │ │ │ └── psd │ │ │ └── version.rb │ └── psd_native │ │ ├── lib │ │ └── psd_native │ │ │ └── version.rb │ │ └── ext │ │ └── psd_native │ │ └── extconf.rb ├── chunky_png │ └── oily_png │ │ ├── lib │ │ └── oily_png │ │ │ └── version.rb │ │ └── ext │ │ └── oily_png │ │ └── extconf.rb ├── asciidoctor │ └── asciidoctor │ │ └── lib │ │ └── asciidoctor │ │ └── version.rb └── optcarrot │ └── examples │ └── Lan_Master.nes ├── lib ├── truffle │ ├── digest │ │ ├── md5.rb │ │ ├── sha1.rb │ │ └── rmd160.rb │ ├── enumerator.rb │ ├── fiber.rb │ ├── complex.rb │ ├── rational.rb │ └── jruby.rb ├── ruby │ └── gems │ │ └── 2.6.0 │ │ └── gems │ │ ├── did_you_mean-1.3.0 │ │ ├── .ruby-version │ │ ├── test │ │ │ └── fixtures │ │ │ │ └── book.rb │ │ └── lib │ │ │ └── did_you_mean │ │ │ └── version.rb │ │ ├── net-telnet-0.2.0 │ │ └── lib │ │ │ └── net-telnet.rb │ │ ├── rake-12.3.2 │ │ ├── Gemfile │ │ └── doc │ │ │ └── example │ │ │ ├── a.c │ │ │ └── b.c │ │ ├── xmlrpc-0.3.0 │ │ └── Gemfile │ │ ├── test-unit-3.2.9 │ │ ├── test │ │ │ └── fixtures │ │ │ │ ├── no-header.csv │ │ │ │ └── no-header.tsv │ │ └── lib │ │ │ └── test │ │ │ └── unit │ │ │ └── version.rb │ │ └── power_assert-1.1.3 │ │ └── lib │ │ └── power_assert │ │ └── version.rb └── mri │ ├── drb.rb │ ├── thwait │ └── version.rb │ ├── e2mmap │ └── version.rb │ ├── optionparser.rb │ ├── bundler │ ├── templates │ │ └── newgem │ │ │ ├── rspec.tt │ │ │ ├── exe │ │ │ └── newgem.tt │ │ │ └── ext │ │ │ └── newgem │ │ │ └── extconf.rb.tt │ └── vendor │ │ └── thor │ │ └── lib │ │ └── thor │ │ └── version.rb │ ├── tracer │ └── version.rb │ ├── psych │ ├── omap.rb │ └── set.rb │ ├── rubygems │ ├── package │ │ └── source.rb │ └── resolver │ │ └── molinillo.rb │ ├── fileutils │ └── version.rb │ └── rdoc │ ├── version.rb │ └── ri │ └── store.rb ├── logo ├── truffleruby_kit.pdf ├── ai │ └── truffleruby_logos.ai ├── pdf │ ├── truffleruby_logo_notext.pdf │ ├── truffleruby_simple_icon.pdf │ ├── truffleruby_logo_horizontal.pdf │ └── truffleruby_logo_vertical.pdf ├── png │ ├── truffleruby_logo_notext_large.png │ ├── truffleruby_logo_notext_small.png │ ├── truffleruby_simple_icon_small.png │ ├── truffleruby_logo_notext_medium.png │ ├── truffleruby_logo_vertical_large.png │ ├── truffleruby_logo_vertical_medium.png │ ├── truffleruby_logo_vertical_small.png │ └── truffleruby_simple_icon_medium.png └── sticker │ ├── truffleruby_sticker_7_5cm.ai │ └── truffleruby_sticker_7_5cm_af.pdf └── src ├── main └── c │ ├── nkf │ └── extconf.rb │ ├── json │ ├── generator │ │ ├── extconf.h │ │ └── extconf.rb │ └── parser │ │ └── extconf.h │ └── openssl │ └── ossl_kdf.h └── test └── java └── META-INF └── services └── org.graalvm.polyglot.tck.LanguageProvider /tool/docker/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.ruby-version: -------------------------------------------------------------------------------- 1 | 2.6.2 2 | -------------------------------------------------------------------------------- /spec/truffle/methods/Object.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spec/ruby/core/io/fixtures/empty.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/truffle/ecosystem/blog/log/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/truffle/ecosystem/blog/tmp/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spec/mspec/spec/commands/fixtures/four.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spec/ruby/core/io/fixtures/one_byte.txt: -------------------------------------------------------------------------------- 1 | 1 -------------------------------------------------------------------------------- /test/mri/tests/rdoc/hidden.zip.txt: -------------------------------------------------------------------------------- 1 | PK 2 | -------------------------------------------------------------------------------- /test/mri/tests/rdoc/test.txt: -------------------------------------------------------------------------------- 1 | test file 2 | -------------------------------------------------------------------------------- /test/truffle/cexts/method/lib/method/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/truffle/cexts/module/lib/module/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/truffle/ecosystem/blog/lib/tasks/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/truffle/ecosystem/blog/storage/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/truffle/ecosystem/blog/vendor/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bench/benchmark: -------------------------------------------------------------------------------- 1 | benchmark-interface/bin/benchmark -------------------------------------------------------------------------------- /lib/truffle/digest/md5.rb: -------------------------------------------------------------------------------- 1 | require 'digest' 2 | -------------------------------------------------------------------------------- /lib/truffle/digest/sha1.rb: -------------------------------------------------------------------------------- 1 | require 'digest' 2 | -------------------------------------------------------------------------------- /spec/mspec/spec/commands/fixtures/three.rb: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /spec/ruby/core/file/fixtures/do_not_remove: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /spec/ruby/core/process/fixtures/in.txt: -------------------------------------------------------------------------------- 1 | stdin 2 | -------------------------------------------------------------------------------- /spec/truffle/interop/fixtures/eval_file.invalid: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/mri/tests/rdoc/README: -------------------------------------------------------------------------------- 1 | you don't have to 2 | -------------------------------------------------------------------------------- /test/truffle/cexts/globals/lib/globals/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/truffle/cexts/method/expected.txt: -------------------------------------------------------------------------------- 1 | 16 2 | -------------------------------------------------------------------------------- /test/truffle/cexts/minimum/lib/minimum/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/truffle/cexts/nokogiri/lib/nokogiri/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/truffle/cexts/oily_png/lib/oily_png/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/truffle/cexts/xopenssl/lib/xopenssl/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/truffle/ecosystem/blog/lib/assets/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/truffle/ecosystem/blog/public/favicon.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/truffle/ecosystem/blog/test/helpers/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/truffle/ecosystem/blog/test/system/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /lib/truffle/digest/rmd160.rb: -------------------------------------------------------------------------------- 1 | require 'digest' 2 | -------------------------------------------------------------------------------- /lib/truffle/enumerator.rb: -------------------------------------------------------------------------------- 1 | # Provided by default 2 | -------------------------------------------------------------------------------- /spec/mspec/bin/mkspec.bat: -------------------------------------------------------------------------------- 1 | @"ruby.exe" "%~dpn0" %* 2 | -------------------------------------------------------------------------------- /spec/mspec/bin/mspec.bat: -------------------------------------------------------------------------------- 1 | @"ruby.exe" "%~dpn0" %* 2 | -------------------------------------------------------------------------------- /spec/mspec/spec/commands/fixtures/one_spec.rb: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /spec/mspec/spec/commands/fixtures/two_spec.rb: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /spec/ruby/command_line/fixtures/bad_syntax.rb: -------------------------------------------------------------------------------- 1 | f { 2 | -------------------------------------------------------------------------------- /spec/ruby/core/io/fixtures/bom_UTF-8.txt: -------------------------------------------------------------------------------- 1 | UTF-8 2 | -------------------------------------------------------------------------------- /spec/ruby/core/io/fixtures/no_bom_UTF-8.txt: -------------------------------------------------------------------------------- 1 | UTF-8 2 | -------------------------------------------------------------------------------- /spec/ruby/core/io/fixtures/read_text.txt: -------------------------------------------------------------------------------- 1 | abcâdef 2 | -------------------------------------------------------------------------------- /spec/ruby/library/csv/fixtures/one_line.csv: -------------------------------------------------------------------------------- 1 | 1,2 2 | -------------------------------------------------------------------------------- /spec/ruby/optional/capi/fixtures/foo.rb: -------------------------------------------------------------------------------- 1 | $foo = 7 2 | -------------------------------------------------------------------------------- /test/truffle/cexts/backtraces/lib/backtraces/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/truffle/cexts/minimum/expected.txt: -------------------------------------------------------------------------------- 1 | Hello! 2 | -------------------------------------------------------------------------------- /test/truffle/cexts/module/expected.txt: -------------------------------------------------------------------------------- 1 | constant 2 | -------------------------------------------------------------------------------- /test/truffle/cexts/psd_native/lib/psd_native/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/truffle/ecosystem/blog/app/assets/images/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/truffle/ecosystem/blog/app/models/concerns/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/truffle/ecosystem/blog/test/fixtures/files/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/truffle/ecosystem/blog/test/integration/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /lib/truffle/fiber.rb: -------------------------------------------------------------------------------- 1 | # Fiber is available by default 2 | -------------------------------------------------------------------------------- /spec/mspec/bin/mspec-ci.bat: -------------------------------------------------------------------------------- 1 | @"ruby.exe" "%~dpn0" %* 2 | -------------------------------------------------------------------------------- /spec/mspec/bin/mspec-run.bat: -------------------------------------------------------------------------------- 1 | @"ruby.exe" "%~dpn0" %* 2 | -------------------------------------------------------------------------------- /spec/mspec/bin/mspec-tag.bat: -------------------------------------------------------------------------------- 1 | @"ruby.exe" "%~dpn0" %* 2 | -------------------------------------------------------------------------------- /spec/ruby/command_line/fixtures/loadpath.rb: -------------------------------------------------------------------------------- 1 | puts $: 2 | -------------------------------------------------------------------------------- /spec/ruby/command_line/fixtures/require.rb: -------------------------------------------------------------------------------- 1 | puts $" 2 | -------------------------------------------------------------------------------- /spec/ruby/core/module/fixtures/autoload_never_set.rb: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /spec/ruby/core/module/fixtures/path2/load_path.rb: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /spec/truffle/interop/fixtures/eval_file_value.rb: -------------------------------------------------------------------------------- 1 | 14 2 | -------------------------------------------------------------------------------- /test/mri/tests/json/fixtures/fail2.json: -------------------------------------------------------------------------------- 1 | ["Unclosed array" -------------------------------------------------------------------------------- /test/mri/tests/json/fixtures/fail24.json: -------------------------------------------------------------------------------- 1 | ['single quote'] -------------------------------------------------------------------------------- /test/mri/tests/json/fixtures/fail27.json: -------------------------------------------------------------------------------- 1 | ["line 2 | break"] -------------------------------------------------------------------------------- /test/mri/tests/json/fixtures/fail4.json: -------------------------------------------------------------------------------- 1 | ["extra comma",] -------------------------------------------------------------------------------- /test/mri/tests/json/fixtures/fail8.json: -------------------------------------------------------------------------------- 1 | ["Extra close"]] -------------------------------------------------------------------------------- /test/truffle/ecosystem/blog/app/controllers/concerns/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/truffle/ecosystem/blog/public/apple-touch-icon.png: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/truffle/integration/no_extra_output/twelve.txt: -------------------------------------------------------------------------------- 1 | 12 2 | -------------------------------------------------------------------------------- /bench/benchmark-interface/tests/expected/long-deep.txt: -------------------------------------------------------------------------------- 1 | XXX 2 | -------------------------------------------------------------------------------- /bench/benchmark-interface/tests/expected/mri-deep.txt: -------------------------------------------------------------------------------- 1 | XXX 2 | -------------------------------------------------------------------------------- /lib/truffle/complex.rb: -------------------------------------------------------------------------------- 1 | # Complex is available by default 2 | -------------------------------------------------------------------------------- /lib/truffle/rational.rb: -------------------------------------------------------------------------------- 1 | # Rational is available by default 2 | -------------------------------------------------------------------------------- /spec/mspec/spec/commands/fixtures/level2/three_spec.rb: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /spec/ruby/command_line/fixtures/bin/dash_s_fail: -------------------------------------------------------------------------------- 1 | raise 'die' 2 | -------------------------------------------------------------------------------- /spec/ruby/command_line/fixtures/test_file.rb: -------------------------------------------------------------------------------- 1 | "test file" 2 | -------------------------------------------------------------------------------- /spec/ruby/core/argf/fixtures/bin_file.txt: -------------------------------------------------------------------------------- 1 | test 2 | test 3 | -------------------------------------------------------------------------------- /spec/ruby/core/argf/fixtures/file1.txt: -------------------------------------------------------------------------------- 1 | file1.1 2 | file1.2 3 | -------------------------------------------------------------------------------- /spec/ruby/core/argf/fixtures/file2.txt: -------------------------------------------------------------------------------- 1 | line2.1 2 | line2.2 3 | -------------------------------------------------------------------------------- /spec/ruby/core/argf/fixtures/stdin.txt: -------------------------------------------------------------------------------- 1 | stdin.1 2 | stdin.2 3 | -------------------------------------------------------------------------------- /spec/ruby/fixtures/code/load_fixture: -------------------------------------------------------------------------------- 1 | ScratchPad << :no_ext 2 | -------------------------------------------------------------------------------- /spec/truffle/interop/fixtures/no_magic.rb: -------------------------------------------------------------------------------- 1 | __ENCODING__.name 2 | -------------------------------------------------------------------------------- /test/mri/tests/json/fixtures/fail19.json: -------------------------------------------------------------------------------- 1 | {"Missing colon" null} -------------------------------------------------------------------------------- /test/mri/tests/json/fixtures/fail20.json: -------------------------------------------------------------------------------- 1 | {"Double colon":: null} -------------------------------------------------------------------------------- /test/mri/tests/json/fixtures/fail23.json: -------------------------------------------------------------------------------- 1 | ["Bad value", truth] -------------------------------------------------------------------------------- /test/mri/tests/json/fixtures/fail28.json: -------------------------------------------------------------------------------- 1 | ["line\ 2 | break"] -------------------------------------------------------------------------------- /test/mri/tests/json/fixtures/fail5.json: -------------------------------------------------------------------------------- 1 | ["double extra comma",,] -------------------------------------------------------------------------------- /test/mri/tests/json/fixtures/fail9.json: -------------------------------------------------------------------------------- 1 | {"Extra comma": true,} -------------------------------------------------------------------------------- /bench/benchmark-interface/tests/expected/bench9000-deep.txt: -------------------------------------------------------------------------------- 1 | XXX 2 | -------------------------------------------------------------------------------- /bench/benchmark-interface/tests/expected/benchmark-deep.txt: -------------------------------------------------------------------------------- 1 | XXX 2 | -------------------------------------------------------------------------------- /bench/benchmark-interface/tests/expected/interface-deep.txt: -------------------------------------------------------------------------------- 1 | XXX 2 | -------------------------------------------------------------------------------- /bench/benchmark-interface/tests/expected/rbench-deep.txt: -------------------------------------------------------------------------------- 1 | XXX 2 | -------------------------------------------------------------------------------- /bench/benchmark-interface/tests/expected/readme-deep.txt: -------------------------------------------------------------------------------- 1 | XXX 2 | -------------------------------------------------------------------------------- /bench/benchmark-interface/tests/expected/script-deep.txt: -------------------------------------------------------------------------------- 1 | XXX 2 | -------------------------------------------------------------------------------- /lib/ruby/gems/2.6.0/gems/did_you_mean-1.3.0/.ruby-version: -------------------------------------------------------------------------------- 1 | 2.5.0 2 | -------------------------------------------------------------------------------- /spec/ruby/command_line/fixtures/verbose.rb: -------------------------------------------------------------------------------- 1 | puts $VERBOSE.inspect 2 | -------------------------------------------------------------------------------- /spec/ruby/fixtures/code/a/load_fixture.so: -------------------------------------------------------------------------------- 1 | ScratchPad << :ext_so 2 | -------------------------------------------------------------------------------- /spec/ruby/fixtures/code/b/load_fixture.rb: -------------------------------------------------------------------------------- 1 | ScratchPad << :loaded 2 | -------------------------------------------------------------------------------- /spec/ruby/fixtures/code/file_fixture.rb: -------------------------------------------------------------------------------- 1 | ScratchPad << __FILE__ 2 | -------------------------------------------------------------------------------- /spec/ruby/fixtures/code/load_fixture.dll: -------------------------------------------------------------------------------- 1 | ScratchPad << :ext_dll 2 | -------------------------------------------------------------------------------- /spec/ruby/fixtures/code/load_fixture.rb: -------------------------------------------------------------------------------- 1 | ScratchPad << :loaded 2 | -------------------------------------------------------------------------------- /spec/ruby/fixtures/code/load_fixture.so: -------------------------------------------------------------------------------- 1 | ScratchPad << :ext_so 2 | -------------------------------------------------------------------------------- /spec/ruby/language/fixtures/file.rb: -------------------------------------------------------------------------------- 1 | ScratchPad.record __FILE__ 2 | -------------------------------------------------------------------------------- /spec/ruby/library/scanf/io/fixtures/helloworld.txt: -------------------------------------------------------------------------------- 1 | hello world 2 | -------------------------------------------------------------------------------- /spec/truffle/interop/fixtures/eval_file.rb: -------------------------------------------------------------------------------- 1 | $eval_file = true 2 | -------------------------------------------------------------------------------- /test/mri/tests/colors: -------------------------------------------------------------------------------- 1 | pass=36;7 2 | fail=31;1;7 3 | skip=33;1 4 | -------------------------------------------------------------------------------- /test/mri/tests/json/fixtures/fail6.json: -------------------------------------------------------------------------------- 1 | [ , "<-- missing value"] -------------------------------------------------------------------------------- /test/mri/tests/json/fixtures/fail7.json: -------------------------------------------------------------------------------- 1 | ["Comma after the close"], -------------------------------------------------------------------------------- /test/truffle/cexts/method/lib/method.rb: -------------------------------------------------------------------------------- 1 | require 'method/method' 2 | -------------------------------------------------------------------------------- /test/truffle/cexts/module/lib/module.rb: -------------------------------------------------------------------------------- 1 | require 'module/module' 2 | -------------------------------------------------------------------------------- /test/truffle/ecosystem/blog/public/apple-touch-icon-precomposed.png: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/truffle/integration/irb/input.txt: -------------------------------------------------------------------------------- 1 | 14 2 | 14 + 2 3 | exit 4 | -------------------------------------------------------------------------------- /bench/benchmark-interface/tests/expected/bench9000micro-deep.txt: -------------------------------------------------------------------------------- 1 | XXX 2 | -------------------------------------------------------------------------------- /bench/benchmark-interface/tests/expected/mri-simple.txt: -------------------------------------------------------------------------------- 1 | mri 2 | XXX 3 | -------------------------------------------------------------------------------- /lib/truffle/jruby.rb: -------------------------------------------------------------------------------- 1 | # Dummy because libraries do: require 'jruby' 2 | -------------------------------------------------------------------------------- /spec/mspec/spec/runner/filters/a.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | A#: 3 | - a 4 | - aa 5 | -------------------------------------------------------------------------------- /spec/ruby/command_line/fixtures/names.txt: -------------------------------------------------------------------------------- 1 | alice 2 | bob 3 | james 4 | -------------------------------------------------------------------------------- /spec/ruby/command_line/fixtures/rubyopt.rb: -------------------------------------------------------------------------------- 1 | puts "rubyopt.rb required" 2 | -------------------------------------------------------------------------------- /spec/ruby/core/binding/fixtures/irb.rb: -------------------------------------------------------------------------------- 1 | a = 10 2 | 3 | binding.irb 4 | -------------------------------------------------------------------------------- /spec/ruby/fixtures/code/a/load_fixture.dll: -------------------------------------------------------------------------------- 1 | ScratchPad << :ext_dll 2 | -------------------------------------------------------------------------------- /spec/ruby/fixtures/code/a/load_fixture.dylib: -------------------------------------------------------------------------------- 1 | ScratchPad << :ext_dylib 2 | -------------------------------------------------------------------------------- /spec/ruby/fixtures/code/gem/load_fixture.rb: -------------------------------------------------------------------------------- 1 | ScratchPad << :loaded_gem 2 | -------------------------------------------------------------------------------- /spec/ruby/fixtures/code/load_ext_fixture.rb: -------------------------------------------------------------------------------- 1 | ScratchPad << :loaded 2 | -------------------------------------------------------------------------------- /spec/ruby/fixtures/code/load_fixture.bundle: -------------------------------------------------------------------------------- 1 | ScratchPad << :ext_bundle 2 | -------------------------------------------------------------------------------- /spec/ruby/fixtures/code/load_fixture.dylib: -------------------------------------------------------------------------------- 1 | ScratchPad << :ext_dylib 2 | -------------------------------------------------------------------------------- /spec/ruby/fixtures/code/load_fixture.ext: -------------------------------------------------------------------------------- 1 | ScratchPad << :no_rb_ext 2 | -------------------------------------------------------------------------------- /spec/ruby/fixtures/code/load_fixture.ext.dll: -------------------------------------------------------------------------------- 1 | ScratchPad << :ext_dll 2 | -------------------------------------------------------------------------------- /spec/ruby/fixtures/code/load_fixture.ext.rb: -------------------------------------------------------------------------------- 1 | ScratchPad << :loaded 2 | -------------------------------------------------------------------------------- /spec/ruby/fixtures/code/load_fixture.ext.so: -------------------------------------------------------------------------------- 1 | ScratchPad << :ext_so 2 | -------------------------------------------------------------------------------- /spec/ruby/library/socket/fixtures/send_io.txt: -------------------------------------------------------------------------------- 1 | This data is magic. 2 | -------------------------------------------------------------------------------- /spec/tags/core/argf/lineno_tags.txt: -------------------------------------------------------------------------------- 1 | slow:ARGF.lineno aliases to $. 2 | -------------------------------------------------------------------------------- /spec/tags/core/array/max_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Array#max is defined on Array 2 | -------------------------------------------------------------------------------- /spec/tags/core/array/min_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Array#min is defined on Array 2 | -------------------------------------------------------------------------------- /spec/tags/core/gc/start_tags.txt: -------------------------------------------------------------------------------- 1 | slow:GC.start always returns nil 2 | -------------------------------------------------------------------------------- /spec/tags/core/kernel/match_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Kernel#=~ is deprecated 2 | -------------------------------------------------------------------------------- /spec/tags/library/cgi/escape_tags.txt: -------------------------------------------------------------------------------- 1 | fails:CGI.escape escapes tilde 2 | -------------------------------------------------------------------------------- /spec/tags/library/erb/util/u_tags.txt: -------------------------------------------------------------------------------- 1 | fails:ERB::Util.u escapes tilde 2 | -------------------------------------------------------------------------------- /spec/truffle/interop/fixtures/eval_file_id.rb: -------------------------------------------------------------------------------- 1 | $eval_file_id = true 2 | -------------------------------------------------------------------------------- /test/mri/tests/cext-c/load/dot.dot/dot.dot.c: -------------------------------------------------------------------------------- 1 | void Init_dot(void) {} 2 | -------------------------------------------------------------------------------- /test/mri/tests/json/fixtures/fail11.json: -------------------------------------------------------------------------------- 1 | {"Illegal expression": 1 + 2} -------------------------------------------------------------------------------- /test/mri/tests/json/fixtures/fail12.json: -------------------------------------------------------------------------------- 1 | {"Illegal invocation": alert()} -------------------------------------------------------------------------------- /test/mri/tests/json/fixtures/fail14.json: -------------------------------------------------------------------------------- 1 | {"Numbers cannot be hex": 0x14} -------------------------------------------------------------------------------- /test/mri/tests/json/fixtures/fail21.json: -------------------------------------------------------------------------------- 1 | {"Comma instead of colon", null} -------------------------------------------------------------------------------- /test/mri/tests/json/fixtures/fail22.json: -------------------------------------------------------------------------------- 1 | ["Colon instead of comma": false] -------------------------------------------------------------------------------- /test/mri/tests/json/fixtures/fail25.json: -------------------------------------------------------------------------------- 1 | ["tab character in string "] 2 | -------------------------------------------------------------------------------- /test/mri/tests/json/fixtures/pass16.json: -------------------------------------------------------------------------------- 1 | ["Illegal backslash escape: \'"] -------------------------------------------------------------------------------- /test/mri/tests/rubygems/foo/discover.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | -------------------------------------------------------------------------------- /test/mri/tests/rubygems/sff/discover.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | -------------------------------------------------------------------------------- /test/mri/tests/webrick/.htaccess: -------------------------------------------------------------------------------- 1 | this file should not be published. 2 | -------------------------------------------------------------------------------- /test/truffle/cexts/globals/lib/globals.rb: -------------------------------------------------------------------------------- 1 | require 'globals/globals' 2 | -------------------------------------------------------------------------------- /test/truffle/cexts/minimum/lib/minimum.rb: -------------------------------------------------------------------------------- 1 | require 'minimum/minimum' 2 | -------------------------------------------------------------------------------- /bench/benchmark-interface/tests/expected/long-simple.txt: -------------------------------------------------------------------------------- 1 | sleep 2 | XXX 3 | -------------------------------------------------------------------------------- /lib/mri/drb.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: false 2 | require 'drb/drb' 3 | 4 | -------------------------------------------------------------------------------- /spec/ruby/command_line/fixtures/bin/launcher.rb: -------------------------------------------------------------------------------- 1 | #!ruby 2 | puts 'success' 3 | -------------------------------------------------------------------------------- /spec/ruby/command_line/fixtures/change_directory_script.rb: -------------------------------------------------------------------------------- 1 | print Dir.pwd 2 | -------------------------------------------------------------------------------- /spec/ruby/core/env/indexes_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../../spec_helper' 2 | -------------------------------------------------------------------------------- /spec/ruby/core/env/indices_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../../spec_helper' 2 | -------------------------------------------------------------------------------- /spec/ruby/core/env/rehash_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../../spec_helper' 2 | -------------------------------------------------------------------------------- /spec/ruby/core/module/fixtures/autoload_w2.rb: -------------------------------------------------------------------------------- 1 | ScratchPad.record :loaded 2 | -------------------------------------------------------------------------------- /spec/ruby/fixtures/code/a/load_fixture.bundle: -------------------------------------------------------------------------------- 1 | ScratchPad << :ext_bundle 2 | -------------------------------------------------------------------------------- /spec/ruby/fixtures/code/load_fixture.ext.bundle: -------------------------------------------------------------------------------- 1 | ScratchPad << :ext_bundle 2 | -------------------------------------------------------------------------------- /spec/ruby/fixtures/code/load_fixture.ext.dylib: -------------------------------------------------------------------------------- 1 | ScratchPad << :ext_dylib 2 | -------------------------------------------------------------------------------- /spec/ruby/fixtures/code/load_fixture_and__FILE__.rb: -------------------------------------------------------------------------------- 1 | ScratchPad << __FILE__ 2 | -------------------------------------------------------------------------------- /spec/ruby/fixtures/code/raise_fixture.rb: -------------------------------------------------------------------------------- 1 | raise "Exception loading a file" 2 | -------------------------------------------------------------------------------- /spec/ruby/fixtures/code/symlink/symlink2/symlink2.rb: -------------------------------------------------------------------------------- 1 | ScratchPad << :loaded 2 | -------------------------------------------------------------------------------- /spec/ruby/language/fixtures/utf8-bom.rb: -------------------------------------------------------------------------------- 1 | # encoding: utf-8 2 | puts 'hello' 3 | -------------------------------------------------------------------------------- /spec/ruby/language/predefined/fixtures/data_only.rb: -------------------------------------------------------------------------------- 1 | __END__ 2 | data only 3 | -------------------------------------------------------------------------------- /spec/tags/core/argf/close_tags.txt: -------------------------------------------------------------------------------- 1 | slow:ARGF.close does not close STDIN 2 | -------------------------------------------------------------------------------- /spec/tags/core/module/attr_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Module#attr is a public method 2 | -------------------------------------------------------------------------------- /test/mri/excludes/TestCase.rb: -------------------------------------------------------------------------------- 1 | exclude :test_case, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/TestKconv.rb: -------------------------------------------------------------------------------- 1 | exclude :test_kconv, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/TestLogger.rb: -------------------------------------------------------------------------------- 1 | exclude :test_add, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/TestMatrix.rb: -------------------------------------------------------------------------------- 1 | exclude :test_det, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/TestVM.rb: -------------------------------------------------------------------------------- 1 | exclude :test_at_exit, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/tests/cext-c/vm/extconf.rb: -------------------------------------------------------------------------------- 1 | create_makefile('-test-/vm/at_exit') 2 | -------------------------------------------------------------------------------- /test/mri/tests/json/fixtures/fail3.json: -------------------------------------------------------------------------------- 1 | {unquoted_key: "keys must be quoted"} -------------------------------------------------------------------------------- /test/mri/tests/json/fixtures/pass15.json: -------------------------------------------------------------------------------- 1 | ["Illegal backslash escape: \x15"] -------------------------------------------------------------------------------- /test/mri/tests/json/fixtures/pass17.json: -------------------------------------------------------------------------------- 1 | ["Illegal backslash escape: \017"] -------------------------------------------------------------------------------- /test/mri/tests/json/fixtures/pass26.json: -------------------------------------------------------------------------------- 1 | ["tab\ character\ in\ string\ "] -------------------------------------------------------------------------------- /test/truffle/cexts/xopenssl/expected.txt: -------------------------------------------------------------------------------- 1 | 5d41402abc4b2a76b9719d911017c592 2 | -------------------------------------------------------------------------------- /test/truffle/cexts/xopenssl/lib/xopenssl.rb: -------------------------------------------------------------------------------- 1 | require 'xopenssl/xopenssl' 2 | -------------------------------------------------------------------------------- /test/truffle/ecosystem/blog/config/master.key: -------------------------------------------------------------------------------- 1 | c4bc70ac054136fee1322bfedd2610a6 -------------------------------------------------------------------------------- /bench/benchmark-interface/Gemfile: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | gemspec 3 | -------------------------------------------------------------------------------- /lib/mri/thwait/version.rb: -------------------------------------------------------------------------------- 1 | class ThreadsWait 2 | VERSION = "0.1.0" 3 | end 4 | -------------------------------------------------------------------------------- /spec/mspec/tool/sync/.gitignore: -------------------------------------------------------------------------------- 1 | /jruby 2 | /rubinius 3 | /ruby 4 | /truffleruby 5 | -------------------------------------------------------------------------------- /spec/ruby/command_line/fixtures/conditional_range.txt: -------------------------------------------------------------------------------- 1 | 1 2 | 2 3 | 3 4 | 4 5 | 5 6 | -------------------------------------------------------------------------------- /spec/ruby/fixtures/math/common.rb: -------------------------------------------------------------------------------- 1 | class IncludesMath 2 | include Math 3 | end 4 | -------------------------------------------------------------------------------- /spec/ruby/language/fixtures/argv_encoding.rb: -------------------------------------------------------------------------------- 1 | p ARGV.map { |a| a.encoding.name } 2 | -------------------------------------------------------------------------------- /spec/ruby/language/fixtures/begin_file.rb: -------------------------------------------------------------------------------- 1 | BEGIN { 2 | puts __FILE__ 3 | } 4 | -------------------------------------------------------------------------------- /spec/ruby/language/fixtures/utf8-nobom.rb: -------------------------------------------------------------------------------- 1 | # encoding: utf-8 2 | puts 'hello' 3 | -------------------------------------------------------------------------------- /spec/ruby/library/yaml/fixtures/test_yaml.yml: -------------------------------------------------------------------------------- 1 | project: 2 | name: RubySpec 3 | -------------------------------------------------------------------------------- /spec/ruby/shared/file/setgid.rb: -------------------------------------------------------------------------------- 1 | describe :file_setgid, shared: true do 2 | end 3 | -------------------------------------------------------------------------------- /spec/ruby/shared/file/setuid.rb: -------------------------------------------------------------------------------- 1 | describe :file_setuid, shared: true do 2 | end 3 | -------------------------------------------------------------------------------- /spec/tags/core/argf/rewind_tags.txt: -------------------------------------------------------------------------------- 1 | slow:ARGF.rewind resets ARGF.lineno to 0 2 | -------------------------------------------------------------------------------- /spec/tags/core/gc/count_tags.txt: -------------------------------------------------------------------------------- 1 | slow:GC.count increases as collections are run 2 | -------------------------------------------------------------------------------- /spec/tags/core/hash/rehash_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Hash#rehash removes duplicate keys 2 | -------------------------------------------------------------------------------- /spec/tags/core/io/sync_tags.txt: -------------------------------------------------------------------------------- 1 | fails:IO#sync is false by default for STDOUT 2 | -------------------------------------------------------------------------------- /spec/tags/core/math/gamma_tags.txt: -------------------------------------------------------------------------------- 1 | aot:Math.gamma returns -infinity given -0.0 2 | -------------------------------------------------------------------------------- /spec/tags/language/range_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Literal Ranges creates endless ranges 2 | -------------------------------------------------------------------------------- /spec/tags/library/cgi/cookie/to_s_tags.txt: -------------------------------------------------------------------------------- 1 | fails:CGI::Cookie#to_s escapes tilde 2 | -------------------------------------------------------------------------------- /spec/tags/library/etc/struct_group_tags.txt: -------------------------------------------------------------------------------- 1 | slow:Struct::Group returns group id 2 | -------------------------------------------------------------------------------- /spec/tags/optional/capi/gc_tags.txt: -------------------------------------------------------------------------------- 1 | slow:CApiGCSpecs rb_gc increases gc count 2 | -------------------------------------------------------------------------------- /spec/tags/truffle/irb/arrows_tags.txt: -------------------------------------------------------------------------------- 1 | slow:IRB supports using arrow keys first 2 | -------------------------------------------------------------------------------- /test/mri/excludes/TC_Enumerable.rb: -------------------------------------------------------------------------------- 1 | exclude :test_to_set, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/TestCSV/Row.rb: -------------------------------------------------------------------------------- 1 | exclude :test_to_hash, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/TestComparable.rb: -------------------------------------------------------------------------------- 1 | exclude :test_clamp, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/TestDateAttr.rb: -------------------------------------------------------------------------------- 1 | exclude :test_nth_kday, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/TestErbCommand.rb: -------------------------------------------------------------------------------- 1 | exclude :test_var, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/TestFnmatch.rb: -------------------------------------------------------------------------------- 1 | exclude :test_unicode, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/TestIONonblock.rb: -------------------------------------------------------------------------------- 1 | exclude :test_flush, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/TestIterator.rb: -------------------------------------------------------------------------------- 1 | exclude :test_ljump, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/TestRDocAlias.rb: -------------------------------------------------------------------------------- 1 | exclude :test_to_s, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/TestRDocExtend.rb: -------------------------------------------------------------------------------- 1 | exclude :test_module, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/TestRDocParserRd.rb: -------------------------------------------------------------------------------- 1 | exclude :test_scan, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/TestRakeNameSpace.rb: -------------------------------------------------------------------------------- 1 | exclude :test_scope, "needs investigation" -------------------------------------------------------------------------------- /test/mri/excludes/TestStringchar.rb: -------------------------------------------------------------------------------- 1 | exclude :test_char, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/TestUTF32.rb: -------------------------------------------------------------------------------- 1 | exclude :test_mbc_newline, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/TestWhileuntil.rb: -------------------------------------------------------------------------------- 1 | exclude :test_while, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/tests/cext-c/dln/empty/empty.c: -------------------------------------------------------------------------------- 1 | void 2 | Init_empty(void) 3 | { 4 | } 5 | -------------------------------------------------------------------------------- /test/mri/tests/cext-c/scan_args/extconf.rb: -------------------------------------------------------------------------------- 1 | create_makefile("-test-/scan_args") 2 | -------------------------------------------------------------------------------- /test/mri/tests/json/fixtures/fail13.json: -------------------------------------------------------------------------------- 1 | {"Numbers cannot have leading zeroes": 013} -------------------------------------------------------------------------------- /test/mri/tests/rubygems/bad_rake.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | exit 1 3 | -------------------------------------------------------------------------------- /test/mri/tests/rubygems/good_rake.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | exit 0 3 | -------------------------------------------------------------------------------- /test/truffle/cexts/backtraces/lib/backtraces.rb: -------------------------------------------------------------------------------- 1 | require 'backtraces/backtraces' 2 | -------------------------------------------------------------------------------- /bench/benchmark-interface/tests/expected/bench9000-simple.txt: -------------------------------------------------------------------------------- 1 | bench9000 2 | XXX 3 | -------------------------------------------------------------------------------- /bench/psd.rb/psd.rb/lib/psd/version.rb: -------------------------------------------------------------------------------- 1 | class PSD 2 | VERSION = "2.1.2" 3 | end 4 | -------------------------------------------------------------------------------- /lib/ruby/gems/2.6.0/gems/net-telnet-0.2.0/lib/net-telnet.rb: -------------------------------------------------------------------------------- 1 | require 'net/telnet' 2 | -------------------------------------------------------------------------------- /spec/ruby/core/exception/initialize_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../../spec_helper' 2 | -------------------------------------------------------------------------------- /spec/ruby/core/main/fixtures/wrapped_include.rb: -------------------------------------------------------------------------------- 1 | include MainSpecs::WrapIncludeModule 2 | -------------------------------------------------------------------------------- /spec/ruby/core/module/fixtures/autoload.rb: -------------------------------------------------------------------------------- 1 | $m.const_set(:AAA, "test") unless $m.nil? 2 | -------------------------------------------------------------------------------- /spec/ruby/core/module/fixtures/constants_autoload_a.rb: -------------------------------------------------------------------------------- 1 | module CSAutoloadA 2 | end 3 | -------------------------------------------------------------------------------- /spec/ruby/core/module/fixtures/constants_autoload_b.rb: -------------------------------------------------------------------------------- 1 | module CSAutoloadB 2 | end 3 | -------------------------------------------------------------------------------- /spec/ruby/fixtures/code/symlink/symlink1.rb: -------------------------------------------------------------------------------- 1 | require_relative 'symlink2/symlink2' 2 | -------------------------------------------------------------------------------- /spec/ruby/library/zlib/deflate/flush_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../../../spec_helper' 2 | -------------------------------------------------------------------------------- /spec/ruby/library/zlib/deflate/new_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../../../spec_helper' 2 | -------------------------------------------------------------------------------- /spec/ruby/library/zlib/gzipfile/crc_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../../../spec_helper' 2 | -------------------------------------------------------------------------------- /spec/ruby/library/zlib/gzipfile/sync_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../../../spec_helper' 2 | -------------------------------------------------------------------------------- /spec/ruby/library/zlib/gzipfile/wrap_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../../../spec_helper' 2 | -------------------------------------------------------------------------------- /spec/ruby/library/zlib/inflate/new_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../../../spec_helper' 2 | -------------------------------------------------------------------------------- /spec/ruby/library/zlib/inflate/sync_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../../../spec_helper' 2 | -------------------------------------------------------------------------------- /spec/ruby/library/zlib/zlib_version_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../../spec_helper' 2 | -------------------------------------------------------------------------------- /spec/ruby/library/zlib/zstream/close_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../../../spec_helper' 2 | -------------------------------------------------------------------------------- /spec/ruby/library/zlib/zstream/end_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../../../spec_helper' 2 | -------------------------------------------------------------------------------- /spec/ruby/library/zlib/zstream/ended_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../../../spec_helper' 2 | -------------------------------------------------------------------------------- /spec/ruby/library/zlib/zstream/reset_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../../../spec_helper' 2 | -------------------------------------------------------------------------------- /spec/tags/core/dir/pwd_tags.txt: -------------------------------------------------------------------------------- 1 | slow:Dir.pwd returns the current working directory 2 | -------------------------------------------------------------------------------- /spec/tags/core/fiber/resume_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Fiber#resume executes the ensure clause 2 | -------------------------------------------------------------------------------- /spec/tags/core/file/pipe_tags.txt: -------------------------------------------------------------------------------- 1 | slow:File.pipe? returns true if the file is a pipe 2 | -------------------------------------------------------------------------------- /spec/tags/core/kernel/__send___tags.txt: -------------------------------------------------------------------------------- 1 | fails:Kernel#__send__ has an arity of -1 2 | -------------------------------------------------------------------------------- /spec/tags/core/method/clone_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Method#clone returns a copy of the method 2 | -------------------------------------------------------------------------------- /spec/tags/core/module/using_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Module#using raises error in method scope 2 | -------------------------------------------------------------------------------- /spec/tags/core/time/gmtoff_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Time#gmtoff returns offset as Rational 2 | -------------------------------------------------------------------------------- /spec/tags/library/English/English_tags.txt: -------------------------------------------------------------------------------- 1 | slow:English aliases $CHILD_STATUS to $? 2 | -------------------------------------------------------------------------------- /spec/tags/library/delegate/delegator/eql_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Delegator#eql? is delegated 2 | -------------------------------------------------------------------------------- /spec/tags/truffle/gc/time_tags.txt: -------------------------------------------------------------------------------- 1 | slow:GC.time increases as collections are run 2 | -------------------------------------------------------------------------------- /spec/tags/truffle/irb/interrupt_tags.txt: -------------------------------------------------------------------------------- 1 | slow:IRB can be interrupted with Ctrl+C 2 | -------------------------------------------------------------------------------- /spec/truffle/interop/fixtures/big5_magic.rb: -------------------------------------------------------------------------------- 1 | # encoding: big5 2 | __ENCODING__.name 3 | -------------------------------------------------------------------------------- /spec/truffle/interop/fixtures/utf8_magic.rb: -------------------------------------------------------------------------------- 1 | # encoding: utf-8 2 | __ENCODING__.name 3 | -------------------------------------------------------------------------------- /test/mri/excludes/Bug/TestException.rb: -------------------------------------------------------------------------------- 1 | exclude :test_ensured, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/RSS/TestDublinCore.rb: -------------------------------------------------------------------------------- 1 | exclude :test_parser, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/RSS/TestITunes.rb: -------------------------------------------------------------------------------- 1 | exclude :test_explicit, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/Row/DifferentOFS.rb: -------------------------------------------------------------------------------- 1 | exclude :test_to_hash, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/TestDateMarshal.rb: -------------------------------------------------------------------------------- 1 | exclude :test_memsize, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/TestDigest/TestBase.rb: -------------------------------------------------------------------------------- 1 | exclude :"test_base", "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/TestHash/TestDelete.rb: -------------------------------------------------------------------------------- 1 | exclude :test_delete, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/TestIRB/TestRubyLex.rb: -------------------------------------------------------------------------------- 1 | exclude :test_prompt, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/TestISO8859.rb: -------------------------------------------------------------------------------- 1 | exclude :test_iso_8859_5, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/TestRDocComment.rb: -------------------------------------------------------------------------------- 1 | exclude :test_parse_rd, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/TestRDocInclude.rb: -------------------------------------------------------------------------------- 1 | exclude :test_module, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/TestRDocNormalClass.rb: -------------------------------------------------------------------------------- 1 | exclude :test_aref, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/TestRDocNormalModule.rb: -------------------------------------------------------------------------------- 1 | exclude :test_aref, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/TestRakeTaskArguments.rb: -------------------------------------------------------------------------------- 1 | exclude :test_has_key, "needs investigation" -------------------------------------------------------------------------------- /test/mri/excludes/TestZlibGzipFile.rb: -------------------------------------------------------------------------------- 1 | exclude :test_lineno, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/Test_DotDot.rb: -------------------------------------------------------------------------------- 1 | exclude :test_load_dot_dot, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/tests/cext-c/load/protect/extconf.rb: -------------------------------------------------------------------------------- 1 | create_makefile('-test-/load/protect') 2 | -------------------------------------------------------------------------------- /test/mri/tests/cext-c/win32/dln/libdlntest.def: -------------------------------------------------------------------------------- 1 | EXPORTS 2 | dlntest_ordinal @1 NONAME 3 | -------------------------------------------------------------------------------- /lib/mri/e2mmap/version.rb: -------------------------------------------------------------------------------- 1 | module Exception2MessageMapper 2 | VERSION = "0.1.0" 3 | end 4 | -------------------------------------------------------------------------------- /lib/mri/optionparser.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: false 2 | require_relative 'optparse' 3 | -------------------------------------------------------------------------------- /spec/ruby/command_line/fixtures/full_names.txt: -------------------------------------------------------------------------------- 1 | alice jones 2 | bob field 3 | james grey 4 | -------------------------------------------------------------------------------- /spec/ruby/core/module/fixtures/autoload_empty.rb: -------------------------------------------------------------------------------- 1 | # This file is left empty on purpose 2 | -------------------------------------------------------------------------------- /spec/ruby/language/fixtures/no_magic_comment.rb: -------------------------------------------------------------------------------- 1 | $magic_comment_result = __ENCODING__.name 2 | -------------------------------------------------------------------------------- /spec/ruby/language/predefined/fixtures/data4.rb: -------------------------------------------------------------------------------- 1 | # nothing 2 | 3 | __END__ 4 | data 4 5 | -------------------------------------------------------------------------------- /spec/ruby/language/predefined/fixtures/print_data.rb: -------------------------------------------------------------------------------- 1 | at_exit { 2 | puts DATA.read 3 | } 4 | -------------------------------------------------------------------------------- /spec/ruby/library/coverage/fixtures/start_coverage.rb: -------------------------------------------------------------------------------- 1 | 2 + 2 2 | Coverage.start 3 | 1 + 1 4 | -------------------------------------------------------------------------------- /spec/ruby/library/zlib/deflate/append_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../../../spec_helper' 2 | -------------------------------------------------------------------------------- /spec/ruby/library/zlib/gzipfile/finish_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../../../spec_helper' 2 | -------------------------------------------------------------------------------- /spec/ruby/library/zlib/gzipfile/level_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../../../spec_helper' 2 | -------------------------------------------------------------------------------- /spec/ruby/library/zlib/gzipfile/mtime_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../../../spec_helper' 2 | -------------------------------------------------------------------------------- /spec/ruby/library/zlib/gzipfile/os_code_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../../../spec_helper' 2 | -------------------------------------------------------------------------------- /spec/ruby/library/zlib/gzipfile/to_io_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../../../spec_helper' 2 | -------------------------------------------------------------------------------- /spec/ruby/library/zlib/gzipreader/lineno_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../../../spec_helper' 2 | -------------------------------------------------------------------------------- /spec/ruby/library/zlib/gzipreader/new_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../../../spec_helper' 2 | -------------------------------------------------------------------------------- /spec/ruby/library/zlib/gzipreader/open_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../../../spec_helper' 2 | -------------------------------------------------------------------------------- /spec/ruby/library/zlib/gzipreader/tell_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../../../spec_helper' 2 | -------------------------------------------------------------------------------- /spec/ruby/library/zlib/gzipreader/unused_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../../../spec_helper' 2 | -------------------------------------------------------------------------------- /spec/ruby/library/zlib/gzipwriter/comment_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../../../spec_helper' 2 | -------------------------------------------------------------------------------- /spec/ruby/library/zlib/gzipwriter/flush_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../../../spec_helper' 2 | -------------------------------------------------------------------------------- /spec/ruby/library/zlib/gzipwriter/new_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../../../spec_helper' 2 | -------------------------------------------------------------------------------- /spec/ruby/library/zlib/gzipwriter/open_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../../../spec_helper' 2 | -------------------------------------------------------------------------------- /spec/ruby/library/zlib/gzipwriter/pos_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../../../spec_helper' 2 | -------------------------------------------------------------------------------- /spec/ruby/library/zlib/gzipwriter/print_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../../../spec_helper' 2 | -------------------------------------------------------------------------------- /spec/ruby/library/zlib/gzipwriter/printf_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../../../spec_helper' 2 | -------------------------------------------------------------------------------- /spec/ruby/library/zlib/gzipwriter/putc_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../../../spec_helper' 2 | -------------------------------------------------------------------------------- /spec/ruby/library/zlib/gzipwriter/puts_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../../../spec_helper' 2 | -------------------------------------------------------------------------------- /spec/ruby/library/zlib/gzipwriter/tell_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../../../spec_helper' 2 | -------------------------------------------------------------------------------- /spec/ruby/library/zlib/inflate/sync_point_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../../../spec_helper' 2 | -------------------------------------------------------------------------------- /spec/ruby/library/zlib/zstream/closed_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../../../spec_helper' 2 | -------------------------------------------------------------------------------- /spec/ruby/library/zlib/zstream/finish_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../../../spec_helper' 2 | -------------------------------------------------------------------------------- /spec/ruby/library/zlib/zstream/finished_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../../../spec_helper' 2 | -------------------------------------------------------------------------------- /spec/ruby/library/zlib/zstream/stream_end_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../../../spec_helper' 2 | -------------------------------------------------------------------------------- /spec/ruby/library/zlib/zstream/total_in_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../../../spec_helper' 2 | -------------------------------------------------------------------------------- /spec/ruby/library/zlib/zstream/total_out_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../../../spec_helper' 2 | -------------------------------------------------------------------------------- /spec/tags/core/array/equal_value_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Array#== returns false for [NaN] == [NaN] 2 | -------------------------------------------------------------------------------- /spec/tags/core/continuation/new_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Continuation.new raises a NoMethodError 2 | -------------------------------------------------------------------------------- /spec/tags/core/dir/getwd_tags.txt: -------------------------------------------------------------------------------- 1 | slow:Dir.getwd returns the current working directory 2 | -------------------------------------------------------------------------------- /spec/tags/core/file/socket_tags.txt: -------------------------------------------------------------------------------- 1 | ci:File.socket? returns true if the file is a socket 2 | -------------------------------------------------------------------------------- /spec/tags/core/gc/garbage_collect_tags.txt: -------------------------------------------------------------------------------- 1 | slow:GC#garbage_collect always returns nil 2 | -------------------------------------------------------------------------------- /spec/tags/core/module/alias_method_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Module#alias_method is a public method 2 | -------------------------------------------------------------------------------- /spec/tags/core/module/attr_reader_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Module#attr_reader is a public method 2 | -------------------------------------------------------------------------------- /spec/tags/core/module/attr_writer_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Module#attr_writer is a public method 2 | -------------------------------------------------------------------------------- /spec/tags/core/module/include_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Module#include doesn't accept no-arguments 2 | -------------------------------------------------------------------------------- /spec/tags/core/module/undef_method_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Module#undef_method is a public method 2 | -------------------------------------------------------------------------------- /spec/tags/core/regexp/source_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Regexp#source will remove escape characters 2 | -------------------------------------------------------------------------------- /spec/tags/core/time/gmt_offset_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Time#gmt_offset returns offset as Rational 2 | -------------------------------------------------------------------------------- /spec/tags/core/time/utc_offset_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Time#utc_offset returns offset as Rational 2 | -------------------------------------------------------------------------------- /spec/tags/core/tracepoint/event_tags.txt: -------------------------------------------------------------------------------- 1 | fails:TracePoint#event returns the type of event 2 | -------------------------------------------------------------------------------- /spec/tags/library/erb/util/url_encode_tags.txt: -------------------------------------------------------------------------------- 1 | fails:ERB::Util.url_encode escapes tilde 2 | -------------------------------------------------------------------------------- /spec/tags/library/set/classify_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Set#classify yields each Object in self 2 | -------------------------------------------------------------------------------- /spec/tags/library/set/divide_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Set#divide yields each Object to the block 2 | -------------------------------------------------------------------------------- /spec/tags/library/tempfile/length_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Tempfile#length returns the size of self 2 | -------------------------------------------------------------------------------- /spec/tags/library/tempfile/size_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Tempfile#size returns the size of self 2 | -------------------------------------------------------------------------------- /spec/tags/truffle/constants_tags.txt: -------------------------------------------------------------------------------- 1 | slow:Truffle has no common constants with Object 2 | -------------------------------------------------------------------------------- /spec/truffle/interop/fixtures/usascii_magic.rb: -------------------------------------------------------------------------------- 1 | # encoding: us-ascii 2 | __ENCODING__.name 3 | -------------------------------------------------------------------------------- /test/mri/excludes/Emoji/TestRenameSJIS.rb: -------------------------------------------------------------------------------- 1 | exclude :test_shift_jis, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/Psych/TestClass.rb: -------------------------------------------------------------------------------- 1 | exclude :test_cycle_module, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/REXMLTests/BaseTester.rb: -------------------------------------------------------------------------------- 1 | exclude :"test_accents", "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/RSS/TestMakerITunes.rb: -------------------------------------------------------------------------------- 1 | exclude :test_explicit, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/TestArray/TestResize.rb: -------------------------------------------------------------------------------- 1 | exclude :test_expand, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/TestAssignment.rb: -------------------------------------------------------------------------------- 1 | exclude :test_massign_in_cond, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/TestCSV/Parsing.rb: -------------------------------------------------------------------------------- 1 | exclude :test_malformed_csv, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/TestDigest/TestSHA2.rb: -------------------------------------------------------------------------------- 1 | exclude :"test_s_file", "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/TestFiddle.rb: -------------------------------------------------------------------------------- 1 | exclude :test_windows_constant, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/TestFuncall.rb: -------------------------------------------------------------------------------- 1 | exclude :test_funcall_extra_args, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/TestGemPackage.rb: -------------------------------------------------------------------------------- 1 | exclude :test_verify_corrupt, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/TestJSON.rb: -------------------------------------------------------------------------------- 1 | exclude :test_error_message_encoding, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/TestMiniTestRunner.rb: -------------------------------------------------------------------------------- 1 | exclude :test_run_error, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/TestMixedUnicodeEscape.rb: -------------------------------------------------------------------------------- 1 | exclude :test_basic, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/TestRDocText.rb: -------------------------------------------------------------------------------- 1 | exclude :test_parse_format_rd, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/TestRakeTestTask.rb: -------------------------------------------------------------------------------- 1 | exclude :test_initialize_override, "needs investigation" -------------------------------------------------------------------------------- /test/mri/excludes/TestRecursion.rb: -------------------------------------------------------------------------------- 1 | exclude :test_recursive_outer, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/TestResolvAddr.rb: -------------------------------------------------------------------------------- 1 | exclude :test_hosts_by_command, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/TestShellwords.rb: -------------------------------------------------------------------------------- 1 | exclude :test_stringification, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/TestTestUnitSorting.rb: -------------------------------------------------------------------------------- 1 | exclude :test_sorting, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/TestThreadGroup.rb: -------------------------------------------------------------------------------- 1 | exclude :test_frozen_thgroup, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/TestWEBrickHTTPServer.rb: -------------------------------------------------------------------------------- 1 | exclude :test_callbacks, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/TestZlibGzipWriter.rb: -------------------------------------------------------------------------------- 1 | exclude :test_invalid_new, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/Test_Array/TestResize.rb: -------------------------------------------------------------------------------- 1 | exclude :test_expand, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/Test_BUG_3571.rb: -------------------------------------------------------------------------------- 1 | exclude :test_block_call_id, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/Test_Hash/TestDelete.rb: -------------------------------------------------------------------------------- 1 | exclude :test_delete, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/Test_Load_Protect.rb: -------------------------------------------------------------------------------- 1 | exclude :test_load_protect, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/Test_StringExternalNew.rb: -------------------------------------------------------------------------------- 1 | exclude :test_buf_new, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/tests/cext-c/win32/dln/libdlntest.c: -------------------------------------------------------------------------------- 1 | void 2 | dlntest_ordinal(void) 3 | { 4 | } 5 | -------------------------------------------------------------------------------- /test/mri/tests/cext-ruby/load/script.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | raise "foo" 3 | -------------------------------------------------------------------------------- /test/mri/tests/json/fixtures/pass2.json: -------------------------------------------------------------------------------- 1 | [[[[[[[[[[[[[[[[[[["Not too deep"]]]]]]]]]]]]]]]]]]] -------------------------------------------------------------------------------- /test/mri/tests/win32ole/orig_data.csv: -------------------------------------------------------------------------------- 1 | ID,VALUE 2 | 1,"A" 3 | 2,"B" 4 | 3,"C" 5 | 4,"B" 6 | -------------------------------------------------------------------------------- /test/truffle/cexts/globals/expected.txt: -------------------------------------------------------------------------------- 1 | :global 2 | :static_global 3 | :extern_global 4 | -------------------------------------------------------------------------------- /test/truffle/cexts/minimum/bin/minimum: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | 3 | require 'minimum' 4 | -------------------------------------------------------------------------------- /test/truffle/ecosystem/blog/config/environments/test-mysql.rb: -------------------------------------------------------------------------------- 1 | require_relative 'test' 2 | -------------------------------------------------------------------------------- /bench/benchmark-interface/tests/expected/bench9000micro-simple.txt: -------------------------------------------------------------------------------- 1 | bench9000micro 2 | XXX 3 | -------------------------------------------------------------------------------- /bench/benchmark-interface/tests/expected/readme-simple.txt: -------------------------------------------------------------------------------- 1 | mul 2 | XXX 3 | pow 4 | XXX 5 | -------------------------------------------------------------------------------- /lib/ruby/gems/2.6.0/gems/rake-12.3.2/Gemfile: -------------------------------------------------------------------------------- 1 | source "https://rubygems.org" 2 | 3 | gemspec 4 | -------------------------------------------------------------------------------- /lib/ruby/gems/2.6.0/gems/xmlrpc-0.3.0/Gemfile: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | 3 | gemspec 4 | -------------------------------------------------------------------------------- /spec/mspec/spec/fixtures/my_ruby: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | echo $RUBY_EXE 4 | ruby "$@" 5 | -------------------------------------------------------------------------------- /spec/ruby/command_line/fixtures/freeze_flag_required.rb: -------------------------------------------------------------------------------- 1 | $second_literal_id = "abc".object_id 2 | -------------------------------------------------------------------------------- /spec/ruby/core/module/fixtures/autoload_callback.rb: -------------------------------------------------------------------------------- 1 | block = ScratchPad.recorded 2 | block.call 3 | -------------------------------------------------------------------------------- /spec/ruby/core/module/fixtures/autoload_required_directly_nested.rb: -------------------------------------------------------------------------------- 1 | ScratchPad.recorded.call 2 | -------------------------------------------------------------------------------- /spec/ruby/core/module/fixtures/autoload_x.rb: -------------------------------------------------------------------------------- 1 | module ModuleSpecs::Autoload 2 | X = :x 3 | end 4 | -------------------------------------------------------------------------------- /spec/ruby/fixtures/code/wrap_fixture.rb: -------------------------------------------------------------------------------- 1 | class LoadSpecWrap 2 | ScratchPad << self 3 | end 4 | -------------------------------------------------------------------------------- /spec/ruby/language/predefined/fixtures/empty_data.rb: -------------------------------------------------------------------------------- 1 | p DATA.pos 2 | p DATA.read 3 | __END__ 4 | -------------------------------------------------------------------------------- /spec/ruby/library/mathn/math/fixtures/classes.rb: -------------------------------------------------------------------------------- 1 | class IncludesMath 2 | include Math 3 | end 4 | -------------------------------------------------------------------------------- /spec/ruby/library/net/ftp/fixtures/passive.rb: -------------------------------------------------------------------------------- 1 | require "net/ftp" 2 | print Net::FTP.new.passive 3 | -------------------------------------------------------------------------------- /spec/ruby/library/net/ftp/shared/pwd.rb: -------------------------------------------------------------------------------- 1 | describe :net_ftp_pwd, shared: true do 2 | 3 | end 4 | -------------------------------------------------------------------------------- /spec/ruby/library/zlib/gzipreader/readchar_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../../../spec_helper' 2 | -------------------------------------------------------------------------------- /spec/ruby/library/zlib/gzipreader/readline_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../../../spec_helper' 2 | -------------------------------------------------------------------------------- /spec/ruby/library/zlib/gzipreader/readlines_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../../../spec_helper' 2 | -------------------------------------------------------------------------------- /spec/ruby/library/zlib/gzipwriter/orig_name_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../../../spec_helper' 2 | -------------------------------------------------------------------------------- /spec/ruby/library/zlib/zstream/flush_next_in_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../../../spec_helper' 2 | -------------------------------------------------------------------------------- /spec/tags/command_line/dash_w_tags.txt: -------------------------------------------------------------------------------- 1 | slow:The -w command line option sets $VERBOSE to true 2 | -------------------------------------------------------------------------------- /spec/tags/core/exception/key_error_tags.txt: -------------------------------------------------------------------------------- 1 | fails:KeyError accepts :receiver and :key options 2 | -------------------------------------------------------------------------------- /spec/tags/core/file/setgid_tags.txt: -------------------------------------------------------------------------------- 1 | slow:File.setgid? returns true when the gid bit is set 2 | -------------------------------------------------------------------------------- /spec/tags/core/file/setuid_tags.txt: -------------------------------------------------------------------------------- 1 | slow:File.setuid? returns true when the gid bit is set 2 | -------------------------------------------------------------------------------- /spec/tags/core/file/umask_tags.txt: -------------------------------------------------------------------------------- 1 | fails:File.umask raises RangeError with too large values 2 | -------------------------------------------------------------------------------- /spec/tags/core/hash/constructor_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Hash.[] ignores elements that are not arrays 2 | -------------------------------------------------------------------------------- /spec/tags/core/io/ungetbyte_tags.txt: -------------------------------------------------------------------------------- 1 | fails:IO#ungetbyte ... but not for Bignum argument (eh?) 2 | -------------------------------------------------------------------------------- /spec/tags/core/module/attr_accessor_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Module#attr_accessor is a public method 2 | -------------------------------------------------------------------------------- /spec/tags/core/module/remove_method_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Module#remove_method is a public method 2 | -------------------------------------------------------------------------------- /spec/tags/core/range/member_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Range#member? with Time endpoints uses cover? logic 2 | -------------------------------------------------------------------------------- /spec/tags/core/rational/numerator_tags.txt: -------------------------------------------------------------------------------- 1 | graalvm:Rational#numerator returns the numerator 2 | -------------------------------------------------------------------------------- /spec/tags/library/date/iso8601_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Date.iso8601 parses a Symbol into a Date object 2 | -------------------------------------------------------------------------------- /spec/tags/library/readline/vi_editing_mode_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Readline.vi_editing_mode returns nil 2 | -------------------------------------------------------------------------------- /spec/tags/library/stringio/tell_tags.txt: -------------------------------------------------------------------------------- 1 | graalvm:StringIO#tell returns the current byte offset 2 | -------------------------------------------------------------------------------- /spec/tags/library/time/to_time_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Time#to_time returns itself in the same timezone 2 | -------------------------------------------------------------------------------- /spec/tags/library/yaml/tagurize_tags.txt: -------------------------------------------------------------------------------- 1 | fails:YAML.tagurize converts a type_id to a taguri 2 | -------------------------------------------------------------------------------- /test/mri/excludes/Bug/Marshal/TestInternalIVar.rb: -------------------------------------------------------------------------------- 1 | exclude :test_marshal, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/PPTestModule/PPDelegateTest.rb: -------------------------------------------------------------------------------- 1 | exclude :test_delegate, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/Psych/TestException.rb: -------------------------------------------------------------------------------- 1 | exclude :test_naming_exception, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/REXMLTests/ElementsTester.rb: -------------------------------------------------------------------------------- 1 | exclude :"test_delete", "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/REXMLTests/REXMLTester.rb: -------------------------------------------------------------------------------- 1 | exclude :"test_accents", "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/RSS/TestParserAtomFeed.rb: -------------------------------------------------------------------------------- 1 | exclude :test_entry_content, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/TestBugReporter.rb: -------------------------------------------------------------------------------- 1 | exclude :test_bug_reporter_add, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/TestCSV/Features.rb: -------------------------------------------------------------------------------- 1 | exclude :test_gzip_reader_bug_fix, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/TestGB18030.rb: -------------------------------------------------------------------------------- 1 | exclude :test_left_adjust_char_head, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/TestGemResolverSpecification.rb: -------------------------------------------------------------------------------- 1 | exclude :test_install, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/TestRDocGeneratorJsonIndex.rb: -------------------------------------------------------------------------------- 1 | exclude :test_generate, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/TestResolvMDNS.rb: -------------------------------------------------------------------------------- 1 | exclude :test_mdns_each_address, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/TestSocketAncData.rb: -------------------------------------------------------------------------------- 1 | exclude :test_ipv6_pktinfo, "fails on Darwin in CI" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/TestThreadFdClose.rb: -------------------------------------------------------------------------------- 1 | exclude :test_thread_fd_close, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/tests/erb/hello.erb: -------------------------------------------------------------------------------- 1 | = hello 2 | <% 3.times do |n| %> 3 | * <%= n %> 4 | <% end %> 5 | -------------------------------------------------------------------------------- /test/mri/tests/json/fixtures/fail10.json: -------------------------------------------------------------------------------- 1 | {"Extra value after close": true} "misplaced quoted value" -------------------------------------------------------------------------------- /test/truffle/cexts/method/ext/method/extconf.rb: -------------------------------------------------------------------------------- 1 | require 'mkmf' 2 | create_makefile('method') 3 | -------------------------------------------------------------------------------- /test/truffle/cexts/module/ext/module/extconf.rb: -------------------------------------------------------------------------------- 1 | require 'mkmf' 2 | create_makefile('module') 3 | -------------------------------------------------------------------------------- /test/truffle/ecosystem/blog/app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | module ApplicationHelper 2 | end 3 | -------------------------------------------------------------------------------- /test/truffle/ecosystem/blog/config/environments/test-postgresql.rb: -------------------------------------------------------------------------------- 1 | require_relative 'test' 2 | -------------------------------------------------------------------------------- /bench/benchmark-interface/tests/expected/script-simple.txt: -------------------------------------------------------------------------------- 1 | clamp_a 2 | XXX 3 | clamp_b 4 | XXX 5 | -------------------------------------------------------------------------------- /bench/chunky_png/oily_png/lib/oily_png/version.rb: -------------------------------------------------------------------------------- 1 | module OilyPNG 2 | VERSION = "1.1.1" 3 | end 4 | -------------------------------------------------------------------------------- /bench/psd.rb/psd_native/lib/psd_native/version.rb: -------------------------------------------------------------------------------- 1 | module PSDNative 2 | VERSION = "1.1.2" 3 | end 4 | -------------------------------------------------------------------------------- /logo/truffleruby_kit.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/did/truffleruby/master/logo/truffleruby_kit.pdf -------------------------------------------------------------------------------- /spec/ruby/.gitignore: -------------------------------------------------------------------------------- 1 | /Gemfile.lock 2 | /rubyspec_temp 3 | /ext 4 | /.ruby-version 5 | /.ruby-gemset 6 | -------------------------------------------------------------------------------- /spec/ruby/command_line/fixtures/freeze_flag_two_literals.rb: -------------------------------------------------------------------------------- 1 | p "abc".object_id == "abc".object_id 2 | -------------------------------------------------------------------------------- /spec/ruby/core/argf/fixtures/lineno.rb: -------------------------------------------------------------------------------- 1 | puts $. 2 | ARGF.gets 3 | puts $. 4 | ARGF.gets 5 | puts $. 6 | -------------------------------------------------------------------------------- /spec/ruby/core/module/fixtures/constants_autoload_c.rb: -------------------------------------------------------------------------------- 1 | module CSAutoloadC 2 | CONST = 7 3 | end 4 | -------------------------------------------------------------------------------- /spec/tags/command_line/dash_r_tags.txt: -------------------------------------------------------------------------------- 1 | slow:The -r command line option requires the specified file 2 | -------------------------------------------------------------------------------- /spec/tags/core/exception/standard_error_tags.txt: -------------------------------------------------------------------------------- 1 | fails:StandardError is a superclass of FrozenError 2 | -------------------------------------------------------------------------------- /spec/tags/core/file/stat/pipe_tags.txt: -------------------------------------------------------------------------------- 1 | slow:File::Stat#pipe? returns true if the file is a pipe 2 | -------------------------------------------------------------------------------- /spec/tags/core/file/sticky_tags.txt: -------------------------------------------------------------------------------- 1 | slow:File.sticky? returns true if the file has sticky bit set 2 | -------------------------------------------------------------------------------- /spec/tags/core/float/divide_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Float#/ does not rescue exception raised in other#coerce 2 | -------------------------------------------------------------------------------- /spec/tags/core/float/gt_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Float#> does not rescue exception raised in other#coerce 2 | -------------------------------------------------------------------------------- /spec/tags/core/float/gte_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Float#>= does not rescue exception raised in other#coerce 2 | -------------------------------------------------------------------------------- /spec/tags/core/float/lt_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Float#< does not rescue exception raised in other#coerce 2 | -------------------------------------------------------------------------------- /spec/tags/core/float/lte_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Float#<= does not rescue exception raised in other#coerce 2 | -------------------------------------------------------------------------------- /spec/tags/core/float/minus_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Float#- does not rescue exception raised in other#coerce 2 | -------------------------------------------------------------------------------- /spec/tags/core/float/plus_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Float#+ does not rescue exception raised in other#coerce 2 | -------------------------------------------------------------------------------- /spec/tags/core/integer/gt_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Integer#> does not rescue exception raised in other#coerce 2 | -------------------------------------------------------------------------------- /spec/tags/core/integer/lt_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Integer#< does not rescue exception raised in other#coerce 2 | -------------------------------------------------------------------------------- /spec/tags/core/io/pos_tags.txt: -------------------------------------------------------------------------------- 1 | fails:IO#pos= does not accept Bignums that don't fit in a C long 2 | -------------------------------------------------------------------------------- /spec/tags/core/io/try_convert_tags.txt: -------------------------------------------------------------------------------- 1 | fails:IO.try_convert return nil when BasicObject is passed 2 | -------------------------------------------------------------------------------- /spec/tags/core/kernel/lambda_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Kernel.lambda allows long returns to flow through it 2 | -------------------------------------------------------------------------------- /spec/tags/core/math/log2_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Math.log2 returns the natural logarithm of the argument 2 | -------------------------------------------------------------------------------- /spec/tags/core/process/status/pid_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Process::Status#pid returns the pid of the process 2 | -------------------------------------------------------------------------------- /spec/tags/core/range/include_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Range#include? with Time endpoints uses cover? logic 2 | -------------------------------------------------------------------------------- /spec/tags/core/rational/denominator_tags.txt: -------------------------------------------------------------------------------- 1 | graalvm:Rational#denominator returns the denominator 2 | -------------------------------------------------------------------------------- /spec/tags/core/time/gm_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Time.gm raises an ArgumentError for out of range microsecond 2 | -------------------------------------------------------------------------------- /spec/tags/core/time/succ_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Time#succ zone is a timezone object preserves time zone 2 | -------------------------------------------------------------------------------- /spec/tags/language/variables_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Local variable shadowing does not warn in verbose mode 2 | -------------------------------------------------------------------------------- /spec/tags/library/bigdecimal/gt_tags.txt: -------------------------------------------------------------------------------- 1 | fails:BigDecimal#> properly handles Float infinity values 2 | -------------------------------------------------------------------------------- /spec/tags/library/bigdecimal/lt_tags.txt: -------------------------------------------------------------------------------- 1 | fails:BigDecimal#< properly handles Float infinity values 2 | -------------------------------------------------------------------------------- /spec/tags/library/date/minus_month_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Date#<< raises an error on non numeric parameters 2 | -------------------------------------------------------------------------------- /spec/tags/library/datetime/sec_tags.txt: -------------------------------------------------------------------------------- 1 | graalvm:DateTime.sec returns the absolute value of a float 2 | -------------------------------------------------------------------------------- /spec/tags/library/socket/socket/gethostname_tags.txt: -------------------------------------------------------------------------------- 1 | slow:Socket.gethostname returns the host name 2 | -------------------------------------------------------------------------------- /spec/tags/library/socket/socket/sockaddr_in_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Socket#sockaddr_in packs and unpacks 2 | -------------------------------------------------------------------------------- /spec/tags/truffle/rbconfig_tags.txt: -------------------------------------------------------------------------------- 1 | slow:RbConfig.ruby can be used to run a TruffleRuby subprocess 2 | -------------------------------------------------------------------------------- /spec/tags/truffle/securerandom_tags.txt: -------------------------------------------------------------------------------- 1 | slow:Loading SecureRandom should not eagerly load OpenSSL 2 | -------------------------------------------------------------------------------- /test/mri/excludes/Features/DifferentOFS.rb: -------------------------------------------------------------------------------- 1 | exclude :test_gzip_reader_bug_fix, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/REXMLTests/AttributeTest.rb: -------------------------------------------------------------------------------- 1 | exclude :test_empty_prefix, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/REXMLTests/InstructionTest.rb: -------------------------------------------------------------------------------- 1 | exclude :test_target_nil, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/REXMLTests/LightParserTester.rb: -------------------------------------------------------------------------------- 1 | exclude :"test_parsing", "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/REXMLTests/OrderTester.rb: -------------------------------------------------------------------------------- 1 | exclude :"test_more_ordering", "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/REXMLTests/TestIssuezillaParsing.rb: -------------------------------------------------------------------------------- 1 | exclude :"test_rexml", "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/RSS/TestParserAtom.rb: -------------------------------------------------------------------------------- 1 | exclude :test_entry_content_text, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/TestGemCommandsEnvironmentCommand.rb: -------------------------------------------------------------------------------- 1 | exclude :test_execute, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/TestRakeDirectoryTask.rb: -------------------------------------------------------------------------------- 1 | exclude :test_can_use_pathname, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/XPathAxesTester.rb: -------------------------------------------------------------------------------- 1 | exclude :"test_preceding_sibling_axis", "needs investigation" 2 | -------------------------------------------------------------------------------- /test/truffle/cexts/globals/ext/globals/extconf.rb: -------------------------------------------------------------------------------- 1 | require 'mkmf' 2 | create_makefile('globals') 3 | -------------------------------------------------------------------------------- /test/truffle/cexts/globals/ext/globals/extern.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | VALUE extern_global; 4 | -------------------------------------------------------------------------------- /test/truffle/cexts/minimum/ext/minimum/extconf.rb: -------------------------------------------------------------------------------- 1 | require 'mkmf' 2 | create_makefile('minimum') 3 | -------------------------------------------------------------------------------- /test/truffle/ecosystem/blog/config/environments/development-mysql.rb: -------------------------------------------------------------------------------- 1 | require_relative 'development' 2 | -------------------------------------------------------------------------------- /test/truffle/ecosystem/blog/config/environments/production-mysql.rb: -------------------------------------------------------------------------------- 1 | require_relative 'production' 2 | -------------------------------------------------------------------------------- /bench/benchmark-interface/tests/expected/mri-bm.txt: -------------------------------------------------------------------------------- 1 | user system total real 2 | mri XXX XXX XXX (XXX) 3 | -------------------------------------------------------------------------------- /lib/mri/bundler/templates/newgem/rspec.tt: -------------------------------------------------------------------------------- 1 | --format documentation 2 | --color 3 | --require spec_helper 4 | -------------------------------------------------------------------------------- /lib/mri/bundler/vendor/thor/lib/thor/version.rb: -------------------------------------------------------------------------------- 1 | class Bundler::Thor 2 | VERSION = "0.20.0" 3 | end 4 | -------------------------------------------------------------------------------- /spec/ruby/core/io/fixtures/copy_stream.txt: -------------------------------------------------------------------------------- 1 | Line one 2 | 3 | Line three 4 | Line four 5 | 6 | Line last 7 | -------------------------------------------------------------------------------- /spec/ruby/core/kernel/fixtures/chop_f.rb: -------------------------------------------------------------------------------- 1 | # -*- encoding: utf-8 -*- 2 | 3 | $_ = "あれ" 4 | print chop 5 | -------------------------------------------------------------------------------- /spec/ruby/core/module/fixtures/autoload_j.rb: -------------------------------------------------------------------------------- 1 | module ModuleSpecs::Autoload 2 | J = :autoload_j 3 | end 4 | -------------------------------------------------------------------------------- /spec/ruby/core/module/fixtures/module.rb: -------------------------------------------------------------------------------- 1 | module ModuleSpecs 2 | module Anonymous 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /spec/ruby/core/symbol/fixtures/classes.rb: -------------------------------------------------------------------------------- 1 | module SymbolSpecs 2 | class MyRange < Range; end 3 | end 4 | -------------------------------------------------------------------------------- /spec/ruby/language/predefined/fixtures/toplevel_binding_id_required.rb: -------------------------------------------------------------------------------- 1 | $b = TOPLEVEL_BINDING.object_id 2 | -------------------------------------------------------------------------------- /spec/ruby/optional/capi/fixtures/encoding.rb: -------------------------------------------------------------------------------- 1 | class CApiEncodingSpecs 2 | class S < String; end 3 | end 4 | -------------------------------------------------------------------------------- /spec/tags/core/binding/irb_tags.txt: -------------------------------------------------------------------------------- 1 | slow:Binding#irb creates an IRB session with the binding in scope 2 | -------------------------------------------------------------------------------- /spec/tags/core/exception/name_error_tags.txt: -------------------------------------------------------------------------------- 1 | fails:NameError.new accepts a :receiver keyword argument 2 | -------------------------------------------------------------------------------- /spec/tags/core/file/path_tags.txt: -------------------------------------------------------------------------------- 1 | fails:File#path raises IOError if file was opened with File::TMPFILE 2 | -------------------------------------------------------------------------------- /spec/tags/core/float/multiply_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Float#* does not rescue exception raised in other#coerce 2 | -------------------------------------------------------------------------------- /spec/tags/core/integer/divide_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Integer#/ does not rescue exception raised in other#coerce 2 | -------------------------------------------------------------------------------- /spec/tags/core/integer/gte_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Integer#>= does not rescue exception raised in other#coerce 2 | -------------------------------------------------------------------------------- /spec/tags/core/integer/lte_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Integer#<= does not rescue exception raised in other#coerce 2 | -------------------------------------------------------------------------------- /spec/tags/core/integer/minus_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Integer#- does not rescue exception raised in other#coerce 2 | -------------------------------------------------------------------------------- /spec/tags/core/integer/plus_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Integer#+ does not rescue exception raised in other#coerce 2 | -------------------------------------------------------------------------------- /spec/tags/core/integer/sqrt_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Integer.sqrt returns the integer square root of the argument 2 | -------------------------------------------------------------------------------- /spec/tags/core/io/codepoints_tags.txt: -------------------------------------------------------------------------------- 1 | fails:IO#codepoints raises an error if reading invalid sequence 2 | -------------------------------------------------------------------------------- /spec/tags/core/io/sysseek_tags.txt: -------------------------------------------------------------------------------- 1 | fails:IO#sysseek does not accept Bignums that don't fit in a C long 2 | -------------------------------------------------------------------------------- /spec/tags/core/process/set_proctitle_tags.txt: -------------------------------------------------------------------------------- 1 | slow:Process.setproctitle should set the process title 2 | -------------------------------------------------------------------------------- /spec/tags/core/process/wait2_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Process.wait2 returns the pid and status of child process 2 | -------------------------------------------------------------------------------- /spec/tags/core/range/case_compare_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Range#=== returns the result of calling #cover? on self 2 | -------------------------------------------------------------------------------- /spec/tags/core/rational/minus_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Rational#- does not rescue exception raised in other#coerce 2 | -------------------------------------------------------------------------------- /spec/tags/core/rational/plus_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Rational#+ does not rescue exception raised in other#coerce 2 | -------------------------------------------------------------------------------- /spec/tags/core/time/local_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Time.local raises an ArgumentError for out of range microsecond 2 | -------------------------------------------------------------------------------- /spec/tags/core/tracepoint/eval_script_tags.txt: -------------------------------------------------------------------------------- 1 | fails:TracePoint#eval_script is the evald source code 2 | -------------------------------------------------------------------------------- /spec/tags/library/bigdecimal/gte_tags.txt: -------------------------------------------------------------------------------- 1 | fails:BigDecimal#>= properly handles Float infinity values 2 | -------------------------------------------------------------------------------- /spec/tags/library/bigdecimal/lte_tags.txt: -------------------------------------------------------------------------------- 1 | fails:BigDecimal#<= properly handles Float infinity values 2 | -------------------------------------------------------------------------------- /spec/tags/library/bigmath/log_tags.txt: -------------------------------------------------------------------------------- 1 | fails:BigDecimal#log handles high-precision Rational arguments 2 | -------------------------------------------------------------------------------- /spec/tags/library/datetime/add_tags.txt: -------------------------------------------------------------------------------- 1 | fails:DateTime#+ is able to add sub-millisecond precision values 2 | -------------------------------------------------------------------------------- /spec/tags/library/datetime/second_tags.txt: -------------------------------------------------------------------------------- 1 | graalvm:DateTime#second returns the absolute value of a float 2 | -------------------------------------------------------------------------------- /spec/tags/library/readline/emacs_editing_mode_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Readline.emacs_editing_mode returns nil 2 | -------------------------------------------------------------------------------- /spec/tags/library/zlib/gzipreader/read_tags.txt: -------------------------------------------------------------------------------- 1 | fails:GzipReader#read respects :external_encoding option 2 | -------------------------------------------------------------------------------- /spec/tags/optional/capi/string_tags.txt: -------------------------------------------------------------------------------- 1 | fails:SafeStringValue raises for tained string when $SAFE is 1 2 | -------------------------------------------------------------------------------- /spec/tags/optional/capi/typed_data_tags.txt: -------------------------------------------------------------------------------- 1 | fails:CApiWrappedTypedStruct unwraps data for a parent type 2 | -------------------------------------------------------------------------------- /src/main/c/nkf/extconf.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: false 2 | require 'mkmf' 3 | create_makefile('nkf') 4 | -------------------------------------------------------------------------------- /test/mri/excludes/PPTestModule/PPFileStatTest.rb: -------------------------------------------------------------------------------- 1 | exclude :"test_nothing_raised", "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/REXMLTests/TestAttributes.rb: -------------------------------------------------------------------------------- 1 | exclude :"test_get_attribute_ns", "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/REXMLTests/TestDocTypeAccessor.rb: -------------------------------------------------------------------------------- 1 | exclude :test_to_s_apostrophe, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/RSS/TestParser10.rb: -------------------------------------------------------------------------------- 1 | exclude :test_unknown_duplicated_element, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/TestGemPackageTarReaderEntry.rb: -------------------------------------------------------------------------------- 1 | exclude :test_full_name_null, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/TestOptionParser/Acceptable.rb: -------------------------------------------------------------------------------- 1 | exclude :test_decimal_integer, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/TestOptionParser/BashCompletion.rb: -------------------------------------------------------------------------------- 1 | exclude :test_case_sensitive, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/Test_Class/Test_Class2Name.rb: -------------------------------------------------------------------------------- 1 | exclude :test_singleton_class, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/tests/rdoc/MarkdownTest_1.0.3/Nested blockquotes.text: -------------------------------------------------------------------------------- 1 | > foo 2 | > 3 | > > bar 4 | > 5 | > foo 6 | -------------------------------------------------------------------------------- /test/mri/tests/rss/dot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/did/truffleruby/master/test/mri/tests/rss/dot.png -------------------------------------------------------------------------------- /test/mri/tests/scanf/data.txt: -------------------------------------------------------------------------------- 1 | this is 33 a fun 2 | little input file 3 | 4 | with 5 | 6 | characters 7 | -------------------------------------------------------------------------------- /test/truffle/ecosystem/blog/app/jobs/application_job.rb: -------------------------------------------------------------------------------- 1 | class ApplicationJob < ActiveJob::Base 2 | end 3 | -------------------------------------------------------------------------------- /test/truffle/ecosystem/blog/config/environments/development-postgresql.rb: -------------------------------------------------------------------------------- 1 | require_relative 'development' 2 | -------------------------------------------------------------------------------- /test/truffle/ecosystem/blog/config/environments/production-postgresql.rb: -------------------------------------------------------------------------------- 1 | require_relative 'production' 2 | -------------------------------------------------------------------------------- /test/truffle/integration/irb/output.txt: -------------------------------------------------------------------------------- 1 | Switch to inspect mode. 2 | 14 3 | 14 4 | 14 + 2 5 | 16 6 | exit 7 | -------------------------------------------------------------------------------- /tool/native_launcher_darwin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/did/truffleruby/master/tool/native_launcher_darwin -------------------------------------------------------------------------------- /bench/benchmark-interface/tests/expected/long-bm.txt: -------------------------------------------------------------------------------- 1 | user system total real 2 | sleep XXX XXX XXX (XXX) 3 | -------------------------------------------------------------------------------- /bench/benchmark-interface/tests/expected/long-bmbm.txt: -------------------------------------------------------------------------------- 1 | user system total real 2 | sleep XXX XXX XXX (XXX) 3 | -------------------------------------------------------------------------------- /bench/benchmark-interface/tests/expected/mri-bmbm.txt: -------------------------------------------------------------------------------- 1 | user system total real 2 | mri XXX XXX XXX (XXX) 3 | -------------------------------------------------------------------------------- /lib/mri/tracer/version.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class Tracer 4 | VERSION = "0.1.0" 5 | end 6 | -------------------------------------------------------------------------------- /logo/ai/truffleruby_logos.ai: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/did/truffleruby/master/logo/ai/truffleruby_logos.ai -------------------------------------------------------------------------------- /spec/mspec/Gemfile: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | 3 | gem "rake", "~> 10.0" 4 | gem "rspec", "~> 2.14.1" 5 | -------------------------------------------------------------------------------- /spec/ruby/command_line/fixtures/bin/embedded_ruby.txt: -------------------------------------------------------------------------------- 1 | @@@This line is not value Ruby 2 | #!ruby 3 | puts 'success' -------------------------------------------------------------------------------- /spec/ruby/core/kernel/fixtures/chomp_f.rb: -------------------------------------------------------------------------------- 1 | # -*- encoding: utf-8 -*- 2 | 3 | $_ = "あれ\r\n" 4 | print chomp 5 | -------------------------------------------------------------------------------- /spec/ruby/core/kernel/fixtures/chop.rb: -------------------------------------------------------------------------------- 1 | # -*- encoding: utf-8 -*- 2 | 3 | $_ = "あれ" 4 | print Kernel.chop 5 | -------------------------------------------------------------------------------- /spec/ruby/core/module/fixtures/autoload_r.rb: -------------------------------------------------------------------------------- 1 | module ModuleSpecs::Autoload 2 | class R 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /spec/ruby/core/module/fixtures/autoload_raise.rb: -------------------------------------------------------------------------------- 1 | ScratchPad << :raise 2 | raise "exception during autoload" 3 | -------------------------------------------------------------------------------- /spec/ruby/core/module/fixtures/autoload_t.rb: -------------------------------------------------------------------------------- 1 | module ModuleSpecs::Autoload::S 2 | T = :autoload_t 3 | end 4 | -------------------------------------------------------------------------------- /spec/ruby/language/fixtures/freeze_magic_comment_required_no_comment.rb: -------------------------------------------------------------------------------- 1 | $second_literal_id = "abc".object_id 2 | -------------------------------------------------------------------------------- /spec/ruby/language/fixtures/magic_comment.rb: -------------------------------------------------------------------------------- 1 | # encoding: big5 2 | $magic_comment_result = __ENCODING__.name 3 | -------------------------------------------------------------------------------- /spec/ruby/language/predefined/fixtures/data1.rb: -------------------------------------------------------------------------------- 1 | puts Object.const_defined?(:DATA) 2 | 3 | __END__ 4 | data1 5 | -------------------------------------------------------------------------------- /spec/ruby/language/predefined/fixtures/data5.rb: -------------------------------------------------------------------------------- 1 | DATA.rewind 2 | puts DATA.gets 3 | 4 | __END__ 5 | data 5 6 | -------------------------------------------------------------------------------- /spec/ruby/library/scanf/io/fixtures/date.txt: -------------------------------------------------------------------------------- 1 | Beethoven 1770 2 | Bach 1685 3 | Handel 1685 4 | 5 | -------------------------------------------------------------------------------- /spec/ruby/optional/capi/fixtures/const_get_object.rb: -------------------------------------------------------------------------------- 1 | class Object 2 | CApiModuleSpecsAutoload = 123 3 | end 4 | -------------------------------------------------------------------------------- /spec/tags/core/file/to_path_tags.txt: -------------------------------------------------------------------------------- 1 | fails:File#to_path raises IOError if file was opened with File::TMPFILE 2 | -------------------------------------------------------------------------------- /spec/tags/core/hash/each_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Hash#each properly expands (or not) child class's 'each'-yielded args 2 | -------------------------------------------------------------------------------- /spec/tags/core/integer/multiply_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Integer#* does not rescue exception raised in other#coerce 2 | -------------------------------------------------------------------------------- /spec/tags/core/method/eql_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Method#eql? missing methods returns true for the same method missing 2 | -------------------------------------------------------------------------------- /spec/tags/core/module/public_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Module#public on a superclass method calls the redefined method 2 | -------------------------------------------------------------------------------- /spec/tags/core/mutex/sleep_tags.txt: -------------------------------------------------------------------------------- 1 | aot:Mutex#sleep pauses execution for approximately the duration requested 2 | -------------------------------------------------------------------------------- /spec/tags/core/process/ppid_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Process.ppid returns the process id of the parent of this process 2 | -------------------------------------------------------------------------------- /spec/tags/core/process/status/_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Process::Status#& needs to be reviewed for spec completeness 2 | -------------------------------------------------------------------------------- /spec/tags/core/rational/divide_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Rational#/ does not rescue exception raised in other#coerce 2 | -------------------------------------------------------------------------------- /spec/tags/core/rational/multiply_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Rational#* does not rescue exception raised in other#coerce 2 | -------------------------------------------------------------------------------- /spec/tags/core/string/uplus_tags.txt: -------------------------------------------------------------------------------- 1 | slow:String#+@ returns mutable copy despite freeze-magic-comment in file 2 | -------------------------------------------------------------------------------- /spec/tags/core/thread/safe_level_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Thread#safe_level needs to be reviewed for spec completeness 2 | -------------------------------------------------------------------------------- /spec/tags/core/time/mktime_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Time.mktime raises an ArgumentError for out of range microsecond 2 | -------------------------------------------------------------------------------- /spec/tags/core/tracepoint/path_tags.txt: -------------------------------------------------------------------------------- 1 | fails:TracePoint#path equals (eval) inside an eval for :end event 2 | -------------------------------------------------------------------------------- /spec/tags/core/unboundmethod/clone_tags.txt: -------------------------------------------------------------------------------- 1 | fails:UnboundMethod#clone returns a copy of the UnboundMethod 2 | -------------------------------------------------------------------------------- /spec/tags/language/BEGIN_tags.txt: -------------------------------------------------------------------------------- 1 | slow:The BEGIN keyword returns the top-level script's filename for __FILE__ 2 | -------------------------------------------------------------------------------- /spec/tags/language/for_tags.txt: -------------------------------------------------------------------------------- 1 | fails:The for expression does not try to access variables outside the method 2 | -------------------------------------------------------------------------------- /spec/tags/library/net/telnet/cmd_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Net::Telnet#cmd needs to be reviewed for spec completeness 2 | -------------------------------------------------------------------------------- /spec/tags/library/net/telnet/puts_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Net::Telnet#puts needs to be reviewed for spec completeness 2 | -------------------------------------------------------------------------------- /spec/tags/library/net/telnet/sock_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Net::Telnet#sock needs to be reviewed for spec completeness 2 | -------------------------------------------------------------------------------- /spec/tags/library/socket/socket/pack_sockaddr_in_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Socket#pack_sockaddr_in packs and unpacks 2 | -------------------------------------------------------------------------------- /spec/tags/library/stringscanner/rest_size_tags.txt: -------------------------------------------------------------------------------- 1 | graalvm:StringScanner#rest_size is equivalent to rest.size 2 | -------------------------------------------------------------------------------- /spec/tags/library/stringscanner/restsize_tags.txt: -------------------------------------------------------------------------------- 1 | graalvm:StringScanner#restsize is equivalent to rest.size 2 | -------------------------------------------------------------------------------- /spec/tags/library/syslog/inspect_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Syslog.inspect includes the ident, options, facility and mask 2 | -------------------------------------------------------------------------------- /spec/tags/truffle/filename_length_tags.txt: -------------------------------------------------------------------------------- 1 | ci:Truffle source files have a small enough filename for eCryptfs 2 | -------------------------------------------------------------------------------- /spec/tags/truffle/safe_tags.txt: -------------------------------------------------------------------------------- 1 | slow:The $SAFE variable does not warn when set to 0 and remembers the value 2 | -------------------------------------------------------------------------------- /test/mri/excludes/CGIUtilTest.rb: -------------------------------------------------------------------------------- 1 | exclude :test_cgi_escape_with_unreserved_characters, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/DefaultFormatterTest/InstructionTest.rb: -------------------------------------------------------------------------------- 1 | exclude :test_content_nil, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/Psych/TestObjectReferences.rb: -------------------------------------------------------------------------------- 1 | exclude :test_module_has_references, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/REXMLTests/TestDocument.rb: -------------------------------------------------------------------------------- 1 | exclude :"test_version_attributes_to_s", "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/REXMLTests/TestNotationDeclPublic.rb: -------------------------------------------------------------------------------- 1 | exclude :test_to_s_apostrophe, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/REXMLTests/TestNotationDeclSystem.rb: -------------------------------------------------------------------------------- 1 | exclude :test_to_s_apostrophe, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/REXMLTests/TestXmlDeclaration.rb: -------------------------------------------------------------------------------- 1 | exclude :test_write_prologue_quote, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/TestGemCommandsContentsCommand.rb: -------------------------------------------------------------------------------- 1 | exclude :test_execute_default_gem, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/TestNotImplement.rb: -------------------------------------------------------------------------------- 1 | exclude :test_respond_to_fork, "assumes fork is available on Linux" 2 | -------------------------------------------------------------------------------- /test/mri/tests/cext-c/num2int/extconf.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: false 2 | create_makefile("-test-/num2int") 3 | -------------------------------------------------------------------------------- /test/mri/tests/cext-c/printf/extconf.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: false 2 | create_makefile("-test-/printf") 3 | -------------------------------------------------------------------------------- /test/mri/tests/json/fixtures/obsolete_fail1.json: -------------------------------------------------------------------------------- 1 | "A JSON payload should be an object or array, not a string." 2 | -------------------------------------------------------------------------------- /test/mri/tests/rdoc/binary.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/did/truffleruby/master/test/mri/tests/rdoc/binary.dat -------------------------------------------------------------------------------- /test/mri/tests/rexml/data/simple.xml: -------------------------------------------------------------------------------- 1 | 2 | abd 3 | -------------------------------------------------------------------------------- /bench/asciidoctor/asciidoctor/lib/asciidoctor/version.rb: -------------------------------------------------------------------------------- 1 | module Asciidoctor 2 | VERSION = '1.5.5.dev' 3 | end 4 | -------------------------------------------------------------------------------- /lib/mri/psych/omap.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | module Psych 3 | class Omap < ::Hash 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /lib/mri/psych/set.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | module Psych 3 | class Set < ::Hash 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /lib/mri/rubygems/package/source.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | class Gem::Package::Source # :nodoc: 3 | end 4 | -------------------------------------------------------------------------------- /lib/ruby/gems/2.6.0/gems/did_you_mean-1.3.0/test/fixtures/book.rb: -------------------------------------------------------------------------------- 1 | class Book 2 | class Cover 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /spec/ruby/core/kernel/fixtures/chomp.rb: -------------------------------------------------------------------------------- 1 | # -*- encoding: utf-8 -*- 2 | 3 | $_ = "あれ\r\n" 4 | print Kernel.chomp 5 | -------------------------------------------------------------------------------- /spec/ruby/core/module/fixtures/autoload_o.rb: -------------------------------------------------------------------------------- 1 | # does not define ModuleSpecs::Autoload::O 2 | ScratchPad << :loaded 3 | -------------------------------------------------------------------------------- /spec/ruby/fixtures/code/concurrent3.rb: -------------------------------------------------------------------------------- 1 | ScratchPad.recorded << :con3 2 | Thread.current[:in_concurrent_rb3] = true 3 | -------------------------------------------------------------------------------- /spec/ruby/fixtures/code/line_fixture.rb: -------------------------------------------------------------------------------- 1 | ScratchPad << __LINE__ 2 | 3 | # line 3 4 | 5 | ScratchPad << __LINE__ 6 | -------------------------------------------------------------------------------- /spec/ruby/language/fixtures/case_magic_comment.rb: -------------------------------------------------------------------------------- 1 | # CoDiNg: bIg5 2 | $magic_comment_result = __ENCODING__.name 3 | -------------------------------------------------------------------------------- /spec/ruby/language/predefined/fixtures/data2.rb: -------------------------------------------------------------------------------- 1 | require_relative 'data4' 2 | 3 | p Object.const_defined?(:DATA) 4 | -------------------------------------------------------------------------------- /spec/ruby/library/complex/numeric/im_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../../../spec_helper' 2 | 3 | require 'complex' 4 | -------------------------------------------------------------------------------- /spec/ruby/library/yaml/emitter_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../../spec_helper' 2 | require_relative 'fixtures/common' 3 | -------------------------------------------------------------------------------- /spec/ruby/library/yaml/parser_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../../spec_helper' 2 | require_relative 'fixtures/common' 3 | -------------------------------------------------------------------------------- /spec/tags/core/enumerable/all_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Enumerable#all? raises an ArgumentError when any arguments provided 2 | -------------------------------------------------------------------------------- /spec/tags/core/enumerable/any_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Enumerable#any? raises an ArgumentError when any arguments provided 2 | -------------------------------------------------------------------------------- /spec/tags/core/enumerable/chunk_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Enumerable#chunk returns an Enumerator if called without a block 2 | -------------------------------------------------------------------------------- /spec/tags/core/enumerable/first_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Enumerable#first returns a gathered array from yield parameters 2 | -------------------------------------------------------------------------------- /spec/tags/core/enumerable/none_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Enumerable#none? raises an ArgumentError when any arguments provided 2 | -------------------------------------------------------------------------------- /spec/tags/core/enumerable/one_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Enumerable#one? raises an ArgumentError when any arguments provided 2 | -------------------------------------------------------------------------------- /spec/tags/core/enumerator/arithmetic_sequence/each_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Enumerator::ArithmeticSequence#each returns self 2 | -------------------------------------------------------------------------------- /spec/tags/core/exception/interrupt_tags.txt: -------------------------------------------------------------------------------- 1 | fails:rescuing Interrupt raises an Interrupt when sent a signal SIGINT 2 | -------------------------------------------------------------------------------- /spec/tags/core/exception/no_method_error_tags.txt: -------------------------------------------------------------------------------- 1 | fails:NoMethodError.new accepts a :receiver keyword argument 2 | -------------------------------------------------------------------------------- /spec/tags/core/file/mtime_tags.txt: -------------------------------------------------------------------------------- 1 | fails:File.mtime returns the modification Time of the file with microseconds 2 | -------------------------------------------------------------------------------- /spec/tags/core/process/gid_tags.txt: -------------------------------------------------------------------------------- 1 | slow:Process.gid returns the correct gid for the user executing this process 2 | -------------------------------------------------------------------------------- /spec/tags/core/process/initgroups_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Process.initgroups initializes the supplemental group access list 2 | -------------------------------------------------------------------------------- /spec/tags/core/process/setpgid_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Process.setpgid sets the process group id of the specified process 2 | -------------------------------------------------------------------------------- /spec/tags/core/thread/raise_tags.txt: -------------------------------------------------------------------------------- 1 | fails(spurious failure):Thread#raise on a running thread can go unhandled 2 | -------------------------------------------------------------------------------- /spec/tags/core/time/strftime_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Time#strftime with %N formats the picoseconds of the second with %12N 2 | -------------------------------------------------------------------------------- /spec/tags/core/tracepoint/binding_tags.txt: -------------------------------------------------------------------------------- 1 | fails:TracePoint#binding return the generated binding object from event 2 | -------------------------------------------------------------------------------- /spec/tags/core/tracepoint/return_value_tags.txt: -------------------------------------------------------------------------------- 1 | fails:TracePoint#return_value returns value from :return event 2 | -------------------------------------------------------------------------------- /spec/tags/language/regexp/repetition_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Regexps with repetition does not treat {m,n}+ as possessive 2 | -------------------------------------------------------------------------------- /spec/tags/library/bigdecimal/to_f_tags.txt: -------------------------------------------------------------------------------- 1 | fails:BigDecimal#to_f remembers negative zero when converted to float 2 | -------------------------------------------------------------------------------- /spec/tags/library/etc/getpwnam_tags.txt: -------------------------------------------------------------------------------- 1 | slow:Etc.getpwnam returns a Etc::Passwd struct instance for the given user 2 | -------------------------------------------------------------------------------- /spec/tags/library/net/telnet/login_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Net::Telnet#login needs to be reviewed for spec completeness 2 | -------------------------------------------------------------------------------- /spec/tags/library/net/telnet/print_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Net::Telnet#print needs to be reviewed for spec completeness 2 | -------------------------------------------------------------------------------- /spec/tags/library/net/telnet/waitfor_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Net::Telnet#waitfor needs to be reviewed for spec completeness 2 | -------------------------------------------------------------------------------- /spec/tags/library/net/telnet/write_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Net::Telnet#write needs to be reviewed for spec completeness 2 | -------------------------------------------------------------------------------- /spec/tags/library/set/sortedset/divide_tags.txt: -------------------------------------------------------------------------------- 1 | fails:SortedSet#divide yields each Object in self in sorted order 2 | -------------------------------------------------------------------------------- /spec/tags/library/socket/option/inspect_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Socket::Option#inspect correctly returns SO_LINGER value 2 | -------------------------------------------------------------------------------- /spec/tags/library/socket/tcpserver/new_tags.txt: -------------------------------------------------------------------------------- 1 | fails:TCPServer.new raises a SocketError when the host is unknown 2 | -------------------------------------------------------------------------------- /spec/tags/library/stringio/close_read_tags.txt: -------------------------------------------------------------------------------- 1 | fails:StringIO#close_read raises an IOError when in write-only mode 2 | -------------------------------------------------------------------------------- /spec/tags/library/yaml/to_yaml_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Object#to_yaml returns the YAML representation of a Error object 2 | -------------------------------------------------------------------------------- /spec/tags/truffle/objspace/define_finalizer_tags.txt: -------------------------------------------------------------------------------- 1 | slow:ObjectSpace.define_finalizer will call the finalizer 2 | -------------------------------------------------------------------------------- /spec/truffle/.rubocop.yml: -------------------------------------------------------------------------------- 1 | inherit_from: ../../.rubocop.yml 2 | 3 | Style/StringLiterals: 4 | Enabled: false 5 | -------------------------------------------------------------------------------- /src/test/java/META-INF/services/org.graalvm.polyglot.tck.LanguageProvider: -------------------------------------------------------------------------------- 1 | org.truffleruby.RubyTCKLanguageProvider 2 | -------------------------------------------------------------------------------- /test/mri/excludes/TestEtc.rb: -------------------------------------------------------------------------------- 1 | exclude :test_getgrnam, "spurious on CI" 2 | exclude :test_getpwnam, "spurious on CI" 3 | -------------------------------------------------------------------------------- /test/mri/excludes/TestGemCommandsUninstallCommand.rb: -------------------------------------------------------------------------------- 1 | exclude :test_handle_options_vendor, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/tests/cext-c/bug-3571/extconf.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: false 2 | create_makefile("-test-/bug_3571") 3 | -------------------------------------------------------------------------------- /test/mri/tests/cext-c/bug-5832/extconf.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: false 2 | create_makefile("-test-/bug_5832") 3 | -------------------------------------------------------------------------------- /test/mri/tests/cext-c/dln/empty/extconf.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: false 2 | create_makefile("-test-/dln/empty") 3 | -------------------------------------------------------------------------------- /test/mri/tests/cext-c/fatal/extconf.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: false 2 | create_makefile("-test-/fatal/rb_fatal") 3 | -------------------------------------------------------------------------------- /test/mri/tests/cext-c/iseq_load/extconf.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: false 2 | create_makefile("-test-/iseq_load") 3 | -------------------------------------------------------------------------------- /test/mri/tests/cext-c/st/update/extconf.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: false 2 | create_makefile("-test-/st/update") 3 | -------------------------------------------------------------------------------- /test/mri/tests/cext-c/typeddata/extconf.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: false 2 | create_makefile("-test-/typeddata") 3 | -------------------------------------------------------------------------------- /test/truffle/cexts/oily_png/test.rb: -------------------------------------------------------------------------------- 1 | require 'oily_png' 2 | 3 | abort unless OilyPNG::Color.r(0x11223344) == 0x11 4 | -------------------------------------------------------------------------------- /test/truffle/ecosystem/blog/app/views/posts/new.html.erb: -------------------------------------------------------------------------------- 1 |

New post

2 | 3 | <%= render partial: 'form' %> 4 | -------------------------------------------------------------------------------- /bench/benchmark-interface/tests/expected/bench9000-bm.txt: -------------------------------------------------------------------------------- 1 | user system total real 2 | bench9000 XXX XXX XXX (XXX) 3 | -------------------------------------------------------------------------------- /bench/benchmark-interface/tests/expected/bench9000-bmbm.txt: -------------------------------------------------------------------------------- 1 | user system total real 2 | bench9000 XXX XXX XXX (XXX) 3 | -------------------------------------------------------------------------------- /lib/mri/bundler/templates/newgem/exe/newgem.tt: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | 3 | require "<%= config[:namespaced_path] %>" 4 | -------------------------------------------------------------------------------- /lib/mri/fileutils/version.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | module FileUtils 4 | VERSION = "1.1.0" 5 | end 6 | -------------------------------------------------------------------------------- /lib/ruby/gems/2.6.0/gems/test-unit-3.2.9/test/fixtures/no-header.csv: -------------------------------------------------------------------------------- 1 | empty string,true,"" 2 | plain string,false,hello 3 | -------------------------------------------------------------------------------- /lib/ruby/gems/2.6.0/gems/test-unit-3.2.9/test/fixtures/no-header.tsv: -------------------------------------------------------------------------------- 1 | empty string true "" 2 | plain string false hello 3 | -------------------------------------------------------------------------------- /spec/mspec/lib/mspec/expectations.rb: -------------------------------------------------------------------------------- 1 | require 'mspec/expectations/expectations' 2 | require 'mspec/expectations/should' 3 | -------------------------------------------------------------------------------- /spec/ruby/command_line/fixtures/bin/bad_embedded_ruby.txt: -------------------------------------------------------------------------------- 1 | @@@This line is not value Ruby 2 | #!rub_y 3 | puts 'success' 4 | -------------------------------------------------------------------------------- /spec/ruby/core/float/fixtures/classes.rb: -------------------------------------------------------------------------------- 1 | module FloatSpecs 2 | class CoerceError < StandardError 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /spec/ruby/core/module/fixtures/constants_autoload_d.rb: -------------------------------------------------------------------------------- 1 | module CSAutoloadD 2 | module InnerModule 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /spec/ruby/language/fixtures/print_magic_comment_result_at_exit.rb: -------------------------------------------------------------------------------- 1 | at_exit { 2 | print $magic_comment_result 3 | } 4 | -------------------------------------------------------------------------------- /spec/ruby/language/fixtures/utf16-be-nobom.rb: -------------------------------------------------------------------------------- 1 | # encoding: utf-16be 2 | puts 'hello' 3 | -------------------------------------------------------------------------------- /spec/ruby/library/complex/math/fixtures/classes.rb: -------------------------------------------------------------------------------- 1 | require 'cmath' 2 | class IncludesMath 3 | include CMath 4 | end 5 | -------------------------------------------------------------------------------- /spec/ruby/library/yaml/each_node_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../../spec_helper' 2 | require_relative 'fixtures/common' 3 | -------------------------------------------------------------------------------- /spec/ruby/library/yaml/object_maker_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../../spec_helper' 2 | require_relative 'fixtures/common' 3 | -------------------------------------------------------------------------------- /spec/ruby/library/yaml/quick_emit_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../../spec_helper' 2 | require_relative 'fixtures/common' 3 | -------------------------------------------------------------------------------- /spec/ruby/library/yaml/transfer_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../../spec_helper' 2 | require_relative 'fixtures/common' 3 | -------------------------------------------------------------------------------- /spec/ruby/library/yaml/try_implicit_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../../spec_helper' 2 | require_relative 'fixtures/common' 3 | -------------------------------------------------------------------------------- /spec/ruby/optional/capi/fixtures/const_get.rb: -------------------------------------------------------------------------------- 1 | class CApiModuleSpecs 2 | class A 3 | D = 123 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /spec/ruby/optional/capi/fixtures/const_get_at.rb: -------------------------------------------------------------------------------- 1 | class CApiModuleSpecs 2 | class A 3 | B = 123 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /spec/tags/command_line/error_message_tags.txt: -------------------------------------------------------------------------------- 1 | slow:The error message caused by an exception is not printed to stdout 2 | -------------------------------------------------------------------------------- /spec/tags/core/enumerator/chain/each_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Enumerator::Chain#each calls each on its constituents as needed 2 | -------------------------------------------------------------------------------- /spec/tags/core/file/atime_tags.txt: -------------------------------------------------------------------------------- 1 | fails:File.atime returns the last access time for the named file with microseconds 2 | -------------------------------------------------------------------------------- /spec/tags/core/float/round_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Float#round returns different rounded values depending on the half option 2 | -------------------------------------------------------------------------------- /spec/tags/core/float/truncate_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Float#truncate returns self truncated to an optionally given precision 2 | -------------------------------------------------------------------------------- /spec/tags/core/hash/each_pair_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Hash#each_pair properly expands (or not) child class's 'each'-yielded args 2 | -------------------------------------------------------------------------------- /spec/tags/core/integer/left_shift_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Integer#<< (with n << m) bignum returns 0 when m < 0 and m is a Bignum 2 | -------------------------------------------------------------------------------- /spec/tags/core/io/syswrite_tags.txt: -------------------------------------------------------------------------------- 1 | fails:IO#syswrite on a file warns if called immediately after a buffered IO#write 2 | -------------------------------------------------------------------------------- /spec/tags/core/io/write_tags.txt: -------------------------------------------------------------------------------- 1 | slow:IO.write on a FIFO writes correctly 2 | fails:IO#write accepts multiple arguments 3 | -------------------------------------------------------------------------------- /spec/tags/core/kernel/pp_tags.txt: -------------------------------------------------------------------------------- 1 | slow:Kernel#pp lazily loads the 'pp' library and delegates the call to that library 2 | -------------------------------------------------------------------------------- /spec/tags/core/method/equal_value_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Method#== missing methods returns true for the same method missing 2 | -------------------------------------------------------------------------------- /spec/tags/core/module/private_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Module#private continues to allow a prepended module method to call super 2 | -------------------------------------------------------------------------------- /spec/tags/core/time/gmtime_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Time#gmtime on a frozen time raises a RuntimeError if the time is not UTC 2 | -------------------------------------------------------------------------------- /spec/tags/library/bigdecimal/limit_tags.txt: -------------------------------------------------------------------------------- 1 | fails:BigDecimal.limit picks the global precision when limit 0 specified 2 | -------------------------------------------------------------------------------- /spec/tags/library/etc/getlogin_tags.txt: -------------------------------------------------------------------------------- 1 | slow:Etc.getlogin returns the name associated with the current login activity 2 | -------------------------------------------------------------------------------- /spec/tags/library/set/sortedset/classify_tags.txt: -------------------------------------------------------------------------------- 1 | fails:SortedSet#classify yields each Object in self in sorted order 2 | -------------------------------------------------------------------------------- /spec/tags/library/socket/basicsocket/recv_tags.txt: -------------------------------------------------------------------------------- 1 | fails:BasicSocket#recv allows an output buffer as third argument 2 | -------------------------------------------------------------------------------- /spec/tags/library/stringio/close_tags.txt: -------------------------------------------------------------------------------- 1 | fails:StringIO#close does not raise anything when self was already closed 2 | -------------------------------------------------------------------------------- /spec/tags/library/stringio/close_write_tags.txt: -------------------------------------------------------------------------------- 1 | fails:StringIO#close_write raises an IOError when in read-only mode 2 | -------------------------------------------------------------------------------- /spec/tags/library/tempfile/initialize_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Tempfile#initialize sets the permissions on the tempfile to 0600 2 | -------------------------------------------------------------------------------- /src/main/c/json/generator/extconf.h: -------------------------------------------------------------------------------- 1 | #ifndef EXTCONF_H 2 | #define EXTCONF_H 3 | #define JSON_GENERATOR 1 4 | #endif 5 | -------------------------------------------------------------------------------- /src/main/c/json/parser/extconf.h: -------------------------------------------------------------------------------- 1 | #ifndef EXTCONF_H 2 | #define EXTCONF_H 3 | #define HAVE_RB_ENC_RAISE 1 4 | #endif 5 | -------------------------------------------------------------------------------- /test/mri/excludes/REXMLTests/TestTreeParser/TestInvalid.rb: -------------------------------------------------------------------------------- 1 | exclude :test_unmatched_close_tag, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/TestNetHTTP.rb: -------------------------------------------------------------------------------- 1 | exclude :test_failure_message_includes_failed_domain_and_port, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/YAMLStoreTest.rb: -------------------------------------------------------------------------------- 1 | exclude :test_yaml_store_files_are_accessed_as_binary_files, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/tests/cext-c/array/resize/extconf.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: false 2 | create_makefile("-test-/array/resize") 3 | -------------------------------------------------------------------------------- /test/mri/tests/cext-c/bug_reporter/extconf.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: false 2 | create_makefile("-test-/bug_reporter") 3 | -------------------------------------------------------------------------------- /test/mri/tests/cext-c/load/dot.dot/extconf.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: false 2 | create_makefile("-test-/load/dot.dot") 3 | -------------------------------------------------------------------------------- /test/mri/tests/cext-c/marshal/usr/extconf.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: false 2 | create_makefile("-test-/marshal/usr") 3 | -------------------------------------------------------------------------------- /test/mri/tests/cext-c/notimplement/extconf.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: false 2 | create_makefile("-test-/notimplement") 3 | -------------------------------------------------------------------------------- /test/mri/tests/cext-c/st/foreach/extconf.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: false 2 | create_makefile("-test-/st/foreach") 3 | -------------------------------------------------------------------------------- /test/mri/tests/cext-c/st/numhash/extconf.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: false 2 | create_makefile("-test-/st/numhash") 3 | -------------------------------------------------------------------------------- /test/mri/tests/cext-c/tracepoint/extconf.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: false 2 | create_makefile("-test-/tracepoint") 3 | -------------------------------------------------------------------------------- /test/mri/tests/csv/line_endings.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/did/truffleruby/master/test/mri/tests/csv/line_endings.gz -------------------------------------------------------------------------------- /test/mri/tests/rexml/data/euc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/did/truffleruby/master/test/mri/tests/rexml/data/euc.xml -------------------------------------------------------------------------------- /test/mri/tests/rexml/data/t63-1.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/did/truffleruby/master/test/mri/tests/rexml/data/t63-1.xml -------------------------------------------------------------------------------- /test/mri/tests/rexml/data/t63-2.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/did/truffleruby/master/test/mri/tests/rexml/data/t63-2.svg -------------------------------------------------------------------------------- /test/mri/tests/rexml/data/utf16.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/did/truffleruby/master/test/mri/tests/rexml/data/utf16.xml -------------------------------------------------------------------------------- /test/truffle/ecosystem/blog/app/views/posts/edit.html.erb: -------------------------------------------------------------------------------- 1 |

Edit post

2 | 3 | <%= render partial: 'form' %> 4 | -------------------------------------------------------------------------------- /lib/mri/rubygems/resolver/molinillo.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | require 'rubygems/resolver/molinillo/lib/molinillo' 3 | -------------------------------------------------------------------------------- /lib/ruby/gems/2.6.0/gems/did_you_mean-1.3.0/lib/did_you_mean/version.rb: -------------------------------------------------------------------------------- 1 | module DidYouMean 2 | VERSION = "1.3.0" 3 | end 4 | -------------------------------------------------------------------------------- /lib/ruby/gems/2.6.0/gems/power_assert-1.1.3/lib/power_assert/version.rb: -------------------------------------------------------------------------------- 1 | module PowerAssert 2 | VERSION = "1.1.3" 3 | end 4 | -------------------------------------------------------------------------------- /logo/pdf/truffleruby_logo_notext.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/did/truffleruby/master/logo/pdf/truffleruby_logo_notext.pdf -------------------------------------------------------------------------------- /logo/pdf/truffleruby_simple_icon.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/did/truffleruby/master/logo/pdf/truffleruby_simple_icon.pdf -------------------------------------------------------------------------------- /spec/mspec/lib/mspec/mocks.rb: -------------------------------------------------------------------------------- 1 | require 'mspec/mocks/mock' 2 | require 'mspec/mocks/proxy' 3 | require 'mspec/mocks/object' 4 | -------------------------------------------------------------------------------- /spec/ruby/core/integer/fixtures/classes.rb: -------------------------------------------------------------------------------- 1 | module IntegerSpecs 2 | class CoerceError < StandardError 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /spec/ruby/core/io/fixtures/reopen_stdout.rb: -------------------------------------------------------------------------------- 1 | STDOUT.reopen ARGV[0] 2 | system "echo from system" 3 | exec "echo from exec" 4 | -------------------------------------------------------------------------------- /spec/ruby/core/kernel/fixtures/caller_at_exit.rb: -------------------------------------------------------------------------------- 1 | at_exit { 2 | foo 3 | } 4 | 5 | def foo 6 | puts caller(0) 7 | end 8 | -------------------------------------------------------------------------------- /spec/ruby/core/module/fixtures/autoload_overridden.rb: -------------------------------------------------------------------------------- 1 | module ModuleSpecs::Autoload 2 | Overridden = :overridden 3 | end 4 | -------------------------------------------------------------------------------- /spec/ruby/core/module/fixtures/autoload_w.rb: -------------------------------------------------------------------------------- 1 | # Fails to define ModuleSpecs::Autoload::W::Y 2 | ScratchPad.record :loaded 3 | -------------------------------------------------------------------------------- /spec/ruby/language/fixtures/dollar_zero.rb: -------------------------------------------------------------------------------- 1 | puts $0 2 | puts __FILE__ 3 | 4 | if $0 == __FILE__ 5 | print "OK" 6 | end 7 | -------------------------------------------------------------------------------- /spec/ruby/language/fixtures/emacs_magic_comment.rb: -------------------------------------------------------------------------------- 1 | # -*- encoding: big5 -*- 2 | $magic_comment_result = __ENCODING__.name 3 | -------------------------------------------------------------------------------- /spec/ruby/language/fixtures/second_line_magic_comment.rb: -------------------------------------------------------------------------------- 1 | 2 | # encoding: big5 3 | $magic_comment_result = __ENCODING__.name 4 | -------------------------------------------------------------------------------- /spec/ruby/language/fixtures/utf16-le-nobom.rb: -------------------------------------------------------------------------------- 1 | # encoding: utf-16le 2 | puts 'hello' 3 | 4 | -------------------------------------------------------------------------------- /spec/ruby/language/predefined/fixtures/data3.rb: -------------------------------------------------------------------------------- 1 | require_relative 'data4' 2 | 3 | puts DATA.read 4 | 5 | __END__ 6 | data 3 7 | -------------------------------------------------------------------------------- /spec/ruby/library/coverage/fixtures/second_class.rb: -------------------------------------------------------------------------------- 1 | class SecondClass 2 | def some_method 3 | 42 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /spec/ruby/library/socket/socket/new_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../spec_helper' 2 | require_relative '../fixtures/classes' 3 | -------------------------------------------------------------------------------- /spec/ruby/library/yaml/add_builtin_type_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../../spec_helper' 2 | require_relative 'fixtures/common' 3 | -------------------------------------------------------------------------------- /spec/ruby/library/yaml/add_domain_type_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../../spec_helper' 2 | require_relative 'fixtures/common' 3 | -------------------------------------------------------------------------------- /spec/ruby/library/yaml/add_private_type_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../../spec_helper' 2 | require_relative 'fixtures/common' 3 | -------------------------------------------------------------------------------- /spec/ruby/library/yaml/add_ruby_type_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../../spec_helper' 2 | require_relative 'fixtures/common' 3 | -------------------------------------------------------------------------------- /spec/ruby/library/yaml/detect_implicit_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../../spec_helper' 2 | require_relative 'fixtures/common' 3 | -------------------------------------------------------------------------------- /spec/ruby/library/yaml/generic_parser_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../../spec_helper' 2 | require_relative 'fixtures/common' 3 | -------------------------------------------------------------------------------- /spec/ruby/library/yaml/parse_documents_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../../spec_helper' 2 | require_relative 'fixtures/common' 3 | -------------------------------------------------------------------------------- /spec/ruby/library/yaml/read_type_class_spec.rb: -------------------------------------------------------------------------------- 1 | require_relative '../../spec_helper' 2 | require_relative 'fixtures/common' 3 | -------------------------------------------------------------------------------- /spec/ruby/optional/capi/fixtures/const_get_from.rb: -------------------------------------------------------------------------------- 1 | class CApiModuleSpecs 2 | class A 3 | C = 123 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /spec/ruby/optional/capi/fixtures/module_autoload.rb: -------------------------------------------------------------------------------- 1 | class CApiModuleSpecs 2 | module RubyUnderAutoload 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /spec/tags/command_line/dash_upper_f_tags.txt: -------------------------------------------------------------------------------- 1 | fails:the -F command line option specifies the field separator pattern for -a 2 | -------------------------------------------------------------------------------- /spec/tags/core/argf/path_tags.txt: -------------------------------------------------------------------------------- 1 | slow:ARGF.path sets the $FILENAME global variable with the current file name on each file 2 | -------------------------------------------------------------------------------- /spec/tags/core/kernel/dup_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Kernel#dup returns self for Complex 2 | fails:Kernel#dup returns self for Rational 3 | -------------------------------------------------------------------------------- /spec/tags/core/main/def_tags.txt: -------------------------------------------------------------------------------- 1 | fails:main#def sets the visibility of the given method to private when defined in a block 2 | -------------------------------------------------------------------------------- /spec/tags/core/module/autoload_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Module#autoload (concurrently) blocks others threads while doing an autoload 2 | -------------------------------------------------------------------------------- /spec/tags/core/tracepoint/callee_id_tags.txt: -------------------------------------------------------------------------------- 1 | fails:TracePoint#callee_id returns the called name of the method being called 2 | -------------------------------------------------------------------------------- /spec/tags/core/tracepoint/instruction_sequence_tags.txt: -------------------------------------------------------------------------------- 1 | fails:TracePoint#instruction_sequence is an instruction sequence 2 | -------------------------------------------------------------------------------- /spec/tags/language/execution_tags.txt: -------------------------------------------------------------------------------- 1 | slow:`` returns the output of the executed sub-process 2 | slow:%x is the same as `` 3 | -------------------------------------------------------------------------------- /spec/tags/library/datetime/to_time_tags.txt: -------------------------------------------------------------------------------- 1 | fails:DateTime#to_time preserves the same time regardless of local time or zone 2 | -------------------------------------------------------------------------------- /spec/tags/library/net/telnet/initialize_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Net::Telnet#initialize needs to be reviewed for spec completeness 2 | -------------------------------------------------------------------------------- /spec/tags/library/net/telnet/preprocess_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Net::Telnet#preprocess needs to be reviewed for spec completeness 2 | -------------------------------------------------------------------------------- /spec/tags/library/stringio/readpartial_tags.txt: -------------------------------------------------------------------------------- 1 | graalvm:StringIO#readpartial reads after ungetc without data in the buffer 2 | -------------------------------------------------------------------------------- /spec/tags/library/stringscanner/reset_tags.txt: -------------------------------------------------------------------------------- 1 | graalvm:StringScanner#reset reset the scan pointer and clear matching data 2 | -------------------------------------------------------------------------------- /spec/tags/library/zlib/gzipreader/gets_tags.txt: -------------------------------------------------------------------------------- 1 | fails:GzipReader#gets with "" separator reads paragraphs skipping newlines 2 | -------------------------------------------------------------------------------- /spec/tags/optional/capi/kernel_tags.txt: -------------------------------------------------------------------------------- 1 | fails(uses-fork):C-API Kernel function rb_set_end_proc runs a C function on shutdown 2 | -------------------------------------------------------------------------------- /spec/truffle/interop/fixtures/eval_file_return.rb: -------------------------------------------------------------------------------- 1 | return 14 2 | raise 'unreachable' # rubocop:disable Lint/UnreachableCode 3 | -------------------------------------------------------------------------------- /spec/truffle/methods/BasicObject.txt: -------------------------------------------------------------------------------- 1 | ! 2 | != 3 | == 4 | __id__ 5 | __send__ 6 | equal? 7 | instance_eval 8 | instance_exec 9 | -------------------------------------------------------------------------------- /test/mri/excludes/OpenSSL/TestPartialRecordRead.rb: -------------------------------------------------------------------------------- 1 | exclude :test_partial_tls_record_read_nonblock, "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/REXMLTests/TestXPathAxisPredcedingSibling.rb: -------------------------------------------------------------------------------- 1 | exclude :"test_preceding_sibling_axis", "needs investigation" 2 | -------------------------------------------------------------------------------- /test/mri/excludes/TSortTest.rb: -------------------------------------------------------------------------------- 1 | exclude :test_cycle, "needs investigation" 2 | exclude :test_s_tsort, "needs investigation" 3 | -------------------------------------------------------------------------------- /test/mri/excludes/TestFixnum.rb: -------------------------------------------------------------------------------- 1 | exclude :test_div, "needs investigation" 2 | exclude :test_power_of_0, "needs investigation" 3 | -------------------------------------------------------------------------------- /test/mri/excludes/TestForTestHideSkip.rb: -------------------------------------------------------------------------------- 1 | exclude :test_b, "needs investigation" 2 | exclude :test_a, "needs investigation" 3 | -------------------------------------------------------------------------------- /test/mri/excludes/TestKeyError.rb: -------------------------------------------------------------------------------- 1 | exclude :test_key, "needs investigation" 2 | exclude :test_receiver, "needs investigation" 3 | -------------------------------------------------------------------------------- /test/mri/tests/cext-c/debug/extconf.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: false 2 | require_relative "../auto_ext.rb" 3 | auto_ext 4 | -------------------------------------------------------------------------------- /test/mri/tests/cext-c/exception/extconf.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: false 2 | require_relative "../auto_ext.rb" 3 | auto_ext 4 | -------------------------------------------------------------------------------- /test/mri/tests/cext-c/marshal/compat/extconf.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: false 2 | create_makefile("-test-/marshal/compat") 3 | -------------------------------------------------------------------------------- /test/mri/tests/cext-c/method/extconf.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: false 2 | require_relative "../auto_ext.rb" 3 | auto_ext 4 | -------------------------------------------------------------------------------- /test/mri/tests/cext-c/postponed_job/extconf.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: false 2 | create_makefile('-test-/postponed_job') 3 | -------------------------------------------------------------------------------- /test/mri/tests/cext-c/regexp/extconf.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: false 2 | require_relative "../auto_ext.rb" 3 | auto_ext 4 | -------------------------------------------------------------------------------- /test/mri/tests/cext-c/thread_fd_close/extconf.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | create_makefile('-test-/thread_fd_close') 3 | -------------------------------------------------------------------------------- /test/mri/tests/cgi/testdata/large.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/did/truffleruby/master/test/mri/tests/cgi/testdata/large.png -------------------------------------------------------------------------------- /test/mri/tests/cgi/testdata/small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/did/truffleruby/master/test/mri/tests/cgi/testdata/small.png -------------------------------------------------------------------------------- /test/mri/tests/dtrace/dummy.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: false 2 | # this is a dummy file used by test/dtrace/test_require.rb 3 | -------------------------------------------------------------------------------- /test/truffle/cexts/method/bin/method: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | 3 | require 'method' 4 | 5 | puts MethodExtension.add(14, 2) 6 | -------------------------------------------------------------------------------- /test/truffle/cexts/module/bin/module: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | 3 | require 'module' 4 | 5 | puts defined?(ModuleExtension) 6 | -------------------------------------------------------------------------------- /test/truffle/cexts/xopenssl/bin/xopenssl: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | 3 | require 'xopenssl' 4 | 5 | puts XOpenSSL.md5('hello') 6 | -------------------------------------------------------------------------------- /test/truffle/ecosystem/blog/app/assets/config/manifest.js: -------------------------------------------------------------------------------- 1 | //= link_tree ../images 2 | //= link_directory ../stylesheets .css 3 | -------------------------------------------------------------------------------- /test/truffle/ecosystem/blog/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "blank-5_2", 3 | "private": true, 4 | "dependencies": {} 5 | } 6 | -------------------------------------------------------------------------------- /bench/benchmark-interface/tests/expected/bench9000micro-bm.txt: -------------------------------------------------------------------------------- 1 | user system total real 2 | bench9000micro XXX XXX XXX (XXX) 3 | -------------------------------------------------------------------------------- /bench/benchmark-interface/tests/expected/bench9000micro-bmbm.txt: -------------------------------------------------------------------------------- 1 | user system total real 2 | bench9000micro XXX XXX XXX (XXX) 3 | -------------------------------------------------------------------------------- /bench/benchmark-interface/tests/expected/interface-simple.txt: -------------------------------------------------------------------------------- 1 | interface:XXX 2 | XXX 3 | clamp_a 4 | XXX 5 | clamp_b 6 | XXX 7 | -------------------------------------------------------------------------------- /bench/chunky_png/oily_png/ext/oily_png/extconf.rb: -------------------------------------------------------------------------------- 1 | require 'mkmf' 2 | $CFLAGS << ' -Wall' 3 | create_makefile('oily_png/oily_png') 4 | -------------------------------------------------------------------------------- /bench/optcarrot/examples/Lan_Master.nes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/did/truffleruby/master/bench/optcarrot/examples/Lan_Master.nes -------------------------------------------------------------------------------- /lib/mri/rdoc/version.rb: -------------------------------------------------------------------------------- 1 | module RDoc 2 | 3 | ## 4 | # RDoc version you are using 5 | 6 | VERSION = '6.1.0' 7 | 8 | end 9 | -------------------------------------------------------------------------------- /logo/pdf/truffleruby_logo_horizontal.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/did/truffleruby/master/logo/pdf/truffleruby_logo_horizontal.pdf -------------------------------------------------------------------------------- /logo/pdf/truffleruby_logo_vertical.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/did/truffleruby/master/logo/pdf/truffleruby_logo_vertical.pdf -------------------------------------------------------------------------------- /spec/ruby/command_line/fixtures/freeze_flag_one_literal.rb: -------------------------------------------------------------------------------- 1 | ids = Array.new(2) { "abc".object_id } 2 | p ids.first == ids.last 3 | -------------------------------------------------------------------------------- /spec/ruby/core/argf/fixtures/rewind.rb: -------------------------------------------------------------------------------- 1 | puts ARGF.lineno 2 | ARGF.gets 3 | puts ARGF.lineno 4 | ARGF.rewind 5 | puts ARGF.lineno 6 | -------------------------------------------------------------------------------- /spec/ruby/core/io/fixtures/numbered_lines.txt: -------------------------------------------------------------------------------- 1 | Line 1: One 2 | Line 2: Two 3 | Line 3: Three 4 | Line 4: Four 5 | Line 5: Five 6 | -------------------------------------------------------------------------------- /spec/ruby/core/kernel/fixtures/autoload_b.rb: -------------------------------------------------------------------------------- 1 | module KSAutoloadB 2 | def self.loaded 3 | :ksautoload_b 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /spec/ruby/core/kernel/fixtures/autoload_d.rb: -------------------------------------------------------------------------------- 1 | module KSAutoloadD 2 | def self.loaded 3 | :ksautoload_d 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /spec/ruby/core/module/fixtures/autoload_lm.rb: -------------------------------------------------------------------------------- 1 | module ModuleSpecs::Autoload 2 | L = :autoload_l 3 | M = :autoload_m 4 | end 5 | -------------------------------------------------------------------------------- /spec/ruby/fixtures/code/recursive_require_fixture.rb: -------------------------------------------------------------------------------- 1 | require_relative 'recursive_require_fixture' 2 | 3 | ScratchPad << :loaded 4 | -------------------------------------------------------------------------------- /spec/ruby/language/fixtures/binary_symbol.rb: -------------------------------------------------------------------------------- 1 | # encoding: binary 2 | 3 | p :il_était.to_s.bytes 4 | puts :il_était.encoding.name 5 | -------------------------------------------------------------------------------- /spec/ruby/language/fixtures/second_token_magic_comment.rb: -------------------------------------------------------------------------------- 1 | 1 + 1 # encoding: big5 2 | $magic_comment_result = __ENCODING__.name 3 | -------------------------------------------------------------------------------- /spec/ruby/library/openstruct/fixtures/classes.rb: -------------------------------------------------------------------------------- 1 | module OpenStructSpecs 2 | class OpenStructSub < OpenStruct 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /spec/ruby/library/win32ole/fixtures/event.xml: -------------------------------------------------------------------------------- 1 | 2 | Ruby 3 | trunk 4 | 5 | -------------------------------------------------------------------------------- /spec/tags/core/exception/signal_exception_tags.txt: -------------------------------------------------------------------------------- 1 | fails:rescuing SignalException raises a SignalException when sent a signal 2 | -------------------------------------------------------------------------------- /spec/tags/core/method/parameters_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Method#parameters returns [[:rest]] for a Method generated by respond_to_missing? 2 | -------------------------------------------------------------------------------- /spec/tags/core/proc/source_location_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Proc#source_location returns nil for a core method that has been proc-ified 2 | -------------------------------------------------------------------------------- /spec/tags/core/process/setsid_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Process.setsid establishes this process as a new session and process group leader 2 | -------------------------------------------------------------------------------- /spec/tags/library/datetime/now_tags.txt: -------------------------------------------------------------------------------- 1 | aot:DateTime.now sets the current time 2 | graalvm:DateTime.now sets the current time 3 | -------------------------------------------------------------------------------- /spec/tags/library/socket/basicsocket/setsockopt_tags.txt: -------------------------------------------------------------------------------- 1 | fails:BasicSocket#setsockopt sets the socket option Socket::SO_OOBINLINE 2 | -------------------------------------------------------------------------------- /spec/tags/truffle/kernel/gem_tags.txt: -------------------------------------------------------------------------------- 1 | slow:Kernel#gem returns true for included gems 2 | aot:Kernel#gem returns true for included gems -------------------------------------------------------------------------------- /spec/tags/truffle/nfi_tags.txt: -------------------------------------------------------------------------------- 1 | aot(crashes, exits with 99):NFI with callbacks to Ruby propagates exceptions from the callback 2 | -------------------------------------------------------------------------------- /src/main/c/json/generator/extconf.rb: -------------------------------------------------------------------------------- 1 | require 'mkmf' 2 | 3 | $defs << "-DJSON_GENERATOR" 4 | create_makefile 'json/ext/generator' 5 | -------------------------------------------------------------------------------- /src/main/c/openssl/ossl_kdf.h: -------------------------------------------------------------------------------- 1 | #if !defined(OSSL_KDF_H) 2 | #define OSSL_KDF_H 3 | 4 | void Init_ossl_kdf(void); 5 | 6 | #endif 7 | -------------------------------------------------------------------------------- /test/mri/excludes/TestRubyVM.rb: -------------------------------------------------------------------------------- 1 | exclude :test_stat_unknown, "needs investigation" 2 | exclude :test_stat, "needs investigation" 3 | -------------------------------------------------------------------------------- /test/mri/excludes/TestUnicodeEscape.rb: -------------------------------------------------------------------------------- 1 | exclude :test_fail, "needs investigation" 2 | exclude :test_regexp, "needs investigation" 3 | -------------------------------------------------------------------------------- /test/mri/tests/cext-c/arith_seq/extract/extconf.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: false 2 | create_makefile("-test-/arith_seq/extract") 3 | -------------------------------------------------------------------------------- /test/mri/tests/cext-c/funcall/extconf.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: false 2 | require 'mkmf' 3 | create_makefile("-test-/funcall") 4 | -------------------------------------------------------------------------------- /test/mri/tests/csv/helper.rb: -------------------------------------------------------------------------------- 1 | require "test/unit" 2 | 3 | require "csv" 4 | 5 | require_relative "../lib/with_different_ofs.rb" 6 | -------------------------------------------------------------------------------- /test/mri/tests/rexml/data/iso8859-1.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/did/truffleruby/master/test/mri/tests/rexml/data/iso8859-1.xml -------------------------------------------------------------------------------- /test/mri/tests/rexml/data/ticket_61.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/did/truffleruby/master/test/mri/tests/rexml/data/ticket_61.xml -------------------------------------------------------------------------------- /test/mri/tests/ruby/enc/test_euc_jp.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/did/truffleruby/master/test/mri/tests/ruby/enc/test_euc_jp.rb -------------------------------------------------------------------------------- /test/mri/tests/webrick/webrick.rhtml: -------------------------------------------------------------------------------- 1 | req to <%= 2 | servlet_request.request_uri 3 | %> <%= 4 | servlet_request.query.inspect %> 5 | -------------------------------------------------------------------------------- /test/truffle/compiler/can-we-fold-yet/input.txt: -------------------------------------------------------------------------------- 1 | 14 2 | 14 + 2 3 | [1, 2, 3][1] 4 | [1, -2, 3].map(&:abs)[1] 5 | rand 6 | exit 7 | -------------------------------------------------------------------------------- /test/truffle/ecosystem/hello-world/bin/hello-world.rb: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | 3 | puts 'Hello world! from ' + RUBY_DESCRIPTION 4 | -------------------------------------------------------------------------------- /bench/benchmark-interface/tests/expected/readme-bm.txt: -------------------------------------------------------------------------------- 1 | user system total real 2 | mul XXX XXX XXX (XXX) 3 | pow XXX XXX XXX (XXX) 4 | -------------------------------------------------------------------------------- /bench/psd.rb/psd_native/ext/psd_native/extconf.rb: -------------------------------------------------------------------------------- 1 | require 'mkmf' 2 | $CFLAGS << ' -Wall' 3 | create_makefile('psd_native/psd_native') 4 | -------------------------------------------------------------------------------- /lib/mri/rdoc/ri/store.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | module RDoc::RI 3 | 4 | Store = RDoc::Store # :nodoc: 5 | 6 | end 7 | 8 | -------------------------------------------------------------------------------- /logo/png/truffleruby_logo_notext_large.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/did/truffleruby/master/logo/png/truffleruby_logo_notext_large.png -------------------------------------------------------------------------------- /logo/png/truffleruby_logo_notext_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/did/truffleruby/master/logo/png/truffleruby_logo_notext_small.png -------------------------------------------------------------------------------- /logo/png/truffleruby_simple_icon_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/did/truffleruby/master/logo/png/truffleruby_simple_icon_small.png -------------------------------------------------------------------------------- /logo/sticker/truffleruby_sticker_7_5cm.ai: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/did/truffleruby/master/logo/sticker/truffleruby_sticker_7_5cm.ai -------------------------------------------------------------------------------- /spec/mspec/lib/mspec/version.rb: -------------------------------------------------------------------------------- 1 | require 'mspec/utils/version' 2 | 3 | module MSpec 4 | VERSION = SpecVersion.new "1.8.0" 5 | end 6 | -------------------------------------------------------------------------------- /spec/ruby/command_line/fixtures/bin/hybrid_launcher.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | exec somehow this file 3 | #!ruby 4 | puts 'success' 5 | -------------------------------------------------------------------------------- /spec/ruby/core/io/fixtures/incomplete.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/did/truffleruby/master/spec/ruby/core/io/fixtures/incomplete.txt -------------------------------------------------------------------------------- /spec/ruby/core/io/fixtures/read_binary.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/did/truffleruby/master/spec/ruby/core/io/fixtures/read_binary.txt -------------------------------------------------------------------------------- /spec/ruby/core/io/fixtures/read_euc_jp.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/did/truffleruby/master/spec/ruby/core/io/fixtures/read_euc_jp.txt -------------------------------------------------------------------------------- /spec/ruby/core/thread/backtrace/location/fixtures/main.rb: -------------------------------------------------------------------------------- 1 | def example 2 | caller_locations[0].path 3 | end 4 | 5 | print example 6 | -------------------------------------------------------------------------------- /spec/ruby/library/net/ftp/fixtures/puttextfile: -------------------------------------------------------------------------------- 1 | This is an example file 2 | which is going to be transmitted 3 | using #puttextfile. 4 | -------------------------------------------------------------------------------- /spec/ruby/optional/capi/fixtures/path_to_class.rb: -------------------------------------------------------------------------------- 1 | class CApiClassSpecs 2 | class A 3 | module D 4 | end 5 | end 6 | end 7 | -------------------------------------------------------------------------------- /spec/ruby/shared/file/owned.rb: -------------------------------------------------------------------------------- 1 | describe :file_owned, shared: true do 2 | it "accepts an object that has a #to_path method" 3 | end 4 | -------------------------------------------------------------------------------- /spec/ruby/shared/file/pipe.rb: -------------------------------------------------------------------------------- 1 | describe :file_pipe, shared: true do 2 | it "accepts an object that has a #to_path method" 3 | end 4 | -------------------------------------------------------------------------------- /spec/ruby/shared/file/socket.rb: -------------------------------------------------------------------------------- 1 | describe :file_socket, shared: true do 2 | it "accepts an object that has a #to_path method" 3 | end 4 | -------------------------------------------------------------------------------- /spec/tags/core/argf/filename_tags.txt: -------------------------------------------------------------------------------- 1 | slow:ARGF.filename sets the $FILENAME global variable with the current file name on each file 2 | -------------------------------------------------------------------------------- /spec/tags/core/encoding/locale_charmap_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Encoding.locale_charmap returns a value based on the LC_ALL environment variable 2 | -------------------------------------------------------------------------------- /spec/tags/core/enumerator/arithmetic_sequence/end_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Enumerator::ArithmeticSequence#end returns the end of the sequence 2 | -------------------------------------------------------------------------------- /spec/tags/core/enumerator/next_values_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Enumerator#next_values returns an array with only nil if yield is called with nil 2 | -------------------------------------------------------------------------------- /spec/tags/core/enumerator/peek_values_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Enumerator#peek_values returns an array with only nil if yield is called with nil 2 | -------------------------------------------------------------------------------- /spec/tags/core/file/stat/inspect_tags.txt: -------------------------------------------------------------------------------- 1 | darwin:File::Stat#inspect produces a nicely formatted description of a File::Stat object 2 | -------------------------------------------------------------------------------- /spec/tags/core/io/sysread_tags.txt: -------------------------------------------------------------------------------- 1 | fails:IO#sysread on a file reads normally even when called immediately after a buffered IO#read 2 | -------------------------------------------------------------------------------- /spec/tags/core/kernel/autoload_tags.txt: -------------------------------------------------------------------------------- 1 | slow:Kernel#autoload when Object is frozen raises a FrozenError before defining the constant 2 | -------------------------------------------------------------------------------- /spec/tags/core/kernel/caller_tags.txt: -------------------------------------------------------------------------------- 1 | slow:Kernel#caller returns an Array with the block given to #at_exit at the base of the stack 2 | -------------------------------------------------------------------------------- /spec/tags/core/main/include_tags.txt: -------------------------------------------------------------------------------- 1 | fails:main#include in a file loaded with wrapping includes the given Module in the load wrapper 2 | -------------------------------------------------------------------------------- /spec/tags/core/marshal/dump_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Marshal.dump with an Object raises if an Object has a singleton class and singleton methods 2 | -------------------------------------------------------------------------------- /spec/tags/core/method/source_location_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Method#source_location for a Method generated by respond_to_missing? returns nil 2 | -------------------------------------------------------------------------------- /spec/tags/core/symbol/all_symbols_tags.txt: -------------------------------------------------------------------------------- 1 | slow:Symbol.all_symbols returns an array containing all the Symbols in the symbol table 2 | -------------------------------------------------------------------------------- /spec/tags/core/tracepoint/defined_class_tags.txt: -------------------------------------------------------------------------------- 1 | fails:TracePoint#defined_class returns class or module of the method being called 2 | -------------------------------------------------------------------------------- /spec/tags/core/tracepoint/method_id_tags.txt: -------------------------------------------------------------------------------- 1 | fails:TracePoint#method_id returns the name at the definition of the method being called 2 | -------------------------------------------------------------------------------- /spec/tags/core/tracepoint/new_tags.txt: -------------------------------------------------------------------------------- 1 | fails:TracePoint.new includes multiple events when multiple event names are passed as params 2 | -------------------------------------------------------------------------------- /spec/tags/core/unboundmethod/owner_tags.txt: -------------------------------------------------------------------------------- 1 | fails:UnboundMethod#owner returns the new owner for aliased methods on singleton classes 2 | -------------------------------------------------------------------------------- /spec/tags/library/set/compare_by_identity_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Set#compare_by_identity is not equal to set what does not compare by identity 2 | -------------------------------------------------------------------------------- /spec/tags/library/socket/tcpsocket/recv_nonblock_tags.txt: -------------------------------------------------------------------------------- 1 | fails:TCPSocket#recv_nonblock returns :wait_readable in exceptionless mode 2 | -------------------------------------------------------------------------------- /spec/tags/library/socket/udpsocket/inspect_tags.txt: -------------------------------------------------------------------------------- 1 | fails:UDPSocket#inspect returns a String with the fd, family, address and port 2 | -------------------------------------------------------------------------------- /spec/tags/library/weakref/__getobj___tags.txt: -------------------------------------------------------------------------------- 1 | slow:WeakRef#__getobj__ raises WeakRef::RefError if the object is no longer reachable 2 | -------------------------------------------------------------------------------- /test/mri/excludes/OpenSSL/TestEC.rb: -------------------------------------------------------------------------------- 1 | exclude :test_ECPrivateKey, "needs investigation" 2 | exclude :test_PUBKEY, "needs investigation" 3 | -------------------------------------------------------------------------------- /test/mri/excludes/TestEncoding.rb: -------------------------------------------------------------------------------- 1 | exclude :test_replicate, "needs investigation" 2 | exclude :test_singleton, "needs investigation" 3 | -------------------------------------------------------------------------------- /test/mri/excludes/TestJSONGenerate.rb: -------------------------------------------------------------------------------- 1 | exclude :test_string_subclass, "needs investigation" 2 | exclude :test_gc, "needs investigation" 3 | -------------------------------------------------------------------------------- /test/mri/excludes/TestRubyYieldGen.rb: -------------------------------------------------------------------------------- 1 | exclude :test_yield, "needs investigation" 2 | exclude :test_yield_lambda, "needs investigation" 3 | -------------------------------------------------------------------------------- /test/mri/excludes/Test_Integer.rb: -------------------------------------------------------------------------------- 1 | exclude :test_fixnum_range, "needs investigation" 2 | exclude :test_positive_pow, "needs investigation" -------------------------------------------------------------------------------- /test/mri/tests/cext-c/bignum/extconf.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: false 2 | require_relative "../auto_ext.rb" 3 | auto_ext(inc: true) 4 | -------------------------------------------------------------------------------- /test/mri/tests/cext-c/class/extconf.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: false 2 | require_relative "../auto_ext.rb" 3 | auto_ext(inc: true) 4 | -------------------------------------------------------------------------------- /test/mri/tests/cext-c/float/extconf.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: false 2 | require_relative "../auto_ext.rb" 3 | auto_ext(inc: true) 4 | -------------------------------------------------------------------------------- /test/mri/tests/cext-c/hash/extconf.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: false 2 | require_relative "../auto_ext.rb" 3 | auto_ext(inc: true) 4 | -------------------------------------------------------------------------------- /test/mri/tests/cext-c/integer/extconf.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: false 2 | require_relative "../auto_ext.rb" 3 | auto_ext(inc: true) 4 | -------------------------------------------------------------------------------- /test/mri/tests/cext-c/iter/extconf.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: false 2 | require_relative "../auto_ext.rb" 3 | auto_ext(inc: true) 4 | -------------------------------------------------------------------------------- /test/mri/tests/cext-c/proc/extconf.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: false 2 | require_relative "../auto_ext.rb" 3 | auto_ext(inc: true) 4 | -------------------------------------------------------------------------------- /test/mri/tests/cext-c/recursion/extconf.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: false 2 | require 'mkmf' 3 | create_makefile("-test-/recursion") 4 | -------------------------------------------------------------------------------- /test/mri/tests/cext-c/string/extconf.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: false 2 | require_relative "../auto_ext.rb" 3 | auto_ext(inc: true) 4 | -------------------------------------------------------------------------------- /test/mri/tests/cext-c/struct/extconf.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: false 2 | require_relative "../auto_ext.rb" 3 | auto_ext(inc: true) 4 | -------------------------------------------------------------------------------- /test/mri/tests/cext-c/time/extconf.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: false 2 | require_relative "../auto_ext.rb" 3 | auto_ext(inc: true) 4 | -------------------------------------------------------------------------------- /test/mri/tests/rexml/data/jaxen24.xml: -------------------------------------------------------------------------------- 1 | 2 |

3 | -------------------------------------------------------------------------------- /test/mri/tests/rexml/data/pi2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | foo 4 | 5 | bar 6 | 7 | -------------------------------------------------------------------------------- /test/mri/tests/rexml/data/xmlfile-bug.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/did/truffleruby/master/test/mri/tests/rexml/data/xmlfile-bug.xml -------------------------------------------------------------------------------- /test/mri/tests/ruby/enc/test_shift_jis.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/did/truffleruby/master/test/mri/tests/ruby/enc/test_shift_jis.rb -------------------------------------------------------------------------------- /test/truffle/cexts/backtraces/ext/nativetestlib.c: -------------------------------------------------------------------------------- 1 | int test_native_callback(int (*callback)(void)) { 2 | return callback(); 3 | } 4 | -------------------------------------------------------------------------------- /test/truffle/cexts/minimum/ext/minimum/minimum.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | void Init_minimum() { 4 | printf("Hello!\n"); 5 | } 6 | -------------------------------------------------------------------------------- /bench/benchmark-interface/tests/expected/readme-bmbm.txt: -------------------------------------------------------------------------------- 1 | user system total real 2 | mul XXX XXX XXX (XXX) 3 | pow XXX XXX XXX (XXX) 4 | -------------------------------------------------------------------------------- /lib/mri/bundler/templates/newgem/ext/newgem/extconf.rb.tt: -------------------------------------------------------------------------------- 1 | require "mkmf" 2 | 3 | create_makefile(<%= config[:makefile_path].inspect %>) 4 | -------------------------------------------------------------------------------- /lib/ruby/gems/2.6.0/gems/rake-12.3.2/doc/example/a.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | void a() 4 | { 5 | printf ("In function a\n"); 6 | } 7 | -------------------------------------------------------------------------------- /lib/ruby/gems/2.6.0/gems/rake-12.3.2/doc/example/b.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | void b() 4 | { 5 | printf ("In function b\n"); 6 | } 7 | -------------------------------------------------------------------------------- /lib/ruby/gems/2.6.0/gems/test-unit-3.2.9/lib/test/unit/version.rb: -------------------------------------------------------------------------------- 1 | module Test 2 | module Unit 3 | VERSION = "3.2.9" 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /logo/png/truffleruby_logo_notext_medium.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/did/truffleruby/master/logo/png/truffleruby_logo_notext_medium.png -------------------------------------------------------------------------------- /logo/png/truffleruby_logo_vertical_large.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/did/truffleruby/master/logo/png/truffleruby_logo_vertical_large.png -------------------------------------------------------------------------------- /logo/png/truffleruby_logo_vertical_medium.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/did/truffleruby/master/logo/png/truffleruby_logo_vertical_medium.png -------------------------------------------------------------------------------- /logo/png/truffleruby_logo_vertical_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/did/truffleruby/master/logo/png/truffleruby_logo_vertical_small.png -------------------------------------------------------------------------------- /logo/png/truffleruby_simple_icon_medium.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/did/truffleruby/master/logo/png/truffleruby_simple_icon_medium.png -------------------------------------------------------------------------------- /logo/sticker/truffleruby_sticker_7_5cm_af.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/did/truffleruby/master/logo/sticker/truffleruby_sticker_7_5cm_af.pdf -------------------------------------------------------------------------------- /spec/mspec/lib/mspec/helpers/flunk.rb: -------------------------------------------------------------------------------- 1 | def flunk(msg="This example is a failure") 2 | SpecExpectation.fail_with "Failed:", msg 3 | end 4 | -------------------------------------------------------------------------------- /spec/ruby/core/argf/fixtures/filename.rb: -------------------------------------------------------------------------------- 1 | puts $FILENAME while ARGF.gets 2 | # returns last current file even when closed 3 | puts $FILENAME 4 | -------------------------------------------------------------------------------- /spec/ruby/core/io/fixtures/bom_UTF-16BE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/did/truffleruby/master/spec/ruby/core/io/fixtures/bom_UTF-16BE.txt -------------------------------------------------------------------------------- /spec/ruby/core/io/fixtures/bom_UTF-16LE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/did/truffleruby/master/spec/ruby/core/io/fixtures/bom_UTF-16LE.txt -------------------------------------------------------------------------------- /spec/ruby/core/io/fixtures/bom_UTF-32BE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/did/truffleruby/master/spec/ruby/core/io/fixtures/bom_UTF-32BE.txt -------------------------------------------------------------------------------- /spec/ruby/core/io/fixtures/bom_UTF-32LE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/did/truffleruby/master/spec/ruby/core/io/fixtures/bom_UTF-32LE.txt -------------------------------------------------------------------------------- /spec/ruby/core/kernel/fixtures/eval_locals.rb: -------------------------------------------------------------------------------- 1 | begin 2 | eval("a = 2") 3 | eval("p a") 4 | rescue Object => e 5 | puts e.class 6 | end 7 | -------------------------------------------------------------------------------- /spec/ruby/core/marshal/fixtures/random.dump: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/did/truffleruby/master/spec/ruby/core/marshal/fixtures/random.dump -------------------------------------------------------------------------------- /spec/ruby/core/module/fixtures/autoload_during_require.rb: -------------------------------------------------------------------------------- 1 | module ModuleSpecs::Autoload 2 | class AutoloadDuringRequire 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /spec/ruby/core/module/fixtures/autoload_i.rb: -------------------------------------------------------------------------------- 1 | module ModuleSpecs::Autoload 2 | I = :autoloaded 3 | end 4 | 5 | ScratchPad.record :loaded 6 | -------------------------------------------------------------------------------- /spec/ruby/core/module/fixtures/autoload_s.rb: -------------------------------------------------------------------------------- 1 | module ModuleSpecs::Autoload 2 | S = :autoload_s 3 | end 4 | 5 | ScratchPad.record :loaded 6 | -------------------------------------------------------------------------------- /spec/ruby/language/fixtures/freeze_magic_comment_required.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | $second_literal_id = "abc".object_id 4 | -------------------------------------------------------------------------------- /spec/ruby/language/fixtures/shebang_magic_comment.rb: -------------------------------------------------------------------------------- 1 | #!/usr/bin/ruby 2 | # encoding: big5 3 | $magic_comment_result = __ENCODING__.name 4 | -------------------------------------------------------------------------------- /spec/ruby/library/net/ftp/fixtures/default_passive.rb: -------------------------------------------------------------------------------- 1 | require "net/ftp" 2 | puts Net::FTP.default_passive 3 | puts Net::FTP.new.passive 4 | -------------------------------------------------------------------------------- /spec/ruby/library/net/ftp/fixtures/putbinaryfile: -------------------------------------------------------------------------------- 1 | This is an example file 2 | which is going to be transmitted 3 | using #putbinaryfile. 4 | -------------------------------------------------------------------------------- /spec/tags/core/enumerable/uniq_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Enumerable#uniq when yielded with multiple arguments returns all yield arguments as an array 2 | -------------------------------------------------------------------------------- /spec/tags/core/enumerator/arithmetic_sequence/begin_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Enumerator::ArithmeticSequence#begin returns the begin of the sequence 2 | -------------------------------------------------------------------------------- /spec/tags/core/io/each_tags.txt: -------------------------------------------------------------------------------- 1 | fails:IO#each when passed chomp yields each line without trailing newline characters to the passed block 2 | -------------------------------------------------------------------------------- /spec/tags/core/proc/new_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Proc.new with an associated block raises a LocalJumpError when context of the block no longer exists 2 | -------------------------------------------------------------------------------- /spec/tags/core/process/setpgrp_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Process.setpgrp and Process.getpgrp sets and gets the process group ID of the calling process 2 | -------------------------------------------------------------------------------- /spec/tags/core/regexp/union_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Regexp.union raises ArgumentError if the arguments include conflicting fixed encoding Regexps 2 | -------------------------------------------------------------------------------- /spec/tags/core/symbol/match_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Symbol#match returns the MatchData 2 | fails:Symbol#match sets the last match pseudo-variables 3 | -------------------------------------------------------------------------------- /spec/tags/language/class_tags.txt: -------------------------------------------------------------------------------- 1 | fails:A class definition extending an object (sclass) allows accessing the block of the original scope 2 | -------------------------------------------------------------------------------- /spec/tags/library/readline/history/append_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Readline::HISTORY.<< tries to convert the passed Object to a String using #to_str 2 | -------------------------------------------------------------------------------- /spec/tags/library/readline/history/push_tags.txt: -------------------------------------------------------------------------------- 1 | fails:Readline::HISTORY.push tries to convert the passed Object to a String using #to_str 2 | -------------------------------------------------------------------------------- /spec/tags/library/socket/unixserver/accept_nonblock_tags.txt: -------------------------------------------------------------------------------- 1 | fails:UNIXServer#accept_nonblock returns :wait_readable in exceptionless mode 2 | --------------------------------------------------------------------------------