parse_packwerk 0.18.0 → 0.18.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7a09aa689cc7e62ae6f1dab57eea2705b3a658954bd12fbd89084d3542d673b2
4
- data.tar.gz: d7a76cc5ee374ea98541b8f4663256647389d08357d230479a99d5f85a003a72
3
+ metadata.gz: 674c8a13d849b72a052c6624b6a700a902579c917d2670da62a965c4944801dd
4
+ data.tar.gz: 91ae13980be718d98c96c77a8b1caf5cc3c9a5c05a700522f6189c57d61bdc0e
5
5
  SHA512:
6
- metadata.gz: 5597c6896e8421524404bd79b8ae8d7b2b17bc7b44761e5675361b34ccd589f0b6b5ef019f1fcd388766436bae4365146d47d621bf2adf843c28911db52db778
7
- data.tar.gz: e9e0f9052c5c778537d73dbdb0317e85c50adf3346933a7eb4d9d14cf46f869fa702f5fca349cfc6fae99b6f9a45a2ab1127034ce55fffec860a8262e9332a34
6
+ metadata.gz: d854c12addbf7826864bec2cf9d7bbb990030c9c0d852f76b4efe33eab36ec5d8d139b44430bed86236e8d7e31ff24c6ae933817995cf8712f82a867f7e2567a
7
+ data.tar.gz: c01c719aba0bb2a1cc4e49931436882a442fbd4d0f1b2ed64cea7a08cb4caa370c7aa93a55590cab96e716d76df158f7b53b41732af21e51f8e6eefdae7a79d1
@@ -77,7 +77,9 @@ module ParsePackwerk
77
77
  merged_config.merge!('public_path' => package.public_path)
78
78
  end
79
79
 
80
- if package.dependencies.any?
80
+ if package.dependencies.nil? || package.dependencies.none?
81
+ merged_config.delete('dependencies')
82
+ else
81
83
  merged_config.merge!('dependencies' => package.dependencies)
82
84
  end
83
85
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: parse_packwerk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.0
4
+ version: 0.18.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gusto Engineers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-27 00:00:00.000000000 Z
11
+ date: 2023-03-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sorbet-runtime
@@ -137,10 +137,6 @@ files:
137
137
  - lib/parse_packwerk/package_set.rb
138
138
  - lib/parse_packwerk/package_todo.rb
139
139
  - lib/parse_packwerk/violation.rb
140
- - sorbet/config
141
- - sorbet/rbi/gems/hashdiff@1.0.1.rbi
142
- - sorbet/rbi/gems/rspec@3.10.0.rbi
143
- - sorbet/rbi/gems/rspec_override.rbi
144
140
  homepage: https://github.com/rubyatscale/parse_packwerk
145
141
  licenses:
146
142
  - MIT
data/sorbet/config DELETED
@@ -1,3 +0,0 @@
1
- --dir
2
- .
3
- --ignore=/vendor/bundle
@@ -1,82 +0,0 @@
1
- # DO NOT EDIT MANUALLY
2
- # This is an autogenerated file for types exported from the `hashdiff` gem.
3
- # Please instead update this file by running `bin/tapioca sync`.
4
-
5
- # typed: true
6
-
7
- module Hashdiff
8
- class << self
9
- def best_diff(obj1, obj2, options = T.unsafe(nil), &block); end
10
- def comparable?(obj1, obj2, strict = T.unsafe(nil)); end
11
- def compare_values(obj1, obj2, options = T.unsafe(nil)); end
12
- def count_diff(diffs); end
13
- def count_nodes(obj); end
14
- def custom_compare(method, key, obj1, obj2); end
15
- def decode_property_path(path, delimiter = T.unsafe(nil)); end
16
- def diff(obj1, obj2, options = T.unsafe(nil), &block); end
17
- def diff_array_lcs(arraya, arrayb, options = T.unsafe(nil)); end
18
- def lcs(arraya, arrayb, options = T.unsafe(nil)); end
19
- def node(hash, parts); end
20
- def patch!(obj, changes, options = T.unsafe(nil)); end
21
- def prefix_append_array_index(prefix, array_index, opts); end
22
- def prefix_append_key(prefix, key, opts); end
23
- def similar?(obja, objb, options = T.unsafe(nil)); end
24
- def unpatch!(obj, changes, options = T.unsafe(nil)); end
25
-
26
- private
27
-
28
- def any_hash_or_array?(obja, objb); end
29
- end
30
- end
31
-
32
- class Hashdiff::CompareHashes
33
- class << self
34
- def call(obj1, obj2, opts = T.unsafe(nil)); end
35
- end
36
- end
37
-
38
- class Hashdiff::LcsCompareArrays
39
- class << self
40
- def call(obj1, obj2, opts = T.unsafe(nil)); end
41
- end
42
- end
43
-
44
- class Hashdiff::LinearCompareArray
45
- def initialize(old_array, new_array, options); end
46
-
47
- def call; end
48
-
49
- private
50
-
51
- def additions; end
52
- def append_addition(item, index); end
53
- def append_addititions_before_match(match_index); end
54
- def append_deletion(item, index); end
55
- def append_deletions_before_match(match_index); end
56
- def append_differences(difference); end
57
- def changes; end
58
- def compare_at_index; end
59
- def deletions; end
60
- def differences; end
61
- def expected_additions; end
62
- def expected_additions=(_arg0); end
63
- def extra_items_in_new_array?; end
64
- def extra_items_in_old_array?; end
65
- def index_of_match_after_additions; end
66
- def index_of_match_after_deletions; end
67
- def item_difference(old_item, new_item, item_index); end
68
- def iterated_through_both_arrays?; end
69
- def new_array; end
70
- def new_index; end
71
- def new_index=(_arg0); end
72
- def old_array; end
73
- def old_index; end
74
- def old_index=(_arg0); end
75
- def options; end
76
-
77
- class << self
78
- def call(old_array, new_array, options = T.unsafe(nil)); end
79
- end
80
- end
81
-
82
- Hashdiff::VERSION = T.let(T.unsafe(nil), String)
@@ -1,34 +0,0 @@
1
- # DO NOT EDIT MANUALLY
2
- # This is an autogenerated file for types exported from the `rspec` gem.
3
- # Please instead update this file by running `bin/tapioca sync`.
4
-
5
- # typed: true
6
-
7
- module RSpec
8
- class << self
9
- def clear_examples; end
10
- def configuration; end
11
- def configuration=(_arg0); end
12
- def configure; end
13
- def const_missing(name); end
14
- def context(*args, &example_group_block); end
15
- def current_example; end
16
- def current_example=(example); end
17
- def describe(*args, &example_group_block); end
18
- def example_group(*args, &example_group_block); end
19
- def fcontext(*args, &example_group_block); end
20
- def fdescribe(*args, &example_group_block); end
21
- def reset; end
22
- def shared_context(name, *args, &block); end
23
- def shared_examples(name, *args, &block); end
24
- def shared_examples_for(name, *args, &block); end
25
- def world; end
26
- def world=(_arg0); end
27
- def xcontext(*args, &example_group_block); end
28
- def xdescribe(*args, &example_group_block); end
29
- end
30
- end
31
-
32
- RSpec::MODULES_TO_AUTOLOAD = T.let(T.unsafe(nil), Hash)
33
- module RSpec::Version; end
34
- RSpec::Version::STRING = T.let(T.unsafe(nil), String)
@@ -1,4 +0,0 @@
1
- module RSpec
2
- module Matchers
3
- end
4
- end