aboutsummaryrefslogtreecommitdiffstats
path: root/spec/bundler/runtime
Commit message (Collapse)AuthorAgeFilesLines
* [rubygems/rubygems] Don't cleanup paths from gems already activated from ↵David Rodríguez2021-12-071-0/+23
| | | | | | | | | | | | | | | | | | | `$LOAD_PATH` This way, if some default gem has been required before bundler, and rubygems has enhanced the `$LOAD_PATH` to use the latest version in the system, further requires of that default gem after bundler has been activated will use the same version and don't cause redefinition warnings or worse problems derived from the fact of mixing up two different versions. That, unless the gem is a `Gemfile` dependency. In that case, we'll get a mismatch error anyways as we do now. This fix doesn't mean that all default gems internally used by bundler/rubygems are now supported inside `Gemfile`'s. That should be handled case by case, but it will now bite people only when they try to add the gem to their `Gemfile`, not before. https://github.com/rubygems/rubygems/commit/7325530547
* [rubygems/rubygems] Remove `lockfile_should_be` helperDavid Rodríguez2021-11-121-8/+8
| | | | | | It doesn't add anything. https://github.com/rubygems/rubygems/commit/ece3c864df
* [rubygems/rubygems] Leave ":" after MANPATH when not setDavid Rodríguez2021-11-021-22/+49
| | | | | | | So that system man pages still work after a gem with man pages overrides it. https://github.com/rubygems/rubygems/commit/1031879b87
* [rubygems/rubygems] Memoize materialized specs when requiring `bundler/setup`David Rodríguez2021-11-011-0/+16
| | | | | | | | | | Calling `Bundler.definition.specs` will memoize materialized specs. However, requiring `bundler/setup` will end up materializing the same set of specs, but not memoize them. This change makes things consistent. https://github.com/rubygems/rubygems/commit/e4c2b52824
* [rubygems/rubygems] Lock racc version in platform_spec.Josef Šimánek2021-10-291-2/+2
| | | | | | | - latest ruby is shipped with racc 1.6 making this spec failing - this spec is related to platform locking, changing version should not do any harm https://github.com/rubygems/rubygems/commit/3e18b626cb
* Support gemification of tsortFrederik Dudzik2021-10-291-1/+1
| | | | | Co-authored-by: Frederik Dudzik <frederik.dudzik@shopify.com> Co-authored-by: Jacques Chester <jacques.chester@shopify.com>
* [rubygems/rubygems] Add new default gems to setup_spec exempts.Josef Šimánek2021-10-291-0/+2
| | | | | | | | | - error_highlight was introduced at https://github.com/ruby/ruby/commit/e94604966572bb43fc887856d54aa54b8e9f7719 orriginally as error_squiggle later renamed at https://github.com/ruby/ruby/commit/9438c99590f5476a81cee8b4cf2de25084a40b42 - ruby2_keywords was introduced as a placeholder gem only at https://github.com/ruby/ruby/commit/21d2463fbc5094aa2ad92a21c910dccdc928b920 https://github.com/rubygems/rubygems/commit/c9ebe7c7d2
* [rubygems/rubygems] Unskip inline spec that can pass now on the latest rubiesDavid Rodríguez2021-10-291-1/+3
| | | | https://github.com/rubygems/rubygems/commit/a81d4421b4
* [rubygems/rubygems] Vendor a pure ruby implementation of SHA1Jean Boussier2021-10-251-0/+35
| | | | | | | This allows `Source::Git` to no longer load the `digest` gem as it is causing issues on Ruby 3.1. https://github.com/rubygems/rubygems/pull/4989/commits/c19a9f2ff7
* [ruby/rubygems] Get specs green on arm64-darwin-20David Rodriguez2021-10-111-2/+1
| | | | https://github.com/rubygems/rubygems/commit/7a0bd9801d
* [rubygems/rubygems] Explicitly define a global source for testsDaniel Niknam2021-07-275-7/+36
| | | | | | This is in preparation for deprecating source-less gemfiles. https://github.com/rubygems/rubygems/commit/d6493fa3e2
* [rubygems/rubygems] Remove LoadError message in regards to requiring a ↵Daniel Niknam2021-07-271-1/+0
| | | | | | | | | | | | | | relative file Ruby 1.9.2 removed "." from LOAD_PATH for robustness and security reasons. This code was introduced by https://github.com/rubygems/rubygems/commit/56fc830e19a573a5905eba7f4714ad1f21ed1927 commit to helping users understand the issue and had a guard condition to include the message for `RUBY_VERSION >= "1.9"`. However, the guard condition was removed as part of the "Ruby version leftover" cleanup by https://github.com/rubygems/rubygems/commit/8c9cf76e419fbd8ba83144d701b24ca388813b14 Ruby 1.9 development was ended a long time ago and this message is not useful anymore. https://github.com/rubygems/rubygems/commit/a23609b15a
* Merge RubyGems/Bundler master from 8459ebd6ad65ce3397233416dc64083ae7572bb9Hiroshi SHIBATA2021-07-141-0/+19
|
* Sync latest bundler & rubygems development versionDavid Rodríguez2021-07-075-36/+17
|
* Sync bundler & rubygemsDavid Rodríguez2021-05-111-1/+1
|
* Merge the master branch of BundlerHiroshi SHIBATA2021-04-153-6/+57
|
* Sync latest development version of bundler & rubygemsDavid Rodríguez2021-03-083-42/+112
|
* Add fallback when PWD is not setKazuhiro NISHIYAMA2021-01-281-2/+6
|
* Use PWD instead of source_rootKazuhiro NISHIYAMA2021-01-281-1/+2
| | | | | Because `.ext/common` is not relative from top source directory. Fix failures with out-of-place build directory.
* Track Bundler master(2.3.0.dev) branch at ↵Hiroshi SHIBATA2021-01-041-34/+57
| | | | 55634a8af18a52df86c4275d70fa1179118bcc20
* Fix misspellings [ci skip]Kazuhiro NISHIYAMA2020-12-212-2/+2
|
* Merge prepare version of Bundler 2.2.0Hiroshi SHIBATA2020-12-082-1/+34
|
* Fix typos [ci skip]Kazuhiro NISHIYAMA2020-10-191-1/+1
|
* Merge bundler-2.2.0.rc.2Hiroshi SHIBATA2020-10-154-2/+76
|
* Import remaining changesDavid Rodríguez2020-07-151-3/+3
| | | | | The "sync with commits" scripts failed to properly import these for some reason.
* [rubygems/rubygems] Remove unnecessary assertions on exitstatusDavid Rodríguez2020-07-153-13/+0
| | | | | | | Since our helpers now raise by default if the subcommand fails, these will never actually fail and are not necessary. https://github.com/rubygems/rubygems/commit/6153b9321e
* [rubygems/rubygems] Bundler specs - Windows - remove skips, File.open => ↵MSP-Greg2020-07-151-18/+2
| | | | | | | | | | | | | | File.readlines Using File.open without a block leaves a file reference that causes issues with file operations commands/binstubs_spec.rb install/gems/compact_index_spec.rb install/gems/dependency_api_spec.rb install/gems/standalone_spec.rb runtime/executable_spec.rb https://github.com/rubygems/rubygems/commit/4b9a6ca156
* s/sys_exec!/sys_execDavid Rodríguez2020-06-181-1/+1
|
* [rubygems/rubygems] s/run!/runDavid Rodríguez2020-06-182-8/+8
| | | | https://github.com/rubygems/rubygems/commit/e3f60d8aec
* [rubygems/rubygems] s/ruby!/rubyDavid Rodríguez2020-06-183-20/+20
| | | | https://github.com/rubygems/rubygems/commit/a73fa0760e
* [rubygems/rubygems] s/install_gemfile!/install_gemfileDavid Rodríguez2020-06-186-26/+26
| | | | https://github.com/rubygems/rubygems/commit/4d1a0c465a
* [rubygems/rubygems] s/bundle!/bundleDavid Rodríguez2020-06-186-38/+38
| | | | https://github.com/rubygems/rubygems/commit/746a4b3d74
* [rubygems/rubygems] Make helpers raise by defaultDavid Rodríguez2020-06-183-15/+15
| | | | https://github.com/rubygems/rubygems/commit/ade0c441d5
* [rubygems/rubygems] Fix a couple of specs that were loading an incorrect bundlerDavid Rodríguez2020-06-181-1/+1
| | | | | | | | | | | We have a check on an `at_exit` hook that checks that system bundler is never loaded instead of our development copy. The check was failing in these cases, but in a silent way because the errors were being swallowed. This commit changes these specs to make sure they load the right bundler. https://github.com/rubygems/rubygems/commit/cd1c1bc297
* [rubygems/rubygems] Change spec to do the right thing on bundler 3David Rodríguez2020-06-181-2/+2
| | | | | | | | | | | | | | On bundler 3, the `--deployment` flag doesn't exist, so the `bundle install --deployment` command was failing silently and the spec was verifying a different scenario. Change the spec to work the same regardless of bundler's major version. Also, from the spec description it was not apparently that a specific case involving deployment mode was being tested, so I reworded it to make it more apparent. https://github.com/rubygems/rubygems/commit/3e33e2b927
* [rubygems/rubygems] Remove `forgotten_command_line_usages` from specsDavid Rodríguez2020-06-051-5/+10
| | | | | | | | Instead, use the non-deprecated option except when specifically testing deprecated CLI flags. In that case, pass the flag directly and limit the specs to `bundler < 3`. https://github.com/rubygems/rubygems/commit/3d5e186241
* Fixup 1d079a0c5d4d80860a4d6d692344124fe5c562b5Hiroshi SHIBATA2020-05-222-4/+4
|
* Sync Bundler PR #3624 with HEAD commitsHiroshi SHIBATA2020-05-222-13/+28
|
* Marked the failing examples with the current master branch on ruby repositoryHiroshi SHIBATA2020-05-222-4/+4
|
* Sync Bundler PR #3624Hiroshi SHIBATA2020-05-223-27/+51
|
* Marked the some examples that are not working with the ruby repositoryHiroshi SHIBATA2020-05-131-3/+3
|
* Update the bundler version with master branchHiroshi SHIBATA2020-05-138-106/+148
|
* Merge bundler-2.1.4Hiroshi SHIBATA2020-01-084-6/+56
|
* Merge Bundler 2.1.2 from bundler/bundler.Hiroshi SHIBATA2019-12-251-0/+6
| | | | [Misc #16449][ruby-core:96458]
* Delegate should be supported nowDavid Rodríguez2019-12-151-1/+1
| | | | Since `did_you_mean` dropped its dependency on it.
* Prepare to release bundler-2.1.0Hiroshi SHIBATA2019-12-153-60/+90
|
* Merge Bundler 2.1.0.pre3 released versionHiroshi SHIBATA2019-11-132-4/+2
|
* Merge Bundler 2.1.0.pre.3Hiroshi SHIBATA2019-11-117-59/+57
| | | | | | | | | | | | | | | Features: - Add caller information to some deprecation messages to make them easier to fix [#7361](https://github.com/bundler/bundler/pull/7361) - Reconcile `bundle cache` vs `bundle package` everywhere. Now in docs, CLI help and everywhere else `bundle cache` is the preferred version and `bundle package` remains as an alias [#7389](https://github.com/bundler/bundler/pull/7389) - Display some basic `bundler` documentation together with ruby's RDoc based documentation [#7394](https://github.com/bundler/bundler/pull/7394) Bugfixes: - Fix typos deprecation message and upgrading docs [#7374](https://github.com/bundler/bundler/pull/7374) - Deprecation warnings about `taint` usage on ruby 2.7 [#7385](https://github.com/bundler/bundler/pull/7385) - Fix `--help` flag not correctly delegating to `man` when used with command aliases [#7388](https://github.com/bundler/bundler/pull/7388) - `bundle add` should cache newly added gems if an application cache exists [#7393](https://github.com/bundler/bundler/pull/7393) - Stop using an insecure folder as a "fallback home" when user home is not defined [#7416](https://github.com/bundler/bundler/pull/7416) - Fix `bundler/inline` warning about `Bundler.root` redefinition [#7417](https://github.com/bundler/bundler/pull/7417)
* Fixed the rubocop warningsHiroshi SHIBATA2019-09-181-1/+1
|
* [bundler/bundler] Revert "Add all platforms to lockfile by default"David Rodríguez2019-09-181-1/+1
| | | | | | This reverts commit 3dc509e645abb497e4dc92a7c42be471ff87db0b. https://github.com/bundler/bundler/commit/b5766564fb