saucy 0.8.3 → 0.8.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/app/helpers/coupons_helper.rb +2 -0
  2. metadata +4 -4
@@ -2,6 +2,8 @@ module CouponsHelper
2
2
  def days_until_expiration
3
3
  if session[:coupon_name] && @coupon ||= Coupon.find_by_name(session[:coupon_name])
4
4
  @coupon.free_months * 30
5
+ else
6
+ 30
5
7
  end
6
8
  end
7
9
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: saucy
3
3
  version: !ruby/object:Gem::Version
4
- hash: 57
4
+ hash: 55
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 8
9
- - 3
10
- version: 0.8.3
9
+ - 4
10
+ version: 0.8.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - thoughtbot, inc.
@@ -18,7 +18,7 @@ autorequire:
18
18
  bindir: bin
19
19
  cert_chain: []
20
20
 
21
- date: 2011-06-27 00:00:00 -04:00
21
+ date: 2011-06-28 00:00:00 -04:00
22
22
  default_executable:
23
23
  dependencies:
24
24
  - !ruby/object:Gem::Dependency