Permalink
Commits on Jun 19, 2018
  1. Auto merge of #2320 - ota42y:ota42y/alis_command_doc, r=hsbt

    bundlerbot committed Jun 19, 2018
    add install alias documentation
    
    # Description:
    Until now the `i` command work but it was unintended.
    [this change](#2308) made it an official command.
    So we had better write an explanation in help
    ______________
    
    # Tasks:
    
    - [x] Describe the problem / feature
    - [-] Write tests
    - [x] Write code to solve the problem
    - [ ] Get code review from coworkers / friends
    
    I will abide by the [code of conduct](https://github.com/rubygems/rubygems/blob/master/CODE_OF_CONDUCT.md).
Commits on Jun 15, 2018
  1. Auto merge of #2321 - rubygems:backport-ruby-core, r=hsbt

    bundlerbot committed Jun 15, 2018
    Backport ruby core commits
    
    # Description:
    
    ______________
    
    # Tasks:
    
    - [ ] Describe the problem / feature
    - [ ] Write tests
    - [ ] Write code to solve the problem
    - [ ] Get code review from coworkers / friends
    
    I will abide by the [code of conduct](https://github.com/rubygems/rubygems/blob/master/CODE_OF_CONDUCT.md).
  2. add alias document

    ota42y committed Jun 9, 2018
  3. test/rubygems/test_gem_dependency_installer.rb: Avoid Dir.chdir + block

    mame authored and hsbt committed Jun 14, 2018
    This caused a warning "conflicting chdir during another chdir block"
    during "make test-all".
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  4. Ignore bundler assertions on ruby core test suite.

    hsbt committed May 30, 2018
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jun 13, 2018
  1. Auto merge of #2318 - rubygems:cleanup-rakefile, r=hsbt

    bundlerbot committed Jun 13, 2018
    Cleanup rdoc task in Rakefile
    
    # Description:
    
    `docs` task in Rakefile has obsoleted file list and need old dependency. I rewrite its task.
    ______________
    
    # Tasks:
    
    - [ ] Describe the problem / feature
    - [ ] Write tests
    - [ ] Write code to solve the problem
    - [ ] Get code review from coworkers / friends
    
    I will abide by the [code of conduct](https://github.com/rubygems/rubygems/blob/master/CODE_OF_CONDUCT.md).
  2. compact

    hsbt committed Jun 13, 2018
  3. Added bundler libraries

    hsbt committed Jun 13, 2018
  4. Fixed array comma

    hsbt committed Jun 13, 2018
  5. Removed redundant items in rdoc_files.

    hsbt committed Jun 13, 2018
  6. style

    hsbt committed Jun 13, 2018
Commits on Jun 11, 2018
  1. Auto merge of #2119 - MSP-Greg:windows_bin_stub_portable, r=hsbt

    bundlerbot committed Jun 11, 2018
    Make Windows bin stubs portable
    
    # Description:
    
    Windows bin stubs for installed gems are not portable due to the fact that the path (at install time) is  embedded in the .bat or .cmd file.  This patch removes the path and replaces with `%~dp0`, which is the windows cmd variable for the running script's path.
    
    It passed tests locally, and I patched a fresh 2.4.3 install with it and updated/installed bundler and rake.  I even added a space to the path and all commands correcty ran from a command prompt.
    
    See #2111
    
    ______________
    
    # Tasks:
    
    - [X] Describe the problem / feature
    - [ ] Write tests
    - [X] Write code to solve the problem
    - [ ] Get code review from coworkers / friends
    
    I will abide by the [code of conduct](https://github.com/rubygems/rubygems/blob/master/CODE_OF_CONDUCT.md).
Commits on Jun 9, 2018
  1. Auto merge of #2309 - MSP-Greg:bundler_issue, r=hsbt

    bundlerbot committed Jun 9, 2018
    Bundler issue
    
    # Description:
    
    First of all, I don't pretend to have great knowledge of RubyGems, so, this might be totally wrong...
    
    Testing on Appveyor seemed to be broken after a rubygems-update to 2.7.6.
    
    Investigating locally, it seemed that `Gem::Specification.stubs` &  `Gem::Specification.stubs_for` only load gemspecs from standard locations, but don't include currently loaded gems (`Gem.loaded_specs.values`).
    
    So, I loaded bundler in the `Rake::Testtask` (only if it's included in the repo), and added the loaded gemspecs to `stubs` and `stubs_for`.  This PR also includes a commit removing the 'temp fix' for Appveyor.
    
    Note that in my fork I had a 'false fail' due to a leftover file artifact.
    
    # Tasks:
    
    - [X] Describe the problem / feature
    - [ ] Write tests
    - [X] Write code to solve the problem
    - [ ] Get code review from coworkers / friends
    
    I will abide by the [code of conduct](https://github.com/rubygems/rubygems/blob/master/CODE_OF_CONDUCT.md).
Commits on Jun 8, 2018
  1. Fix for included bundler (stubs)

    MSP-Greg committed Jun 3, 2018
  2. Remove appveyor fix

    MSP-Greg committed Jun 3, 2018
  3. Merge v2.7.7

    hsbt committed Jun 8, 2018
  4. Auto merge of #2297 - rubygems:segiddins/reset-hooks, r=hsbt

    bundlerbot committed Jun 8, 2018
    Reset hooks in test cases
    
    # Description:
    
    Closes #2296. cc @MSP-Greg
    
    # Tasks:
    
    - [ ] Describe the problem / feature
    - [ ] Write tests
    - [ ] Write code to solve the problem
    - [ ] Get code review from coworkers / friends
    
    I will abide by the [code of conduct](https://github.com/rubygems/rubygems/blob/master/CODE_OF_CONDUCT.md).
Commits on Jun 1, 2018
  1. Auto merge of #2299 - MSP-Greg:appveyor_casing, r=hsbt

    bundlerbot committed Jun 1, 2018
    appveyor.yml update
    
    # Description:
    
    1. Updated appveyor.yml to correct casing issue in PATH.
    2. Converted download of trunk to PowerShell code instead of Appveyor specific code.  Easier to port to local use if desired.
    3. Moved GIT env variable to install section.
    ______________
    
    # Tasks:
    
    - [X] Describe the problem / feature
    - [ ] Write tests
    - [X] Write code to solve the problem
    - [ ] Get code review from coworkers / friends
    
    I will abide by the [code of conduct](https://github.com/rubygems/rubygems/blob/master/CODE_OF_CONDUCT.md).
  2. Auto merge of #2307 - rubygems:fix_open_default_gem_error_message, r=…

    bundlerbot committed Jun 1, 2018
    …hsbt
    
    Add error message when trying to open a default gem
    
    # Description:
    
    closes #2281
    
    I will abide by the [code of conduct](https://github.com/rubygems/rubygems/blob/master/CODE_OF_CONDUCT.md).
  3. Auto merge of #2303 - okkez:support-io-copy-stream, r=hsbt

    bundlerbot committed Jun 1, 2018
    Support IO.copy_stream
    
    Implement Gem::Package::TarReader::Entry#readpartial.
    It raises EOFError when call readpartial after reach EOF.
    
    In previous version, Gem::Package::TarReader::Entry#read does not
    support 2nd argument. So we cannot run following sample code.
    
    Sample code:
    
    ```ruby
    File.open(target, "rb+") do |tar|
      Gem::Package::TarReader.new(tar) do |reader|
        reader.each do |entry|
          case
          when entry.file?
            File.open(entry.full_name, "w+") do |file|
              IO.copy_stream(entry, file)
            end
          when entry.directory?
            FileUtils.mkdir_p(entry.full_name)
          else
            # do nothing
          end
        end
      end
    end
    ```
  4. Temp appveyor.yml fix for bundler / rubygems update

    MSP-Greg committed Jun 1, 2018
  5. Auto merge of #2308 - ota42y:feature/alias_command, r=hsbt

    bundlerbot committed Jun 1, 2018
    Add alias command 'i' for 'install' command
    
    # Description:
    
    In rubygems 2.x, the command that started with `i` was `install` command only.
    So we can install gem by following command like [npm](https://docs.npmjs.com/cli/install).
    `gem i bundler`
    
    But rubygems 3.x have `info` command.
    #2023
    
    So this command doesn't work
    
    ```bash
    % gem i bundler
    ERROR:  While executing gem ... (Gem::CommandLineError)
        Ambiguous command i matches [info, install]
    ```
    
    The `i` command work well in 2.x and this command is very useful as we install lots of gem.
    So it would be nice to set an alias for this command.
    
    ______________
    
    # Tasks:
    
    - [x] Describe the problem / feature
    - [x] Write tests
    - [x] Write code to solve the problem
    - [ ] Get code review from coworkers / friends
    
    I will abide by the [code of conduct](https://github.com/rubygems/rubygems/blob/master/CODE_OF_CONDUCT.md).
  6. typo fix

    ota42y committed Jun 1, 2018
  7. add alias command 'i'

    ota42y committed Jun 1, 2018
Commits on May 31, 2018
  1. Fix gem open error message when trying to open a default gem

    bronzdoc committed May 31, 2018
  2. Count `@read` properly

    okkez committed May 31, 2018
    `max_read` is the maximum size to read from IO like object,
    not equal to `outbuf.size`.
  3. Remove an unused local variable

    okkez committed May 31, 2018
  4. Revert 3287ebe partialy

    okkez committed May 31, 2018
    `Zlib::GzipReader#read` does not support 2nd argument.
    So I revert changes about `Gem::Package::TarReader::Entry#read`.
    
    On the other hand, `Zlib::GzipReader#readpartial` supports 2nd argument.
  5. Use readpartial instead of read in `Gem::Package::TarReader::Entry#re…

    okkez committed May 31, 2018
    …adpartial`
    
    Because `Zlib::GzipReader#read` does not support 2nd argument for
    output.
  6. Gem::Package::TarReader::Entry#readpartial 1st argument can be nil

    okkez committed May 31, 2018
Commits on May 29, 2018
  1. Auto merge of #2304 - rubygems:prepare-beta-release, r=hsbt

    bundlerbot committed May 29, 2018
    Prepare beta release
    
    # Description:
    
    I will merge current master into Ruby 2.6.0preview2 and release RubyGems 3.0.0.beta1.
    ______________
    
    # Tasks:
    
    - [ ] Describe the problem / feature
    - [ ] Write tests
    - [ ] Write code to solve the problem
    - [ ] Get code review from coworkers / friends
    
    I will abide by the [code of conduct](https://github.com/rubygems/rubygems/blob/master/CODE_OF_CONDUCT.md).
  2. To use hard corded version instead of VERSION constant.

    hsbt committed May 29, 2018
      We can't use it value from Rake task.
  3. Update manifest.txt

    hsbt committed May 29, 2018