Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Closed
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
10 changes: 10 additions & 0 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: Pipeline
on:
push:
schedule:
- cron: '0 1 * * 1' # Every Monday at 1AM UTC
jobs:
tests:
uses: Invoca/ruby-test-matrix-workflow/.github/workflows/ruby-test-matrix.yml@main
with:
test-command: "bundle exec rake test"
11 changes: 11 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# frozen_string_literal: true

source "https://rubygems.org"

gemspec

gem 'mocha', '~> 0.9.7'
gem "rack"
gem 'rake'
gem 'shoulda', '~> 2.10.2'
gem "test-unit"
31 changes: 31 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
PATH
remote: .
specs:

Check failure on line 3 in Gemfile.lock

View check run for this annotation

Security Scanner as a Service / Bundle Audit

Gemfile.lock#L3

rack Warning Message: https://github.com/rack/rack/security/advisories/GHSA-7g2v-jj9q-g3rg CVE: CVE-2025-25184 Severity:
rack-rewrite (1.0.2)

GEM
remote: https://rubygems.org/
specs:
mocha (0.9.12)
power_assert (1.2.0)
rack (2.2.8.1)
rake (13.2.1)
shoulda (2.10.3)
test-unit (3.3.6)
power_assert

PLATFORMS
x86_64-darwin-22
x86_64-darwin-23
x86_64-linux

DEPENDENCIES
mocha (~> 0.9.7)
rack
rack-rewrite!
rake
shoulda (~> 2.10.2)
test-unit

BUNDLED WITH
2.6.5
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ end

task :default => :test

require 'rake/rdoctask'
require 'rdoc/task'
Rake::RDocTask.new do |rdoc|
if File.exist?('VERSION')
version = File.read('VERSION')
Expand Down
33 changes: 33 additions & 0 deletions catalog-info.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# This file is partially auto-generated by the invoca-backstage-tools gem
# The following fields should not be edited manually as they are auto-generated
# based on the contents of the repo:
# - metadata.name
# - metadata.title
# - metadata.description
# - annotations.github.com/project-slug
# - invoca.com/version-repository-location
# - invoca.com/version-repository-name
# - spec.type
# - spec.owner
---
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
name: rack-rewrite-gem
title: Rack::Rewrite
description: A rack middleware for enforcing rewrite rules. In many cases you can
get away with rack-rewrite instead of writing Apache mod_rewrite rules.
tags:
- ruby
- gem
- public
annotations:
buildkite.com/project-slug: invoca/rack-rewrite
github.com/project-slug: invoca/rack-rewrite
invoca.com/version-repository-location: gemfury
invoca.com/version-repository-name: rack-rewrite
spec:
type: library
lifecycle: production
owner: octothorpe
dependsOn: []
Loading