Skip to content

Releases: rameerez/usage_credits

v0.1.1

14 Feb 02:07
Compare
Choose a tag to compare
  • Rename Wallet#subscriptions to Wallet.credit_subscriptions so that it doesn’t override the Pay gem’s own subscriptions association on User
  • Add non-postgres fallbacks for PostgreSQL-only operations (namely @> to access json attributes)
  • Add optional expires_at to give_credits so you can expire any batch of credits at any arbitrary date in the future
  • Add Allocation associations to the Wallet model
  • Add demo Rails app to showcase the gem features