summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-01-03Fix variable name and add more example [ci skip]Kazuhiro NISHIYAMA
2020-01-03* 2020-01-03 [ci skip]git
2020-01-03Fix example of node.type [ci skip]Kazuhiro NISHIYAMA
``` % 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] ```
2020-01-02Fix a typo [ci skip]Kazuhiro NISHIYAMA
2020-01-02* 2020-01-02 [ci skip]git
2020-01-02Check Module#ruby2_keywords arityNobuyoshi Nakada
It is considered a mistake, because calling this method with no arguments has no effect. Notes: Merged: https://github.com/ruby/ruby/pull/2806
2020-01-01bignum.c: extract bdigits_to_mpz and bdigits_from_mpz (#2805)Kenta Murata
Notes: Merged-By: mrkn <mrkn@ruby-lang.org>
2019-12-31Redmine /projects/ruby-trunk is now redirectedTakashi Kokubun
to /projects/ruby-master
2019-12-31Remove code to prevent double build on trunkTakashi Kokubun
trunk branch was deleted.
2019-12-31More consistent failure notificationsTakashi Kokubun
The format is the same as Travis / AppVeyor now.
2019-12-31Do not notify AppVeyor on_build_status_changedTakashi Kokubun
Similar to 4fb6643f31cdee33184043ce17c42001274c4392. This is motivated by the lack of the same feature in GitHub Actions.
2019-12-31Make test run condition consistent with other jobsTakashi Kokubun
When `make all` fails, we should not run tests and output of such run is confusing.
2020-01-01Fixup a6864f6d2f39bcd1ff04516591cc18d4027ab186Hiroshi SHIBATA
2020-01-01Removed the old executables of raccHiroshi SHIBATA
[ruby-core:93516][Feature #15982] https://github.com/ruby/racc/pull/123
2020-01-01[bundler/bundler] Add ruby2_keywordsSutou Kouhei
https://github.com/bundler/bundler/commit/29d932d72d
2019-12-31Run tests in the consistent orderTakashi Kokubun
`make check` runs test -> test-all -> test-spec, and other CIs follow that too.
2019-12-31Fix an outdated commentTakashi Kokubun
We're actually using it for PR :p
2019-12-31Actions MinGW - fix test-all (#2803)MSP-Greg
2019-12-31Use actions/checkout for PR (#2804)Takashi Kokubun
Notes: Merged-By: k0kubun <takashikkbn@gmail.com>
2020-01-01Add load path and require for ruby/rubyaycabta
2020-01-01[ruby/irb] Fix lib name of OpenStructaycabta
https://github.com/ruby/irb/commit/1f3a84ab6b
2020-01-01* 2020-01-01 [ci skip]git
2020-01-01Update GitHub Actions BadgesKazuhiro NISHIYAMA
- Generated by [npx github-actions-badge](https://github.com/azu/github-actions-badge) - Add MJIT
2019-12-31Add "require 'openstruct'" what is forgottenaycabta
2019-12-31[ruby/irb] Add tests for RubyLexBen
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
2019-12-31[ruby/reline] Degenerate the terminal size to [$LINES, $COLUMNS] if it is ↵Yusuke Endoh
unknown This is a workaround for https://github.com/ruby/irb/issues/50 https://github.com/ruby/reline/commit/5725677d1a
2019-12-31Introduce BIGNUM_EMBED_P to check BIGNUM_EMBED_FLAG (#2802)Kenta Murata
* bignum.h: Add BIGNUM_EMBED_P * bignum.c: Use macros for handling BIGNUM_EMBED_FLAG Notes: Merged-By: mrkn <mrkn@ruby-lang.org>
2019-12-31speed up set intersectOleg Zubchenko
Notes: Merged: https://github.com/ruby/ruby/pull/2003
2019-12-31Split test_nomethod_error.rbNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/2800
2019-12-31Split test_name_error.rbNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/2800
2019-12-31Split test_frozen_error.rbNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/2800
2019-12-31Fix the exception to be raisedNobuyoshi Nakada
`NoMethodError` has been raised instead of `FrozenError`. Notes: Merged: https://github.com/ruby/ruby/pull/2800
2019-12-31Official actions/checkout is uselessTakashi Kokubun
It died again https://github.com/ruby/ruby/runs/368837347
2019-12-31Fix Object#inspect documentationJoao Fernandes
Starting from ruby 2.7.0, there's no longer a connection between the hexadecimal number that #inspect shows and the object's ID. Notes: Merged: https://github.com/ruby/ruby/pull/2797
2019-12-31Update NEWS for Ruby 2.8.0 (tentative; to be 3.0.0)Kazuhiro NISHIYAMA
2019-12-31Copy NEWS to doc/NEWS-2.7.0Kazuhiro NISHIYAMA
2019-12-31Test the bundled version minitest instead of masterNobuyoshi Nakada
Minitest has the released tags now. Notes: Merged: https://github.com/ruby/ruby/pull/2801
2019-12-31text/readline/test_readline.rb - fix skip on Reline (#2743)MSP-Greg
TestRelineAsReadline#test_input_metachar passes on MinGW
2019-12-31Copy-editing NEWS file on "is now warned" messages (#2783)Prem Sichanugrist
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.
2019-12-30Make Slack notifications consistentTakashi Kokubun
2019-12-30There's no such targetTakashi Kokubun
2019-12-30Make all Actions job names consistentTakashi Kokubun
like "{platform} / make ({make target}, ...)"
2019-12-30Do not doubly build on trunkTakashi Kokubun
2019-12-30Drop MinGW build from AppVeyorTakashi Kokubun
in favor of #2791
2019-12-30MinGW on Actions (#2791)MSP-Greg
* 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
2019-12-30Revert "Remove TEST_BUNDLED_GEMS_ALLOW_FAILURES"Takashi Kokubun
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
2019-12-31Updated dependencies on internal/warnings.hNobuyoshi Nakada
Needed for `UNALIGNED_MEMBER_ACCESS` using `COMPILER_WARNING_`* macros. Notes: Merged: https://github.com/ruby/ruby/pull/2799
2019-12-30Fix Proc#<< specAlan Wu
[Bug #16406]
2019-12-31* 2019-12-31 [ci skip]git
2019-12-30Decide lambdaness of (f << g) using g (#2729)Alan Wu
* Deciding lambdaness of (f << g) using g * Use version guards for spec changes Notes: Merged-By: XrXr