From 80f96ca5fd35fabd4ad13b3beac3479bab8bc3d8 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Wed, 28 Jun 2023 11:23:00 +0100 Subject: [PATCH] gitignore: fix activesupport ignores. --- .gitignore | 203 ++++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 162 insertions(+), 41 deletions(-) diff --git a/.gitignore b/.gitignore index 165b20da79..358c84fdb2 100644 --- a/.gitignore +++ b/.gitignore @@ -47,47 +47,168 @@ !**/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/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 activesupport files we don't need +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/cache/ +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/array.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/array/conversions.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/array/extract.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/array/extract_options.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/array/grouping.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/array/inquiry.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/array/wrap.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/benchmark.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/big_decimal.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/big_decimal/conversions.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/class.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/class/attribute.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/class/attribute_accessors.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/class/subclasses.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/date.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/date/acts_like.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/date/blank.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/date/calculations.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/date/conversions.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/date/zones.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/date_and_time/calculations.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/date_and_time/compatibility.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/date_and_time/zones.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/date_time.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/date_time/acts_like.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/date_time/blank.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/date_time/calculations.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/date_time/compatibility.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/date_time/conversions.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/digest.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/digest/uuid.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/file.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/hash.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/hash/conversions.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/hash/indifferent_access.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/hash/reverse_merge.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/integer.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/integer/inflections.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/integer/multiple.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/integer/time.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/kernel.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/kernel/concern.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/kernel/reporting.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/kernel/singleton_class.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/load_error.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/marshal.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/module.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/name_error.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/numeric.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/object.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/object/acts_like.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/object/conversions.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/object/inclusion.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/object/instance_variables.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/object/json.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/object/to_param.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/object/to_query.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/object/with_options.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/range.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/range/compare_range.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/range/conversions.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/range/each.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/range/include_time_with_zone.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/range/overlaps.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/regexp.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/securerandom.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/string.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/string/access.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/string/behavior.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/string/conversions.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/string/inquiry.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/string/output_safety.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/string/starts_ends_with.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/string/strip.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/string/zones.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/symbol.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/symbol/starts_ends_with.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/time.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/time/acts_like.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/time/calculations.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/time/compatibility.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/time/conversions.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/time/zones.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext/uri.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/concurrency/ +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/current_attributes/ +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/dependencies/ +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/deprecation/ +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/duration/ +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/json/ +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/locale/ +**/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/notifications/ +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/number_helper/ +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/testing/ +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/values/ +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/xml_mini/ +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/actionable_error.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/all.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/array_inquirer.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/backtrace_cleaner.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/benchmarkable.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/builder.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/cache.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/callbacks.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/concern.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/configurable.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/configuration_file.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/core_ext.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/current_attributes.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/dependencies.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/deprecation.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/descendants_tracker.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/digest.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/duration.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/encrypted_configuration.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/encrypted_file.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/environment_inquirer.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/evented_file_update_checker.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/execution_wrapper.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/executor.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/file_update_checker.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/fork_tracker.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/gem_version.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/gzip.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/hash_with_indifferent_access.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/i18n_railtie.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/json.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/key_generator.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/log_subscriber.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/logger.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/logger_silence.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/logger_thread_safe_level.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/message_encryptor.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/message_verifier.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/notifications.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/number_helper.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/option_merger.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/ordered_hash.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/ordered_options.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/parameter_filter.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/per_thread_registry.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/proxy_object.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/rails.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/railtie.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/reloader.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/rescuable.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/secure_compare_rotator.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/security_utils.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/string_inquirer.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/subscriber.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/tagged_logging.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/test_case.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/time.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/time_with_zone.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/version.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support/xml_mini.rb +**/vendor/bundle/ruby/*/gems/activesupport-*/lib/active_support.rb # Ignore partially included gems where we don't need all files **/vendor/bundle/ruby/*/gems/concurrent-ruby-*/lib/atomic/