Skip to content

Commit

Permalink
Merge pull request #60 from github/entitlements-upgrades
Browse files Browse the repository at this point in the history
Entitlements Upgrades
  • Loading branch information
GrantBirki authored May 30, 2024
2 parents 421dfbb + 9b7329c commit ee7602d
Show file tree
Hide file tree
Showing 38 changed files with 58 additions and 57 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: checkout
uses: actions/checkout@v4

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

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ jobs:

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

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

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@9fdb3e49720b44c48891d036bb502feb25684276 # pin@v2
uses: github/codeql-action/analyze@v3
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: checkout
uses: actions/checkout@v4

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

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: checkout
uses: actions/checkout@v4

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

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ jobs:

strategy:
matrix:
ruby: [ '3.1.2', '3.1.4', '3.2.2', '3.2.3', '3.3.0' ]
ruby: [ '3.1.2', '3.1.4', '3.2.2', '3.2.3', '3.3.0', '3.3.1' ]

steps:
- name: checkout
uses: actions/checkout@v4

- uses: ruby/setup-ruby@943103cae7d3f1bb1e4951d5fcc7928b40e4b742 # pin@v1.177.1
- uses: ruby/setup-ruby@0cde4689ba33c09f1b890c1725572ad96751a3fc # pin@v1.178.0
with:
bundler-cache: true
ruby-version: ${{ matrix.ruby }}
Expand Down
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.3.0
3.3.1
70 changes: 35 additions & 35 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
entitlements-github-plugin (0.7.0)
entitlements-github-plugin (1.0.0)
contracts (~> 0.17.0)
faraday (~> 2.0)
faraday-retry (~> 2.0)
Expand All @@ -10,7 +10,7 @@ PATH
GEM
remote: https://rubygems.org/
specs:
activesupport (7.1.3.2)
activesupport (7.1.3.3)
base64
bigdecimal
concurrent-ruby (~> 1.0, >= 1.0.2)
Expand All @@ -25,7 +25,7 @@ GEM
ast (2.4.2)
base64 (0.2.0)
bigdecimal (3.1.8)
concurrent-ruby (1.1.9)
concurrent-ruby (1.3.1)
connection_pool (2.4.1)
contracts (0.17)
crack (1.0.0)
Expand All @@ -34,58 +34,58 @@ GEM
diff-lcs (1.5.1)
docile (1.4.0)
drb (2.2.1)
entitlements-app (0.3.3)
concurrent-ruby (= 1.1.9)
entitlements-app (1.0.0)
concurrent-ruby (~> 1.3, >= 1.3.1)
faraday (~> 2.0)
net-ldap (~> 0.17)
net-ldap (~> 0.19)
octokit (~> 4.18)
optimist (= 3.0.0)
optimist (~> 3.1)
faraday (2.9.0)
faraday-net_http (>= 2.0, < 3.2)
faraday-net_http (3.1.0)
net-http
faraday-retry (2.2.1)
faraday (~> 2.0)
hashdiff (1.1.0)
i18n (1.14.4)
i18n (1.14.5)
concurrent-ruby (~> 1.0)
json (2.7.2)
language_server-protocol (3.17.0.3)
minitest (5.22.3)
minitest (5.23.1)
mutex_m (0.2.0)
net-http (0.4.1)
uri
net-ldap (0.19.0)
octokit (4.25.1)
faraday (>= 1, < 3)
sawyer (~> 0.9)
optimist (3.0.0)
optimist (3.1.0)
parallel (1.24.0)
parser (3.3.1.0)
ast (~> 2.4.1)
racc
prism (0.29.0)
public_suffix (5.0.5)
racc (1.8.0)
rack (3.0.10)
rack (3.0.11)
rainbow (3.1.1)
rake (13.2.1)
regexp_parser (2.9.2)
rexml (3.2.8)
strscan (>= 3.0.9)
rspec (3.13.0)
rspec-core (~> 3.13.0)
rspec-expectations (~> 3.13.0)
rspec-mocks (~> 3.13.0)
rspec-core (3.13.0)
rspec-support (~> 3.13.0)
rspec-expectations (3.13.0)
rspec (3.8.0)
rspec-core (~> 3.8.0)
rspec-expectations (~> 3.8.0)
rspec-mocks (~> 3.8.0)
rspec-core (3.8.2)
rspec-support (~> 3.8.0)
rspec-expectations (3.8.6)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-mocks (3.13.0)
rspec-support (~> 3.8.0)
rspec-mocks (3.8.2)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-support (3.13.1)
rspec-support (~> 3.8.0)
rspec-support (3.8.3)
rubocop (1.64.0)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
Expand All @@ -106,7 +106,7 @@ GEM
rubocop-performance (1.21.0)
rubocop (>= 1.48.1, < 2.0)
rubocop-ast (>= 1.31.1, < 2.0)
rubocop-rails (2.24.1)
rubocop-rails (2.25.0)
activesupport (>= 4.2.0)
rack (>= 1.1)
rubocop (>= 1.33.0, < 2.0)
Expand All @@ -128,7 +128,7 @@ GEM
simplecov (< 1.0)
simplecov-html (0.12.3)
simplecov_json_formatter (0.1.4)
sorbet-runtime (0.5.11388)
sorbet-runtime (0.5.11394)
strscan (3.1.0)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
Expand All @@ -142,22 +142,22 @@ GEM

PLATFORMS
ruby
x86_64-linux

DEPENDENCIES
entitlements-app (~> 0.3)
entitlements-app (~> 1.0)
entitlements-github-plugin!
rake (~> 13.2.0)
rspec (= 3.13.0)
rspec-core (= 3.13.0)
rubocop (= 1.64.0)
rubocop-github (= 0.20.0)
rubocop-performance (= 1.21.0)
rake (~> 13.2, >= 13.2.1)
rspec (= 3.8.0)
rubocop (~> 1.64)
rubocop-github (~> 0.20)
rubocop-performance (~> 1.21)
ruby-lsp (~> 0.16.7)
rugged (~> 1.7, >= 1.7.2)
simplecov (= 0.22.0)
simplecov-erb (= 1.0.1)
simplecov (~> 0.22.0)
simplecov-erb (~> 1.0, >= 1.0.1)
vcr (~> 6.2)
webmock (~> 3.23)
webmock (~> 3.23, >= 3.23.1)

BUNDLED WITH
2.3.19
2.5.9
21 changes: 11 additions & 10 deletions entitlements-github-plugin.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,23 @@ Gem::Specification.new do |s|
s.homepage = "https://github.com/github/entitlements-github-plugin"
s.executables = %w[]

s.required_ruby_version = ">= 3.0.0"

s.add_dependency "contracts", "~> 0.17.0"
s.add_dependency "faraday", "~> 2.0"
s.add_dependency "faraday-retry", "~> 2.0"
s.add_dependency "octokit", "~> 4.25"

s.add_development_dependency "entitlements-app", "~> 0.3"
s.add_development_dependency "rake", "~> 13.2.0"
s.add_development_dependency "rspec", "= 3.13.0"
s.add_development_dependency "rspec-core", "= 3.13.0"
s.add_development_dependency "rubocop", "= 1.64.0"
s.add_development_dependency "rubocop-github", "= 0.20.0"
s.add_development_dependency "rubocop-performance", "= 1.21.0"
s.add_development_dependency "entitlements-app", "~> 1.0"
s.add_development_dependency "rake", "~> 13.2", ">= 13.2.1"
s.add_development_dependency "rspec", "= 3.8.0"
s.add_development_dependency "rubocop", "~> 1.64"
s.add_development_dependency "rubocop-github", "~> 0.20"
s.add_development_dependency "rubocop-performance", "~> 1.21"
s.add_development_dependency "ruby-lsp", "~> 0.16.7"
s.add_development_dependency "rugged", "~> 1.7", ">= 1.7.2"
s.add_development_dependency "simplecov", "= 0.22.0"
s.add_development_dependency "simplecov-erb", "= 1.0.1"
s.add_development_dependency "simplecov", "~> 0.22.0"
s.add_development_dependency "simplecov-erb", "~> 1.0", ">= 1.0.1"
s.add_development_dependency "vcr", "~> 6.2"
s.add_development_dependency "webmock", "~> 3.23"
s.add_development_dependency "webmock", "~> 3.23", ">= 3.23.1"
end
2 changes: 1 addition & 1 deletion lib/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

module Entitlements
module Version
VERSION = "0.7.0"
VERSION = "1.0.0"
end
end
4 changes: 2 additions & 2 deletions spec/acceptance/Dockerfile.entitlements-github-plugin
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ruby:3.3-slim
FROM ruby:3.3.1-slim
LABEL maintainer="GitHub Security Ops <opensource+entitlements-app@github.com>"
ENV HOME /root
ENV RELEASE=buster
Expand All @@ -17,7 +17,7 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
pkg-config

# Install bundler
RUN gem install bundler -v 2.3.19
RUN gem install bundler -v 2.5.9

# Bootstrap files and caching for speed
COPY "vendor/cache/" "/data/entitlements/vendor/cache/"
Expand Down
Binary file removed vendor/cache/activesupport-7.1.3.2.gem
Binary file not shown.
Binary file added vendor/cache/activesupport-7.1.3.3.gem
Binary file not shown.
Binary file removed vendor/cache/concurrent-ruby-1.1.9.gem
Binary file not shown.
Binary file added vendor/cache/concurrent-ruby-1.3.1.gem
Binary file not shown.
Binary file removed vendor/cache/entitlements-app-0.3.3.gem
Binary file not shown.
Binary file added vendor/cache/entitlements-app-1.0.0.gem
Binary file not shown.
Binary file removed vendor/cache/i18n-1.14.4.gem
Binary file not shown.
Binary file added vendor/cache/i18n-1.14.5.gem
Binary file not shown.
Binary file removed vendor/cache/minitest-5.22.3.gem
Binary file not shown.
Binary file added vendor/cache/minitest-5.23.1.gem
Binary file not shown.
Binary file removed vendor/cache/optimist-3.0.0.gem
Binary file not shown.
Binary file added vendor/cache/optimist-3.1.0.gem
Binary file not shown.
Binary file removed vendor/cache/rack-3.0.10.gem
Binary file not shown.
Binary file added vendor/cache/rack-3.0.11.gem
Binary file not shown.
Binary file removed vendor/cache/rspec-3.13.0.gem
Binary file not shown.
Binary file added vendor/cache/rspec-3.8.0.gem
Binary file not shown.
Binary file removed vendor/cache/rspec-core-3.13.0.gem
Binary file not shown.
Binary file added vendor/cache/rspec-core-3.8.2.gem
Binary file not shown.
Binary file removed vendor/cache/rspec-expectations-3.13.0.gem
Binary file not shown.
Binary file added vendor/cache/rspec-expectations-3.8.6.gem
Binary file not shown.
Binary file removed vendor/cache/rspec-mocks-3.13.0.gem
Binary file not shown.
Binary file added vendor/cache/rspec-mocks-3.8.2.gem
Binary file not shown.
Binary file removed vendor/cache/rspec-support-3.13.1.gem
Binary file not shown.
Binary file added vendor/cache/rspec-support-3.8.3.gem
Binary file not shown.
Binary file removed vendor/cache/rubocop-rails-2.24.1.gem
Binary file not shown.
Binary file added vendor/cache/rubocop-rails-2.25.0.gem
Binary file not shown.
Binary file removed vendor/cache/sorbet-runtime-0.5.11388.gem
Binary file not shown.
Binary file added vendor/cache/sorbet-runtime-0.5.11394.gem
Binary file not shown.

0 comments on commit ee7602d

Please sign in to comment.