From 6f9aa98e521b4517f5026915a6845af90f72097b Mon Sep 17 00:00:00 2001 From: Douglas Eichelberger Date: Tue, 25 Apr 2023 11:02:44 -0700 Subject: [PATCH] Update .gitignore --- .gitignore | 60 ++++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 43 insertions(+), 17 deletions(-) diff --git a/.gitignore b/.gitignore index 79667c0d53..23137e8544 100644 --- a/.gitignore +++ b/.gitignore @@ -47,24 +47,50 @@ !**/vendor/bundle/ruby/*/gems/rubocop-rspec-*/config !**/vendor/bundle/ruby/*/gems/rubocop-sorbet-*/config +# Ignore activesupport, except for the files we actually need +**/vendor/bundle/ruby/*/gems/activesupport-* +!**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/file/atomic.rb +!**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/hash/except.rb +!**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/hash/deep_merge.rb +!**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/hash/deep_transform_values.rb +!**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/hash/keys.rb +!**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/hash/slice.rb +!**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/array/access.rb +!**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/module/concerning.rb +!**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb +!**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/module/attr_internal.rb +!**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/module/delegation.rb +!**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/module/introspection.rb +!**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/module/aliasing.rb +!**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/module/redefine_method.rb +!**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/module/deprecation.rb +!**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/module/anonymous.rb +!**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/module/remove_method.rb +!**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/module/attribute_accessors.rb +!**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/numeric/bytes.rb +!**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/numeric/conversions.rb +!**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/numeric/time.rb +!**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/object/blank.rb +!**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/object/deep_dup.rb +!**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/object/duplicable.rb +!**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/object/try.rb +!**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/string/filters.rb +!**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/string/indent.rb +!**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/string/exclude.rb +!**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/string/inflections.rb +!**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/string/multibyte.rb +!**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/enumerable.rb +!**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/kernel/reporting.rb +!**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/i18n.rb +!**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/inflector/transliterate.rb +!**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/inflector/methods.rb +!**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/inflector/inflections.rb +!**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/inflector.rb +!**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/lazy_load_hooks.rb +!**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/inflections.rb +!**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/multibyte.rb + # Ignore partially included gems where we don't need all files -**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support.rb -**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/all.rb -**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/cache.rb -**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/cache/ -**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/concurrency/ -**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/dependencies.rb -**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/dependencies/ -**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/duration/ -**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/json.rb -**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/json/ -**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/log_subscriber.rb -**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/log_subscriber/ -**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/messages/ -**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/multibyte/ -**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/number_helper.rb -**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/number_helper/ -**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/testing/ **/vendor/bundle/ruby/*/gems/concurrent-ruby-*/lib/atomic/ **/vendor/bundle/ruby/*/gems/concurrent-ruby-*/lib/atomic_reference/ **/vendor/bundle/ruby/*/gems/concurrent-ruby-*/lib/collection/