code_manifest 1.8.0 → 1.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -5
- data/lib/code_manifest/manifest.rb +1 -1
- data/lib/code_manifest/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 493688f36f07b44bcbe54fb5750c3ed0498a9953ad8291ad002feceb40a77e39
|
4
|
+
data.tar.gz: cc2209736087e9314de1375c10eaefc582210078b5aafcf976e68e3c9c75b538
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
32
|
-
CodeManifest[
|
33
|
-
CodeManifest[
|
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[
|
37
|
-
CodeManifest[
|
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
|
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.
|
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-
|
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.
|
88
|
+
rubygems_version: 3.5.22
|
89
89
|
signing_key:
|
90
90
|
specification_version: 4
|
91
91
|
summary: A code manifest
|