parse_packwerk 0.13.0 → 0.14.0

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: bb8eaf8cf0d7746244d7eb4ac00cf61c194d6b676e0abe2d7b1abc87ebb17cad
4
- data.tar.gz: bbebdb76de0afa935b311783d33f4aa4f3a70dfc390f6f2004f16644b8e365da
3
+ metadata.gz: 64542153d7eb3eb07ddd1328a7c312028485b962980122465b370a38407b6e60
4
+ data.tar.gz: b65eb3d71a0a1d1132cb53e4544bad7cfb62849655a9aa4e3d3b7914af1a1c85
5
5
  SHA512:
6
- metadata.gz: cd3ce9a3d6377d2263cc783389d7c0323fd05fb83b54cb74ae6df5e6e93ce82cc83e0f7892d2b2ccf2de85d0147900f72ac163297d6277cb58c3da9c06eafaee
7
- data.tar.gz: 96d3ac65cd313847f836ad14878702bf7f944d6a949bd077b650fcca2f39857bb1b4ec869e385c988c781c99058c4761481e85867b06e1697373c5e6b6ac533d
6
+ metadata.gz: e25be516533a00d4b2d673b1bede6ca828caa2088239fa40267649790bb92eda13865df8fae1d8146176684fb02625ae682e85d5c728bc29b5262b1d7fd44237
7
+ data.tar.gz: fc59491a8e19d6470a144d6d8c29f7c379d3a127f3578c01b6d49b23ff0635968315f1cfa976c593f3d6e0dbe96c36addf089b5b85bb28fe6b65e171f1069895
@@ -50,5 +50,10 @@ module ParsePackwerk
50
50
  def enforces_privacy?
51
51
  enforce_privacy
52
52
  end
53
+
54
+ sig { returns(T::Array[Violation]) }
55
+ def violations
56
+ DeprecatedReferences.for(self).violations
57
+ end
53
58
  end
54
59
  end
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.13.0
4
+ version: 0.14.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: 2022-10-13 00:00:00.000000000 Z
11
+ date: 2022-10-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sorbet-runtime
@@ -164,7 +164,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
164
164
  - !ruby/object:Gem::Version
165
165
  version: '0'
166
166
  requirements: []
167
- rubygems_version: 3.3.7
167
+ rubygems_version: 3.1.6
168
168
  signing_key:
169
169
  specification_version: 4
170
170
  summary: A low-dependency gem for parsing and writing packwerk YML files