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

56593 Коммитов

Автор SHA1 Сообщение Дата
bronzdoc 7081185664
[rubygems/rubygems] Remove unused 'raise' from test_case
https://github.com/rubygems/rubygems/commit/2481efcb37
2019-07-31 07:47:01 +08:00
bronzdoc eb35124cca
[rubygems/rubygems] Remove TODO comment, there's no Gem::Dirs constant
https://github.com/rubygems/rubygems/commit/4bacf577f1
2019-07-31 07:47:01 +08:00
bronzdoc 60d3f9ef9f
[rubygems/rubygems] Remove useless TODO comment
https://github.com/rubygems/rubygems/commit/44bc809dc8
2019-07-31 07:47:01 +08:00
Alexander Pakulov bd78eabcf3
[rubygems/rubygems] Addressing PR comments
https://github.com/rubygems/rubygems/commit/fb62d3043c
2019-07-31 07:47:01 +08:00
bronzdoc b2a54744f2
[rubygems/rubygems] check_version_conflict don't have a 'dep' variable available for use
https://github.com/rubygems/rubygems/commit/1783cf0fd3
2019-07-31 07:47:01 +08:00
bronzdoc 56801d4532
[rubygems/rubygems] Remove missleading comment, no reason to move Gem.host to Gem::Util
https://github.com/rubygems/rubygems/commit/e12c98aa72
2019-07-31 07:47:01 +08:00
bronzdoc ff214e9232
[rubygems/rubygems] Remove useless comment in exceptions.rb
https://github.com/rubygems/rubygems/commit/d7ad696fa2
2019-07-31 07:47:01 +08:00
bronzdoc 6bd7772361
[rubygems/rubygems] Rename Gem::Package.metadata to Gem::Package.raw_spec
https://github.com/rubygems/rubygems/commit/a76f25dff0
2019-07-31 07:47:01 +08:00
Alexander Pakulov 38daeded66
[rubygems/rubygems] Upgrading S3 source signature to AWS SigV4
https://github.com/rubygems/rubygems/commit/f289788ca5
2019-07-31 07:47:01 +08:00
bronzdoc 688ccc9602
[rubygems/rubygems] Move metadata method to Gem::Package
https://github.com/rubygems/rubygems/commit/2c9cfcb666
2019-07-31 07:47:01 +08:00
Daniel Berger 8103d46a4d
[rubygems/rubygems] Add a package attr_reader to Gem::Installer.
Add some basic specs for the package attr_reader.

https://github.com/rubygems/rubygems/commit/68af2a0ee3
2019-07-31 07:47:01 +08:00
bronzdoc 6be927ff4a
[rubygems/rubygems] Remove missleading TODO comment. Can't use @parser.accept since not
every class where this is used has a parser available. i.e lib/rubygems/install_update_options.rb

https://github.com/rubygems/rubygems/commit/519fd4dcc0
2019-07-31 07:47:01 +08:00
bronzdoc c421ef1142
[rubygems/rubygems] Move gemcutter utilities code to Gem::Command
https://github.com/rubygems/rubygems/commit/f296645033
2019-07-31 07:47:01 +08:00
bronzdoc 5eacb4c52e
[rubygems/rubygems] Remove conflict.rb code that was supposed to be removed in Rubygems 3
https://github.com/rubygems/rubygems/commit/6d5f743a89
2019-07-31 07:47:01 +08:00
bronzdoc a7bce01175
[rubygems/rubygems] Remove unnecessary &&= operator
https://github.com/rubygems/rubygems/commit/a10b5265d7
2019-07-31 07:47:01 +08:00
bronzdoc 8b91a6d0a0
[rubygems/rubygems] Remove unnecessary TODO comment
https://github.com/rubygems/rubygems/commit/ad7e379f79
2019-07-31 07:47:01 +08:00
David Rodríguez df0b41fc72
[rubygems/rubygems] Explicitly deprecate `rubyforge_project`
https://github.com/rubygems/rubygems/commit/9094740109
2019-07-31 07:47:01 +08:00
David Rodríguez 0ca494fc80
[rubygems/rubygems] Silence deprecations when gemdeps is used in tests
Because we can't control 3rd party gems using deprecated rubygems
behavior, and thus outputting warnings to the screen.

https://github.com/rubygems/rubygems/commit/6912ebf20a
2019-07-31 07:47:00 +08:00
Benoit Daloze 05ae2c11fa
[rubygems/rubygems] Do not replace the cache entry if there is already one
* That way, multiple lookups for the same file always return the same object.

https://github.com/rubygems/rubygems/commit/50a431b6db
2019-07-31 07:47:00 +08:00
Benoit Daloze 2453d16f5e
[rubygems/rubygems] Synchronize access to the Gem::Specification::LOAD_CACHE Hash
* It's accessed concurrently, notably when installing a gem with a C extension.

https://github.com/rubygems/rubygems/commit/543294d7dd
2019-07-31 07:47:00 +08:00
bronzdoc 89bd1df895
[rubygems/rubygems] Add a blank line after private to be consistent with the current style
https://github.com/rubygems/rubygems/commit/df7c0e4223
2019-07-31 07:47:00 +08:00
bronzdoc 673ef894ac
[rubygems/rubygems] Return early if filename is empty
https://github.com/rubygems/rubygems/commit/1b9ab33083
2019-07-31 07:47:00 +08:00
bronzdoc d74ea2eeb2
[rubygems/rubygems] Simplify config_file_name assigment
https://github.com/rubygems/rubygems/commit/1b3154f905
2019-07-31 07:47:00 +08:00
bronzdoc 6c5170634a
[rubygems/rubygems] Lazy require stringio
https://github.com/rubygems/rubygems/commit/82f0d4ca69
2019-07-31 07:47:00 +08:00
bronzdoc 7990d8dc50
[rubygems/rubygems] Set config_file_name to the value of ENV["GEMRC"] if available
https://github.com/rubygems/rubygems/commit/471239f1fa
2019-07-31 07:47:00 +08:00
bronzdoc 6f60ead756
[rubygems/rubygems] Move config_file_name logic to its own method
https://github.com/rubygems/rubygems/commit/ac4596aace
2019-07-31 07:47:00 +08:00
David Rodríguez d64cc80b66
[rubygems/rubygems] Migrate extension builder to use Open3
Since it works on jruby.

https://github.com/rubygems/rubygems/commit/5229e00df4
2019-07-31 07:47:00 +08:00
David Rodríguez 4e27319c2c
[rubygems/rubygems] Remove unused method
https://github.com/rubygems/rubygems/commit/f2dbf242ea
2019-07-31 07:47:00 +08:00
git a4c09342a2 * expand tabs. 2019-07-31 05:49:04 +09:00
Jeremy Evans ebc99e026d Do not change IO.pipe encodings if encodings explicitly given
This commit makes it so that if the binmode option is given with
any encoding arguments, the reader and writer IO objects are
not set to binary encoding.

Fixes [Bug #12989]
2019-07-30 12:12:59 -07:00
Aaron Patterson d8562ab2a4 Passing `binmode: true` to `IO.pipe` should behave like `binmode`
When passing `binmode: true` to `IO.pipe`, it should behave the same way
as calling `binmode` on each of the file handles.  It should set the
file to binmode *and* set the encoding to binary on the file.

Before this commit, passing `binmode: true` to `IO.pipe` would make
`binmode?` return `true`, but the file's encoding would remain the same
as the default encoding.  Passing `binmode: true` should make `binmode?`
return `true` *and* set the encoding to binary.
2019-07-30 12:03:09 -07:00
git 369c36ef15 * 2019-07-31 2019-07-31 04:00:46 +09:00
Jeremy Evans a50bc9f3c8 Do not always taint the result of File#path
The result should only be tainted if the path given to the method
was tainted.

The code to always taint the result was added in
a4934a42cb (svn revision 4892) in
2003 by matz.  However, the change wasn't mentioned in the
commit message, and it may have been committed by accident.

Skip part of a readline test that uses Reline.  Reline in general
would pass the test, but Reline's test mode doesn't raise a
SecurityError if passing a tainted prompt and $SAFE >= 1. This
was hidden earlier because File#path was always returning a
tainted string.

Fixes [Bug #14485]
2019-07-30 11:55:59 -07:00
Nobuyoshi Nakada ceb9e276b9
Shorten dependency hint [ci skip] 2019-07-30 21:16:30 +09:00
Takashi Kokubun f3b0ed3f26
Try giving up `brew update` in Azure as well
homebrew-cask fetch fails too often.
https://dev.azure.com/rubylang/ruby/_build/results?buildId=1917
2019-07-30 21:15:11 +09:00
Nobuyoshi Nakada e25088488b
Hint for the dependency update [Bug #16000] 2019-07-30 17:23:42 +09:00
Nobuyoshi Nakada 47144f91a1
Separate VCS::GIT#upstream 2019-07-30 16:44:29 +09:00
Kazuhiro NISHIYAMA 2e6f777f9e
`/o` should not use with instance variable
for example:
```
class C;def initialize(pat);@pat=pat;end;def re;/#{@pat}/o;end;end
C.new('1').re #=> /1/
C.new('2').re #=> /1/
```
2019-07-30 12:44:38 +09:00
Nobuyoshi Nakada 3805ef7fb5
Separate test_set_lineno_gets 2019-07-30 12:39:28 +09:00
Tanaka Akira 1da3a31a5f Use lowercase letters for IPv6 addresses.
Reported by chucke (Tiago Cardoso).
Patch by jeremyevans0 (Jeremy Evans).
[Bug #14612]
2019-07-30 11:59:54 +09:00
Jeremy Evans 6eab49a40a Revert "Do not always taint the result of File#path"
This reverts commit 1a759bfe5d.

This fails on some operating systems.
2019-07-29 12:10:15 -07:00
Jeremy Evans 177731aadf Document that Timezone argument for Time uses dst? if available [ci skip] 2019-07-29 11:06:43 -07:00
git 9170646f13 * 2019-07-30 2019-07-30 02:48:25 +09:00
Jeremy Evans 1a759bfe5d Do not always taint the result of File#path
The result should only be tainted if the path given to the method
was tainted.

The code to always taint the result was added in
a4934a42cb (svn revision 4892) in
2003 by matz.  However, the change wasn't mentioned in the
commit message, and it may have been committed by accident.

Skip part of a readline test that uses Reline.  Reline in general
would pass the test, but Reline's test mode doesn't raise a
SecurityError if passing a tainted prompt and $SAFE >= 1. This
was hidden earlier because File#path was always returning a
tainted string.

Fixes [Bug #14485]
2019-07-29 10:45:14 -07:00
Jeremy Evans aa97410b0a Warn if using return at top-level with an argument
Fixes [Bug #14062]
2019-07-29 09:01:23 -07:00
Nobuyoshi Nakada c2428b8bf6
Erase only on tty 2019-07-29 23:05:41 +09:00
Nobuyoshi Nakada e62a60927e
Should match the beginning/end of string 2019-07-29 23:05:41 +09:00
Nobuyoshi Nakada 3ee63cfe88
Match suffix for content type more precisely
Suffix needs a dot and should match the end of string.
2019-07-29 23:05:41 +09:00
Nobuyoshi Nakada bef398eb87
Chomp html suffix literally
Unescaped dot does not mean a suffix.
2019-07-29 23:05:41 +09:00
Kazuhiro NISHIYAMA 968c7b4398
Fix unused variable 2019-07-29 23:05:00 +09:00