Skip to content

Commit ee7602d

Browse files
authored
Merge pull request #60 from github/entitlements-upgrades
Entitlements Upgrades
2 parents 421dfbb + 9b7329c commit ee7602d

38 files changed

+58
-57
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: checkout
2626
uses: actions/checkout@v4
2727

28-
- uses: ruby/setup-ruby@943103cae7d3f1bb1e4951d5fcc7928b40e4b742 # pin@v1.177.1
28+
- uses: ruby/setup-ruby@0cde4689ba33c09f1b890c1725572ad96751a3fc # pin@v1.178.0
2929
with:
3030
bundler-cache: true
3131

.github/workflows/codeql-analysis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ jobs:
2929

3030
# Initializes the CodeQL tools for scanning.
3131
- name: Initialize CodeQL
32-
uses: github/codeql-action/init@9fdb3e49720b44c48891d036bb502feb25684276 # pin@v2
32+
uses: github/codeql-action/init@v3
3333
with:
3434
languages: ${{ matrix.language }}
3535

3636
- name: Autobuild
37-
uses: github/codeql-action/autobuild@9fdb3e49720b44c48891d036bb502feb25684276 # pin@v2
37+
uses: github/codeql-action/autobuild@v3
3838

3939
- name: Perform CodeQL Analysis
40-
uses: github/codeql-action/analyze@9fdb3e49720b44c48891d036bb502feb25684276 # pin@v2
40+
uses: github/codeql-action/analyze@v3

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: checkout
1919
uses: actions/checkout@v4
2020

21-
- uses: ruby/setup-ruby@943103cae7d3f1bb1e4951d5fcc7928b40e4b742 # pin@v1.177.1
21+
- uses: ruby/setup-ruby@0cde4689ba33c09f1b890c1725572ad96751a3fc # pin@v1.178.0
2222
with:
2323
bundler-cache: true
2424

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
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@943103cae7d3f1bb1e4951d5fcc7928b40e4b742 # pin@v1.177.1
23+
- uses: ruby/setup-ruby@0cde4689ba33c09f1b890c1725572ad96751a3fc # pin@v1.178.0
2424
with:
2525
bundler-cache: true
2626

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ jobs:
1616

1717
strategy:
1818
matrix:
19-
ruby: [ '3.1.2', '3.1.4', '3.2.2', '3.2.3', '3.3.0' ]
19+
ruby: [ '3.1.2', '3.1.4', '3.2.2', '3.2.3', '3.3.0', '3.3.1' ]
2020

2121
steps:
2222
- name: checkout
2323
uses: actions/checkout@v4
2424

25-
- uses: ruby/setup-ruby@943103cae7d3f1bb1e4951d5fcc7928b40e4b742 # pin@v1.177.1
25+
- uses: ruby/setup-ruby@0cde4689ba33c09f1b890c1725572ad96751a3fc # pin@v1.178.0
2626
with:
2727
bundler-cache: true
2828
ruby-version: ${{ matrix.ruby }}

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.3.0
1+
3.3.1

Gemfile.lock

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
entitlements-github-plugin (0.7.0)
4+
entitlements-github-plugin (1.0.0)
55
contracts (~> 0.17.0)
66
faraday (~> 2.0)
77
faraday-retry (~> 2.0)
@@ -10,7 +10,7 @@ PATH
1010
GEM
1111
remote: https://rubygems.org/
1212
specs:
13-
activesupport (7.1.3.2)
13+
activesupport (7.1.3.3)
1414
base64
1515
bigdecimal
1616
concurrent-ruby (~> 1.0, >= 1.0.2)
@@ -25,7 +25,7 @@ GEM
2525
ast (2.4.2)
2626
base64 (0.2.0)
2727
bigdecimal (3.1.8)
28-
concurrent-ruby (1.1.9)
28+
concurrent-ruby (1.3.1)
2929
connection_pool (2.4.1)
3030
contracts (0.17)
3131
crack (1.0.0)
@@ -34,58 +34,58 @@ GEM
3434
diff-lcs (1.5.1)
3535
docile (1.4.0)
3636
drb (2.2.1)
37-
entitlements-app (0.3.3)
38-
concurrent-ruby (= 1.1.9)
37+
entitlements-app (1.0.0)
38+
concurrent-ruby (~> 1.3, >= 1.3.1)
3939
faraday (~> 2.0)
40-
net-ldap (~> 0.17)
40+
net-ldap (~> 0.19)
4141
octokit (~> 4.18)
42-
optimist (= 3.0.0)
42+
optimist (~> 3.1)
4343
faraday (2.9.0)
4444
faraday-net_http (>= 2.0, < 3.2)
4545
faraday-net_http (3.1.0)
4646
net-http
4747
faraday-retry (2.2.1)
4848
faraday (~> 2.0)
4949
hashdiff (1.1.0)
50-
i18n (1.14.4)
50+
i18n (1.14.5)
5151
concurrent-ruby (~> 1.0)
5252
json (2.7.2)
5353
language_server-protocol (3.17.0.3)
54-
minitest (5.22.3)
54+
minitest (5.23.1)
5555
mutex_m (0.2.0)
5656
net-http (0.4.1)
5757
uri
5858
net-ldap (0.19.0)
5959
octokit (4.25.1)
6060
faraday (>= 1, < 3)
6161
sawyer (~> 0.9)
62-
optimist (3.0.0)
62+
optimist (3.1.0)
6363
parallel (1.24.0)
6464
parser (3.3.1.0)
6565
ast (~> 2.4.1)
6666
racc
6767
prism (0.29.0)
6868
public_suffix (5.0.5)
6969
racc (1.8.0)
70-
rack (3.0.10)
70+
rack (3.0.11)
7171
rainbow (3.1.1)
7272
rake (13.2.1)
7373
regexp_parser (2.9.2)
7474
rexml (3.2.8)
7575
strscan (>= 3.0.9)
76-
rspec (3.13.0)
77-
rspec-core (~> 3.13.0)
78-
rspec-expectations (~> 3.13.0)
79-
rspec-mocks (~> 3.13.0)
80-
rspec-core (3.13.0)
81-
rspec-support (~> 3.13.0)
82-
rspec-expectations (3.13.0)
76+
rspec (3.8.0)
77+
rspec-core (~> 3.8.0)
78+
rspec-expectations (~> 3.8.0)
79+
rspec-mocks (~> 3.8.0)
80+
rspec-core (3.8.2)
81+
rspec-support (~> 3.8.0)
82+
rspec-expectations (3.8.6)
8383
diff-lcs (>= 1.2.0, < 2.0)
84-
rspec-support (~> 3.13.0)
85-
rspec-mocks (3.13.0)
84+
rspec-support (~> 3.8.0)
85+
rspec-mocks (3.8.2)
8686
diff-lcs (>= 1.2.0, < 2.0)
87-
rspec-support (~> 3.13.0)
88-
rspec-support (3.13.1)
87+
rspec-support (~> 3.8.0)
88+
rspec-support (3.8.3)
8989
rubocop (1.64.0)
9090
json (~> 2.3)
9191
language_server-protocol (>= 3.17.0)
@@ -106,7 +106,7 @@ GEM
106106
rubocop-performance (1.21.0)
107107
rubocop (>= 1.48.1, < 2.0)
108108
rubocop-ast (>= 1.31.1, < 2.0)
109-
rubocop-rails (2.24.1)
109+
rubocop-rails (2.25.0)
110110
activesupport (>= 4.2.0)
111111
rack (>= 1.1)
112112
rubocop (>= 1.33.0, < 2.0)
@@ -128,7 +128,7 @@ GEM
128128
simplecov (< 1.0)
129129
simplecov-html (0.12.3)
130130
simplecov_json_formatter (0.1.4)
131-
sorbet-runtime (0.5.11388)
131+
sorbet-runtime (0.5.11394)
132132
strscan (3.1.0)
133133
tzinfo (2.0.6)
134134
concurrent-ruby (~> 1.0)
@@ -142,22 +142,22 @@ GEM
142142

143143
PLATFORMS
144144
ruby
145+
x86_64-linux
145146

146147
DEPENDENCIES
147-
entitlements-app (~> 0.3)
148+
entitlements-app (~> 1.0)
148149
entitlements-github-plugin!
149-
rake (~> 13.2.0)
150-
rspec (= 3.13.0)
151-
rspec-core (= 3.13.0)
152-
rubocop (= 1.64.0)
153-
rubocop-github (= 0.20.0)
154-
rubocop-performance (= 1.21.0)
150+
rake (~> 13.2, >= 13.2.1)
151+
rspec (= 3.8.0)
152+
rubocop (~> 1.64)
153+
rubocop-github (~> 0.20)
154+
rubocop-performance (~> 1.21)
155155
ruby-lsp (~> 0.16.7)
156156
rugged (~> 1.7, >= 1.7.2)
157-
simplecov (= 0.22.0)
158-
simplecov-erb (= 1.0.1)
157+
simplecov (~> 0.22.0)
158+
simplecov-erb (~> 1.0, >= 1.0.1)
159159
vcr (~> 6.2)
160-
webmock (~> 3.23)
160+
webmock (~> 3.23, >= 3.23.1)
161161

162162
BUNDLED WITH
163-
2.3.19
163+
2.5.9

entitlements-github-plugin.gemspec

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,23 @@ Gem::Specification.new do |s|
1414
s.homepage = "https://github.com/github/entitlements-github-plugin"
1515
s.executables = %w[]
1616

17+
s.required_ruby_version = ">= 3.0.0"
18+
1719
s.add_dependency "contracts", "~> 0.17.0"
1820
s.add_dependency "faraday", "~> 2.0"
1921
s.add_dependency "faraday-retry", "~> 2.0"
2022
s.add_dependency "octokit", "~> 4.25"
2123

22-
s.add_development_dependency "entitlements-app", "~> 0.3"
23-
s.add_development_dependency "rake", "~> 13.2.0"
24-
s.add_development_dependency "rspec", "= 3.13.0"
25-
s.add_development_dependency "rspec-core", "= 3.13.0"
26-
s.add_development_dependency "rubocop", "= 1.64.0"
27-
s.add_development_dependency "rubocop-github", "= 0.20.0"
28-
s.add_development_dependency "rubocop-performance", "= 1.21.0"
24+
s.add_development_dependency "entitlements-app", "~> 1.0"
25+
s.add_development_dependency "rake", "~> 13.2", ">= 13.2.1"
26+
s.add_development_dependency "rspec", "= 3.8.0"
27+
s.add_development_dependency "rubocop", "~> 1.64"
28+
s.add_development_dependency "rubocop-github", "~> 0.20"
29+
s.add_development_dependency "rubocop-performance", "~> 1.21"
2930
s.add_development_dependency "ruby-lsp", "~> 0.16.7"
3031
s.add_development_dependency "rugged", "~> 1.7", ">= 1.7.2"
31-
s.add_development_dependency "simplecov", "= 0.22.0"
32-
s.add_development_dependency "simplecov-erb", "= 1.0.1"
32+
s.add_development_dependency "simplecov", "~> 0.22.0"
33+
s.add_development_dependency "simplecov-erb", "~> 1.0", ">= 1.0.1"
3334
s.add_development_dependency "vcr", "~> 6.2"
34-
s.add_development_dependency "webmock", "~> 3.23"
35+
s.add_development_dependency "webmock", "~> 3.23", ">= 3.23.1"
3536
end

lib/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
module Entitlements
44
module Version
5-
VERSION = "0.7.0"
5+
VERSION = "1.0.0"
66
end
77
end

spec/acceptance/Dockerfile.entitlements-github-plugin

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ruby:3.3-slim
1+
FROM ruby:3.3.1-slim
22
LABEL maintainer="GitHub Security Ops <opensource+entitlements-app@github.com>"
33
ENV HOME /root
44
ENV RELEASE=buster
@@ -17,7 +17,7 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
1717
pkg-config
1818

1919
# Install bundler
20-
RUN gem install bundler -v 2.3.19
20+
RUN gem install bundler -v 2.5.9
2121

2222
# Bootstrap files and caching for speed
2323
COPY "vendor/cache/" "/data/entitlements/vendor/cache/"
-252 KB
Binary file not shown.
252 KB
Binary file not shown.
-350 KB
Binary file not shown.
341 KB
Binary file not shown.
-154 KB
Binary file not shown.
154 KB
Binary file not shown.

vendor/cache/i18n-1.14.4.gem

-45 KB
Binary file not shown.

vendor/cache/i18n-1.14.5.gem

45.5 KB
Binary file not shown.

vendor/cache/minitest-5.22.3.gem

-97 KB
Binary file not shown.

vendor/cache/minitest-5.23.1.gem

98 KB
Binary file not shown.

vendor/cache/optimist-3.0.0.gem

-29 KB
Binary file not shown.

vendor/cache/optimist-3.1.0.gem

31 KB
Binary file not shown.

vendor/cache/rack-3.0.10.gem

-107 KB
Binary file not shown.

vendor/cache/rack-3.0.11.gem

107 KB
Binary file not shown.

vendor/cache/rspec-3.13.0.gem

-10.5 KB
Binary file not shown.

vendor/cache/rspec-3.8.0.gem

10.5 KB
Binary file not shown.

vendor/cache/rspec-core-3.13.0.gem

-164 KB
Binary file not shown.

vendor/cache/rspec-core-3.8.2.gem

157 KB
Binary file not shown.
-86 KB
Binary file not shown.
80.5 KB
Binary file not shown.

vendor/cache/rspec-mocks-3.13.0.gem

-80 KB
Binary file not shown.

vendor/cache/rspec-mocks-3.8.2.gem

76.5 KB
Binary file not shown.

vendor/cache/rspec-support-3.13.1.gem

-39 KB
Binary file not shown.

vendor/cache/rspec-support-3.8.3.gem

36 KB
Binary file not shown.

vendor/cache/rubocop-rails-2.24.1.gem

-105 KB
Binary file not shown.

vendor/cache/rubocop-rails-2.25.0.gem

107 KB
Binary file not shown.
-86.5 KB
Binary file not shown.
86.5 KB
Binary file not shown.

0 commit comments

Comments
 (0)