code_manifest 1.8.0 → 1.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 954a51776f486956c9c233fa8c3b1eeea14dff085eea71f2f45f0c1fdb46a6f8
4
- data.tar.gz: eb4ade750b31af1cc7e7a8673968bfb3ee5ab43c773593d76c14ad2478de2279
3
+ metadata.gz: 493688f36f07b44bcbe54fb5750c3ed0498a9953ad8291ad002feceb40a77e39
4
+ data.tar.gz: cc2209736087e9314de1375c10eaefc582210078b5aafcf976e68e3c9c75b538
5
5
  SHA512:
6
- metadata.gz: da6063df72327a5cbdff35fa5c06078390475bc4af266c63d1c5432fcb92c56c4fcd5f94b94e4b125e04eb755c9c4008aa93209df2d6456beb40eb04f9295b5f
7
- data.tar.gz: dfdf732aac67d9eeb23e05f1b12464874673e13815117a9f1b52e083779bb98e4522cea0a0aa2f375f473244ddcc083642442b820a9af99aa8e8b1a3bdaccc50
6
+ metadata.gz: 4f9b50ac2ac16f43407801008b26adb5a3c28abfdad8d560db7a0980cbca04999c494a80d13871b7236984d78cbe84176cf82ac08d66910eff8960df197e0e67
7
+ data.tar.gz: 1c374ea0515a88ab73f0f8b319740aec550c7493d2c137fc4ae9fee2bb64740e0a8f9de3ae520f0cbe6d70ecbf6405155d56b6814effff9a6916dc929b918e8b
data/README.md CHANGED
@@ -28,13 +28,13 @@ Then use it with:
28
28
  ```ruby
29
29
  require 'code_manifest'
30
30
 
31
- # Returns a `Set` with filepaths
32
- CodeManifest['ruby'].files
33
- CodeManifest['js'].files
31
+ # Returns an `Array` of filepaths
32
+ CodeManifest[:ruby].files
33
+ CodeManifest[:js].files
34
34
 
35
35
  # Returns a digest based on all files specified under same namespace
36
- CodeManifest['ruby'].digest
37
- CodeManifest['js'].digest
36
+ CodeManifest[:ruby].digest
37
+ CodeManifest[:js].digest
38
38
  ```
39
39
 
40
40
  ## Contributing
@@ -18,7 +18,7 @@ module CodeManifest
18
18
 
19
19
  def files
20
20
  @files ||= begin
21
- matched_files = matches(Dir.glob(inclusion_rules.map(&:glob), GLOB_OPTIONS, base: CodeManifest.root))
21
+ matched_files = matches(Dir.glob(inclusion_rules.map(&:glob), GLOB_OPTIONS, base: CodeManifest.root)).uniq
22
22
  files_with_relative_path(matched_files).freeze
23
23
  end
24
24
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CodeManifest
4
- VERSION = '1.8.0'
4
+ VERSION = '1.9.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: code_manifest
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.0
4
+ version: 1.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gusto Engineers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-13 00:00:00.000000000 Z
11
+ date: 2024-11-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: psych
@@ -85,7 +85,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
85
85
  - !ruby/object:Gem::Version
86
86
  version: '0'
87
87
  requirements: []
88
- rubygems_version: 3.5.16
88
+ rubygems_version: 3.5.22
89
89
  signing_key:
90
90
  specification_version: 4
91
91
  summary: A code manifest