├── .github └── workflows │ ├── danger.yml │ ├── rubocop.yml │ └── test.yml ├── .gitignore ├── .rspec ├── .rubocop.yml ├── .rubocop_todo.yml ├── CHANGELOG.md ├── CONTRIBUTING.md ├── Dangerfile ├── Gemfile ├── Guardfile ├── LICENSE.txt ├── README.md ├── RELEASING.md ├── Rakefile ├── UPGRADING.md ├── lib ├── config │ └── locales │ │ └── en.yml ├── mongoid-locker.rb └── mongoid │ ├── locker.rb │ └── locker │ ├── errors.rb │ ├── version.rb │ └── wrapper.rb ├── mongoid-locker.gemspec └── spec ├── database.yml ├── integration └── mongoid-history │ └── mongoid_history_spec.rb ├── mongoid-locker_spec.rb ├── spec_helper.rb ├── support ├── attr_accessor_methods_shared_examples.rb ├── configurations_shared_context.rb ├── delegated_methods_shared_examples.rb ├── errors_shared_examples.rb ├── locker_helpers.rb ├── locker_is_included_shared_examples.rb ├── locker_methods_shared_examples.rb ├── populate_database_shared_context.rb ├── reset_shared_context.rb └── wrapper_methods_shared_examples.rb └── test_examples_spec.rb /.github/workflows/danger.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongoid/mongoid-locker/HEAD/.github/workflows/danger.yml -------------------------------------------------------------------------------- /.github/workflows/rubocop.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongoid/mongoid-locker/HEAD/.github/workflows/rubocop.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongoid/mongoid-locker/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongoid/mongoid-locker/HEAD/.gitignore -------------------------------------------------------------------------------- /.rspec: -------------------------------------------------------------------------------- 1 | --require spec_helper 2 | -------------------------------------------------------------------------------- /.rubocop.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongoid/mongoid-locker/HEAD/.rubocop.yml -------------------------------------------------------------------------------- /.rubocop_todo.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongoid/mongoid-locker/HEAD/.rubocop_todo.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongoid/mongoid-locker/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongoid/mongoid-locker/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /Dangerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongoid/mongoid-locker/HEAD/Dangerfile -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongoid/mongoid-locker/HEAD/Gemfile -------------------------------------------------------------------------------- /Guardfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongoid/mongoid-locker/HEAD/Guardfile -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongoid/mongoid-locker/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongoid/mongoid-locker/HEAD/README.md -------------------------------------------------------------------------------- /RELEASING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongoid/mongoid-locker/HEAD/RELEASING.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongoid/mongoid-locker/HEAD/Rakefile -------------------------------------------------------------------------------- /UPGRADING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongoid/mongoid-locker/HEAD/UPGRADING.md -------------------------------------------------------------------------------- /lib/config/locales/en.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongoid/mongoid-locker/HEAD/lib/config/locales/en.yml -------------------------------------------------------------------------------- /lib/mongoid-locker.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongoid/mongoid-locker/HEAD/lib/mongoid-locker.rb -------------------------------------------------------------------------------- /lib/mongoid/locker.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongoid/mongoid-locker/HEAD/lib/mongoid/locker.rb -------------------------------------------------------------------------------- /lib/mongoid/locker/errors.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongoid/mongoid-locker/HEAD/lib/mongoid/locker/errors.rb -------------------------------------------------------------------------------- /lib/mongoid/locker/version.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongoid/mongoid-locker/HEAD/lib/mongoid/locker/version.rb -------------------------------------------------------------------------------- /lib/mongoid/locker/wrapper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongoid/mongoid-locker/HEAD/lib/mongoid/locker/wrapper.rb -------------------------------------------------------------------------------- /mongoid-locker.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongoid/mongoid-locker/HEAD/mongoid-locker.gemspec -------------------------------------------------------------------------------- /spec/database.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongoid/mongoid-locker/HEAD/spec/database.yml -------------------------------------------------------------------------------- /spec/integration/mongoid-history/mongoid_history_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongoid/mongoid-locker/HEAD/spec/integration/mongoid-history/mongoid_history_spec.rb -------------------------------------------------------------------------------- /spec/mongoid-locker_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongoid/mongoid-locker/HEAD/spec/mongoid-locker_spec.rb -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongoid/mongoid-locker/HEAD/spec/spec_helper.rb -------------------------------------------------------------------------------- /spec/support/attr_accessor_methods_shared_examples.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongoid/mongoid-locker/HEAD/spec/support/attr_accessor_methods_shared_examples.rb -------------------------------------------------------------------------------- /spec/support/configurations_shared_context.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongoid/mongoid-locker/HEAD/spec/support/configurations_shared_context.rb -------------------------------------------------------------------------------- /spec/support/delegated_methods_shared_examples.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongoid/mongoid-locker/HEAD/spec/support/delegated_methods_shared_examples.rb -------------------------------------------------------------------------------- /spec/support/errors_shared_examples.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongoid/mongoid-locker/HEAD/spec/support/errors_shared_examples.rb -------------------------------------------------------------------------------- /spec/support/locker_helpers.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongoid/mongoid-locker/HEAD/spec/support/locker_helpers.rb -------------------------------------------------------------------------------- /spec/support/locker_is_included_shared_examples.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongoid/mongoid-locker/HEAD/spec/support/locker_is_included_shared_examples.rb -------------------------------------------------------------------------------- /spec/support/locker_methods_shared_examples.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongoid/mongoid-locker/HEAD/spec/support/locker_methods_shared_examples.rb -------------------------------------------------------------------------------- /spec/support/populate_database_shared_context.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongoid/mongoid-locker/HEAD/spec/support/populate_database_shared_context.rb -------------------------------------------------------------------------------- /spec/support/reset_shared_context.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongoid/mongoid-locker/HEAD/spec/support/reset_shared_context.rb -------------------------------------------------------------------------------- /spec/support/wrapper_methods_shared_examples.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongoid/mongoid-locker/HEAD/spec/support/wrapper_methods_shared_examples.rb -------------------------------------------------------------------------------- /spec/test_examples_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongoid/mongoid-locker/HEAD/spec/test_examples_spec.rb --------------------------------------------------------------------------------