Граф коммитов

57207 Коммитов

Автор SHA1 Сообщение Дата
Hiroshi SHIBATA 75d29db8f9
Revert "[rubygems/rubygems] [Require] Ensure -I beats a default gem"
This reverts commit 00cd5d74ce.
2019-08-17 08:52:39 +09:00
OKURA Masafumi efd37f8fc3 Remove redundant each from `sum` example (#2190) [ci skip]
It used to be `Enumerator#sum`, now it's range of string which calls
`Enumerable#sum` and causes TypeError.
2019-08-17 08:52:23 +09:00
Hiroshi SHIBATA 7624154595
Fixed Insecure Operation in require
Caused by 00cd5d74ce
2019-08-17 08:44:31 +09:00
git e0fc9b7ccd * 2019-08-17 [ci skip] 2019-08-17 07:49:00 +09:00
Hiroshi SHIBATA f30d38bdd0
Move lib directory to the last of $LOAD_PATH on ruby repository.
https://github.com/rubygems/rubygems/pull/1868 changes the behavior
  of require when it used with -I options. Therefore, the options of
  ruby repository was different from rubygems/rubygems.
2019-08-17 07:47:19 +09:00
Hiroshi SHIBATA ae3002b540
[rubygems/rubygems] Fixup #2844
https://github.com/rubygems/rubygems/commit/5924286ae2
2019-08-17 07:35:49 +09:00
MSP-Greg 56a28a8728
[rubygems/rubygems] installer.rb - fix #windows_stub_script
use ruby_exe in heredocs instead of ruby.exe

https://github.com/rubygems/rubygems/commit/9f1b7d6590
2019-08-17 07:35:49 +09:00
Alexander Pakulov 25a327d41b
[rubygems/rubygems] Do not mutate uri.query during s3 signature creation
https://github.com/rubygems/rubygems/commit/c0275ee537
2019-08-17 07:35:48 +09:00
Hiroshi SHIBATA c4f7c260f9
[rubygems/rubygems] Make deprecate Gem::RubyGemsVersion and Gem::ConfigMap.
https://github.com/rubygems/rubygems/commit/1133c2f700
2019-08-17 07:35:48 +09:00
David Rodríguez c78839902b
[rubygems/rubygems] Return `nil` to clarify return value is ignored
https://github.com/rubygems/rubygems/commit/8702f59d32
2019-08-17 07:35:48 +09:00
David Rodríguez 5998012a0c
[rubygems/rubygems] Autoswitch to exact bundler version if present
https://github.com/rubygems/rubygems/commit/bb02953a97
2019-08-17 07:35:48 +09:00
David Rodríguez 3587824d71
[rubygems/rubygems] Don't unregister default specifications
I think this should be more efficient?

https://github.com/rubygems/rubygems/commit/a1de78104f
2019-08-17 07:35:48 +09:00
David Rodríguez 1ac6890bd0
[rubygems/rubygems] Fix removing unresolved default spec files from map
https://github.com/rubygems/rubygems/commit/7964917bbc
2019-08-17 07:35:48 +09:00
David Rodríguez f42ad4a425
[rubygems/rubygems] Little refactor
There's already a method called `suffix_pattern`, that's different from
this local variable. So, move the local variable to a `suffix_regexp`
that clearly differenciates from `suffix_pattern`.

https://github.com/rubygems/rubygems/commit/4ec69c48b9
2019-08-17 07:35:48 +09:00
bronzdoc 89ad5df979
[rubygems/rubygems] Replace domain parameter in Gem::Command#show_lookup_failure with a parameter to suppress suggestions
https://github.com/rubygems/rubygems/commit/760b7d834f
2019-08-17 07:35:48 +09:00
David Rodríguez b8984370da
[rubygems/rubygems] Fix jruby issue
https://github.com/rubygems/rubygems/commit/fc3f722164
2019-08-17 07:35:48 +09:00
David Rodríguez 37abd2c390
[rubygems/rubygems] Fix old rubies compat
https://github.com/rubygems/rubygems/commit/41e60cdb6b
2019-08-17 07:35:48 +09:00
Samuel Giddins 00cd5d74ce
[rubygems/rubygems] [Require] Ensure -I beats a default gem
https://github.com/rubygems/rubygems/commit/6fbda98eb3
2019-08-17 07:35:48 +09:00
David Rodríguez d4feeb1936
[rubygems/rubygems] Make test also assert the gems that it should load
https://github.com/rubygems/rubygems/commit/a6375920bf
2019-08-17 07:35:48 +09:00
David Rodríguez bb2a65800d
[rubygems/rubygems] Use `assert_require`
For consistency with the other specs.

https://github.com/rubygems/rubygems/commit/44b93aec4c
2019-08-17 07:35:48 +09:00
Yusuke Endoh 229ae3269d lib/rdoc/store.rb: Use `Marshal.dump(obj, io)`
instead of dumping obj to a string and then saving the string.
It omits object creation.
2019-08-16 21:27:05 +09:00
Nobuyoshi Nakada 619f82bb6b
Hoisted out unixsocket_len, triming NUL chars from sun_path 2019-08-16 17:44:45 +09:00
Nobuyoshi Nakada 03f4a0b18e [ruby/rdoc] Use assert_raise
https://github.com/ruby/rdoc/commit/f2c63549f7
2019-08-16 17:28:40 +09:00
Hiroshi SHIBATA 02d0d424be
Revert "[bundler/bundler] Fixup #7297"
This reverts commit b8d759806f.

  It's accidentally picked from the upstream repository.
2019-08-16 14:52:03 +09:00
Hiroshi SHIBATA b8d759806f [bundler/bundler] Fixup #7297
https://github.com/bundler/bundler/commit/1a0161b970
2019-08-16 14:30:23 +09:00
Hiroshi SHIBATA 8cf90a2f80 [bundler/bundler] Fixed rubocop error
https://github.com/bundler/bundler/commit/9256177446
2019-08-16 14:30:23 +09:00
David Rodríguez e8fd720434 [bundler/bundler] Remove mention to remembered options
And instead educate users on the preferred, non deprecated, way.

https://github.com/bundler/bundler/commit/9cd6238da2
2019-08-16 14:30:23 +09:00
Tomoki Aonuma 502ad4d391 [bundler/bundler] Document upcoming changes to remembered options
https://github.com/bundler/bundler/commit/a1c97fd7c3
2019-08-16 14:30:23 +09:00
tommy 3b61019a89 [bundler/bundler] Add initial Bundler::BuildMetadata Spec
https://github.com/bundler/bundler/commit/c6458b2727
2019-08-16 14:30:23 +09:00
David Rodríguez b587e8c7f1 [bundler/bundler] Add `--[no-]git` option to `bundle gem`
I think using `--no-git` can be useful when creating gems inside
monorepos.

https://github.com/bundler/bundler/commit/154c687310
2019-08-16 14:30:23 +09:00
David Rodríguez cb71930351 [bundler/bundler] Remove unexistent folder from exemptions
https://github.com/bundler/bundler/commit/0b6d973543
2019-08-16 14:30:23 +09:00
David Rodríguez f48a61fb46 [bundler/bundler] Commit man pages to source control
This has the benefit that:

* Allows the installation of bundler as a default gem from rubygems to
include man pages.
* Removes the need to build man pages during our tests.
* Makes working with the manifest easier, because we only have source
controlled files, and not a mix of source control and generated files.

To make sure they never fall out of sync, we replace the previous
`man:build` CI task with a `man:check` task that makes sure the
generated man pages are up to date.

https://github.com/bundler/bundler/commit/23de1d0177
2019-08-16 14:30:23 +09:00
David Rodríguez 8f28ae65a8 [bundler/bundler] Remove misleading comment in Gemfile
Since we no longer use `git` to find out the list of files, the comment
is misleading.

https://github.com/bundler/bundler/commit/54d85d5349
2019-08-16 14:30:23 +09:00
David Rodríguez cd15d27d10 [bundler/bundler] Stop printing deprecation messages during specs
Previously under some circunstances (met during some specs), bundler
would print deprecations to a separate UI different from "bundler's UI".
This UI would not be captured by the specs, and thus would be printed to
screen during the specs.

This commit fixes that by making sure all deprecation messages always go
through bundler's UI.

https://github.com/bundler/bundler/commit/220c54b7fa
2019-08-16 14:30:23 +09:00
David Rodríguez 4af3665fd9 [bundler/bundler] Use a newer debugging gem in docs
So that the examples work in currently supported rubies.

https://github.com/bundler/bundler/commit/b7d4556cde
2019-08-16 14:30:23 +09:00
David Rodríguez 4913c9b6bf [bundler/bundler] Remove unexistent file from exemptions
https://github.com/bundler/bundler/commit/8601575490
2019-08-16 14:30:23 +09:00
Masato Ohba 6412121b00 [bundler/bundler] Fix typo in comment: attibutes -> attributes
https://github.com/bundler/bundler/commit/876545805e
2019-08-16 14:30:23 +09:00
David Rodríguez 94e26a97a1 [bundler/bundler] Bump rspec dependency to 3.8
Because we're using `config.bisect_runner` which is only available from
3.8.

https://github.com/bundler/bundler/commit/304a187f72
2019-08-16 14:30:23 +09:00
David Rodríguez 521a2d2beb [bundler/bundler] Revert "make system_bundle_bin_path helper and resolve failing tests for ruby < 2.6"
This reverts commit e63e844bc7444c6a489fcde0dc7011c6c4807edd.

It was introduced to resolve some failing tests at the cost of making
the intention of the spec much less clear.

Thanks to the previous fixes we have added to this spec, we can revert
that patch now.

https://github.com/bundler/bundler/commit/b29a40820f
2019-08-16 14:30:23 +09:00
David Rodríguez 5bff72c912 [bundler/bundler] Make sure spec fails if `bundle install` fails
https://github.com/bundler/bundler/commit/2ed2bbfdec
2019-08-16 14:30:23 +09:00
David Rodríguez 7ff0b4fec4 [bundler/bundler] Fix installation of system bundler
Previously it was being installed to the :bundle_path
(`/tmp/bundled_app/.bundle`), but the `bundle` helper uses the
`system_gem_path("bin/bundle")`. That means the first `bundle install`in
the spec was actually failing, but not affecting the test status because
of not being called as `bundle!`.

https://github.com/bundler/bundler/commit/ad75f75539
2019-08-16 14:30:23 +09:00
David Rodríguez 6c6c4c7388 [bundler/bundler] Use non deprecated way of setting bundler path
https://github.com/bundler/bundler/commit/6013c93e81
2019-08-16 14:30:23 +09:00
David Rodríguez ee1f3038f1 [bundler/bundler] Clarify spec description
https://github.com/bundler/bundler/commit/b2abde04aa
2019-08-16 14:30:23 +09:00
David Rodríguez 0aed0bd9ed [bundler/bundler] Bump rack and sinatra to latest versions
https://github.com/bundler/bundler/commit/09ecaf04fa
2019-08-16 14:30:23 +09:00
David Rodríguez 129657ab6a [bundler/bundler] Normalize style with other artifice files
https://github.com/bundler/bundler/commit/f11c9a2b3f
2019-08-16 14:30:23 +09:00
David Rodríguez 41534ce327 [bundler/bundler] Make spec pass more resiliently
Previously, if bundler-2.1.0.pre.1 would be installed globally, it would
fail. Now we force that a locally installed version of bundler is used,
so it always passed regardless of which bundler is installed globally.

https://github.com/bundler/bundler/commit/764d8e8fd1
2019-08-16 14:30:23 +09:00
David Rodríguez 3c23bb29ec [bundler/bundler] Remove unnecessary exclusions
https://github.com/bundler/bundler/commit/c189dfdde0
2019-08-16 14:30:23 +09:00
David Rodríguez 3f0e19c9fa [bundler/bundler] Enable retries on flaky spec
https://github.com/bundler/bundler/commit/da360659f7
2019-08-16 14:30:23 +09:00
Benoit Daloze 2b0f3aa095 [bundler/bundler] Use the standard RUBY_ENGINE_VERSION instead of JRUBY_VERSION
* RUBY_ENGINE and RUBY_ENGINE_VERSION are defined on every modern Ruby.
* There is no such constant as TRUFFLERUBY_VERSION or RBX_VERSION.

https://github.com/bundler/bundler/commit/f9d910403b
2019-08-16 14:30:23 +09:00
David Rodríguez 6711343d5a [bundler/bundler] Fix inconsistent lockfile order
When Gemfile would specify path sources as relative paths starting with
"./", the lockfile would have inconsistent order on `bundle install` and
`bundle update`.

https://github.com/bundler/bundler/commit/c7532ced89
2019-08-16 14:30:23 +09:00