Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4104 from rubygems/release/bundler_2.2.0_rubygems…
…_3.2.0 Prepare stable branch to rubygems 3.2.0 & bundler 2.2.0
- Loading branch information
Showing
973 changed files
with
4,078 additions
and
2,317 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
name: install-rubygems | ||
|
||
on: | ||
pull_request: | ||
|
||
push: | ||
branches: | ||
- master | ||
- 3.2 | ||
|
||
jobs: | ||
install_rubygems_ubuntu: | ||
runs-on: ubuntu-18.04 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
ruby: [ 2.3.8, 2.4.10, 2.5.8, 2.6.6, 2.7.2, jruby-9.2.11.1 ] | ||
openssl: [true, false] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: ${{ matrix.ruby }} | ||
bundler: none | ||
- name: Install rubygems | ||
run: ruby -Ilib -S rake install 2> errors.txt | ||
- name: Check rubygems install produced no warnings | ||
run: test ! -s errors.txt || (cat errors.txt && exit 1) | ||
- name: Run a local rubygems command | ||
run: gem list bundler | ||
env: | ||
RUBYOPT: -Itest/rubygems/fake_certlib | ||
if: matrix.openssl == false | ||
- name: Run a local rubygems command | ||
run: gem list bundler | ||
if: matrix.openssl == true | ||
- name: Run a remote rubygems command | ||
run: gem outdated | ||
if: matrix.openssl == true | ||
- name: Run bundler installed as a default gem | ||
run: bundle --version | ||
- name: Check bundler man pages were installed and are properly picked up | ||
run: bundle install --help | grep -q BUNDLE-INSTALL | ||
- name: Check bundler fallback man pages are properly picked up | ||
run: sudo rm $(which man) && bundle install --help | ||
- name: Build bundler | ||
run: gem build bundler.gemspec | ||
working-directory: ./bundler | ||
- name: Install built bundler | ||
run: gem install bundler-*.gem --verbose > output.txt | ||
working-directory: ./bundler | ||
- name: Check bundler install didn't hit the network | ||
run: if grep -q 'GET http' output.txt; then false; else true; fi | ||
working-directory: ./bundler | ||
timeout-minutes: 10 | ||
|
||
install_rubygems_windows: | ||
runs-on: windows-2019 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: 2.7.2 | ||
bundler: none | ||
- name: Install rubygems | ||
run: ruby setup.rb | ||
shell: bash | ||
- name: Check installation didn't modify gemspec line feeds | ||
run: ruby -Ilib -e'exit 1 if File.readlines("bundler/bundler.gemspec").first.end_with?("\r\n")' | ||
shell: bash | ||
timeout-minutes: 10 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
name: older-rubygems-bundler | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- bundler/** | ||
- .github/workflows/older-rubygems-bundler.yml | ||
- .rubocop_bundler.yml | ||
|
||
push: | ||
branches: | ||
- master | ||
- 3.2 | ||
|
||
jobs: | ||
older_rubygems_bundler: | ||
runs-on: ubuntu-18.04 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
ruby: [ 2.3.8, 2.4.10, 2.5.8, 2.6.6, 2.7.2 ] | ||
rgv: [ v2.5.2, v2.6.14, v2.7.10, v3.0.8, v3.1.4 ] | ||
bundler: [ '' ] | ||
exclude: | ||
- { bundler: '', ruby: 2.4.10, rgv: v2.5.2 } | ||
- { bundler: '', ruby: 2.5.8, rgv: v2.5.2 } | ||
- { bundler: '', ruby: 2.5.8, rgv: v2.6.14 } | ||
- { bundler: '', ruby: 2.6.6, rgv: v2.5.2 } | ||
- { bundler: '', ruby: 2.6.6, rgv: v2.6.14 } | ||
- { bundler: '', ruby: 2.6.6, rgv: v2.7.10 } | ||
- { bundler: '', ruby: 2.7.2, rgv: v2.5.2 } | ||
- { bundler: '', ruby: 2.7.2, rgv: v2.6.14 } | ||
- { bundler: '', ruby: 2.7.2, rgv: v2.7.10 } | ||
- { bundler: '', ruby: 2.7.2, rgv: v3.0.8 } | ||
include: | ||
- { bundler: 3.0.0, ruby: 2.4.10, rgv: v3.1.4 } | ||
- { bundler: 3.0.0, ruby: 2.5.8, rgv: v3.1.4 } | ||
- { bundler: 3.0.0, ruby: 2.6.6, rgv: v3.1.4 } | ||
- { bundler: 3.0.0, ruby: 2.7.2, rgv: v3.1.4 } | ||
env: | ||
RGV: ${{ matrix.rgv }} | ||
RUBYOPT: --disable-gems | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- name: Setup ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: ${{ matrix.ruby }} | ||
bundler: none | ||
- name: Install graphviz | ||
run: sudo apt-get install graphviz -y | ||
if: matrix.bundler == '' | ||
- name: Replace version | ||
run: BUNDLER_SPEC_SUB_VERSION=${{ matrix.bundler }} bin/rake override_version | ||
if: matrix.bundler != '' | ||
working-directory: ./bundler | ||
- name: Prepare dependencies | ||
run: | | ||
bin/rake spec:parallel_deps | ||
working-directory: ./bundler | ||
- name: Run Test | ||
run: | | ||
bin/rake spec:all | ||
working-directory: ./bundler | ||
timeout-minutes: 60 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.