aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix variable name and add more example [ci skip]Kazuhiro NISHIYAMA2020-01-031-2/+4
|
* * 2020-01-03 [ci skip]git2020-01-031-1/+1
|
* Fix example of node.type [ci skip]Kazuhiro NISHIYAMA2020-01-031-1/+1
| | | | | | | | | | | | | | | ``` % docker run -it --rm rubylang/all-ruby env ALL_RUBY_SINCE=ruby-2.6 ./all-ruby -e 'root = RubyVM::AbstractSyntaxTree.parse("x = 1 + 2") p [root, root.type] call = root.children[2] p [call, call.type] ' ruby-2.6.0 [#<RubyVM::AbstractSyntaxTree::Node:SCOPE@1:0-1:9>, :SCOPE] [#<RubyVM::AbstractSyntaxTree::Node:LASGN@1:0-1:9>, :LASGN] ... ruby-2.7.0 [#<RubyVM::AbstractSyntaxTree::Node:SCOPE@1:0-1:9>, :SCOPE] [#<RubyVM::AbstractSyntaxTree::Node:LASGN@1:0-1:9>, :LASGN] ```
* Fix a typo [ci skip]Kazuhiro NISHIYAMA2020-01-021-1/+1
|
* * 2020-01-02 [ci skip]git2020-01-021-1/+1
|
* Check Module#ruby2_keywords arityNobuyoshi Nakada2020-01-022-0/+7
| | | | | It is considered a mistake, because calling this method with no arguments has no effect.
* bignum.c: extract bdigits_to_mpz and bdigits_from_mpz (#2805)Kenta Murata2020-01-011-18/+27
|
* Redmine /projects/ruby-trunk is now redirectedTakashi Kokubun2019-12-319-18/+18
| | | | to /projects/ruby-master
* Remove code to prevent double build on trunkTakashi Kokubun2019-12-317-9/+6
| | | | trunk branch was deleted.
* More consistent failure notificationsTakashi Kokubun2019-12-316-10/+24
| | | | The format is the same as Travis / AppVeyor now.
* Do not notify AppVeyor on_build_status_changedTakashi Kokubun2019-12-311-1/+1
| | | | | Similar to 4fb6643f31cdee33184043ce17c42001274c4392. This is motivated by the lack of the same feature in GitHub Actions.
* Make test run condition consistent with other jobsTakashi Kokubun2019-12-311-2/+0
| | | | | When `make all` fails, we should not run tests and output of such run is confusing.
* Fixup a6864f6d2f39bcd1ff04516591cc18d4027ab186Hiroshi SHIBATA2020-01-011-2/+2
|
* Removed the old executables of raccHiroshi SHIBATA2020-01-014-588/+0
| | | | | | [ruby-core:93516][Feature #15982] https://github.com/ruby/racc/pull/123
* [bundler/bundler] Add ruby2_keywordsSutou Kouhei2020-01-013-3/+3
| | | | https://github.com/bundler/bundler/commit/29d932d72d
* Run tests in the consistent orderTakashi Kokubun2019-12-311-10/+10
| | | | `make check` runs test -> test-all -> test-spec, and other CIs follow that too.
* Fix an outdated commentTakashi Kokubun2019-12-311-1/+1
| | | | We're actually using it for PR :p
* Actions MinGW - fix test-all (#2803)MSP-Greg2019-12-311-2/+2
|
* Use actions/checkout for PR (#2804)Takashi Kokubun2019-12-311-7/+4
|
* Add load path and require for ruby/rubyaycabta2020-01-011-0/+2
|
* [ruby/irb] Fix lib name of OpenStructaycabta2020-01-011-1/+1
| | | | https://github.com/ruby/irb/commit/1f3a84ab6b
* * 2020-01-01 [ci skip]git2020-01-011-3/+3
|
* Update GitHub Actions BadgesKazuhiro NISHIYAMA2020-01-012-10/+12
| | | | | - Generated by [npx github-actions-badge](https://github.com/azu/github-actions-badge) - Add MJIT
* Add "require 'openstruct'" what is forgottenaycabta2019-12-311-0/+1
|
* [ruby/irb] Add tests for RubyLexBen2019-12-311-0/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The set_auto_indent method calculates the correct number of spaces for indenting a line. We think there might be a few bugs in this method so we are testing the current functionality to make sure nothing breaks when we address those bugs. Example test failure: ``` 1) Failure: TestIRB::TestRubyLex#test_auto_indent [/Users/Ben/Projects/irb/test/irb/test_ruby_lex.rb:75]: Calculated the wrong number of spaces for: def each_top_level_statement initialize_input catch(:TERM_INPUT) do loop do begin prompt unless l = lex throw :TERM_INPUT if @line == '' else . <10> expected but was <12>. ``` https://github.com/ruby/irb/commit/752d5597ab
* [ruby/reline] Degenerate the terminal size to [$LINES, $COLUMNS] if it is ↵Yusuke Endoh2019-12-311-1/+5
| | | | | | | | unknown This is a workaround for https://github.com/ruby/irb/issues/50 https://github.com/ruby/reline/commit/5725677d1a
* Introduce BIGNUM_EMBED_P to check BIGNUM_EMBED_FLAG (#2802)Kenta Murata2019-12-313-9/+17
| | | | | | * bignum.h: Add BIGNUM_EMBED_P * bignum.c: Use macros for handling BIGNUM_EMBED_FLAG
* speed up set intersectOleg Zubchenko2019-12-311-1/+9
|
* Split test_nomethod_error.rbNobuyoshi Nakada2019-12-312-86/+89
|
* Split test_name_error.rbNobuyoshi Nakada2019-12-312-127/+130
|
* Split test_frozen_error.rbNobuyoshi Nakada2019-12-312-50/+57
|
* Fix the exception to be raisedNobuyoshi Nakada2019-12-311-2/+2
| | | | `NoMethodError` has been raised instead of `FrozenError`.
* Official actions/checkout is uselessTakashi Kokubun2019-12-311-4/+15
| | | | It died again https://github.com/ruby/ruby/runs/368837347
* Fix Object#inspect documentationJoao Fernandes2019-12-311-1/+1
| | | | | Starting from ruby 2.7.0, there's no longer a connection between the hexadecimal number that #inspect shows and the object's ID.
* Update NEWS for Ruby 2.8.0 (tentative; to be 3.0.0)Kazuhiro NISHIYAMA2019-12-311-799/+2
|
* Copy NEWS to doc/NEWS-2.7.0Kazuhiro NISHIYAMA2019-12-311-0/+828
|
* Test the bundled version minitest instead of masterNobuyoshi Nakada2019-12-311-2/+0
| | | | Minitest has the released tags now.
* text/readline/test_readline.rb - fix skip on Reline (#2743)MSP-Greg2019-12-311-1/+2
| | | TestRelineAsReadline#test_input_metachar passes on MinGW
* Copy-editing NEWS file on "is now warned" messages (#2783)Prem Sichanugrist2019-12-311-11/+13
| | | | | The phrase "[doing X] is now warned" is not grammatically correct in English as it is lacking an object. We can make these sentences read better by switching to "[doing X] will now display a warning" instead.
* Make Slack notifications consistentTakashi Kokubun2019-12-302-3/+18
|
* There's no such targetTakashi Kokubun2019-12-301-1/+1
|
* Make all Actions job names consistentTakashi Kokubun2019-12-302-3/+6
| | | | like "{platform} / make ({make target}, ...)"
* Do not doubly build on trunkTakashi Kokubun2019-12-301-1/+1
|
* Drop MinGW build from AppVeyorTakashi Kokubun2019-12-301-50/+0
| | | | in favor of #2791
* MinGW on Actions (#2791)MSP-Greg2019-12-304-17/+165
| | | | | | | | | | | | | | | | | | | * MinGW - skip spec in spec/ruby/optional/capi/thread_spec.rb C-API Thread function rb_thread_call_without_gvl -- runs a C function with the global lock unlocked and unlocks IO with the generic RUBY_UBF_IO stops/freezes spec tests See https://bugs.ruby-lang.org/issues/16265 * MinGW - skip test test/resolv/test_dns.rb Test times out in CI (both AppVeyor & Actions), cannot repo locally * MinGW - skip test test/ruby/test_thread_queue.rb * Add Actions mingw.yml
* Revert "Remove TEST_BUNDLED_GEMS_ALLOW_FAILURES"Takashi Kokubun2019-12-302-0/+4
| | | | | | | | This reverts commit 75e8dd58f69c190c9698d0133942032903fb2f07. We seem to randomly hit another issue these days: https://github.com/ruby/ruby/runs/368756135 https://github.com/ruby/ruby/runs/368756191
* Updated dependencies on internal/warnings.hNobuyoshi Nakada2019-12-316-0/+113
| | | | | Needed for `UNALIGNED_MEMBER_ACCESS` using `COMPILER_WARNING_`* macros.
* Fix Proc#<< specAlan Wu2019-12-301-11/+25
| | | | [Bug #16406]
* * 2019-12-31 [ci skip]git2019-12-311-1/+1
|
* Decide lambdaness of (f << g) using g (#2729)Alan Wu2019-12-303-3/+16
| | | | | | * Deciding lambdaness of (f << g) using g * Use version guards for spec changes