UsageMeter

A Rails engine to track usage metrics of features, useful for implementing usage-based billing.

Usage

How to use my plugin.

Supported Versions

This gem supports the following Ruby, Rails, and database versions.

Ruby

  • Ruby 3.+ and above (tested with 3.0, 3.1, 3.2, 3.3)

Rails

  • Rails 8.x and above (tested with 8.x)

Databases

  • SQLite: Supported for local development and testing.
  • PostgreSQL: Fully supported and recommended for production.
  • MySQL: Supported for production environments.

Installation

Add this line to your application's Gemfile:

gem "usage_meter"

And then execute:

$ bundle

Or install it yourself as:

$ gem install usage_meter

Contributing

We are not actively accepting contributions at this early stage of development, and external pull Requests will be automatically closed.

License

The gem is available as under the terms of the License