zillion 0.1.3 → 0.1.4

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: aa5e49662e1f608430f15149830de87cf410c8ff6fbcfdfb815b43a58224345c
4
- data.tar.gz: d3a5d3476423dcf3c8bd35e7f22aefc6709f0d6134792cb1e6c465fdf97de466
3
+ metadata.gz: 6298dedecf4d7957c8b4e7301b4636b5cc38f1ee0101217e7155ca2301f83a31
4
+ data.tar.gz: 28f9a57951865dbc8e321aa9b3a800ceeadb470162ba5c491356177903e94b9f
5
5
  SHA512:
6
- metadata.gz: 698359ad81c9ba5a1af1b450fef3472c6b56bf41890f5a0f8d0c63d73e17d299c9d03b096bf2899e268c57b8735fb8bcf7066e87b90ebe01991207b7ba9c7f68
7
- data.tar.gz: 9571b0b84a001b4139cf1566add53fc8847f2d6dd3c263f5d1ed825312c8d566536344dc76febc17ede68a0f2e635d30c93107bdb97cc578404ea2717cc36f20
6
+ metadata.gz: b19ca366c9c93403945a6ca203d36e3e50911446fa4500d31072b09723882176b27139e98b7fc45184df536372453bc9c5bb76aa55f58469e0452ad7f116d7c6
7
+ data.tar.gz: ab83b7866f1b57c4c52cf17cb5c32755e5fb3042055e78c49c60eba990811bf624c70d8eea6ac3c89a5cd26eb29057622ea80341b4abf08fc563cdc75df332fb
@@ -62,9 +62,9 @@ class Plan
62
62
  { monthly_fee: custom_monthly_fee.nil? ? monthly_fee : custom_monthly_fee }
63
63
  end
64
64
 
65
- def monthly_fee_for(counts, custom_monthly_fee: nil)
65
+ def monthly_fee_for(counts, custom_monthly_fee: nil, fallback: false)
66
66
  ensure_available!(counts)
67
- sum(amounts_for(counts, custom_monthly_fee: custom_monthly_fee))
67
+ sum(amounts_for(counts, custom_monthly_fee: custom_monthly_fee, fallback: fallback))
68
68
  end
69
69
 
70
70
  def available_for?(counts)
@@ -3,7 +3,7 @@
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "zillion"
6
- s.version = '0.1.3'
6
+ s.version = '0.1.4'
7
7
  s.platform = Gem::Platform::RUBY
8
8
  s.authors = ['Tomás Pollak']
9
9
  s.email = ['tomas@forkhq.com']
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zillion
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomás Pollak