Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: weekly

- package-ecosystem: bundler
directory: "/"
schedule:
interval: weekly
19 changes: 12 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jobs:
with:
ruby-version: "3.4"
- run: bundle install
- name: Gemfile.lock is up to date
run: git diff --exit-code Gemfile.lock
- run: bundle exec rubocop

test:
Expand All @@ -32,8 +34,7 @@ jobs:
strategy:
fail-fast: false
matrix:
# Each leg varies exactly one value from the first (canvas's combination),
# so a red leg names its own cause. Not a cross product.
# Each leg varies one value from the first, so a red leg names its cause.
include:
- { ruby: "3.4", redis-gem: "6.0.0", redis-server: "7", rspec-core: "3.13.6" }
- { ruby: "3.2", redis-gem: "6.0.0", redis-server: "7", rspec-core: "3.13.6" }
Expand All @@ -51,21 +52,25 @@ jobs:
--health-timeout 5s
--health-retries 5
env:
# Job-level, not step-level: the gemspec reads these when CI is set, so
# they have to hold for `bundle install` and `bundle exec rake` alike or
# the run-time gems differ from the resolved ones.
# Job-level, not step-level: must hold for install and run alike, or the
# resolved gems differ from the loaded ones.
RSPEC_CORE: ${{ matrix.rspec-core }}
REDIS_GEM: ${{ matrix.redis-gem }}
steps:
- uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5
- uses: ruby/setup-ruby@984c0c890880bbf811283d6f09c4607c62d210a4 # v1.323.0
with:
ruby-version: ${{ matrix.ruby }}

# Legs resolve their own deps via the gemspec env hooks; keeping the lock
# only means bundler rewrites it every run.
- run: rm -f Gemfile.lock

- run: bundle install
- run: bundle exec rake

# Single stable name to wire into branch protection; the matrix leg names
# embed version strings and would need rewiring every time the matrix moves.
# Stable name for branch protection; leg names embed versions and would
# need rewiring whenever the matrix moves.
build-complete:
if: always()
needs: [lint, test]
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
*.gem
dump.rdb
Gemfile.lock
105 changes: 105 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
PATH
remote: .
specs:
rspecq (0.8.0.instructure2)
logger
redis (>= 5.0, < 7.0)
rspec-core
rspec_junit_formatter
sentry-ruby

GEM
remote: https://rubygems.org/
specs:
ast (2.4.3)
bigdecimal (4.1.3)
byebug (13.0.0)
reline (>= 0.6.0)
coderay (1.1.3)
concurrent-ruby (1.3.8)
connection_pool (3.0.2)
diff-lcs (1.6.2)
drb (2.2.3)
io-console (0.9.3)
json (3.0.2)
language_server-protocol (3.17.0.6)
lint_roller (1.1.0)
logger (1.7.0)
method_source (1.1.0)
minitest (6.0.6)
drb (~> 2.0)
prism (~> 1.5)
parallel (2.2.0)
parser (3.3.12.0)
ast (~> 2.4.1)
racc
prism (1.9.0)
pry (0.16.0)
coderay (~> 1.1)
method_source (~> 1.0)
reline (>= 0.6.0)
pry-byebug (3.12.0)
byebug (~> 13.0)
pry (>= 0.13, < 0.17)
racc (1.8.1)
rainbow (3.1.1)
rake (13.4.2)
redis (6.0.0)
redis-client (= 0.30.1)
redis-client (0.30.1)
connection_pool
regexp_parser (2.12.0)
reline (0.7.0)
io-console (~> 0.5)
rspec (3.13.2)
rspec-core (~> 3.13.0)
rspec-expectations (~> 3.13.0)
rspec-mocks (~> 3.13.0)
rspec-core (3.13.6)
rspec-support (~> 3.13.0)
rspec-expectations (3.13.5)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-mocks (3.13.8)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-support (3.13.7)
rspec_junit_formatter (0.6.0)
rspec-core (>= 2, < 4, != 2.12.0)
rubocop (1.91.0)
json (>= 2.3)
language_server-protocol (~> 3.17.0.2)
lint_roller (~> 1.1.0)
parallel (>= 1.10)
parser (>= 3.3.0.2)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 2.9.3, < 3.0)
rubocop-ast (>= 1.49.0, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 4.0)
rubocop-ast (1.50.0)
parser (>= 3.3.7.2)
prism (~> 1.7)
ruby-progressbar (1.13.0)
sentry-ruby (7.0.0)
bigdecimal
concurrent-ruby (~> 1.0, >= 1.0.2)
logger
unicode-display_width (3.2.0)
unicode-emoji (~> 4.1)
unicode-emoji (4.2.0)

PLATFORMS
arm64-darwin-24
ruby

DEPENDENCIES
minitest
pry-byebug
rake
rspec
rspecq!
rubocop (~> 1.91)

BUNDLED WITH
2.6.7