aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Fix a couple of bundler issues with keyword argument separationJeremy Evans2019-08-301-1/+6
| | | | | There are more issues than this, but hopefully this is enough to get make test-bundler passing in CI.
* Fix keyword argument separation issues in libJeremy Evans2019-08-3013-38/+38
| | | | Mostly requires adding ** in either calls or method definitions.
* Revert "require 'pp' before use PP"Kazuhiro NISHIYAMA2019-08-301-1/+0
| | | | | of lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb. This reverts commit 500149709b92ccb36396589a0c39afb3ff77bfb6 partially.
* Removed debug printNobuyoshi Nakada2019-08-301-10/+0
| | | | It seems to be fixed by b870ca58791e576f5dbb263f54ae433a7f6d65ee.
* Add guard as same as `==`Kazuhiro NISHIYAMA2019-08-301-0/+1
| | | | | | | | Try to fix failure at https://github.com/ruby/ruby/runs/207580232#step:10:382 ``` undefined method `name' for "Gemfile.lock":String /home/runner/work/ruby/ruby/lib/bundler/resolver/spec_group.rb:65:in `eql?' ```
* lib/pp.rb: Use UnboundMethod#bind_call instead of .bind(obj).call(...)Yusuke Endoh2019-08-301-5/+5
| | | | Related to [Feature #15955].
* require 'pp' before use PPKazuhiro NISHIYAMA2019-08-302-1/+5
| | | | | | | `Kernel#pp` has wrapper, but `PP` does not. https://github.com/ruby/ruby/runs/207405029#step:10:141 `NameError: uninitialized constant Bundler::Molinillo::Resolver::Resolution::PP`
* Check events that console window size changed on Windowsaycabta2019-08-291-0/+17
|
* Fix alignment of a SHORT variableaycabta2019-08-291-1/+1
| | | | | | | | | | | | | | | | | typedef struct _COORD { SHORT X; SHORT Y; // I wanted to take this... } COORD, *PCOORD; typedef struct _CONSOLE_SCREEN_BUFFER_INFO { COORD dwSize; COORD dwCursorPosition; // ...of this one WORD wAttributes; // But it's combined with first 2bytes of this SMALL_RECT srWindow; COORD dwMaximumWindowSize; } CONSOLE_SCREEN_BUFFER_INFO; If wAttributes has non-zero value, the code breaks.
* CONSOLE_SCREEN_BUFFER_INFO is 22bytesaycabta2019-08-291-2/+2
| | | | | | | | | | typedef struct _CONSOLE_SCREEN_BUFFER_INFO { COORD dwSize; // 4(SHORT X, Y) COORD dwCursorPosition; // 4 WORD wAttributes; // 2 SMALL_RECT srWindow; // 8(SHORT Left, Top, Right, Bottom) COORD dwMaximumWindowSize; // 4 } CONSOLE_SCREEN_BUFFER_INFO;
* Add stub set_screen_size for other platformsaycabta2019-08-292-0/+6
|
* Support SIGWINCHaycabta2019-08-292-0/+10
|
* Remove jquery.js from file list of rdoc.gemspecaycabta2019-08-281-1/+1
|
* Adjusted indents and supplied last commasNobuyoshi Nakada2019-08-281-48/+70
| | | | | Fixed unmatched indent of the closing bracket for `:irb_current_working_workspace`, and adjusted following elements.
* Remove debug print [ci skip]Kazuhiro NISHIYAMA2019-08-281-1/+0
|
* Remove jquery.jsaycabta2019-08-281-2/+0
|
* Version 6.2.0aycabta2019-08-281-1/+1
|
* Good bye jQueryaycabta2019-08-286-179/+92
|
* Remove duplicated delegationaycabta2019-08-271-1/+0
|
* Delegete an instance method to a class method correctlyaycabta2019-08-271-1/+1
|
* Save value to @ambiguous_width because of a accessoraycabta2019-08-271-3/+3
|
* The "private" doesn't make sence for class methods and a constantaycabta2019-08-271-2/+0
|
* Use preposing "private" to define methodsaycabta2019-08-271-6/+4
|
* Adjust method forwardings of Relineaycabta2019-08-271-13/+19
|
* Remove .freeze.manga_osyo2019-08-271-2/+2
|
* Fix `Reline::Windows`.manga_osyo2019-08-271-1/+1
|
* Refactoring Reline.manga_osyo2019-08-272-457/+317
|
* Remove test_mode in `lib/reline`.manga_osyo2019-08-271-7/+0
|
* Refactoring Reline accessor.manga_osyo2019-08-271-0/+133
|
* Handle binding.irb for frozen objects and BasicObjects using a delegateJeremy Evans2019-08-271-1/+30
| | | | Fixes Ruby Bug 13264
* Move private call without arguments inside methodJeremy Evans2019-08-271-1/+1
| | | | | | This code did not have the desired effect. I'm not sure if irb_binding is supposed to be private or not. If not, the private call can just be removed.
* lib/webrick.rb: use require_relative for webrick/utils.rbYusuke Endoh2019-08-251-1/+1
| | | | | | | | | | | `require "webrick/utils.rb"` should load `lib/webrick/utils.rb`, but on some CI machines, it wrongly loads `test/webrick/utils.rb`, which caused circular require warning: https://rubyci.org/logs/rubyci.s3.amazonaws.com/ubuntu/ruby-master/log/20190825T093007Z.log.html.gz ``` /data/chkbuild/tmp/build/20190825T093007Z/ruby/lib/rubygems/core_ext/kernel_require.rb:61: warning: /data/chkbuild/tmp/build/20190825T093007Z/ruby/lib/rubygems/core_ext/kernel_require.rb:61: warning: loading in progress, circular require considered harmful - /data/chkbuild/tmp/build/20190825T093007Z/ruby/lib/webrick.rb ```
* Always check multiline terminationaycabta2019-08-221-5/+1
|
* Add abs to Matrix (#2199)Fernando Wolf Bona2019-08-211-0/+7
|
* IRB's multiline history is enable only when Reidline modeaycabta2019-08-221-1/+1
|
* The investigation is going on...Nobuyoshi Nakada2019-08-211-0/+10
|
* [bundler/bundler] Remove old rubies stuff no longer neededDavid Rodríguez2019-08-212-6/+2
| | | | https://github.com/bundler/bundler/commit/36fb3287f4
* Avoid creating Hash objects per each mon_synchronize call (#2393)Akira Matsuda2019-08-201-4/+7
|
* [rubygems/rubygems] Use `RbConfig::CONFIG['rubylibprefix']`Nobuyoshi Nakada2019-08-201-8/+1
| | | | | | It is defined since ruby 1.9.2. https://github.com/rubygems/rubygems/commit/84981ca908
* Fix some bundler specs (#2380)David Rodríguez2019-08-203-13/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * These seem to consistenly pass already * Show actual command when running `make test-bundler` Current the setup command that installs the necessary gems for testing bundler was printed, but not the actual command that runs the tests. That was a bit confusing. * Borrow trick from setproctitle specs * A title that long doesn't get set sometimes No idea why, but the test doesn't need that the title is that long. * Fix most gem helper spec ruby-core failures * Fix the rest of the gem helper failures * Fix version spec by improving the assertion * Remove unnecessary `BUNDLE_RUBY` environment var We can use `RUBY` when necessary, and `BUNDLE_RUBY` is not a good name because bundler considers `BUNDLE_*` variables as settings. * Rename `BUNDLE_GEM` to `GEM_COMMAND` This is more descriptive I think, and also friendlier for bundler because `BUNDLE_` env variables are interpreted by bundler as settings, and this is not a bundler setting. This fixes one bundler spec failure in config specs against ruby-core. * Fix quality spec when run in core Use the proper path helper. * Fix dummy lib builder to never load default gems If a dummy library is named as a default gem, when requiring the library from its executable, the default gem would be loaded when running from core, because in core all default gems share path with bundler, and thus they are always in the $LOAD_PATH. We fix the issue by loading lib relatively inside dummy lib executables. * More exact assertions Sometimes I have the problem that I do some "print debugging" inside specs, and suddently the spec passes. This happens when the assertion is too relaxed, and the things I print make it match, specially when they are simple strings like "1.0" than can be easily be part of gem paths that I print for debugging. I fix this by making a more exact assertion. * Detect the correct shebang when ENV["RUBY"] is set * Relax assertion So that the spec passes even if another paths containing "ext" are in the load path. This works to fix a ruby-core issue, but it's a better assertion in general. We just want to know that the extension path was added. * Use folder structure independent path helper It should fix this spec for ruby-core. * Fix the last failing spec on ruby-core * Skip `bundle open <default_gem>` spec when no default gems
* Treat two types "do" correctlyaycabta2019-08-201-2/+20
| | | | | A "do" what has followed a token what has EXPR_CMDARG is for a block, and in other cases "do" is for "while", "until" or "for".
* Update the canonical repository urlHiroshi SHIBATA2019-08-191-2/+2
|
* Prefer Regexp#=~ to Regexp#match when the RHS may be nilNobuyoshi Nakada2019-08-192-10/+5
|
* lib/rdoc/markup/parser.rb: remove a unused variable initializationYusuke Endoh2019-08-191-1/+0
|
* [bundler/bundler] No need to activate the `fileutils` default gemDavid Rodríguez2019-08-181-6/+1
| | | | | | | The version we're vendoring actually relaxed this restriction back to 2.3.0+, so we can always use the vendored version. https://github.com/bundler/bundler/commit/d366cbfe5d
* [bundler/bundler] Last relative requiresDavid Rodríguez2019-08-183-9/+9
| | | | https://github.com/bundler/bundler/commit/fb587b9ebb
* [bundler/bundler] Move local variable to only branch where it's usedDavid Rodríguez2019-08-181-1/+1
| | | | https://github.com/bundler/bundler/commit/3995b3345d
* [bundler/bundler] Fix open default gem errorZehan Zhao2019-08-181-5/+9
| | | | https://github.com/bundler/bundler/commit/792d724752
* [bundler/bundler] Fix `bundle doctor` commandDavid Rodríguez2019-08-181-1/+1
| | | | | | | | | | | | | | Previously `bundle doctor` would fail on any bundle that does not include git gems or plugins. This is because the previously used `Bundler.home` does not exist unless the bundle includes git gems or plugins. For example, with `bundle config set path .bundle`, it points to which does not exist unless this kind of gems exist in the Gemfile. The name `Bundler.home` is really unfortunate, it should probably be have more descriptive name, and be private. But for now I just want to make `bundle doctor` usable. https://github.com/bundler/bundler/commit/5531a18c1e
* [bundler/bundler] Bundler displays a duplicate gem entries warning even if ↵David Stosik2019-08-181-1/+1
| | | | | | gems only appear once per group https://github.com/bundler/bundler/commit/d18a83109e