Skip to content

Commit

Permalink
ruby: enable matcher by default
Browse files Browse the repository at this point in the history
Signed-off-by: RTann <[email protected]>
  • Loading branch information
RTann committed Jan 9, 2024
1 parent 211fbb5 commit 7185502
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions matchers/defaults/defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import (
"github.com/quay/claircore/python"
"github.com/quay/claircore/rhel"
"github.com/quay/claircore/rhel/rhcc"
"github.com/quay/claircore/ruby"
"github.com/quay/claircore/suse"
"github.com/quay/claircore/ubuntu"
)
Expand Down Expand Up @@ -53,6 +54,7 @@ var defaultMatchers = []driver.Matcher{
&python.Matcher{},
rhcc.Matcher,
&rhel.Matcher{},
&ruby.Matcher{},
&suse.Matcher{},
&ubuntu.Matcher{},
}
Expand Down
2 changes: 1 addition & 1 deletion ruby/matcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var _ driver.Matcher = (*Matcher)(nil)
type Matcher struct{}

// Name implements driver.Matcher.
func (*Matcher) Name() string { return "ruby" }
func (*Matcher) Name() string { return "ruby-gem" }

// Filter implements driver.Matcher.
func (*Matcher) Filter(record *claircore.IndexRecord) bool {
Expand Down

0 comments on commit 7185502

Please sign in to comment.