danger-packwerk 0.11.2 → 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: b21585a689a72d9bed5c5c4f0abaacb415bb47f5bdafd9e90ceef64c02c8b9d9
4
- data.tar.gz: 65d9f6a5663f32cedf9410b8704276b52813e1178fbdf35d99489df94f5128b9
3
+ metadata.gz: d63ad05d77aca71933a6864ac3cc17f566ed2776ea5a3aa7b9be89ab874110f3
4
+ data.tar.gz: da650a6214759b091bda3326f975a0d72d8b7b75828742e0e60671c59f081b1b
5
5
  SHA512:
6
- metadata.gz: 82fbed5f62d302eb36517a847ae8d449ff002cb294d832f5ab7dd2f1394a1b170d2c67ac8fbfd7bdf01b6a36585bad2267e9c533a17b54419d8b5abeec028193
7
- data.tar.gz: 96067d721e7ae8d8273a135839c8d5b9e795592f525bb8cd050e0253ed9036304ace783c9dcf5dc196eac835cb535063fd9facf90f72a7046403272847926d26
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}?"
@@ -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.2'
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.2
4
+ version: 0.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gusto Engineers