├── .github └── workflows │ └── ci.yml ├── .gitignore ├── .ruby-version ├── CHANGELOG.md ├── Gemfile ├── Gemfile.lock ├── LICENSE ├── README.md ├── Rakefile ├── active_operator.gemspec ├── bin ├── console ├── setup └── test ├── lib ├── active_operator.rb ├── active_operator │ ├── model.rb │ ├── operation.rb │ ├── perform_operation_job.rb │ ├── railtie.rb │ └── version.rb └── generators │ └── active_operator │ ├── install_generator.rb │ ├── operation_generator.rb │ └── templates │ ├── application_operation.rb.erb │ ├── create_active_operator_operations.rb.erb │ └── operation.rb.erb └── test ├── active_operator ├── model_test.rb ├── operation_test.rb └── perform_operation_job_test.rb ├── generators └── active_operator │ ├── install_generator_test.rb │ └── operation_generator_test.rb └── test_helper.rb /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremysmithco/active_operator/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremysmithco/active_operator/HEAD/.gitignore -------------------------------------------------------------------------------- /.ruby-version: -------------------------------------------------------------------------------- 1 | 3.1.7 2 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremysmithco/active_operator/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremysmithco/active_operator/HEAD/Gemfile -------------------------------------------------------------------------------- /Gemfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremysmithco/active_operator/HEAD/Gemfile.lock -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremysmithco/active_operator/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremysmithco/active_operator/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremysmithco/active_operator/HEAD/Rakefile -------------------------------------------------------------------------------- /active_operator.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremysmithco/active_operator/HEAD/active_operator.gemspec -------------------------------------------------------------------------------- /bin/console: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremysmithco/active_operator/HEAD/bin/console -------------------------------------------------------------------------------- /bin/setup: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremysmithco/active_operator/HEAD/bin/setup -------------------------------------------------------------------------------- /bin/test: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | bundle exec rake test "$@" 4 | -------------------------------------------------------------------------------- /lib/active_operator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremysmithco/active_operator/HEAD/lib/active_operator.rb -------------------------------------------------------------------------------- /lib/active_operator/model.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremysmithco/active_operator/HEAD/lib/active_operator/model.rb -------------------------------------------------------------------------------- /lib/active_operator/operation.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremysmithco/active_operator/HEAD/lib/active_operator/operation.rb -------------------------------------------------------------------------------- /lib/active_operator/perform_operation_job.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremysmithco/active_operator/HEAD/lib/active_operator/perform_operation_job.rb -------------------------------------------------------------------------------- /lib/active_operator/railtie.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremysmithco/active_operator/HEAD/lib/active_operator/railtie.rb -------------------------------------------------------------------------------- /lib/active_operator/version.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | module ActiveOperator 4 | VERSION = "0.1.1" 5 | end 6 | -------------------------------------------------------------------------------- /lib/generators/active_operator/install_generator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremysmithco/active_operator/HEAD/lib/generators/active_operator/install_generator.rb -------------------------------------------------------------------------------- /lib/generators/active_operator/operation_generator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremysmithco/active_operator/HEAD/lib/generators/active_operator/operation_generator.rb -------------------------------------------------------------------------------- /lib/generators/active_operator/templates/application_operation.rb.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremysmithco/active_operator/HEAD/lib/generators/active_operator/templates/application_operation.rb.erb -------------------------------------------------------------------------------- /lib/generators/active_operator/templates/create_active_operator_operations.rb.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremysmithco/active_operator/HEAD/lib/generators/active_operator/templates/create_active_operator_operations.rb.erb -------------------------------------------------------------------------------- /lib/generators/active_operator/templates/operation.rb.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremysmithco/active_operator/HEAD/lib/generators/active_operator/templates/operation.rb.erb -------------------------------------------------------------------------------- /test/active_operator/model_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremysmithco/active_operator/HEAD/test/active_operator/model_test.rb -------------------------------------------------------------------------------- /test/active_operator/operation_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremysmithco/active_operator/HEAD/test/active_operator/operation_test.rb -------------------------------------------------------------------------------- /test/active_operator/perform_operation_job_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremysmithco/active_operator/HEAD/test/active_operator/perform_operation_job_test.rb -------------------------------------------------------------------------------- /test/generators/active_operator/install_generator_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremysmithco/active_operator/HEAD/test/generators/active_operator/install_generator_test.rb -------------------------------------------------------------------------------- /test/generators/active_operator/operation_generator_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremysmithco/active_operator/HEAD/test/generators/active_operator/operation_generator_test.rb -------------------------------------------------------------------------------- /test/test_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremysmithco/active_operator/HEAD/test/test_helper.rb --------------------------------------------------------------------------------