piggybak_coupons 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,11 @@
1
+ class CouponDecimalFieldUpdate < ActiveRecord::Migration
2
+ def up
3
+ change_column :coupons, :amount, :decimal, :precision => 10, :scale => 2, :null => false
4
+ change_column :coupons, :min_cart_total, :decimal, :precision => 10, :scale => 2, :null => false
5
+ end
6
+
7
+ def down
8
+ change_column :coupons, :amount, :decimal
9
+ change_column :coupons, :min_cart_total, :decimal
10
+ end
11
+ end
@@ -1,3 +1,3 @@
1
1
  module PiggybakCoupons
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: piggybak_coupons
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-10-19 00:00:00.000000000 Z
12
+ date: 2012-10-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -43,6 +43,7 @@ files:
43
43
  - app/views/piggybak_coupons/_apply_coupon.html.erb
44
44
  - config/routes.rb
45
45
  - db/migrate/20121012220537_piggybak_coupons_setup.rb
46
+ - db/migrate/20121022165051_coupon_decimal_field_update.rb
46
47
  - lib/piggybak_coupons/line_item_decorator.rb
47
48
  - lib/piggybak_coupons/engine.rb
48
49
  - lib/piggybak_coupons/version.rb
@@ -96,7 +97,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
96
97
  version: '0'
97
98
  segments:
98
99
  - 0
99
- hash: -4611293078334601319
100
+ hash: 2422270351563615744
100
101
  required_rubygems_version: !ruby/object:Gem::Requirement
101
102
  none: false
102
103
  requirements:
@@ -105,7 +106,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
105
106
  version: '0'
106
107
  segments:
107
108
  - 0
108
- hash: -4611293078334601319
109
+ hash: 2422270351563615744
109
110
  requirements: []
110
111
  rubyforge_project:
111
112
  rubygems_version: 1.8.23