Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 31 additions & 29 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ GEM
erubi (~> 1.4)
parser (>= 2.4)
smart_properties
bigdecimal (4.1.2)
bigdecimal (4.1.3)
builder (3.3.0)
byebug (13.0.0)
reline (>= 0.6.0)
Expand Down Expand Up @@ -85,7 +85,7 @@ GEM
i18n (1.15.2)
concurrent-ruby (~> 1.0)
io-console (0.8.2)
json (2.21.2)
json (3.0.2)
language_server-protocol (3.17.0.6)
lint_roller (1.1.0)
logger (1.7.0)
Expand Down Expand Up @@ -122,7 +122,7 @@ GEM
parser
prism (>= 1.4.0)
zeitwerk (>= 2.6.1)
parallel (2.1.0)
parallel (2.2.0)
parse_packwerk (0.27.0)
bigdecimal
sorbet-runtime
Expand Down Expand Up @@ -156,10 +156,10 @@ GEM
logger
prism (>= 1.6.0)
tsort
regexp_parser (2.12.0)
regexp_parser (2.13.1)
reline (0.6.3)
io-console (~> 0.5)
require-hooks (0.4.0)
require-hooks (0.5.1)
rexml (3.4.4)
rspec (3.13.2)
rspec-core (~> 3.13.0)
Expand All @@ -174,7 +174,7 @@ GEM
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-support (3.13.7)
rubocop (1.90.0)
rubocop (1.91.0)
json (>= 2.3)
language_server-protocol (~> 3.17.0.2)
lint_roller (~> 1.1.0)
Expand All @@ -188,19 +188,19 @@ GEM
rubocop-ast (1.50.0)
parser (>= 3.3.7.2)
prism (~> 1.7)
rubocop-gusto (11.3.0)
rubocop-gusto (11.8.1)
code_teams
lint_roller
rubocop (>= 1.76)
rubocop-performance
rubocop-rake
rubocop-rspec
rubocop-sorbet
rubocop-sorbet (>= 0.13.0)
smart_todo
thor
rubocop-performance (1.26.1)
rubocop-performance (1.27.0)
lint_roller (~> 1.1)
rubocop (>= 1.75.0, < 2.0)
rubocop (>= 1.89.0, < 2.0)
rubocop-ast (>= 1.47.1, < 2.0)
rubocop-rake (0.7.1)
lint_roller (~> 1.1)
Expand All @@ -209,27 +209,29 @@ GEM
lint_roller (~> 1.1)
regexp_parser (>= 2.0)
rubocop (~> 1.86, >= 1.86.2)
rubocop-sorbet (0.12.0)
rubocop-sorbet (0.16.0)
lint_roller
rbi (~> 0.4)
rubocop (>= 1.75.2)
spoom (~> 1.8)
ruby-progressbar (1.13.0)
rubydex (0.2.6-aarch64-linux)
rubydex (0.2.6-arm64-darwin)
rubydex (0.2.6-x86_64-darwin)
rubydex (0.2.6-x86_64-linux)
rubydex (0.4.1-aarch64-linux)
rubydex (0.4.1-arm64-darwin)
rubydex (0.4.1-x86_64-darwin)
rubydex (0.4.1-x86_64-linux)
securerandom (0.4.1)
smart_properties (1.17.0)
smart_todo (1.11.0)
prism (~> 1.0)
sorbet (0.6.13454)
sorbet-static (= 0.6.13454)
sorbet-runtime (0.6.13454)
sorbet-static (0.6.13454-aarch64-linux)
sorbet-static (0.6.13454-universal-darwin)
sorbet-static (0.6.13454-x86_64-linux)
sorbet-static-and-runtime (0.6.13454)
sorbet (= 0.6.13454)
sorbet-runtime (= 0.6.13454)
sorbet (0.6.13506)
sorbet-static (= 0.6.13506)
sorbet-runtime (0.6.13506)
sorbet-static (0.6.13506-aarch64-linux)
sorbet-static (0.6.13506-universal-darwin)
sorbet-static (0.6.13506-x86_64-linux)
sorbet-static-and-runtime (0.6.13506)
sorbet (= 0.6.13506)
sorbet-runtime (= 0.6.13506)
spoom (1.8.7)
erubi (>= 1.10.0)
prism (>= 0.28.0)
Expand All @@ -238,12 +240,12 @@ GEM
rexml (>= 3.2.6)
sorbet-static-and-runtime (>= 0.5.10187)
thor (>= 0.19.2)
tapioca (0.19.2)
tapioca (0.20.0)
benchmark
bundler (>= 2.2.25)
netrc (>= 0.11.0)
parallel (>= 1.21.0)
rbi (>= 0.3.7)
rbi (>= 0.4.1)
require-hooks (>= 0.2.2)
rubydex (>= 0.1.0.beta10)
sorbet-static-and-runtime (>= 0.6.12698)
Expand All @@ -264,9 +266,9 @@ GEM
tty-screen (0.8.2)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
unicode-display_width (3.2.0)
unicode-emoji (~> 4.1)
unicode-emoji (4.2.0)
unicode-display_width (3.3.0)
unicode-emoji (~> 4.3)
unicode-emoji (4.3.0)
uri (1.1.1)
wisper (2.0.1)
zeitwerk (2.8.3)
Expand Down
2 changes: 1 addition & 1 deletion lib/packs/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def add_dependency(from_pack, to_pack)
exit_successfully
end

POSSIBLE_TYPES = T.let(%w(dependency privacy layer).freeze, T::Array[String])
POSSIBLE_TYPES = %w(dependency privacy layer).freeze
desc 'list_top_violations type [ packs/your_pack ]', 'List the top violations of a specific type for packs/your_pack.'
long_desc <<~LONG_DESC
Possible types are: #{POSSIBLE_TYPES.join(', ')}.
Expand Down
4 changes: 2 additions & 2 deletions lib/packs/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ module Packs
class Configuration
extend T::Sig

CONFIGURATION_PATHNAME = T.let(Pathname.new('packs.yml'), Pathname)
DEFAULT_README_TEMPLATE_PATHNAME = T.let(Pathname.new('README_TEMPLATE.md'), Pathname)
CONFIGURATION_PATHNAME = Pathname.new('packs.yml')
DEFAULT_README_TEMPLATE_PATHNAME = Pathname.new('README_TEMPLATE.md')

sig { params(enforce_dependencies: T::Boolean).void }
attr_writer :enforce_dependencies
Expand Down
Loading