use_packwerk 0.69.0 → 0.70.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: fb9fada6d2dddd8ab4f85d7133c16fb28557c191ebd10e4e4e98e95d2bc3bb43
4
- data.tar.gz: d6c81594392166bb4ca6e849bb5c3366276f1643fdb41243187edb3413d4bce3
3
+ metadata.gz: a6b24c8901133006ece39b66360c92e33bcd15e9d813703a389e9ddf8e37e02e
4
+ data.tar.gz: 5e48a67a83d0ab50da24ed22a2f9442e157d065f309faf552a0992e9c217d641
5
5
  SHA512:
6
- metadata.gz: d24503a5e649108ef31d5632e8f42b688684d95772aff2802c76cc08e45955cc360006ca51682506cac20bc85c3bfc65f31e4d64b4da9d30112da5a64742f165
7
- data.tar.gz: c77c2e8e436e6c0a116746998a064fbc5551ac78f8f5dc3896a54d06faf09c66481f59c5efe72641f6d91a4cb0c12cd9b9c896ed213d3de3f7e3ba7a8bb4ce13
6
+ metadata.gz: 1fc8c309af25fc1f882c2343cbc1c59a76b00f883daca218e07a87f7533024819088aee95ff93a2bb8c62d8158708a4443a7964e328579f30273c111e9f09d87
7
+ data.tar.gz: e72851417361126d9edfd4ac2b90de342029971017a7d9a4b0dfc365a0cc5f7b07bc3cca6a787bf66394f6211411b3bc035763dc8c724d2cd6b40a9583e61060
@@ -8,7 +8,7 @@ module UsePackwerk
8
8
 
9
9
  sig { params(prompt: TTY::Prompt, question_text: String).returns(CodeTeams::Team) }
10
10
  def self.single_select(prompt, question_text: 'Please select a team owner')
11
- teams = CodeTeams.all.to_h { |t| [t.name, t] }
11
+ teams = CodeTeams.all.sort_by(&:name).to_h { |t| [t.name, t] }
12
12
  prompt.select(
13
13
  question_text,
14
14
  teams,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: use_packwerk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.69.0
4
+ version: 0.70.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-11-21 00:00:00.000000000 Z
11
+ date: 2022-11-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: code_ownership