Skip to content

Commit

Permalink
Add matches_all? for file matching (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
tubaxenor authored Sep 7, 2023
1 parent f2a3c3c commit aea191d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions lib/code_manifest/manifest.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ def matches(paths)
result_paths.sort!
end

def matches_all?(paths)
matches(paths) == paths
end

private

def inclusion_rules
Expand Down
2 changes: 1 addition & 1 deletion lib/code_manifest/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module CodeManifest
VERSION = '1.6.0'
VERSION = '1.6.1'
end

0 comments on commit aea191d

Please sign in to comment.