aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* [rubygems/rubygems] Simplify host switching logicThomas McDonald2020-05-081-12/+3
| | | | | | | | | This block was a branch and variable heavy way of saying use the user-provided host if available, or fall-back to the default host if none of the other options match. IMO the resultant single-if condition is clearer in intentions https://github.com/rubygems/rubygems/commit/42dbb71cfa
* [rubygems/rubygems] Refactor ruby command line building for testsDavid Rodríguez2020-05-081-0/+4
| | | | https://github.com/rubygems/rubygems/commit/43819b6973
* [rubygems/rubygems] Remove unnecessary `@@ruby` variableDavid Rodríguez2020-05-081-2/+1
| | | | https://github.com/rubygems/rubygems/commit/5f20647ec1
* [rubygems/rubygems] Simplify nested require exceptionsDavid Rodríguez2020-05-081-2/+1
| | | | https://github.com/rubygems/rubygems/commit/7fbef2f0e3
* [rubygems/rubygems] Fix symlink RubyGems test problems for non-admin user.Josef Šimánek2020-05-081-0/+17
| | | | https://github.com/rubygems/rubygems/commit/75f672ff0e
* [rubygems/rubygems] Fix race condition on bundler's parallel installerDavid Rodríguez2020-05-081-1/+1
| | | | | | | | | | | | | | | | | When installing in parallel, bundler creates several `Gem::Installer` instances that run in parallel. These installers access the `@@all` class variable of `Gem::Specification` concurrently. If a concurrent thread calls `Gem::Specification.reset` (resetting `@all` to `nil`) while another thread is running `Gem::Specification._all` or another method that expects `@@all` to be loaded and not `nil`, that can result in `Enumerable` methods being called on `nil`, resulting in crashes. I fix it by protecting the other concurrent access to the `@all` variable. https://github.com/rubygems/rubygems/commit/58b343c530
* [rubygems/rubygems] Allow spaces in file headers during octal checkDmytro Shyrshov2020-05-081-1/+2
| | | | https://github.com/rubygems/rubygems/commit/e9e25731d8
* Normalize heredoc case in rubygems code baseDavid Rodríguez2020-05-082-6/+6
|
* Normalize heredoc delimitersDavid Rodríguez2020-05-081-2/+2
|
* [rubygems/rubygems] Fix platform comparison bug in #contains_requirable_file?Benoit Daloze2020-05-081-1/+1
| | | | | | | * One should not compare RUBY_ENGINE and Gem::Platform. * Introduced in https://github.com/rubygems/rubygems/pull/2672 https://github.com/rubygems/rubygems/commit/0e62c3be91
* [rubygems/rubygems] Autoload name_tuple.rb before useOlle Jonsson2020-05-081-0/+1
| | | | | | | | - Resolver asked Molinillo to resolve-then-activate, which led to using Gem::NameTuple before any require had been passed Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net> https://github.com/rubygems/rubygems/commit/e11782b0c8
* [rubygems/rubygems] Do not use set.Josef Šimánek2020-05-081-2/+1
| | | | https://github.com/rubygems/rubygems/commit/1a72c8796f
* [rubygems/rubygems] Add gem build test to check for removed methods.Josef Šimánek2020-05-081-0/+2
| | | | https://github.com/rubygems/rubygems/commit/c07b9cf4f1
* [rubygems/rubygems] Track removed methods calls and warn during build time.Josef Šimánek2020-05-082-13/+17
| | | | | | move rubyforge_project= to removed methods https://github.com/rubygems/rubygems/commit/223f7fd470
* [rubygems/rubygems] Deprecate rubyforge_project attribute only during build ↵Josef Šimánek2020-05-082-3/+12
| | | | | | time. https://github.com/rubygems/rubygems/commit/c44eb21648
* [rubygems/rubygems] Revert deprecation of deprecate method for now.Josef Šimánek2020-05-081-1/+0
| | | | https://github.com/rubygems/rubygems/commit/965eee1741
* [rubygems/rubygems] Restore and deprecate old deprecate methodbronzdoc2020-05-081-0/+25
| | | | https://github.com/rubygems/rubygems/commit/024267fa60
* [rubygems/rubygems] Rename version horizon deprecation methodsbronzdoc2020-05-086-13/+13
| | | | https://github.com/rubygems/rubygems/commit/6afd914fda
* [rubygems/rubygems] Add next_rubygems_major_version methodbronzdoc2020-05-081-8/+6
| | | | https://github.com/rubygems/rubygems/commit/db5bb65baf
* [rubygems/rubygems] Modify files to use new version horizon deprecationsbronzdoc2020-05-085-10/+10
| | | | https://github.com/rubygems/rubygems/commit/4fe5bb5bf3
* [rubygems/rubygems] Use the next major version as default for deprecationsbronzdoc2020-05-081-4/+9
| | | | https://github.com/rubygems/rubygems/commit/b679ab27af
* [rubygems/rubygems] Remove deprecation methods by datebronzdoc2020-05-081-44/+5
| | | | https://github.com/rubygems/rubygems/commit/3a14635cf5
* [rubygems/rubygems] Make the deprecate_command method recieve a Rubygems ↵bronzdoc2020-05-081-0/+17
| | | | | | version instead of a date https://github.com/rubygems/rubygems/commit/bf95b1de78
* [rubygems/rubygems] Make the deprecate method recieve a Rubygems version ↵bronzdoc2020-05-081-0/+24
| | | | | | instead of a date https://github.com/rubygems/rubygems/commit/f0e098a1b7
* [rubygems/rubygems] Removed deprecated methods for Minitest5Hiroshi SHIBATA2020-05-081-10/+0
| | | | | | | | It was migrated on ruby core repository too. https://github.com/ruby/ruby/commit/e5db3da9d34f0a7595208863301c044b612adbed https://github.com/rubygems/rubygems/commit/848bbe3c76
* [rubygems/rubygems] Minitest::Test is works fine with the ruby core repositoryHiroshi SHIBATA2020-05-081-1/+1
| | | | https://github.com/rubygems/rubygems/commit/afa01a29a3
* [rubygems/rubygems] Revert https://github.com/rubygems/rubygems/pull/3445Hiroshi SHIBATA2020-05-081-2/+15
| | | | | | These changes completely broke the test suite on ruby core repository. https://github.com/rubygems/rubygems/commit/84b0bea3e1
* [rubygems/rubygems] Don't swallow gem activation exceptionDavid Rodríguez2020-05-081-4/+1
| | | | | | | | | Our tests are now guaranteed to not work on older versions of minitest, so I don't think we should swallow this activation error because it will make it very clear for the user what the problem is if she has a minitest version not satisfying the requirement. https://github.com/rubygems/rubygems/commit/a291b65369
* [rubygems/rubygems] Update minitest version in `Gem.install` docsDavid Rodríguez2020-05-081-1/+1
| | | | https://github.com/rubygems/rubygems/commit/aec3887d9c
* [rubygems/rubygems] Remove minitest compatibility codeDavid Rodríguez2020-05-081-1/+1
| | | | https://github.com/rubygems/rubygems/commit/24213b97d8
* [rubygems/rubygems] [rubygems/rubygems] Require minitest `~> 5.13`David Rodríguez2020-05-081-1/+1
| | | | | | https://github.com/rubygems/rubygems/commit/f2cc5d7033 https://github.com/rubygems/rubygems/commit/ae5b4e2043
* Fix gemspecMarc-Andre Lafortune2020-05-051-1/+1
|
* [ruby/uri] Check if DN existsNobuyoshi Nakada2020-05-051-0/+1
| | | | | | https://bugs.ruby-lang.org/issues/16830 https://github.com/ruby/uri/commit/b4bf8c1217
* [ruby/matrix] v0.3.0Marc-Andre Lafortune2020-05-011-1/+1
|
* [ruby/matrix] Add Matrix#adjoint [#14]Marc-Andre Lafortune2020-05-011-0/+11
| | | | Patch adapted from Alessandro Minali
* [ruby/matrix] Optimize Matrix#*Marc-Andre Lafortune2020-05-011-10/+12
|
* [ruby/matrix] Fix Matrix#orthogonal?Marc-Andre Lafortune2020-05-011-3/+4
|
* [ruby/matrix] Fix Matrix#unitary? [#14]Marc-Andre Lafortune2020-05-011-3/+3
|
* [ruby-matrix] Update docs (nicer rendering, undocumented method)zverok2020-05-011-89/+105
|
* [ruby/irb] Suppress "method redefined" warningaycabta2020-04-291-3/+6
| | | | https://github.com/ruby/irb/commit/5f0aee56fa
* [ruby/irb] Check existence of rc files in irb_info commandaycabta2020-04-292-9/+12
| | | | https://github.com/ruby/irb/commit/cdbb9dfc9f
* [ruby/irb] Add irb_info commandaycabta2020-04-293-0/+62
| | | | https://github.com/ruby/irb/commit/a6fe58e916
* [ruby/reline] Add URL reference of history-sizeaycabta2020-04-291-0/+1
| | | | https://github.com/ruby/reline/commit/13420197b8
* [ruby/reline] Version 0.1.4aycabta2020-04-291-1/+1
| | | | https://github.com/ruby/reline/commit/298144b06a
* [ruby/reline] Negative history_size means unlimitedaycabta2020-04-292-12/+28
| | | | | | And unlimited is default. https://github.com/ruby/reline/commit/f5149c3ca6
* [ruby/reline] New items to history are dropped if history_size is zeroaycabta2020-04-291-0/+4
| | | | https://github.com/ruby/reline/commit/9bdbed9cbc
* [ruby/reline] Ignore non-absolute XDG_CONFIG_HOMENobuyoshi Nakada2020-04-291-5/+6
| | | | | | | | | https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html > All paths set in these environment variables must be absolute. > If an implementation encounters a relative path in any of these > variables it should consider the path invalid and ignore it. https://github.com/ruby/reline/commit/45af6eea77
* [rubygems/rubygems] Pass the rubocop lintHiroshi SHIBATA2020-04-281-1/+1
| | | | https://github.com/rubygems/rubygems/commit/d4486ca061
* [rubygems/rubygems] Removed the depdendency of English libraryHiroshi SHIBATA2020-04-282-3/+2
| | | | | | | English.rb is extracted to the default gems at https://github.com/ruby/ruby/commit/2c5764ec223d976e0d0da1494596a1519104be3e https://github.com/rubygems/rubygems/commit/532f488c0b
* Fixed typos in raccNobuyoshi Nakada2020-04-272-6/+6
|