├── .github ├── dependabot.yml └── workflows │ ├── close_inactive_issues.yml │ └── main.yml ├── .gitignore ├── .rspec ├── CHANGELOG.md ├── Gemfile ├── Gemfile.mongoid ├── Gemfile.mongoid-4.0 ├── Gemfile.mongoid-5.0 ├── Gemfile.mongoid-6.0 ├── Gemfile.mongoid-7.0 ├── Gemfile.mongoid-8.0 ├── Gemfile.mongoid-9.0 ├── Gemfile.rails-4.2 ├── Gemfile.rails-5.0 ├── Gemfile.rails-5.1 ├── Gemfile.rails-5.2 ├── Gemfile.rails-6.0 ├── Gemfile.rails-6.1 ├── Gemfile.rails-7.0 ├── Gemfile.rails-7.1 ├── Gemfile.rails-7.2 ├── Gemfile.rails-8.0 ├── Gemfile.rails-8.1 ├── Guardfile ├── Hacking.md ├── MIT-LICENSE ├── README.md ├── Rakefile ├── bullet.gemspec ├── lib ├── bullet.rb ├── bullet │ ├── active_job.rb │ ├── active_record4.rb │ ├── active_record41.rb │ ├── active_record42.rb │ ├── active_record5.rb │ ├── active_record52.rb │ ├── active_record60.rb │ ├── active_record61.rb │ ├── active_record70.rb │ ├── active_record71.rb │ ├── active_record72.rb │ ├── active_record80.rb │ ├── active_record81.rb │ ├── bullet_xhr.js │ ├── dependency.rb │ ├── detector.rb │ ├── detector │ │ ├── association.rb │ │ ├── base.rb │ │ ├── counter_cache.rb │ │ ├── n_plus_one_query.rb │ │ └── unused_eager_loading.rb │ ├── ext │ │ ├── object.rb │ │ └── string.rb │ ├── mongoid4x.rb │ ├── mongoid5x.rb │ ├── mongoid6x.rb │ ├── mongoid7x.rb │ ├── mongoid8x.rb │ ├── mongoid9x.rb │ ├── notification.rb │ ├── notification │ │ ├── base.rb │ │ ├── counter_cache.rb │ │ ├── n_plus_one_query.rb │ │ └── unused_eager_loading.rb │ ├── notification_collector.rb │ ├── rack.rb │ ├── registry.rb │ ├── registry │ │ ├── association.rb │ │ ├── base.rb │ │ ├── call_stack.rb │ │ └── object.rb │ ├── stack_trace_filter.rb │ └── version.rb └── generators │ └── bullet │ └── install_generator.rb ├── perf └── benchmark.rb ├── rails └── init.rb ├── spec ├── bullet │ ├── detector │ │ ├── association_spec.rb │ │ ├── base_spec.rb │ │ ├── counter_cache_spec.rb │ │ ├── n_plus_one_query_spec.rb │ │ └── unused_eager_loading_spec.rb │ ├── ext │ │ ├── object_spec.rb │ │ └── string_spec.rb │ ├── notification │ │ ├── base_spec.rb │ │ ├── counter_cache_spec.rb │ │ ├── n_plus_one_query_spec.rb │ │ └── unused_eager_loading_spec.rb │ ├── notification_collector_spec.rb │ ├── rack_spec.rb │ ├── registry │ │ ├── association_spec.rb │ │ ├── base_spec.rb │ │ └── object_spec.rb │ └── stack_trace_filter_spec.rb ├── bullet_spec.rb ├── integration │ ├── active_record │ │ └── association_spec.rb │ ├── counter_cache_spec.rb │ └── mongoid │ │ └── association_spec.rb ├── models │ ├── address.rb │ ├── attachment.rb │ ├── author.rb │ ├── base_user.rb │ ├── category.rb │ ├── city.rb │ ├── client.rb │ ├── comment.rb │ ├── company.rb │ ├── country.rb │ ├── deal.rb │ ├── document.rb │ ├── entry.rb │ ├── firm.rb │ ├── folder.rb │ ├── group.rb │ ├── mongoid │ │ ├── address.rb │ │ ├── category.rb │ │ ├── comment.rb │ │ ├── company.rb │ │ ├── entry.rb │ │ ├── post.rb │ │ └── user.rb │ ├── newspaper.rb │ ├── page.rb │ ├── person.rb │ ├── pet.rb │ ├── post.rb │ ├── relationship.rb │ ├── reply.rb │ ├── role.rb │ ├── student.rb │ ├── submission.rb │ ├── teacher.rb │ ├── user.rb │ └── writer.rb ├── spec_helper.rb └── support │ ├── bullet_ext.rb │ ├── mongo_seed.rb │ ├── rack_double.rb │ └── sqlite_seed.rb ├── tasks └── bullet_tasks.rake ├── test.sh └── update.sh /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/close_inactive_issues.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/.github/workflows/close_inactive_issues.yml -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/.github/workflows/main.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/.gitignore -------------------------------------------------------------------------------- /.rspec: -------------------------------------------------------------------------------- 1 | --colour 2 | --format progress 3 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/Gemfile -------------------------------------------------------------------------------- /Gemfile.mongoid: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/Gemfile.mongoid -------------------------------------------------------------------------------- /Gemfile.mongoid-4.0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/Gemfile.mongoid-4.0 -------------------------------------------------------------------------------- /Gemfile.mongoid-5.0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/Gemfile.mongoid-5.0 -------------------------------------------------------------------------------- /Gemfile.mongoid-6.0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/Gemfile.mongoid-6.0 -------------------------------------------------------------------------------- /Gemfile.mongoid-7.0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/Gemfile.mongoid-7.0 -------------------------------------------------------------------------------- /Gemfile.mongoid-8.0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/Gemfile.mongoid-8.0 -------------------------------------------------------------------------------- /Gemfile.mongoid-9.0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/Gemfile.mongoid-9.0 -------------------------------------------------------------------------------- /Gemfile.rails-4.2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/Gemfile.rails-4.2 -------------------------------------------------------------------------------- /Gemfile.rails-5.0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/Gemfile.rails-5.0 -------------------------------------------------------------------------------- /Gemfile.rails-5.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/Gemfile.rails-5.1 -------------------------------------------------------------------------------- /Gemfile.rails-5.2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/Gemfile.rails-5.2 -------------------------------------------------------------------------------- /Gemfile.rails-6.0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/Gemfile.rails-6.0 -------------------------------------------------------------------------------- /Gemfile.rails-6.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/Gemfile.rails-6.1 -------------------------------------------------------------------------------- /Gemfile.rails-7.0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/Gemfile.rails-7.0 -------------------------------------------------------------------------------- /Gemfile.rails-7.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/Gemfile.rails-7.1 -------------------------------------------------------------------------------- /Gemfile.rails-7.2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/Gemfile.rails-7.2 -------------------------------------------------------------------------------- /Gemfile.rails-8.0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/Gemfile.rails-8.0 -------------------------------------------------------------------------------- /Gemfile.rails-8.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/Gemfile.rails-8.1 -------------------------------------------------------------------------------- /Guardfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/Guardfile -------------------------------------------------------------------------------- /Hacking.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/Hacking.md -------------------------------------------------------------------------------- /MIT-LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/MIT-LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/Rakefile -------------------------------------------------------------------------------- /bullet.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/bullet.gemspec -------------------------------------------------------------------------------- /lib/bullet.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/lib/bullet.rb -------------------------------------------------------------------------------- /lib/bullet/active_job.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/lib/bullet/active_job.rb -------------------------------------------------------------------------------- /lib/bullet/active_record4.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/lib/bullet/active_record4.rb -------------------------------------------------------------------------------- /lib/bullet/active_record41.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/lib/bullet/active_record41.rb -------------------------------------------------------------------------------- /lib/bullet/active_record42.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/lib/bullet/active_record42.rb -------------------------------------------------------------------------------- /lib/bullet/active_record5.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/lib/bullet/active_record5.rb -------------------------------------------------------------------------------- /lib/bullet/active_record52.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/lib/bullet/active_record52.rb -------------------------------------------------------------------------------- /lib/bullet/active_record60.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/lib/bullet/active_record60.rb -------------------------------------------------------------------------------- /lib/bullet/active_record61.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/lib/bullet/active_record61.rb -------------------------------------------------------------------------------- /lib/bullet/active_record70.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/lib/bullet/active_record70.rb -------------------------------------------------------------------------------- /lib/bullet/active_record71.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/lib/bullet/active_record71.rb -------------------------------------------------------------------------------- /lib/bullet/active_record72.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/lib/bullet/active_record72.rb -------------------------------------------------------------------------------- /lib/bullet/active_record80.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/lib/bullet/active_record80.rb -------------------------------------------------------------------------------- /lib/bullet/active_record81.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/lib/bullet/active_record81.rb -------------------------------------------------------------------------------- /lib/bullet/bullet_xhr.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/lib/bullet/bullet_xhr.js -------------------------------------------------------------------------------- /lib/bullet/dependency.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/lib/bullet/dependency.rb -------------------------------------------------------------------------------- /lib/bullet/detector.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/lib/bullet/detector.rb -------------------------------------------------------------------------------- /lib/bullet/detector/association.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/lib/bullet/detector/association.rb -------------------------------------------------------------------------------- /lib/bullet/detector/base.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/lib/bullet/detector/base.rb -------------------------------------------------------------------------------- /lib/bullet/detector/counter_cache.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/lib/bullet/detector/counter_cache.rb -------------------------------------------------------------------------------- /lib/bullet/detector/n_plus_one_query.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/lib/bullet/detector/n_plus_one_query.rb -------------------------------------------------------------------------------- /lib/bullet/detector/unused_eager_loading.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/lib/bullet/detector/unused_eager_loading.rb -------------------------------------------------------------------------------- /lib/bullet/ext/object.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/lib/bullet/ext/object.rb -------------------------------------------------------------------------------- /lib/bullet/ext/string.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/lib/bullet/ext/string.rb -------------------------------------------------------------------------------- /lib/bullet/mongoid4x.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/lib/bullet/mongoid4x.rb -------------------------------------------------------------------------------- /lib/bullet/mongoid5x.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/lib/bullet/mongoid5x.rb -------------------------------------------------------------------------------- /lib/bullet/mongoid6x.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/lib/bullet/mongoid6x.rb -------------------------------------------------------------------------------- /lib/bullet/mongoid7x.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/lib/bullet/mongoid7x.rb -------------------------------------------------------------------------------- /lib/bullet/mongoid8x.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/lib/bullet/mongoid8x.rb -------------------------------------------------------------------------------- /lib/bullet/mongoid9x.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/lib/bullet/mongoid9x.rb -------------------------------------------------------------------------------- /lib/bullet/notification.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/lib/bullet/notification.rb -------------------------------------------------------------------------------- /lib/bullet/notification/base.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/lib/bullet/notification/base.rb -------------------------------------------------------------------------------- /lib/bullet/notification/counter_cache.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/lib/bullet/notification/counter_cache.rb -------------------------------------------------------------------------------- /lib/bullet/notification/n_plus_one_query.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/lib/bullet/notification/n_plus_one_query.rb -------------------------------------------------------------------------------- /lib/bullet/notification/unused_eager_loading.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/lib/bullet/notification/unused_eager_loading.rb -------------------------------------------------------------------------------- /lib/bullet/notification_collector.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/lib/bullet/notification_collector.rb -------------------------------------------------------------------------------- /lib/bullet/rack.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/lib/bullet/rack.rb -------------------------------------------------------------------------------- /lib/bullet/registry.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/lib/bullet/registry.rb -------------------------------------------------------------------------------- /lib/bullet/registry/association.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/lib/bullet/registry/association.rb -------------------------------------------------------------------------------- /lib/bullet/registry/base.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/lib/bullet/registry/base.rb -------------------------------------------------------------------------------- /lib/bullet/registry/call_stack.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/lib/bullet/registry/call_stack.rb -------------------------------------------------------------------------------- /lib/bullet/registry/object.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/lib/bullet/registry/object.rb -------------------------------------------------------------------------------- /lib/bullet/stack_trace_filter.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/lib/bullet/stack_trace_filter.rb -------------------------------------------------------------------------------- /lib/bullet/version.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | module Bullet 4 | VERSION = '8.1.0' 5 | end 6 | -------------------------------------------------------------------------------- /lib/generators/bullet/install_generator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/lib/generators/bullet/install_generator.rb -------------------------------------------------------------------------------- /perf/benchmark.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/perf/benchmark.rb -------------------------------------------------------------------------------- /rails/init.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require 'bullet' 4 | -------------------------------------------------------------------------------- /spec/bullet/detector/association_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/spec/bullet/detector/association_spec.rb -------------------------------------------------------------------------------- /spec/bullet/detector/base_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/spec/bullet/detector/base_spec.rb -------------------------------------------------------------------------------- /spec/bullet/detector/counter_cache_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/spec/bullet/detector/counter_cache_spec.rb -------------------------------------------------------------------------------- /spec/bullet/detector/n_plus_one_query_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/spec/bullet/detector/n_plus_one_query_spec.rb -------------------------------------------------------------------------------- /spec/bullet/detector/unused_eager_loading_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/spec/bullet/detector/unused_eager_loading_spec.rb -------------------------------------------------------------------------------- /spec/bullet/ext/object_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/spec/bullet/ext/object_spec.rb -------------------------------------------------------------------------------- /spec/bullet/ext/string_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/spec/bullet/ext/string_spec.rb -------------------------------------------------------------------------------- /spec/bullet/notification/base_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/spec/bullet/notification/base_spec.rb -------------------------------------------------------------------------------- /spec/bullet/notification/counter_cache_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/spec/bullet/notification/counter_cache_spec.rb -------------------------------------------------------------------------------- /spec/bullet/notification/n_plus_one_query_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/spec/bullet/notification/n_plus_one_query_spec.rb -------------------------------------------------------------------------------- /spec/bullet/notification/unused_eager_loading_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/spec/bullet/notification/unused_eager_loading_spec.rb -------------------------------------------------------------------------------- /spec/bullet/notification_collector_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/spec/bullet/notification_collector_spec.rb -------------------------------------------------------------------------------- /spec/bullet/rack_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/spec/bullet/rack_spec.rb -------------------------------------------------------------------------------- /spec/bullet/registry/association_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/spec/bullet/registry/association_spec.rb -------------------------------------------------------------------------------- /spec/bullet/registry/base_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/spec/bullet/registry/base_spec.rb -------------------------------------------------------------------------------- /spec/bullet/registry/object_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/spec/bullet/registry/object_spec.rb -------------------------------------------------------------------------------- /spec/bullet/stack_trace_filter_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/spec/bullet/stack_trace_filter_spec.rb -------------------------------------------------------------------------------- /spec/bullet_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/spec/bullet_spec.rb -------------------------------------------------------------------------------- /spec/integration/active_record/association_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/spec/integration/active_record/association_spec.rb -------------------------------------------------------------------------------- /spec/integration/counter_cache_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/spec/integration/counter_cache_spec.rb -------------------------------------------------------------------------------- /spec/integration/mongoid/association_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/spec/integration/mongoid/association_spec.rb -------------------------------------------------------------------------------- /spec/models/address.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/spec/models/address.rb -------------------------------------------------------------------------------- /spec/models/attachment.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/spec/models/attachment.rb -------------------------------------------------------------------------------- /spec/models/author.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/spec/models/author.rb -------------------------------------------------------------------------------- /spec/models/base_user.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/spec/models/base_user.rb -------------------------------------------------------------------------------- /spec/models/category.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/spec/models/category.rb -------------------------------------------------------------------------------- /spec/models/city.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/spec/models/city.rb -------------------------------------------------------------------------------- /spec/models/client.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/spec/models/client.rb -------------------------------------------------------------------------------- /spec/models/comment.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/spec/models/comment.rb -------------------------------------------------------------------------------- /spec/models/company.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/spec/models/company.rb -------------------------------------------------------------------------------- /spec/models/country.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/spec/models/country.rb -------------------------------------------------------------------------------- /spec/models/deal.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/spec/models/deal.rb -------------------------------------------------------------------------------- /spec/models/document.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/spec/models/document.rb -------------------------------------------------------------------------------- /spec/models/entry.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/spec/models/entry.rb -------------------------------------------------------------------------------- /spec/models/firm.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/spec/models/firm.rb -------------------------------------------------------------------------------- /spec/models/folder.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class Folder < Document 4 | end 5 | -------------------------------------------------------------------------------- /spec/models/group.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class Group < ActiveRecord::Base 4 | end 5 | -------------------------------------------------------------------------------- /spec/models/mongoid/address.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/spec/models/mongoid/address.rb -------------------------------------------------------------------------------- /spec/models/mongoid/category.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/spec/models/mongoid/category.rb -------------------------------------------------------------------------------- /spec/models/mongoid/comment.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/spec/models/mongoid/comment.rb -------------------------------------------------------------------------------- /spec/models/mongoid/company.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/spec/models/mongoid/company.rb -------------------------------------------------------------------------------- /spec/models/mongoid/entry.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/spec/models/mongoid/entry.rb -------------------------------------------------------------------------------- /spec/models/mongoid/post.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/spec/models/mongoid/post.rb -------------------------------------------------------------------------------- /spec/models/mongoid/user.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/spec/models/mongoid/user.rb -------------------------------------------------------------------------------- /spec/models/newspaper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/spec/models/newspaper.rb -------------------------------------------------------------------------------- /spec/models/page.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class Page < Document 4 | end 5 | -------------------------------------------------------------------------------- /spec/models/person.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/spec/models/person.rb -------------------------------------------------------------------------------- /spec/models/pet.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/spec/models/pet.rb -------------------------------------------------------------------------------- /spec/models/post.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/spec/models/post.rb -------------------------------------------------------------------------------- /spec/models/relationship.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/spec/models/relationship.rb -------------------------------------------------------------------------------- /spec/models/reply.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/spec/models/reply.rb -------------------------------------------------------------------------------- /spec/models/role.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/spec/models/role.rb -------------------------------------------------------------------------------- /spec/models/student.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/spec/models/student.rb -------------------------------------------------------------------------------- /spec/models/submission.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/spec/models/submission.rb -------------------------------------------------------------------------------- /spec/models/teacher.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/spec/models/teacher.rb -------------------------------------------------------------------------------- /spec/models/user.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/spec/models/user.rb -------------------------------------------------------------------------------- /spec/models/writer.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class Writer < BaseUser 4 | end 5 | -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/spec/spec_helper.rb -------------------------------------------------------------------------------- /spec/support/bullet_ext.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/spec/support/bullet_ext.rb -------------------------------------------------------------------------------- /spec/support/mongo_seed.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/spec/support/mongo_seed.rb -------------------------------------------------------------------------------- /spec/support/rack_double.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/spec/support/rack_double.rb -------------------------------------------------------------------------------- /spec/support/sqlite_seed.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/spec/support/sqlite_seed.rb -------------------------------------------------------------------------------- /tasks/bullet_tasks.rake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/tasks/bullet_tasks.rake -------------------------------------------------------------------------------- /test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/test.sh -------------------------------------------------------------------------------- /update.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyerhzm/bullet/HEAD/update.sh --------------------------------------------------------------------------------