danger-packwerk 0.11.1 → 0.12.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: 480f085ca2cfa015239e8806829d32a75fb64677479d81ebff3931d8f8c0090c
4
- data.tar.gz: 3ce50f489669ca431d33049f8f097814b09296532cab920cf5c385f1e164864e
3
+ metadata.gz: d63ad05d77aca71933a6864ac3cc17f566ed2776ea5a3aa7b9be89ab874110f3
4
+ data.tar.gz: da650a6214759b091bda3326f975a0d72d8b7b75828742e0e60671c59f081b1b
5
5
  SHA512:
6
- metadata.gz: 1fdeb432e066adaba858596eecbd35b3768d3236e8d5fb7c132e81b31f8d7d6f632add21d2be9ede18928990e0034d500b2a267e86d487bb9648871e36bc5334
7
- data.tar.gz: a678ec59306c3387dacad214582ca3285aa19affdd85ade94150ff6788885bd3e2c24ef0cd9d0c44356ec689c0a112b1f6c7e48bb39e3b0ecf099b5263e5f01a
6
+ metadata.gz: 70318e98facfd6d213292f3b972f2d226317ee6fffa292ce33f0e33fe68e521fdc6a5cb9c2d5ddf8dba0ba69f07abedb0a67189cbb0c6602ec964024da5b4e38
7
+ data.tar.gz: 7f9196a3edf2ecd058d088f961bbc889a34171e8140ed93142546c9af57de388c7b23e9db74189c2e9c01dbecbf3cc4c9342b6c684224cf524340390e1d5a42b
@@ -38,7 +38,7 @@ module DangerPackwerk
38
38
  constant_source_package = T.must(ParsePackwerk.all.find { |p| p.name == constant_source_package_name })
39
39
  constant_source_package_ownership_info = Private::OwnershipInformation.for_package(constant_source_package, org_name)
40
40
 
41
- disclaimer = 'Before you run `bin/packwerk update-deprecations`, check out these quick suggestions:'
41
+ disclaimer = 'Before you run `bin/packwerk update-todo`, check out these quick suggestions:'
42
42
  referencing_code_in_right_pack = "- Does the code you are writing live in the right pack?\n - If not, try `bin/packs move packs/destination_pack #{referencing_file}`"
43
43
  referenced_code_in_right_pack = "- Does #{constant_name} live in the right pack?\n - If not, try `bin/packs move packs/destination_pack #{constant_location}`"
44
44
  dependency_violation_message = "- Do we actually want to depend on #{constant_source_package_name}?\n - If so, try `bin/packs add_dependency #{referencing_file_pack} #{constant_source_package_name}`\n - If not, what can we change about the design so we do not have to depend on #{constant_source_package_name}?"
@@ -68,7 +68,7 @@ module DangerPackwerk
68
68
 
69
69
  sig { override.returns(::String) }
70
70
  def identifier
71
- 'offenses_aggregator'
71
+ 'danger_packwerk_offenses_aggregator'
72
72
  end
73
73
  end
74
74
  end
@@ -28,7 +28,7 @@ module DangerPackwerk
28
28
 
29
29
  package_referring_to_constant_owner = Private::OwnershipInformation.for_package(referencing_file_pack, org_name)
30
30
 
31
- disclaimer = 'We noticed you ran `bin/packwerk update-deprecations`. Check out [the docs](https://github.com/Shopify/packwerk/blob/main/RESOLVING_VIOLATIONS.md) to see other ways to resolve violations.'
31
+ disclaimer = 'We noticed you ran `bin/packwerk update-todo`. Check out [the docs](https://github.com/Shopify/packwerk/blob/main/RESOLVING_VIOLATIONS.md) to see other ways to resolve violations.'
32
32
  pluralized_violation = offenses.count > 1 ? 'these violations' : 'this violation'
33
33
  request_to_add_context = "- Could you add some context as a reply here about why we needed to add #{pluralized_violation}?\n"
34
34
 
@@ -2,5 +2,5 @@
2
2
  # frozen_string_literal: true
3
3
 
4
4
  module DangerPackwerk
5
- VERSION = '0.11.1'
5
+ VERSION = '0.12.0'
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: danger-packwerk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.1
4
+ version: 0.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gusto Engineers