├── .github └── workflows │ └── build.yml ├── .gitignore ├── CHANGELOG.md ├── Gemfile ├── LICENSE.txt ├── README.md ├── Rakefile ├── app └── models │ └── notable │ ├── job.rb │ └── request.rb ├── gemfiles ├── rails71.gemfile ├── rails72.gemfile └── rails80.gemfile ├── lib ├── generators │ └── notable │ │ ├── jobs_generator.rb │ │ ├── requests_generator.rb │ │ └── templates │ │ ├── create_jobs.rb.tt │ │ └── create_requests.rb.tt ├── notable.rb └── notable │ ├── debug_exceptions.rb │ ├── engine.rb │ ├── job_extensions.rb │ ├── middleware.rb │ ├── throttle.rb │ ├── unpermitted_parameters.rb │ ├── unverified_request.rb │ ├── validation_errors.rb │ └── version.rb ├── notable.gemspec └── test ├── internal ├── app │ ├── controllers │ │ ├── api_controller.rb │ │ └── users_controller.rb │ ├── jobs │ │ ├── error_job.rb │ │ ├── manual_job.rb │ │ ├── slow_job.rb │ │ ├── slow_threshold_job.rb │ │ └── validation_job.rb │ └── models │ │ └── user.rb ├── config │ ├── database.yml │ └── routes.rb └── db │ └── schema.rb ├── job_test.rb ├── request_test.rb └── test_helper.rb /.github/workflows/build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/notable/HEAD/.github/workflows/build.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/notable/HEAD/.gitignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/notable/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/notable/HEAD/Gemfile -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/notable/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/notable/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/notable/HEAD/Rakefile -------------------------------------------------------------------------------- /app/models/notable/job.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/notable/HEAD/app/models/notable/job.rb -------------------------------------------------------------------------------- /app/models/notable/request.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/notable/HEAD/app/models/notable/request.rb -------------------------------------------------------------------------------- /gemfiles/rails71.gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/notable/HEAD/gemfiles/rails71.gemfile -------------------------------------------------------------------------------- /gemfiles/rails72.gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/notable/HEAD/gemfiles/rails72.gemfile -------------------------------------------------------------------------------- /gemfiles/rails80.gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/notable/HEAD/gemfiles/rails80.gemfile -------------------------------------------------------------------------------- /lib/generators/notable/jobs_generator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/notable/HEAD/lib/generators/notable/jobs_generator.rb -------------------------------------------------------------------------------- /lib/generators/notable/requests_generator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/notable/HEAD/lib/generators/notable/requests_generator.rb -------------------------------------------------------------------------------- /lib/generators/notable/templates/create_jobs.rb.tt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/notable/HEAD/lib/generators/notable/templates/create_jobs.rb.tt -------------------------------------------------------------------------------- /lib/generators/notable/templates/create_requests.rb.tt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/notable/HEAD/lib/generators/notable/templates/create_requests.rb.tt -------------------------------------------------------------------------------- /lib/notable.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/notable/HEAD/lib/notable.rb -------------------------------------------------------------------------------- /lib/notable/debug_exceptions.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/notable/HEAD/lib/notable/debug_exceptions.rb -------------------------------------------------------------------------------- /lib/notable/engine.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/notable/HEAD/lib/notable/engine.rb -------------------------------------------------------------------------------- /lib/notable/job_extensions.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/notable/HEAD/lib/notable/job_extensions.rb -------------------------------------------------------------------------------- /lib/notable/middleware.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/notable/HEAD/lib/notable/middleware.rb -------------------------------------------------------------------------------- /lib/notable/throttle.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/notable/HEAD/lib/notable/throttle.rb -------------------------------------------------------------------------------- /lib/notable/unpermitted_parameters.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/notable/HEAD/lib/notable/unpermitted_parameters.rb -------------------------------------------------------------------------------- /lib/notable/unverified_request.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/notable/HEAD/lib/notable/unverified_request.rb -------------------------------------------------------------------------------- /lib/notable/validation_errors.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/notable/HEAD/lib/notable/validation_errors.rb -------------------------------------------------------------------------------- /lib/notable/version.rb: -------------------------------------------------------------------------------- 1 | module Notable 2 | VERSION = "0.6.0" 3 | end 4 | -------------------------------------------------------------------------------- /notable.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/notable/HEAD/notable.gemspec -------------------------------------------------------------------------------- /test/internal/app/controllers/api_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/notable/HEAD/test/internal/app/controllers/api_controller.rb -------------------------------------------------------------------------------- /test/internal/app/controllers/users_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/notable/HEAD/test/internal/app/controllers/users_controller.rb -------------------------------------------------------------------------------- /test/internal/app/jobs/error_job.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/notable/HEAD/test/internal/app/jobs/error_job.rb -------------------------------------------------------------------------------- /test/internal/app/jobs/manual_job.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/notable/HEAD/test/internal/app/jobs/manual_job.rb -------------------------------------------------------------------------------- /test/internal/app/jobs/slow_job.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/notable/HEAD/test/internal/app/jobs/slow_job.rb -------------------------------------------------------------------------------- /test/internal/app/jobs/slow_threshold_job.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/notable/HEAD/test/internal/app/jobs/slow_threshold_job.rb -------------------------------------------------------------------------------- /test/internal/app/jobs/validation_job.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/notable/HEAD/test/internal/app/jobs/validation_job.rb -------------------------------------------------------------------------------- /test/internal/app/models/user.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/notable/HEAD/test/internal/app/models/user.rb -------------------------------------------------------------------------------- /test/internal/config/database.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/notable/HEAD/test/internal/config/database.yml -------------------------------------------------------------------------------- /test/internal/config/routes.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/notable/HEAD/test/internal/config/routes.rb -------------------------------------------------------------------------------- /test/internal/db/schema.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/notable/HEAD/test/internal/db/schema.rb -------------------------------------------------------------------------------- /test/job_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/notable/HEAD/test/job_test.rb -------------------------------------------------------------------------------- /test/request_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/notable/HEAD/test/request_test.rb -------------------------------------------------------------------------------- /test/test_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/notable/HEAD/test/test_helper.rb --------------------------------------------------------------------------------