parse_packwerk 0.25.0 → 0.26.1
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 +4 -4
- data/lib/parse_packwerk/configuration.rb +7 -1
- data/lib/parse_packwerk.rb +0 -2
- metadata +3 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e8a164633cf3c023e6e03baf4c10b26d90e2a3368608634f3fcf6461c0481c03
|
4
|
+
data.tar.gz: 0665b72ca8fb6b2fe68260237fa538e51e6438c088fcd6f27effca17f9f8893e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c296d5665936ab7c1a1ecbdfe227c08eeb1beccb5ee404fc6e484bc4e0e52f28c5e07a9ab83f60ee652c1adab3a3aca2de42eb01551f6633b07a8a22e2778b25
|
7
|
+
data.tar.gz: f2e03bb5dceb25ee141dc31985f4adcc58f93110bf3ae44e0e46e4e9c9531e06fb39b50a85e838e981ce5716d7094ede734179a1f1851d6c3baff4b89506721d
|
@@ -37,7 +37,13 @@ module ParsePackwerk
|
|
37
37
|
Array(specified_exclude)
|
38
38
|
end
|
39
39
|
|
40
|
-
|
40
|
+
begin
|
41
|
+
excludes.push Bundler.bundle_path.join('**').to_s
|
42
|
+
rescue Bundler::GemfileNotFound
|
43
|
+
# Optionally, add bundle to the path. Skip when there isn't a Gemfile.
|
44
|
+
end
|
45
|
+
|
46
|
+
excludes
|
41
47
|
end
|
42
48
|
|
43
49
|
sig { params(config_hash: T::Hash[T.untyped, T.untyped]).returns(T::Array[String]) }
|
data/lib/parse_packwerk.rb
CHANGED
@@ -94,8 +94,6 @@ module ParsePackwerk
|
|
94
94
|
merged_config = merged_config.to_a.sort_by { |key, _value| T.unsafe(sorted_keys).index(key) || 1000 }.to_h
|
95
95
|
|
96
96
|
raw_yaml = YAML.dump(merged_config)
|
97
|
-
# Add indentation for dependencies
|
98
|
-
raw_yaml.gsub!(/^- /, ' - ')
|
99
97
|
stylized_yaml = raw_yaml.gsub("---\n", '')
|
100
98
|
file.write(stylized_yaml)
|
101
99
|
end
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: parse_packwerk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.26.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gusto Engineers
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: bigdecimal
|
@@ -188,7 +187,6 @@ metadata:
|
|
188
187
|
source_code_uri: https://github.com/rubyatscale/parse_packwerk
|
189
188
|
changelog_uri: https://github.com/rubyatscale/parse_packwerk/releases
|
190
189
|
allowed_push_host: https://rubygems.org
|
191
|
-
post_install_message:
|
192
190
|
rdoc_options: []
|
193
191
|
require_paths:
|
194
192
|
- lib
|
@@ -203,8 +201,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
203
201
|
- !ruby/object:Gem::Version
|
204
202
|
version: '0'
|
205
203
|
requirements: []
|
206
|
-
rubygems_version: 3.
|
207
|
-
signing_key:
|
204
|
+
rubygems_version: 3.6.7
|
208
205
|
specification_version: 4
|
209
206
|
summary: A low-dependency gem for parsing and writing packwerk YML files
|
210
207
|
test_files: []
|