profitable 0.4.0 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: profitable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - rameerez
8
8
  bindir: exe
9
9
  cert_chain: []
10
- date: 2026-02-10 00:00:00.000000000 Z
10
+ date: 2026-06-23 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: pay
@@ -37,6 +37,20 @@ dependencies:
37
37
  - - ">="
38
38
  - !ruby/object:Gem::Version
39
39
  version: '5.2'
40
+ - !ruby/object:Gem::Dependency
41
+ name: actionview
42
+ requirement: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: '5.2'
47
+ type: :runtime
48
+ prerelease: false
49
+ version_requirements: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ version: '5.2'
40
54
  description: Calculate SaaS metrics like the MRR, ARR, churn, LTV, ARPU, total revenue,
41
55
  estimated valuation, and other business metrics of your `pay`-powered Rails app
42
56
  – and display them in a simple dashboard.
@@ -59,6 +73,7 @@ files:
59
73
  - app/views/layouts/profitable/application.html.erb
60
74
  - app/views/profitable/dashboard/index.html.erb
61
75
  - config/routes.rb
76
+ - context7.json
62
77
  - gemfiles/pay_10.0.gemfile
63
78
  - gemfiles/pay_11.0.gemfile
64
79
  - gemfiles/pay_7.3.gemfile
@@ -70,6 +85,7 @@ files:
70
85
  - lib/profitable/engine.rb
71
86
  - lib/profitable/error.rb
72
87
  - lib/profitable/json_helpers.rb
88
+ - lib/profitable/metrics.rb
73
89
  - lib/profitable/mrr_calculator.rb
74
90
  - lib/profitable/numeric_result.rb
75
91
  - lib/profitable/processors/base.rb