RubyGems Navigation menu

ephemeron 0.1.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!

install:
=

Versions:

  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)
  6. 0.1.0 - January 14, 2020 (9 KB)
Show all versions (8 total)

Runtime Dependencies (1):

rails >= 5.0, < 7.0

Development Dependencies (3):

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

Owners:

Pushed by:

Authors:

  • Zbigniew Humeniuk

SHA 256 checksum:

2be4fac33f8593ccc997f6fd3f9addb7213a8c63f374846d5bffc466b1873d43

Total downloads 10,313

For this version 1,845

License:

MIT

Required Ruby Version: >= 0

New versions require MFA: true

Links: