aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [bundler/bundler] Merge #7340Bundlerbot2019-09-182-28/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | 7340: Fix bundle clean issue r=deivid-rodriguez a=deivid-rodriguez ### What was the end-user problem that led to this PR? The problem was that `bundle clean` is crashing under some conditions. ### What was your diagnosis of the problem? My diagnosis was that sometimes (when the bundle includes git sourced gems with extensions), it assumes that some paths exist, but they don't. ### What is your fix for the problem, implemented in this PR? My fix is to ignore those paths. ### Why did you choose this fix out of the possible options? I chose this fix because it fixes the issue. Fixes #7338. Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net> (cherry picked from commit b007fde67c77c1f15f13b97eda186644c2a2be04) https://github.com/bundler/bundler/commit/3766053507
* [bundler/bundler] Fix remembered flag deprecation messageDavid Rodríguez2019-09-182-2/+2
| | | | | | It was suggested a deprecated command as a fix. https://github.com/bundler/bundler/commit/e330a9a34f
* [bundler/bundler] Version 2.1.0.pre.2David Rodríguez2019-09-181-1/+1
| | | | https://github.com/bundler/bundler/commit/6e9774b377
* [bundler/bundler] Add a spec for installing git deps after packaging w/o gitSamuel Giddins2019-09-181-0/+17
| | | | https://github.com/bundler/bundler/commit/65351c58b8
* [bundler/bundler] Revert "Add all platforms to lockfile by default"David Rodríguez2019-09-184-32/+6
| | | | | | This reverts commit 3dc509e645abb497e4dc92a7c42be471ff87db0b. https://github.com/bundler/bundler/commit/b5766564fb
* [bundler/bundler] Revert "Remove now meaningless warning"David Rodríguez2019-09-182-1/+30
| | | | | | This reverts commit 00b095b98fe4bd44950beaf3bc9f1d91eac7b69e. https://github.com/bundler/bundler/commit/e93bce3b20
* [bundler/bundler] Revert "Remove now meaningless setting"David Rodríguez2019-09-185-1/+11
| | | | | | This reverts commit 52c5a0eedec34b5d86464b3cf135dc2002486f1d. https://github.com/bundler/bundler/commit/b4cc36deb9
* [bundler/bundler] Revert "Remove now unused method"David Rodríguez2019-09-181-0/+4
| | | | | | This reverts commit 3a2d2f025081755bdb38af660897e7b2f749a33a. https://github.com/bundler/bundler/commit/13cef81582
* [bundler/bundler] Fix comments and messages to refer to https urlTakayuki Nakata2019-09-188-11/+11
| | | | https://github.com/bundler/bundler/commit/a86b49f1b9
* [bundler/bundler] Remove duplicated spec filterDavid Rodríguez2019-09-181-1/+1
| | | | https://github.com/bundler/bundler/commit/b7fc6f4187
* [bundler/bundler] Fix --path option descriptionsDavid Rodríguez2019-09-181-2/+2
| | | | | | To not mention that the flag is remembered when it's not. https://github.com/bundler/bundler/commit/82f0b95854
* [bundler/bundler] Deprecate `--path` flag to `bundle check`David Rodríguez2019-09-182-0/+24
| | | | https://github.com/bundler/bundler/commit/0a0e7cf5ec
* Fix typosKenichi Kamiya2019-09-181-5/+5
|
* delete unused variable卜部昌平2019-09-181-1/+0
|
* * 2019-09-18 [ci skip]git2019-09-181-1/+1
|
* Fix keyword argument separation issues with sym procs when using refinementsJeremy Evans2019-09-174-13/+343
| | | | | | | | | | | | Make sure that vm_yield_with_cfunc can correctly set the empty keyword flag by passing 2 as the kw_splat value when calling it in vm_invoke_ifunc_block. Make sure calling.kw_splat is set to 1 and not 128 in vm_sendish, so we can safely check for different kw_splat values. vm_args.c needs to call add_empty_keyword, and to make JIT happy, the function needs to be exported. Rename the function to rb_adjust_argv_kw_splat to more accurately reflect what it does, and mark it as MJIT exported.
* Pass keyword argument flag when rb_call_super_kw calls method_missingJeremy Evans2019-09-176-13/+237
| | | | | | | | This makes method_missing take a flag for whether keyword arguments were passed. Adds tests both for rb_call_super_kw usage as well as general usage of super calling method_missing in Ruby methods.
* `brew install` may fail, so try to use `tool/travis_retry.sh`Kazuhiro NISHIYAMA2019-09-171-4/+5
| | | | | | | https://github.com/ruby/ruby/runs/224877570#step:3:1008 ``` Error: No such file or directory @ dir_s_rmdir - /Users/runner/Library/Caches/Homebrew/downloads/ca756e367eb98d2b525e72b311633c27ffc74eca825a5392153b3488d1adb732--libssh2-1.9.0.mojave.bottle.tar.gz ```
* Undefine DSUSP keyNobuyoshi Nakada2019-09-171-1/+5
| | | | | Enable `Ctrl+Y`, which is bound with it by default on BSD-like systems, for editing.
* * 2019-09-17 [ci skip]git2019-09-171-1/+1
|
* Fix previous history in vi_insert modeAdam Cammack2019-09-171-1/+1
|
* Fix history navigation in vi_insert modeAdam Cammack2019-09-171-1/+1
|
* Folded files in gemspecNobuyoshi Nakada2019-09-165-11/+389
|
* * 2019-09-16 [ci skip]git2019-09-161-1/+1
|
* Fix a typo [ci skip]Kazuhiro NISHIYAMA2019-09-161-1/+1
|
* oops [ci skip]卜部昌平2019-09-151-1/+1
| | | | Fixing typo. It seems I failed to press the shift key.
* Comment lines can be placed between fluent dot nowNobuyoshi Nakada2019-09-153-0/+13
|
* Refine Timezone fixtureNobuyoshi Nakada2019-09-153-18/+39
|
* Try to fetch commits notes to the source tree automaticallyNobuyoshi Nakada2019-09-151-4/+3
| | | | [Bug #16167]
* rb_scan_args_count_lead: use arguments instead of magic numbersNobuyoshi Nakada2019-09-151-5/+7
|
* make-snapshot: no merge commits in ChangeLogNobuyoshi Nakada2019-09-151-1/+1
| | | | | | Parents commit hashs in logs of merge commits are abbreviated to necessary length depending on the repositories. Exclude merge commits from ChangeLog to make it stable.
* make-snapshot: export ChangeLog from srcdirNobuyoshi Nakada2019-09-152-5/+2
|
* Issue a warning if invalid kw_splat is passed to *_kw functionJeremy Evans2019-09-141-0/+6
| | | | | | This should only happen if the API is misused. It's much better to warn here and fix the problem, versus to try to debug TypeErrors or segfaults later.
* * 2019-09-15 [ci skip]git2019-09-151-1/+1
|
* make-snapshot: deprecated -exported option [Bug #16167]Nobuyoshi Nakada2019-09-151-51/+46
|
* Continue to export even if no notes/commitsNobuyoshi Nakada2019-09-141-1/+3
| | | | | Just exporting may not imply exporting ChangeLog which needs notes/commits. [Bug #16167]
* [ruby/io-console] Added `intr:` option to IO#rawNobuyoshi Nakada2019-09-141-1/+24
| | | | | | Enters raw-mode but enable interrupts. https://github.com/ruby/io-console/commit/7cba76561a
* Keep the reference of imemo while argv may be usedTakashi Kokubun2019-09-141-13/+25
| | | | | To prevent the `v` reference from being eliminated before argv is used, calling `rb_free_tmp_buffer` against `v` explicitly.
* Fixed one-off errorNobuyoshi Nakada2019-09-141-1/+1
| | | | Needs another room to append an empty hash.
* Update news regarding `Fiber#raise`.Samuel Williams2019-09-141-0/+7
|
* Fix memory leak when adding empty keyword hashesJeremy Evans2019-09-141-2/+3
| | | | | | | nagachika pointed out that ALLOC_N is actually just malloc, so this memory wasn't being freed. This shouldn't be a performance sensitive code path, and will be going away after 2.7, so just allocate a temp buffer that will be freed later by Ruby GC.
* Only set RB_PASS_CALLED_KEYWORDS in C functions called directly from RubyJeremy Evans2019-09-147-19/+77
| | | | | | | | | | | It is not safe to set this in C functions that can be called from other C functions, as in the non argument-delegation case, you can end up calling a Ruby method with a flag indicating keywords are set without passing keywords. Introduce some new *_kw functions that take a kw_splat flag and use these functions to set RB_PASS_CALLED_KEYWORDS in places where we know we are delegating methods (e.g. Class#new, Method#call)
* * remove trailing spaces. [ci skip]git2019-09-141-1/+1
|
* Consolidate empty keyword handlingJeremy Evans2019-09-136-32/+34
| | | | | | | | | | | | | | | | | | | | | | Remove rb_add_empty_keyword, and instead of calling that every place you need to add empty keyword hashes, run that code in a single static function in vm_eval.c. Add 4 defines to include/ruby/ruby.h, these are to be used as int kw_splat values when calling the various rb_*_kw functions: RB_NO_KEYWORDS :: Do not pass keywords RB_PASS_KEYWORDS :: Pass final argument (which should be hash) as keywords RB_PASS_EMPTY_KEYWORDS :: Add an empty hash to arguments and pass as keywords RB_PASS_CALLED_KEYWORDS :: Passes same keyword type as current method was called with (for method delegation) rb_empty_keyword_given_p needs to stay. It is required if argument delegation is done but delayed to a later point, which Enumerator does. Use RB_PASS_CALLED_KEYWORDS in rb_call_super to correctly delegate keyword arguments to super method.
* Correctly handle keywords for Method#call for cfuncs, send, and attr_*Jeremy Evans2019-09-132-4/+589
| | | | | | | | | This sets the correct VM frame flags when using Method#call to call funcs, and handles empty keyword hashes for cfuncs, attr_reader, and attr_writer. It also fixes calls to send through Method#call. It adds tests for all of those, as well as tests for using Method#call to call define_method, lambda, and sym_procs (which didn't require code changes).
* The stdlib readline should raise Interrupt when pressing C-caycabta2019-09-141-2/+1
|
* * 2019-09-14 [ci skip]git2019-09-141-1/+1
|
* Revert "Use IO#getch to read one char in raw mode"aycabta2019-09-141-3/+8
| | | | This reverts commit 805b0a481132938638dbd32830cf5dca3910efb1.
* Revert "Use IO#getbyte"aycabta2019-09-141-1/+1
| | | | This reverts commit 685f12bbca50ff9b7a16b3016b3b8b3f2ac8b796.
* Revert "Support multibyte input"aycabta2019-09-141-2/+1
| | | | This reverts commit 6d9e54816f828983bcf383ce6fce287bd3ca05b9.