Skip to content

Commit 041a153

Browse files
authored
Merge branch 'master' into fix-bundle-plugin-bug
2 parents f847c34 + 49660c7 commit 041a153

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+429
-855
lines changed

.githooks/pre-commit-rubocop

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ length=${#files}
55

66
# Run rubocop hook only when analyzable files are present
77
if [[ $length -ne 0 ]]; then
8-
./util/rubocop $files
8+
./bin/rubocop $files
99
else
1010
echo "No files to analyze"
1111
fi

.github/workflows/bundler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ permissions: # added using https://github.com/step-security/secure-workflows
1414
defaults:
1515
run:
1616
shell: bash
17-
working-directory: ./bundler
1817

1918
jobs:
2019
bundler:
@@ -76,4 +75,5 @@ jobs:
7675
- name: Run Test
7776
run: |
7877
bin/parallel_rspec
78+
working-directory: ./bundler
7979
timeout-minutes: ${{ matrix.timeout || 60 }}

.github/workflows/daily-bundler.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ permissions:
1010
defaults:
1111
run:
1212
shell: bash
13-
working-directory: ./bundler
1413

1514
jobs:
1615
daily_bundler:
@@ -39,7 +38,6 @@ jobs:
3938
- name: Run Test
4039
run: |
4140
bin/rake spec:all
42-
4341
- name: Get previous status
4442
if: always()
4543
run: echo "OLD_STATUS=$(curl -sS 'https://api.github.com/repos/rubygems/rubygems/actions/workflows/daily-bundler.yml/runs?event=schedule&branch=master' | jq '.workflow_runs | .[1].conclusion')" >> $GITHUB_ENV

.github/workflows/jruby-bundler.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ permissions: # added using https://github.com/step-security/secure-workflows
1414
defaults:
1515
run:
1616
shell: bash
17-
working-directory: ./bundler
1817

1918
jobs:
2019
jruby_bundler:
@@ -48,10 +47,11 @@ jobs:
4847
- name: Run Test
4948
run: |
5049
bin/parallel_rspec --tag jruby_only --tag jruby
50+
working-directory: ./bundler
5151
if: startsWith(matrix.os.name, 'ubuntu')
5252
- name: Install local bundler
5353
run: |
54-
bin/rake install:local
54+
bin/rake bundler:install:local
5555
if: startsWith(matrix.os.name, 'ubuntu')
5656
- name: Run a warbler project
5757
run: |

.github/workflows/realworld-bundler.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,11 @@ jobs:
5252
bundler: none
5353
- name: Prepare dependencies
5454
run: bin/rake spec:deps
55-
working-directory: ./bundler
5655
- name: Replace version
5756
run: BUNDLER_SPEC_SUB_VERSION=${{ matrix.bundler.value }} bin/rake override_version
5857
if: matrix.bundler.value != ''
59-
working-directory: ./bundler
6058
- name: Run Test
6159
run: bin/rake spec:realworld
62-
working-directory: ./bundler
6360
- name: Upload used cassettes as artifact
6461
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
6562
with:
@@ -92,14 +89,11 @@ jobs:
9289
bundler: none
9390
- name: Prepare dependencies
9491
run: bin/rake spec:deps
95-
working-directory: ./bundler
9692
- name: Replace version
9793
run: BUNDLER_SPEC_SUB_VERSION=${{ matrix.bundler.value }} bin/rake override_version
9894
if: matrix.bundler.value != ''
99-
working-directory: ./bundler
10095
- name: Run Test
10196
run: bin/rake spec:realworld
102-
working-directory: ./bundler
10397
- name: Upload used cassettes as artifact
10498
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
10599
with:
@@ -124,4 +118,3 @@ jobs:
124118
path: ./bundler/spec/support/artifice/used_vcr_cassettes
125119
- name: Check unused cassettes
126120
run: bin/rake spec:realworld:check_unused_cassettes
127-
working-directory: ./bundler

.github/workflows/scorecards.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,6 @@ jobs:
4949

5050
# Upload the results to GitHub's code scanning dashboard.
5151
- name: "Upload to code-scanning"
52-
uses: github/codeql-action/upload-sarif@29b1f65c5e92e24fe6b6647da1eaabe529cec70f # v2.3.3
52+
uses: github/codeql-action/upload-sarif@83f0fe6c4988d98a455712a27f0255212bba9bd4 # v2.3.6
5353
with:
5454
sarif_file: results.sarif

.github/workflows/system-rubygems-bundler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ permissions: # added using https://github.com/step-security/secure-workflows
2323
defaults:
2424
run:
2525
shell: bash
26-
working-directory: ./bundler
2726

2827
jobs:
2928
system_rubygems_bundler:
@@ -61,6 +60,7 @@ jobs:
6160
- name: Run Test
6261
run: |
6362
bin/parallel_rspec
63+
working-directory: ./bundler
6464
- name: Save system RubyGems version to ENV
6565
run: |
6666
RGV=$(ruby -e 'puts Gem::VERSION.split(".")[0..2].join(".")')

.github/workflows/truffleruby-bundler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ permissions: # added using https://github.com/step-security/secure-workflows
1414
defaults:
1515
run:
1616
shell: bash
17-
working-directory: ./bundler
1817

1918
jobs:
2019
truffleruby_bundler:
@@ -34,4 +33,5 @@ jobs:
3433
- name: Run Test
3534
run: |
3635
bin/parallel_rspec --tag truffleruby_only --tag truffleruby
36+
working-directory: ./bundler
3737
timeout-minutes: 20

.github/workflows/ubuntu-lint.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@ jobs:
3232
run: rake docs
3333
- name: Install & Check Dependencies
3434
run: bin/rake dev:frozen_deps
35-
working-directory: ./bundler
3635
- name: Misc checks
3736
run: bin/rake check_rvm_integration man:check check_rubygems_integration
38-
working-directory: ./bundler
3937
timeout-minutes: 15

.rubocop.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Naming/VariableNumber:
3939
Exclude:
4040
- lib/**/*
4141
- test/**/*
42-
- util/**/*
42+
- tool/**/*
4343

4444
# Performance
4545

@@ -65,7 +65,7 @@ Style/HashSyntax:
6565
- Rakefile
6666
- lib/**/*
6767
- test/**/*
68-
- util/**/*
68+
- tool/**/*
6969

7070
Style/LineEndConcatenation:
7171
Enabled: true

0 commit comments

Comments
 (0)