piggybak_coupons 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/piggybak_coupons/engine.rb +3 -1
- data/lib/piggybak_coupons/version.rb +1 -1
- metadata +4 -4
@@ -15,8 +15,10 @@ module PiggybakCoupons
|
|
15
15
|
:fields => ["coupon_application"],
|
16
16
|
:allow_destroy => true,
|
17
17
|
:class_name => "::PiggybakCoupons::CouponApplication",
|
18
|
-
:display_in_cart => "Discount"
|
18
|
+
:display_in_cart => "Discount",
|
19
|
+
:sort => config.line_item_types[:payment][:sort]
|
19
20
|
}
|
21
|
+
config.line_item_types[:payment][:sort] += 1
|
20
22
|
end
|
21
23
|
end
|
22
24
|
|
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
|
+
version: 0.0.4
|
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-
|
12
|
+
date: 2012-10-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -96,7 +96,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
96
96
|
version: '0'
|
97
97
|
segments:
|
98
98
|
- 0
|
99
|
-
hash:
|
99
|
+
hash: -4611293078334601319
|
100
100
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
101
101
|
none: false
|
102
102
|
requirements:
|
@@ -105,7 +105,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
105
105
|
version: '0'
|
106
106
|
segments:
|
107
107
|
- 0
|
108
|
-
hash:
|
108
|
+
hash: -4611293078334601319
|
109
109
|
requirements: []
|
110
110
|
rubyforge_project:
|
111
111
|
rubygems_version: 1.8.23
|