RubyGems Navigation menu

simple_command_dispatcher 1.2.8

Within a services API (rails-api for instance), you may have a need to execute different simple_commands or your own custom commands (service objects) based on one or more factors: multiple application, API version, user type, user credentials, etc. For example, your service API may need to execute either Api::Auth::V1::AuthenticateCommand.call(...) or Api::Auth::V2::AuthenticateCommand.call(...) based on the API version. simple_command_dispatcher allows you to execute either command with one line of code dynamically.

Gemfile:
=

instalar:
=

Versões:

  1. 4.1.0 July 14, 2025 (23,5 KB)
  2. 4.0.0 July 12, 2025 (22 KB)
  3. 3.0.4 August 03, 2024 (22,5 KB)
  4. 3.0.3 February 19, 2024 (22,5 KB)
  5. 3.0.2 February 01, 2024 (22,5 KB)
  6. 1.2.8 August 30, 2023 (21,5 KB)
Mostrar todas as versões (25)

Runtime Dependencies (2):

activesupport ~> 5.0, >= 5.0.0.1
simple_command ~> 0.2.0

Development Dependencies (9):

bundler ~> 2.2, >= 2.2.17
colorize ~> 0.8.1
pry-byebug ~> 3.9
rake ~> 13.0, >= 13.0.6
rdoc ~> 6.4
rspec >= 3.10
rubocop ~> 1.35
rubocop-performance ~> 1.14, >= 1.14.3
yard ~> 0.9.28

Donos:

Pushed by:

Autores:

  • Gene M. Angelo, Jr.

SHA 256 checksum:

=

Total de downloads 14.025

Desta versão 449

Versão lançada:

Licença:

MIT

Versão Requerida do Ruby: >= 2.2.2

Links: