joyent-cloud-pricing 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pricing/reporter.rb +2 -2
- data/lib/pricing/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c956c3b6d23704b5a0ff89975f65fe38c8d0e260
|
4
|
+
data.tar.gz: f94a8d4de88c804634865f9b853948680407fca9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0213e2bdaa2245eaa6f3b25ac3f730499e1a038e4eea2d19ac0847d55ab630efec5ec8cb313eb77ef4b07ec2beb5206eeff02d90c1ce5a1efc8ac494efe72964
|
7
|
+
data.tar.gz: 128b92a637a4b4f943ee34c4bdc37854f1c938f262ed4807ac502cd1e23863df59799fc3048ff31a8d342c3ee1ded5b97972785d38a0123546c1dd1714b72ed9
|
data/lib/pricing/reporter.rb
CHANGED
@@ -99,8 +99,8 @@ MONTHLY COSTS:
|
|
99
99
|
YEARLY COSTS:
|
100
100
|
<%- if @r.reserve? -%>
|
101
101
|
On demand yearly <%= @f.format_price(@r.analyzer.yearly_overages_price, 20).yellow %>
|
102
|
-
|
103
|
-
Reserve
|
102
|
+
Reserve prepay one time fee <%= @f.format_price(@r.commit.upfront_price, 20).green %>
|
103
|
+
Reserve monthly fees <%= @f.format_price(@r.commit.monthly_price * 12, 20).green %>
|
104
104
|
<%= "___________".cyan %>
|
105
105
|
Total <%= @f.format_price(@r.analyzer.yearly_total, 20).cyan %>
|
106
106
|
<%- else -%>
|
data/lib/pricing/version.rb
CHANGED