Skip to content

Commit a0e810c

Browse files
authored
Merge pull request #35 from github/repo-updates
General Repo Updates
2 parents 2833b13 + b2c5cef commit a0e810c

File tree

87 files changed

+327
-181
lines changed

Some content is hidden

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

87 files changed

+327
-181
lines changed

.github/dependabot.yml

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
version: 2
3+
updates:
4+
- package-ecosystem: bundler
5+
vendor: true
6+
directory: "/"
7+
schedule:
8+
interval: weekly
9+
day: "monday"
10+
time: "21:00"
11+
groups:
12+
prod-ruby-dependencies:
13+
dependency-type: "production"
14+
patterns:
15+
- "*"
16+
dev-ruby-dependencies:
17+
dependency-type: "development"
18+
patterns:
19+
- "*"
20+
- package-ecosystem: github-actions
21+
directory: "/"
22+
groups:
23+
github-actions:
24+
patterns:
25+
- "*"
26+
schedule:
27+
interval: weekly
28+
day: "tuesday"
29+
time: "21:00"

.github/workflows/acceptance.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ jobs:
5151
echo "::set-output name=has_change::true"
5252
fi
5353
54-
acceptance-suite:
54+
acceptance:
5555
needs: changes
56-
runs-on: ubuntu-latest
57-
name: runner / acceptance-tests
56+
runs-on: ubuntu-latest-xl
57+
name: acceptance
5858
permissions:
5959
contents: read
6060

@@ -68,7 +68,7 @@ jobs:
6868
6969
- name: checkout
7070
if: ${{ needs.changes.outputs.has_change == 'true' }}
71-
uses: actions/checkout@v3
71+
uses: actions/checkout@v4
7272

7373
# Use Docker layer caching for 'docker build' and 'docker-compose build' commands.
7474
# https://github.com/satackey/action-docker-layer-caching/releases/tag/v0.0.11

.github/workflows/build.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,17 @@ permissions:
1515
jobs:
1616
build:
1717
name: build
18-
runs-on: ubuntu-latest
18+
19+
strategy:
20+
matrix:
21+
os: [ubuntu-latest, macos-latest]
22+
runs-on: ${{ matrix.os }}
1923

2024
steps:
2125
- name: checkout
2226
uses: actions/checkout@v4
2327

24-
- uses: ruby/setup-ruby@250fcd6a742febb1123a77a841497ccaa8b9e939 # pin@v1.152.0
28+
- uses: ruby/setup-ruby@5f19ec79cedfadb78ab837f95b87734d0003c899 # pin@v1.173.0
2529
with:
2630
bundler-cache: true
2731

.github/workflows/lint.yml

+9-5
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,24 @@ on:
66
- main
77
pull_request:
88

9+
permissions:
10+
contents: read
11+
912
jobs:
10-
rubocop:
11-
name: runner / rubocop
13+
lint:
14+
name: lint
1215
runs-on: ubuntu-latest
13-
permissions:
14-
contents: read
1516

1617
steps:
1718
- name: checkout
1819
uses: actions/checkout@v4
1920

20-
- uses: ruby/setup-ruby@250fcd6a742febb1123a77a841497ccaa8b9e939 # pin@v1.152.0
21+
- uses: ruby/setup-ruby@5f19ec79cedfadb78ab837f95b87734d0003c899 # pin@v1.173.0
2122
with:
2223
bundler-cache: true
2324

25+
- name: bootstrap
26+
run: script/bootstrap
27+
2428
- name: rubocop
2529
run: bundle exec rubocop -c .rubocop.yml lib/ spec/

.github/workflows/release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: checkout
2121
uses: actions/checkout@v4
2222

23-
- uses: ruby/setup-ruby@250fcd6a742febb1123a77a841497ccaa8b9e939 # pin@v1.152.0
23+
- uses: ruby/setup-ruby@5f19ec79cedfadb78ab837f95b87734d0003c899 # pin@v1.173.0
2424
with:
2525
bundler-cache: true
2626

@@ -31,7 +31,7 @@ jobs:
3131
run: bundle exec rubocop -c .rubocop.yml lib/ spec/
3232

3333
- name: test
34-
run: script/test
34+
run: script/test -d -k
3535

3636
- name: set GEM_NAME from gemspec
3737
run: echo "GEM_NAME=$(ls | grep gemspec | cut -d. -f1)" >> $GITHUB_ENV

.github/workflows/test.yml

+16-7
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,29 @@ on:
66
- main
77
pull_request:
88

9+
permissions:
10+
contents: read
11+
912
jobs:
10-
rubocop:
11-
name: runner / rspec
13+
test:
14+
name: test
1215
runs-on: ubuntu-latest
13-
permissions:
14-
contents: read
16+
17+
strategy:
18+
matrix:
19+
ruby: [ '3.1.2', '3.1.4', '3.2.2', '3.2.3', '3.3.0' ]
1520

1621
steps:
1722
- name: checkout
1823
uses: actions/checkout@v4
1924

20-
- uses: ruby/setup-ruby@250fcd6a742febb1123a77a841497ccaa8b9e939 # pin@v1.152.0
25+
- uses: ruby/setup-ruby@5f19ec79cedfadb78ab837f95b87734d0003c899 # pin@v1.173.0
2126
with:
2227
bundler-cache: true
28+
ruby-version: ${{ matrix.ruby }}
29+
30+
- name: bootstrap
31+
run: script/bootstrap
2332

24-
- name: rspec tests
25-
run: script/test -d
33+
- name: test
34+
run: script/test -d -k

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,5 @@ coverage/*
1717

1818
# Ignore JetBrains IDEs
1919
.idea
20+
21+
tmp/

.rubocop.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@ inherit_gem:
33
- config/default.yml
44

55
AllCops:
6+
NewCops: disable
67
SuggestExtensions: false
78
DisplayCopNames: true
8-
TargetRubyVersion: 3.1
9+
TargetRubyVersion: 3.3
910
Exclude:
1011
- 'bin/*'
1112
- 'spec/acceptance/fixtures/**/*'

.ruby-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.1.2
1+
3.3.0

Gemfile.lock

+69-54
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
entitlements-github-plugin (0.5.4)
4+
entitlements-github-plugin (0.6.0)
55
contracts (~> 0.17.0)
66
faraday (~> 2.0)
77
faraday-retry (~> 2.0)
@@ -10,54 +10,66 @@ PATH
1010
GEM
1111
remote: https://rubygems.org/
1212
specs:
13-
activesupport (7.0.8)
13+
activesupport (7.1.3.2)
14+
base64
15+
bigdecimal
1416
concurrent-ruby (~> 1.0, >= 1.0.2)
17+
connection_pool (>= 2.2.5)
18+
drb
1519
i18n (>= 1.6, < 2)
1620
minitest (>= 5.1)
21+
mutex_m
1722
tzinfo (~> 2.0)
18-
addressable (2.8.5)
23+
addressable (2.8.6)
1924
public_suffix (>= 2.0.2, < 6.0)
2025
ast (2.4.2)
21-
base64 (0.1.1)
26+
base64 (0.2.0)
27+
bigdecimal (3.1.7)
2228
concurrent-ruby (1.1.9)
29+
connection_pool (2.4.1)
2330
contracts (0.17)
24-
crack (0.4.5)
31+
crack (1.0.0)
32+
bigdecimal
2533
rexml
26-
diff-lcs (1.5.0)
34+
diff-lcs (1.5.1)
2735
docile (1.4.0)
28-
entitlements (0.2.1)
36+
drb (2.2.1)
37+
entitlements-app (0.3.1)
2938
concurrent-ruby (= 1.1.9)
3039
faraday (~> 2.0)
3140
net-ldap (~> 0.17)
3241
octokit (~> 4.18)
3342
optimist (= 3.0.0)
34-
faraday (2.7.11)
35-
base64
36-
faraday-net_http (>= 2.0, < 3.1)
37-
ruby2_keywords (>= 0.0.4)
38-
faraday-net_http (3.0.2)
43+
faraday (2.9.0)
44+
faraday-net_http (>= 2.0, < 3.2)
45+
faraday-net_http (3.1.0)
46+
net-http
3947
faraday-retry (2.2.0)
4048
faraday (~> 2.0)
41-
hashdiff (1.0.1)
42-
i18n (1.14.1)
49+
hashdiff (1.1.0)
50+
i18n (1.14.4)
4351
concurrent-ruby (~> 1.0)
44-
json (2.6.3)
45-
minitest (5.20.0)
46-
net-ldap (0.18.0)
52+
json (2.7.1)
53+
language_server-protocol (3.17.0.3)
54+
minitest (5.22.3)
55+
mutex_m (0.2.0)
56+
net-http (0.4.1)
57+
uri
58+
net-ldap (0.19.0)
4759
octokit (4.25.1)
4860
faraday (>= 1, < 3)
4961
sawyer (~> 0.9)
5062
optimist (3.0.0)
51-
parallel (1.23.0)
52-
parser (3.2.2.3)
63+
parallel (1.24.0)
64+
parser (3.3.0.5)
5365
ast (~> 2.4.1)
5466
racc
55-
public_suffix (5.0.3)
56-
racc (1.7.1)
57-
rack (3.0.9.1)
67+
public_suffix (5.0.5)
68+
racc (1.7.3)
69+
rack (3.0.10)
5870
rainbow (3.1.1)
5971
rake (13.0.6)
60-
regexp_parser (2.8.1)
72+
regexp_parser (2.9.0)
6173
rexml (3.2.6)
6274
rspec (3.8.0)
6375
rspec-core (~> 3.8.0)
@@ -72,31 +84,33 @@ GEM
7284
diff-lcs (>= 1.2.0, < 2.0)
7385
rspec-support (~> 3.8.0)
7486
rspec-support (3.8.3)
75-
rubocop (1.29.1)
87+
rubocop (1.62.1)
88+
json (~> 2.3)
89+
language_server-protocol (>= 3.17.0)
7690
parallel (~> 1.10)
77-
parser (>= 3.1.0.0)
91+
parser (>= 3.3.0.2)
7892
rainbow (>= 2.2.2, < 4.0)
7993
regexp_parser (>= 1.8, < 3.0)
8094
rexml (>= 3.2.5, < 4.0)
81-
rubocop-ast (>= 1.17.0, < 2.0)
95+
rubocop-ast (>= 1.31.1, < 2.0)
8296
ruby-progressbar (~> 1.7)
83-
unicode-display_width (>= 1.4.0, < 3.0)
84-
rubocop-ast (1.29.0)
85-
parser (>= 3.2.1.0)
86-
rubocop-github (0.17.0)
87-
rubocop
88-
rubocop-performance
89-
rubocop-rails
90-
rubocop-performance (1.13.3)
91-
rubocop (>= 1.7.0, < 2.0)
92-
rubocop-ast (>= 0.4.0)
93-
rubocop-rails (2.15.2)
97+
unicode-display_width (>= 2.4.0, < 3.0)
98+
rubocop-ast (1.31.2)
99+
parser (>= 3.3.0.4)
100+
rubocop-github (0.20.0)
101+
rubocop (>= 1.37)
102+
rubocop-performance (>= 1.15)
103+
rubocop-rails (>= 2.17)
104+
rubocop-performance (1.20.2)
105+
rubocop (>= 1.48.1, < 2.0)
106+
rubocop-ast (>= 1.30.0, < 2.0)
107+
rubocop-rails (2.24.1)
94108
activesupport (>= 4.2.0)
95109
rack (>= 1.1)
96-
rubocop (>= 1.7.0, < 2.0)
110+
rubocop (>= 1.33.0, < 2.0)
111+
rubocop-ast (>= 1.31.1, < 2.0)
97112
ruby-progressbar (1.13.0)
98-
ruby2_keywords (0.0.5)
99-
rugged (0.27.10.1)
113+
rugged (1.7.2)
100114
sawyer (0.9.2)
101115
addressable (>= 2.3.5)
102116
faraday (>= 0.17.3, < 3)
@@ -109,30 +123,31 @@ GEM
109123
simplecov-html (0.10.2)
110124
tzinfo (2.0.6)
111125
concurrent-ruby (~> 1.0)
112-
unicode-display_width (2.4.2)
113-
vcr (4.0.0)
114-
webmock (3.4.2)
115-
addressable (>= 2.3.6)
126+
unicode-display_width (2.5.0)
127+
uri (0.13.0)
128+
vcr (6.2.0)
129+
webmock (3.23.0)
130+
addressable (>= 2.8.0)
116131
crack (>= 0.3.2)
117-
hashdiff
132+
hashdiff (>= 0.4.0, < 2.0.0)
118133

119134
PLATFORMS
120135
ruby
121136

122137
DEPENDENCIES
123-
entitlements (~> 0.2.0)
138+
entitlements-app (~> 0.3)
124139
entitlements-github-plugin!
125140
rake (~> 13.0.6)
126141
rspec (~> 3.8.0)
127142
rspec-core (~> 3.8.0)
128-
rubocop (~> 1.29.1)
129-
rubocop-github (~> 0.17.0)
130-
rubocop-performance (~> 1.13.3)
131-
rugged (~> 0.27.5)
132-
simplecov (~> 0.16.1)
133-
simplecov-erb (~> 1.0.1)
134-
vcr (~> 4.0.0)
135-
webmock (~> 3.4.2)
143+
rubocop (= 1.62.1)
144+
rubocop-github (= 0.20.0)
145+
rubocop-performance (= 1.20.2)
146+
rugged (~> 1.7, >= 1.7.2)
147+
simplecov (= 0.16.1)
148+
simplecov-erb (= 1.0.1)
149+
vcr (~> 6.2)
150+
webmock (~> 3.23)
136151

137152
BUNDLED WITH
138153
2.3.19

entitlements-github-plugin.gemspec

+9-9
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@ Gem::Specification.new do |s|
1919
s.add_dependency "faraday-retry", "~> 2.0"
2020
s.add_dependency "octokit", "~> 4.25"
2121

22-
s.add_development_dependency "entitlements", "~> 0.2.0"
22+
s.add_development_dependency "entitlements-app", "~> 0.3"
2323
s.add_development_dependency "rake", "~> 13.0.6"
2424
s.add_development_dependency "rspec", "~> 3.8.0"
2525
s.add_development_dependency "rspec-core", "~> 3.8.0"
26-
s.add_development_dependency "rubocop", "~> 1.29.1"
27-
s.add_development_dependency "rubocop-github", "~> 0.17.0"
28-
s.add_development_dependency "rubocop-performance", "~> 1.13.3"
29-
s.add_development_dependency "rugged", "~> 0.27.5"
30-
s.add_development_dependency "simplecov", "~> 0.16.1"
31-
s.add_development_dependency "simplecov-erb", "~> 1.0.1"
32-
s.add_development_dependency "vcr", "~> 4.0.0"
33-
s.add_development_dependency "webmock", "~> 3.4.2"
26+
s.add_development_dependency "rubocop", "= 1.62.1"
27+
s.add_development_dependency "rubocop-github", "= 0.20.0"
28+
s.add_development_dependency "rubocop-performance", "= 1.20.2"
29+
s.add_development_dependency "rugged", "~> 1.7", ">= 1.7.2"
30+
s.add_development_dependency "simplecov", "= 0.16.1"
31+
s.add_development_dependency "simplecov-erb", "= 1.0.1"
32+
s.add_development_dependency "vcr", "~> 6.2"
33+
s.add_development_dependency "webmock", "~> 3.23"
3434
end

0 commit comments

Comments
 (0)