aboutsummaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* Resync prism delete bin/dotKevin Newton2023-11-141-21/+0
|
* [ruby/prism] Add the ability to convert nodes to dotKevin Newton2023-11-141-0/+21
| | | | https://github.com/ruby/prism/commit/3e4b4fb947
* Revert "[ruby/syntax_suggest] Introduce binstubs to set RUBYOPT for development"Hiroshi SHIBATA2023-04-062-12/+0
| | | | This reverts commit d2eef4b7867578df302cfa9d7c97eebbef8d9ee4.
* [ruby/syntax_suggest] Introduce binstubs to set RUBYOPT for developmentschneems2023-04-062-0/+12
| | | | | | | | | | | Because `syntax_suggest` is a default gem you can get conflicts when working on this project with Ruby 3.2+. To fix conflicts you can disable loading `syntax_suggest` as a default gem by using then environment variable `RUBYOPT` with the value `--disable=syntax_suggest`. The `RUBYOPT` environment variable works the same as if we had entered those flags directly in the ruby cli (i.e. `ruby --disable=syntax_suggest` is the same as `RUBYOPT="--disable=syntax_suggest" ruby`). It's needed because we don't always directly execute Ruby and RUBYOPT will be picked up when other commands load ruby (`rspec`, `rake`, or `bundle` etc.). There are some binstubs that already have this done for you. Instead of running `bundle exec rake` you can run `bin/rake`. Binstubs provided: - `bin/rake` - `bin/rspec` https://github.com/ruby/syntax_suggest/commit/342093706d
* util/rubocop -A --only Layout/EmptyLineAfterMagicCommentHiroshi SHIBATA2023-03-231-0/+1
|
* util/rubocop -A --only Style/FrozenStringLiteralCommentHiroshi SHIBATA2023-03-231-0/+1
|
* [rubygems/rubygems] rubygems.rb is required by gem_runner.rbHiroshi SHIBATA2022-07-221-1/+0
| | | | https://github.com/rubygems/rubygems/commit/503f763865
* [rubygems/rubygems] Removed needless value assignmentHiroshi SHIBATA2022-07-221-3/+1
| | | | https://github.com/rubygems/rubygems/commit/5825c4c2e8
* RubyGems: Enable Style/StringLiterals copTakuya Noguchi2022-07-221-2/+2
| | | | Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
* Make Gem::SystemExitException properly exit with a given codeAkinori MUSHA2022-07-221-6/+1
| | | | | | The cause was in how Gem::SystemExitException initializes itself. It didn't pass an exit code to the super method. See the document of SystemExit.new() for details.
* bin/gem: remove initial empty lineKenyon Ralph2022-07-221-1/+0
|
* Removed needless condition for old versions of Ruby.SHIBATA Hiroshi2022-07-221-6/+1
|
* Enable Style/MultilineIfThen in Rubocopbronzdoc2022-07-221-1/+1
|
* Remove trailing blank linesDavid Rodríguez2022-07-221-1/+0
|
* Improve user-facing messages by consistent casing of Ruby/RubyGemsJohn Labovitz2022-07-221-1/+1
| | | | | (when it referred to the general concept and not a path), single-spacing between sentences, and a few other small issues.
* Remove probably unintented symlinksNobuyoshi Nakada2021-07-272-2/+0
|
* Deal with Unicode ranges in the file emoji-sequences.txtMartin Dürst2021-07-272-0/+2
| | | | | Detect Unicode ranges and loop over them. This fixes issue #18028.
* Remove binstubs which are generated by `Gem::Installer` now.Vít Ondruch2021-02-147-189/+0
| | | | | | | There is no real reason to carry these around, since they can be generated during the installation. The `Gem::Installer` generates up to date date stubs, where the racc stubs were of older format and regenerated anyway.
* Promote erb to default gemsHiroshi SHIBATA2020-08-211-171/+22
|
* Removed the old executables of raccHiroshi SHIBATA2020-01-012-54/+0
| | | | | | [ruby-core:93516][Feature #15982] https://github.com/ruby/racc/pull/123
* Deprecate taint/trust and related methods, and make the methods no-opsJeremy Evans2019-11-181-3/+3
| | | | | | This removes the related tests, and puts the related specs behind version guards. This affects all code in lib, including some libraries that may want to support older versions of Ruby.
* [ruby/date] Added update-zonetab targetNobuyoshi Nakada2019-11-011-34/+0
| | | | https://github.com/ruby/date/commit/9bc6e30a82
* [ruby/date] Remove unneeded line in update-abbrJeremy Evans2019-11-011-1/+0
| | | | https://github.com/ruby/date/commit/ae14e5f293
* [ruby/date] Add more timezone abbreviationsJeremy Evans2019-11-011-0/+35
| | | | | | | | | | | | | | | | This gets the time zone abbreviations from https://www.timeanddate.com/time/zones/, and adds unambiguous time zones not already present in zonetab.list. See bin/update-abbr for the program used. This regenerates zonetab.h using prereq.mk (requires gperf). Only one test line is added, just to make sure a new time zone abbreviation is picked up. Fixes Ruby Bug 16286 https://github.com/ruby/date/commit/702e8b3033
* Move format-release to tool and fix bugsNARUSE, Yui2019-10-221-197/+0
|
* Add a tool to generate a patch for www from logNARUSE, Yui2019-10-221-0/+197
| | | | | | Receives an output of `tool/make-snapshot` and genarete * Markdown format for release note * a patch for branches.yml, downloads.yml, and releases.yml of w.r-l.o
* Added binstub for racc executables.Hiroshi SHIBATA2019-06-193-0/+81
|
* bin/erb: improve documentation of -P flagk0kubun2018-12-161-2/+2
| | | | | | | | man/erb.1: ditto [Bug #15421] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Regenerated binstubs of bundler, rdoc and irb.hsbt2018-11-285-25/+25
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Removed `bundle_ruby` command. Because It's no longer shipped from Bundler ↵hsbt2018-11-261-27/+0
| | | | | | | | 1.0.2. [Bug #15291][ruby-dev:50663] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Use stub executables generated by RubyGems istead of original executables.hsbt2018-11-256-131/+131
| | | | | | | | | | | | It resolved the conflict issues when invoking `gem i rdoc` and the binstub issues with Bundler and Rails. [Bug #5060][ruby-core:38257][Fix GH-2023] * https://github.com/rubygems/rubygems/pull/2338 * https://github.com/heroku/heroku-buildpack-ruby/issues/829 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Merge Bundler-2.0.0.pre1 from upstream.hsbt2018-11-121-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Added bundler as default gems. Revisit [Feature #12733]hsbt2018-11-023-0/+95
| | | | | | | | | | | * bin/*, lib/bundler/*, lib/bundler.rb, spec/bundler, man/*: Merge from latest stable branch of bundler/bundler repository and added workaround patches. I will backport them into upstream. * common.mk, defs/gmake.mk: Added `test-bundler` task for test suite of bundler. * tool/sync_default_gems.rb: Added sync task for bundler. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* erb.rb: deprecate safe_level of ERB.newk0kubun2018-02-221-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Also, as it's in the middle of the list of 4 arguments, 3rd and 4th arguments (trim_mode, eoutvar) are changed to keyword arguments. Old ways to specify arguments are deprecated and warned now. bin/erb: deprecate -S option. We'll remove all of deprecated ones at Ruby 2.7+. enc/make_encmake.rb: stopped using deprecated interface ext/etc/mkconstants.rb: ditto ext/socket/mkconstants.rb: ditto sample/ripper/ruby2html.rb: ditto spec/ruby/library/erb/defmethod/def_erb_method_spec.rb: ditto spec/ruby/library/erb/new_spec.rb: ditto test/erb/test_erb.rb: ditto test/erb/test_erb_command.rb: ditto tool/generic_erb.rb: ditto tool/ruby_vm/helpers/dumper.rb: ditto tool/transcode-tblgen.rb: ditto lib/rdoc/erbio.rb: ditto lib/rdoc/generator/darkfish.rb: ditto [Feature #14256] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Postponing the Bundler merge.hsbt2017-12-222-35/+0
| | | | | | | I faced a big issue about Bundler with ruby core. I have no time to resolve it issue before 2.5 final release. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* bin/erb: change template file encoding to UTF-8k0kubun2017-11-101-1/+1
| | | | | | | | | | | | | Unlike Ruby source file encoding (script encoding) whose default is changed to UTF-8 in Ruby 2.0 (Feature #6679), template's file encoding given to erb(1) has been ASCII-8BIT since ERB supports m17n at r21170. Like Ruby source file encoding, erb template file encoding should be UTF-8 in Ruby 2. [Bug #14095] [ruby-core:83708] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update bundled bundler to 1.16.0.hsbt2017-11-011-1/+1
| | | | | | | * lib/bundler, spec/bundler: Merge bundler-1.16.0. * common.mk: rspec examples of bundler-1.16.0 needs require option. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* removed bin/bundle_ruby, It was ignored upstream gemspec.hsbt2017-09-231-59/+0
| | | | | | * spec/bundler/other/*: Marked exclude tags for ruby repository. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Rollback to v1.15.4 version.hsbt2017-09-081-4/+3
| | | | | | In r59779, it contains current master version of bundler repository. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Merge bundler to standard libraries.hsbt2017-09-083-0/+95
| | | | | | | | | | | | | | | | | | rubygems 2.7.x depends bundler-1.15.x. This is preparation for rubygems and bundler migration. * lib/bundler.rb, lib/bundler/*: files of bundler-1.15.4 * spec/bundler/*: rspec examples of bundler-1.15.4. I applied patches. * https://github.com/bundler/bundler/pull/6007 * Exclude not working examples on ruby repository. * Fake ruby interpriter instead of installed ruby. * Makefile.in: Added test task named `test-bundler`. This task is only working macOS/linux yet. I'm going to support Windows environment later. * tool/sync_default_gems.rb: Added sync task for bundler. [Feature #12733][ruby-core:77172] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bin/erb: $SAFE=3 is obsolete.kazu2015-06-181-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rake/*: Gemify rake [fix GH-862][Feature #11025]hsbt2015-04-041-33/+0
| | | | | | | * test/rake/*: ditto. * tool/rbinstall.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* erb: suppress warningsnobu2014-12-121-1/+1
| | | | | | | * bin/erb (ERB::Main#run): get rid of shadowing outer local variables. [ruby-core:65772] [Feature #10395] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* erb: set variables from the command linenobu2014-12-121-3/+18
| | | | | | | * bin/erb (ARGV.switch, ERB::Main#run): allow variables to be set from the command line. [ruby-core:65772] [Feature #10395] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* erb: multiline anchorsnobu2014-10-171-3/+4
| | | | | | | * bin/erb (ARGV.switch, ERB::Main#run): use beginning/end of string anchors instead of beginning/end of line anchors. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* erb: fix -U optionnobu2014-10-171-2/+2
| | | | | | * bin/erb (ERB::Main#run): fix NoMethodError at -U option. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bin/testrb: Removed. Forgot to remove in r45971.sorah2014-05-191-3/+0
| | | | | | [Feature #9711] [ruby-core:62620] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * NEWS (with all sufficient information):drbrain2013-10-111-4/+0
| | | | | | | | | | | * lib/rake: Update to rake 10.1.0 * bin/rake: ditto. * test/rake: ditto. * NEWS: Update NEWS to include rake 10.1.0 and links to release notes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * error.c, file.c, gc.c, hash.c, thread.c, variable.c, vm_eval.c, bin/erb:ktsj2013-08-181-2/+2
| | | | | | $SAFE=4 is obsolete. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* irb: dead codenobu2013-05-021-10/+1
| | | | | | * bin/irb: remove dead code from sample/irb.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e