RubyGems Navigation menu

ephemeron 0.5.0

Ephemeron improves the performance of your app. It takes on itself the persistence of the ActiveRecord objects. It protects you from saving the same object many times. It checks whether a fetched from a database object was used. It allows you to eliminate the controller's before_actions that are unnecessarily called. Ephemeron works in the context of the thread and does the bulk of its job (i.a. persistence) at the end of the thread's lifecycle. Although, you can trigger the finalization at any given moment. You don't have to make a distinction in the code for the part that is responsible for the domain logic and the other responsible for the application layers.

Gemfile:
= Copy to clipboard Copied!

instalar:
=

Versões:

  1. 0.6.1 - March 28, 2023 (9,5 KB)
  2. 0.6.0 - February 07, 2022 (9,5 KB)
  3. 0.5.0 - August 28, 2020 (9,5 KB)
  4. 0.4.0 - August 27, 2020 (9,5 KB)
  5. 0.3.0 - August 27, 2020 (9,5 KB)
Mostrar todas as versões (8)

Runtime Dependencies (1):

rails >= 5.0, < 7.0

Development Dependencies (5):

jb ~> 0.7.0
rspec-mocks ~> 3.9
rubocop >= 0
sqlite3 >= 0

Donos:

Pushed by:

Autores:

  • Zbigniew Humeniuk

SHA 256 checksum:

ae9ce29da7b0e7a4ec3287f797029162dbcfcf55d97e8a3a78bbfcb73cb6c611

Total de downloads 10.378

Desta versão 1.484

Licença:

MIT

Versão Requerida do Ruby: >= 2.6.0

New versions require MFA: true

Links: