├── .gitignore ├── .rspec ├── .rubocop.yml ├── .travis.yml ├── Gemfile ├── Gemfile.lock ├── LICENSE.txt ├── README.md ├── Rakefile ├── activerecord-autoscope.gemspec ├── bin ├── console └── setup ├── lib ├── activerecord-autoscope.rb └── activerecord │ ├── auto_scope.rb │ └── auto_scope │ ├── config.rb │ ├── hook_methods.rb │ ├── railtie.rb │ ├── scope_methods.rb │ └── version.rb └── spec ├── activerecord └── autoscope_spec.rb └── spec_helper.rb /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yhirano55/activerecord-autoscope/HEAD/.gitignore -------------------------------------------------------------------------------- /.rspec: -------------------------------------------------------------------------------- 1 | --format documentation 2 | --color 3 | --require spec_helper 4 | -------------------------------------------------------------------------------- /.rubocop.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yhirano55/activerecord-autoscope/HEAD/.rubocop.yml -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yhirano55/activerecord-autoscope/HEAD/.travis.yml -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yhirano55/activerecord-autoscope/HEAD/Gemfile -------------------------------------------------------------------------------- /Gemfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yhirano55/activerecord-autoscope/HEAD/Gemfile.lock -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yhirano55/activerecord-autoscope/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yhirano55/activerecord-autoscope/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yhirano55/activerecord-autoscope/HEAD/Rakefile -------------------------------------------------------------------------------- /activerecord-autoscope.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yhirano55/activerecord-autoscope/HEAD/activerecord-autoscope.gemspec -------------------------------------------------------------------------------- /bin/console: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yhirano55/activerecord-autoscope/HEAD/bin/console -------------------------------------------------------------------------------- /bin/setup: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yhirano55/activerecord-autoscope/HEAD/bin/setup -------------------------------------------------------------------------------- /lib/activerecord-autoscope.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require 'activerecord/auto_scope' 4 | -------------------------------------------------------------------------------- /lib/activerecord/auto_scope.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yhirano55/activerecord-autoscope/HEAD/lib/activerecord/auto_scope.rb -------------------------------------------------------------------------------- /lib/activerecord/auto_scope/config.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yhirano55/activerecord-autoscope/HEAD/lib/activerecord/auto_scope/config.rb -------------------------------------------------------------------------------- /lib/activerecord/auto_scope/hook_methods.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yhirano55/activerecord-autoscope/HEAD/lib/activerecord/auto_scope/hook_methods.rb -------------------------------------------------------------------------------- /lib/activerecord/auto_scope/railtie.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yhirano55/activerecord-autoscope/HEAD/lib/activerecord/auto_scope/railtie.rb -------------------------------------------------------------------------------- /lib/activerecord/auto_scope/scope_methods.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yhirano55/activerecord-autoscope/HEAD/lib/activerecord/auto_scope/scope_methods.rb -------------------------------------------------------------------------------- /lib/activerecord/auto_scope/version.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yhirano55/activerecord-autoscope/HEAD/lib/activerecord/auto_scope/version.rb -------------------------------------------------------------------------------- /spec/activerecord/autoscope_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yhirano55/activerecord-autoscope/HEAD/spec/activerecord/autoscope_spec.rb -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yhirano55/activerecord-autoscope/HEAD/spec/spec_helper.rb --------------------------------------------------------------------------------