piggybak_coupons 0.0.13 → 0.0.14
Sign up to get free protection for your applications and to get access to all the features.
@@ -2,14 +2,14 @@ $(function() {
|
|
2
2
|
$('#coupon_code').change(function() {
|
3
3
|
piggybak_coupons.apply_coupon();
|
4
4
|
});
|
5
|
-
piggybak.shipping_els.
|
5
|
+
$(piggybak.shipping_els).on('change', function() {
|
6
6
|
if($('#coupon_code').val() != '') {
|
7
7
|
setTimeout(function() {
|
8
8
|
piggybak_coupons.apply_coupon();
|
9
9
|
}, 500);
|
10
10
|
}
|
11
11
|
});
|
12
|
-
$('#shipping select').
|
12
|
+
$('#shipping select').on('change', function() {
|
13
13
|
piggybak_coupons.apply_coupon();
|
14
14
|
});
|
15
15
|
setTimeout(function() {
|
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.14
|
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: 2013-
|
12
|
+
date: 2013-11-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -34,53 +34,53 @@ executables: []
|
|
34
34
|
extensions: []
|
35
35
|
extra_rdoc_files: []
|
36
36
|
files:
|
37
|
-
- app/assets/javascripts/piggybak_coupons/piggybak_coupons.js
|
38
37
|
- app/controllers/piggybak_coupons/coupon_controller.rb
|
39
|
-
- app/
|
38
|
+
- app/assets/javascripts/piggybak_coupons/piggybak_coupons.js
|
40
39
|
- app/models/piggybak_coupons/coupon_application.rb
|
40
|
+
- app/models/piggybak_coupons/coupon.rb
|
41
41
|
- app/views/piggybak_coupons/_apply_coupon.html.erb
|
42
42
|
- config/routes.rb
|
43
43
|
- db/migrate/20121012220537_piggybak_coupons_setup.rb
|
44
44
|
- db/migrate/20121022165051_coupon_decimal_field_update.rb
|
45
|
-
- lib/piggybak_coupons/engine.rb
|
46
45
|
- lib/piggybak_coupons/line_item_decorator.rb
|
46
|
+
- lib/piggybak_coupons/engine.rb
|
47
47
|
- lib/piggybak_coupons/version.rb
|
48
48
|
- lib/piggybak_coupons.rb
|
49
49
|
- lib/tasks/piggybak_coupons_tasks.rake
|
50
50
|
- LICENSE
|
51
51
|
- Rakefile
|
52
52
|
- README.md
|
53
|
-
- test/
|
54
|
-
- test/
|
53
|
+
- test/integration/navigation_test.rb
|
54
|
+
- test/test_helper.rb
|
55
|
+
- test/dummy/script/rails
|
56
|
+
- test/dummy/Rakefile
|
57
|
+
- test/dummy/README.rdoc
|
55
58
|
- test/dummy/app/controllers/application_controller.rb
|
59
|
+
- test/dummy/app/assets/stylesheets/application.css
|
60
|
+
- test/dummy/app/assets/javascripts/application.js
|
56
61
|
- test/dummy/app/helpers/application_helper.rb
|
57
62
|
- test/dummy/app/views/layouts/application.html.erb
|
58
|
-
- test/dummy/config/
|
59
|
-
- test/dummy/config/boot.rb
|
60
|
-
- test/dummy/config/database.yml
|
63
|
+
- test/dummy/config/locales/en.yml
|
61
64
|
- test/dummy/config/environment.rb
|
62
|
-
- test/dummy/config/
|
65
|
+
- test/dummy/config/routes.rb
|
63
66
|
- test/dummy/config/environments/production.rb
|
64
67
|
- test/dummy/config/environments/test.rb
|
65
|
-
- test/dummy/config/
|
66
|
-
- test/dummy/config/initializers/
|
67
|
-
- test/dummy/config/initializers/mime_types.rb
|
68
|
+
- test/dummy/config/environments/development.rb
|
69
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
68
70
|
- test/dummy/config/initializers/secret_token.rb
|
71
|
+
- test/dummy/config/initializers/mime_types.rb
|
69
72
|
- test/dummy/config/initializers/session_store.rb
|
70
|
-
- test/dummy/config/initializers/
|
71
|
-
- test/dummy/config/
|
72
|
-
- test/dummy/config/
|
73
|
-
- test/dummy/config.
|
74
|
-
- test/dummy/
|
75
|
-
- test/dummy/public/422.html
|
73
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
74
|
+
- test/dummy/config/initializers/inflections.rb
|
75
|
+
- test/dummy/config/boot.rb
|
76
|
+
- test/dummy/config/application.rb
|
77
|
+
- test/dummy/config/database.yml
|
76
78
|
- test/dummy/public/500.html
|
79
|
+
- test/dummy/public/422.html
|
77
80
|
- test/dummy/public/favicon.ico
|
78
|
-
- test/dummy/
|
79
|
-
- test/dummy/
|
80
|
-
- test/dummy/script/rails
|
81
|
-
- test/integration/navigation_test.rb
|
81
|
+
- test/dummy/public/404.html
|
82
|
+
- test/dummy/config.ru
|
82
83
|
- test/piggybak_coupons_test.rb
|
83
|
-
- test/test_helper.rb
|
84
84
|
homepage: http://www.piggybak.org/
|
85
85
|
licenses: []
|
86
86
|
post_install_message:
|
@@ -93,47 +93,53 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
93
93
|
- - ! '>='
|
94
94
|
- !ruby/object:Gem::Version
|
95
95
|
version: '0'
|
96
|
+
segments:
|
97
|
+
- 0
|
98
|
+
hash: 4523658976649586592
|
96
99
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
97
100
|
none: false
|
98
101
|
requirements:
|
99
102
|
- - ! '>='
|
100
103
|
- !ruby/object:Gem::Version
|
101
104
|
version: '0'
|
105
|
+
segments:
|
106
|
+
- 0
|
107
|
+
hash: 4523658976649586592
|
102
108
|
requirements: []
|
103
109
|
rubyforge_project:
|
104
|
-
rubygems_version: 1.8.
|
110
|
+
rubygems_version: 1.8.23
|
105
111
|
signing_key:
|
106
112
|
specification_version: 3
|
107
113
|
summary: Coupon support for Piggybak.
|
108
114
|
test_files:
|
109
|
-
- test/
|
110
|
-
- test/
|
115
|
+
- test/integration/navigation_test.rb
|
116
|
+
- test/test_helper.rb
|
117
|
+
- test/dummy/script/rails
|
118
|
+
- test/dummy/Rakefile
|
119
|
+
- test/dummy/README.rdoc
|
111
120
|
- test/dummy/app/controllers/application_controller.rb
|
121
|
+
- test/dummy/app/assets/stylesheets/application.css
|
122
|
+
- test/dummy/app/assets/javascripts/application.js
|
112
123
|
- test/dummy/app/helpers/application_helper.rb
|
113
124
|
- test/dummy/app/views/layouts/application.html.erb
|
114
|
-
- test/dummy/config/
|
115
|
-
- test/dummy/config/boot.rb
|
116
|
-
- test/dummy/config/database.yml
|
125
|
+
- test/dummy/config/locales/en.yml
|
117
126
|
- test/dummy/config/environment.rb
|
118
|
-
- test/dummy/config/
|
127
|
+
- test/dummy/config/routes.rb
|
119
128
|
- test/dummy/config/environments/production.rb
|
120
129
|
- test/dummy/config/environments/test.rb
|
121
|
-
- test/dummy/config/
|
122
|
-
- test/dummy/config/initializers/
|
123
|
-
- test/dummy/config/initializers/mime_types.rb
|
130
|
+
- test/dummy/config/environments/development.rb
|
131
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
124
132
|
- test/dummy/config/initializers/secret_token.rb
|
133
|
+
- test/dummy/config/initializers/mime_types.rb
|
125
134
|
- test/dummy/config/initializers/session_store.rb
|
126
|
-
- test/dummy/config/initializers/
|
127
|
-
- test/dummy/config/
|
128
|
-
- test/dummy/config/
|
129
|
-
- test/dummy/config.
|
130
|
-
- test/dummy/
|
131
|
-
- test/dummy/public/422.html
|
135
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
136
|
+
- test/dummy/config/initializers/inflections.rb
|
137
|
+
- test/dummy/config/boot.rb
|
138
|
+
- test/dummy/config/application.rb
|
139
|
+
- test/dummy/config/database.yml
|
132
140
|
- test/dummy/public/500.html
|
141
|
+
- test/dummy/public/422.html
|
133
142
|
- test/dummy/public/favicon.ico
|
134
|
-
- test/dummy/
|
135
|
-
- test/dummy/
|
136
|
-
- test/dummy/script/rails
|
137
|
-
- test/integration/navigation_test.rb
|
143
|
+
- test/dummy/public/404.html
|
144
|
+
- test/dummy/config.ru
|
138
145
|
- test/piggybak_coupons_test.rb
|
139
|
-
- test/test_helper.rb
|