├── .github ├── dependabot.yml └── workflows │ ├── ci.yml │ ├── linting.yml │ └── spell_checking.yml ├── .gitignore ├── .rspec ├── .rubocop.yml ├── .yamllint.yml ├── Appraisals ├── CHANGELOG.md ├── Gemfile ├── LICENSE.txt ├── README.md ├── Rakefile ├── bin ├── console └── setup ├── config ├── default.yml └── obsoletion.yml ├── docs ├── antora.yml └── modules │ └── ROOT │ ├── nav.adoc │ └── pages │ ├── cops.adoc │ ├── cops_threadsafety.adoc │ ├── index.adoc │ ├── installation.adoc │ └── usage.adoc ├── gemfiles └── rubocop_1.72.gemfile ├── lib ├── rubocop-thread_safety.rb └── rubocop │ ├── cop │ ├── mixin │ │ └── operation_with_threadsafe_result.rb │ └── thread_safety │ │ ├── class_and_module_attributes.rb │ │ ├── class_instance_variable.rb │ │ ├── dir_chdir.rb │ │ ├── method_redefinition.rb │ │ ├── mutable_class_instance_variable.rb │ │ ├── new_thread.rb │ │ └── rack_middleware_instance_variable.rb │ ├── thread_safety.rb │ └── thread_safety │ ├── plugin.rb │ └── version.rb ├── rubocop-thread_safety.gemspec ├── spec ├── license_spec.rb ├── rubocop │ ├── cop │ │ └── thread_safety │ │ │ ├── class_and_module_attributes_spec.rb │ │ │ ├── class_instance_variable_spec.rb │ │ │ ├── dir_chdir_spec.rb │ │ │ ├── method_redefinition_spec.rb │ │ │ ├── mutable_class_instance_variable_spec.rb │ │ │ ├── new_thread_spec.rb │ │ │ └── rack_middleware_instance_variable_spec.rb │ └── thread_safety_spec.rb └── spec_helper.rb └── tasks └── cops_documentation.rake /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubocop/rubocop-thread_safety/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubocop/rubocop-thread_safety/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/linting.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubocop/rubocop-thread_safety/HEAD/.github/workflows/linting.yml -------------------------------------------------------------------------------- /.github/workflows/spell_checking.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubocop/rubocop-thread_safety/HEAD/.github/workflows/spell_checking.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubocop/rubocop-thread_safety/HEAD/.gitignore -------------------------------------------------------------------------------- /.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --require spec_helper 3 | --warnings 4 | -------------------------------------------------------------------------------- /.rubocop.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubocop/rubocop-thread_safety/HEAD/.rubocop.yml -------------------------------------------------------------------------------- /.yamllint.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubocop/rubocop-thread_safety/HEAD/.yamllint.yml -------------------------------------------------------------------------------- /Appraisals: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubocop/rubocop-thread_safety/HEAD/Appraisals -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubocop/rubocop-thread_safety/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubocop/rubocop-thread_safety/HEAD/Gemfile -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubocop/rubocop-thread_safety/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubocop/rubocop-thread_safety/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubocop/rubocop-thread_safety/HEAD/Rakefile -------------------------------------------------------------------------------- /bin/console: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubocop/rubocop-thread_safety/HEAD/bin/console -------------------------------------------------------------------------------- /bin/setup: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubocop/rubocop-thread_safety/HEAD/bin/setup -------------------------------------------------------------------------------- /config/default.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubocop/rubocop-thread_safety/HEAD/config/default.yml -------------------------------------------------------------------------------- /config/obsoletion.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubocop/rubocop-thread_safety/HEAD/config/obsoletion.yml -------------------------------------------------------------------------------- /docs/antora.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubocop/rubocop-thread_safety/HEAD/docs/antora.yml -------------------------------------------------------------------------------- /docs/modules/ROOT/nav.adoc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubocop/rubocop-thread_safety/HEAD/docs/modules/ROOT/nav.adoc -------------------------------------------------------------------------------- /docs/modules/ROOT/pages/cops.adoc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubocop/rubocop-thread_safety/HEAD/docs/modules/ROOT/pages/cops.adoc -------------------------------------------------------------------------------- /docs/modules/ROOT/pages/cops_threadsafety.adoc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubocop/rubocop-thread_safety/HEAD/docs/modules/ROOT/pages/cops_threadsafety.adoc -------------------------------------------------------------------------------- /docs/modules/ROOT/pages/index.adoc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubocop/rubocop-thread_safety/HEAD/docs/modules/ROOT/pages/index.adoc -------------------------------------------------------------------------------- /docs/modules/ROOT/pages/installation.adoc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubocop/rubocop-thread_safety/HEAD/docs/modules/ROOT/pages/installation.adoc -------------------------------------------------------------------------------- /docs/modules/ROOT/pages/usage.adoc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubocop/rubocop-thread_safety/HEAD/docs/modules/ROOT/pages/usage.adoc -------------------------------------------------------------------------------- /gemfiles/rubocop_1.72.gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubocop/rubocop-thread_safety/HEAD/gemfiles/rubocop_1.72.gemfile -------------------------------------------------------------------------------- /lib/rubocop-thread_safety.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubocop/rubocop-thread_safety/HEAD/lib/rubocop-thread_safety.rb -------------------------------------------------------------------------------- /lib/rubocop/cop/mixin/operation_with_threadsafe_result.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubocop/rubocop-thread_safety/HEAD/lib/rubocop/cop/mixin/operation_with_threadsafe_result.rb -------------------------------------------------------------------------------- /lib/rubocop/cop/thread_safety/class_and_module_attributes.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubocop/rubocop-thread_safety/HEAD/lib/rubocop/cop/thread_safety/class_and_module_attributes.rb -------------------------------------------------------------------------------- /lib/rubocop/cop/thread_safety/class_instance_variable.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubocop/rubocop-thread_safety/HEAD/lib/rubocop/cop/thread_safety/class_instance_variable.rb -------------------------------------------------------------------------------- /lib/rubocop/cop/thread_safety/dir_chdir.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubocop/rubocop-thread_safety/HEAD/lib/rubocop/cop/thread_safety/dir_chdir.rb -------------------------------------------------------------------------------- /lib/rubocop/cop/thread_safety/method_redefinition.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubocop/rubocop-thread_safety/HEAD/lib/rubocop/cop/thread_safety/method_redefinition.rb -------------------------------------------------------------------------------- /lib/rubocop/cop/thread_safety/mutable_class_instance_variable.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubocop/rubocop-thread_safety/HEAD/lib/rubocop/cop/thread_safety/mutable_class_instance_variable.rb -------------------------------------------------------------------------------- /lib/rubocop/cop/thread_safety/new_thread.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubocop/rubocop-thread_safety/HEAD/lib/rubocop/cop/thread_safety/new_thread.rb -------------------------------------------------------------------------------- /lib/rubocop/cop/thread_safety/rack_middleware_instance_variable.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubocop/rubocop-thread_safety/HEAD/lib/rubocop/cop/thread_safety/rack_middleware_instance_variable.rb -------------------------------------------------------------------------------- /lib/rubocop/thread_safety.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubocop/rubocop-thread_safety/HEAD/lib/rubocop/thread_safety.rb -------------------------------------------------------------------------------- /lib/rubocop/thread_safety/plugin.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubocop/rubocop-thread_safety/HEAD/lib/rubocop/thread_safety/plugin.rb -------------------------------------------------------------------------------- /lib/rubocop/thread_safety/version.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubocop/rubocop-thread_safety/HEAD/lib/rubocop/thread_safety/version.rb -------------------------------------------------------------------------------- /rubocop-thread_safety.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubocop/rubocop-thread_safety/HEAD/rubocop-thread_safety.gemspec -------------------------------------------------------------------------------- /spec/license_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubocop/rubocop-thread_safety/HEAD/spec/license_spec.rb -------------------------------------------------------------------------------- /spec/rubocop/cop/thread_safety/class_and_module_attributes_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubocop/rubocop-thread_safety/HEAD/spec/rubocop/cop/thread_safety/class_and_module_attributes_spec.rb -------------------------------------------------------------------------------- /spec/rubocop/cop/thread_safety/class_instance_variable_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubocop/rubocop-thread_safety/HEAD/spec/rubocop/cop/thread_safety/class_instance_variable_spec.rb -------------------------------------------------------------------------------- /spec/rubocop/cop/thread_safety/dir_chdir_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubocop/rubocop-thread_safety/HEAD/spec/rubocop/cop/thread_safety/dir_chdir_spec.rb -------------------------------------------------------------------------------- /spec/rubocop/cop/thread_safety/method_redefinition_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubocop/rubocop-thread_safety/HEAD/spec/rubocop/cop/thread_safety/method_redefinition_spec.rb -------------------------------------------------------------------------------- /spec/rubocop/cop/thread_safety/mutable_class_instance_variable_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubocop/rubocop-thread_safety/HEAD/spec/rubocop/cop/thread_safety/mutable_class_instance_variable_spec.rb -------------------------------------------------------------------------------- /spec/rubocop/cop/thread_safety/new_thread_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubocop/rubocop-thread_safety/HEAD/spec/rubocop/cop/thread_safety/new_thread_spec.rb -------------------------------------------------------------------------------- /spec/rubocop/cop/thread_safety/rack_middleware_instance_variable_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubocop/rubocop-thread_safety/HEAD/spec/rubocop/cop/thread_safety/rack_middleware_instance_variable_spec.rb -------------------------------------------------------------------------------- /spec/rubocop/thread_safety_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubocop/rubocop-thread_safety/HEAD/spec/rubocop/thread_safety_spec.rb -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubocop/rubocop-thread_safety/HEAD/spec/spec_helper.rb -------------------------------------------------------------------------------- /tasks/cops_documentation.rake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubocop/rubocop-thread_safety/HEAD/tasks/cops_documentation.rake --------------------------------------------------------------------------------