piggybak_giftcerts 0.0.11 → 0.0.12
Sign up to get free protection for your applications and to get access to all the features.
@@ -2,14 +2,14 @@ $(function() {
|
|
2
2
|
$('#giftcert_code').change(function() {
|
3
3
|
piggybak_giftcerts.apply_giftcert();
|
4
4
|
});
|
5
|
-
piggybak.shipping_els.
|
5
|
+
$(piggybak.shipping_els).on('change', function() {
|
6
6
|
if($('#giftcert_code').val() != '') {
|
7
7
|
setTimeout(function() {
|
8
8
|
piggybak_giftcerts.apply_giftcert();
|
9
9
|
}, 500);
|
10
10
|
}
|
11
11
|
});
|
12
|
-
$('#shipping select').
|
12
|
+
$('#shipping select').on('change', function() {
|
13
13
|
piggybak_giftcerts.apply_giftcert();
|
14
14
|
});
|
15
15
|
setTimeout(function() {
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: piggybak_giftcerts
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.12
|
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
|
@@ -66,57 +66,57 @@ executables: []
|
|
66
66
|
extensions: []
|
67
67
|
extra_rdoc_files: []
|
68
68
|
files:
|
69
|
-
- app/assets/javascripts/piggybak_giftcerts/piggybak_giftcerts.js
|
70
69
|
- app/controllers/piggybak_giftcerts/giftcert_controller.rb
|
71
|
-
- app/
|
70
|
+
- app/assets/javascripts/piggybak_giftcerts/piggybak_giftcerts.js
|
72
71
|
- app/models/piggybak_giftcerts/buyable_giftcert.rb
|
73
|
-
- app/models/piggybak_giftcerts/giftcert.rb
|
74
72
|
- app/models/piggybak_giftcerts/giftcert_application.rb
|
75
|
-
- app/
|
73
|
+
- app/models/piggybak_giftcerts/giftcert.rb
|
76
74
|
- app/views/piggybak_giftcerts/giftcert/purchase.html.erb
|
75
|
+
- app/views/piggybak_giftcerts/_apply_giftcert.html.erb
|
77
76
|
- app/views/piggybak_giftcerts/giftcert_mailer/info.text.erb
|
77
|
+
- app/mailers/piggybak_giftcerts/giftcert_mailer.rb
|
78
78
|
- config/routes.rb
|
79
79
|
- db/migrate/20121026200953_piggybak_giftcert_setup.rb
|
80
|
-
- lib/piggybak_giftcerts/engine.rb
|
81
80
|
- lib/piggybak_giftcerts/line_item_decorator.rb
|
82
|
-
- lib/piggybak_giftcerts/order_decorator.rb
|
83
81
|
- lib/piggybak_giftcerts/percent_decorator.rb
|
82
|
+
- lib/piggybak_giftcerts/order_decorator.rb
|
83
|
+
- lib/piggybak_giftcerts/engine.rb
|
84
84
|
- lib/piggybak_giftcerts/version.rb
|
85
85
|
- lib/piggybak_giftcerts.rb
|
86
86
|
- LICENSE
|
87
87
|
- Rakefile
|
88
88
|
- README.md
|
89
|
-
- test/
|
90
|
-
- test/
|
89
|
+
- test/integration/navigation_test.rb
|
90
|
+
- test/test_helper.rb
|
91
|
+
- test/piggybak_giftcerts_test.rb
|
92
|
+
- test/dummy/script/rails
|
93
|
+
- test/dummy/Rakefile
|
94
|
+
- test/dummy/README.rdoc
|
91
95
|
- test/dummy/app/controllers/application_controller.rb
|
96
|
+
- test/dummy/app/assets/stylesheets/application.css
|
97
|
+
- test/dummy/app/assets/javascripts/application.js
|
92
98
|
- test/dummy/app/helpers/application_helper.rb
|
93
99
|
- test/dummy/app/views/layouts/application.html.erb
|
94
|
-
- test/dummy/config/
|
95
|
-
- test/dummy/config/boot.rb
|
96
|
-
- test/dummy/config/database.yml
|
100
|
+
- test/dummy/config/locales/en.yml
|
97
101
|
- test/dummy/config/environment.rb
|
98
|
-
- test/dummy/config/
|
102
|
+
- test/dummy/config/routes.rb
|
99
103
|
- test/dummy/config/environments/production.rb
|
100
104
|
- test/dummy/config/environments/test.rb
|
101
|
-
- test/dummy/config/
|
102
|
-
- test/dummy/config/initializers/
|
103
|
-
- test/dummy/config/initializers/mime_types.rb
|
105
|
+
- test/dummy/config/environments/development.rb
|
106
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
104
107
|
- test/dummy/config/initializers/secret_token.rb
|
108
|
+
- test/dummy/config/initializers/mime_types.rb
|
105
109
|
- test/dummy/config/initializers/session_store.rb
|
106
|
-
- test/dummy/config/initializers/
|
107
|
-
- test/dummy/config/
|
108
|
-
- test/dummy/config/
|
109
|
-
- test/dummy/config.
|
110
|
-
- test/dummy/
|
111
|
-
- test/dummy/public/422.html
|
110
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
111
|
+
- test/dummy/config/initializers/inflections.rb
|
112
|
+
- test/dummy/config/boot.rb
|
113
|
+
- test/dummy/config/application.rb
|
114
|
+
- test/dummy/config/database.yml
|
112
115
|
- test/dummy/public/500.html
|
116
|
+
- test/dummy/public/422.html
|
113
117
|
- test/dummy/public/favicon.ico
|
114
|
-
- test/dummy/
|
115
|
-
- test/dummy/
|
116
|
-
- test/dummy/script/rails
|
117
|
-
- test/integration/navigation_test.rb
|
118
|
-
- test/piggybak_giftcerts_test.rb
|
119
|
-
- test/test_helper.rb
|
118
|
+
- test/dummy/public/404.html
|
119
|
+
- test/dummy/config.ru
|
120
120
|
homepage: http://www.piggybak.org/
|
121
121
|
licenses: []
|
122
122
|
post_install_message:
|
@@ -129,47 +129,53 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
129
129
|
- - ! '>='
|
130
130
|
- !ruby/object:Gem::Version
|
131
131
|
version: '0'
|
132
|
+
segments:
|
133
|
+
- 0
|
134
|
+
hash: 3703336564706327832
|
132
135
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
133
136
|
none: false
|
134
137
|
requirements:
|
135
138
|
- - ! '>='
|
136
139
|
- !ruby/object:Gem::Version
|
137
140
|
version: '0'
|
141
|
+
segments:
|
142
|
+
- 0
|
143
|
+
hash: 3703336564706327832
|
138
144
|
requirements: []
|
139
145
|
rubyforge_project:
|
140
|
-
rubygems_version: 1.8.
|
146
|
+
rubygems_version: 1.8.23
|
141
147
|
signing_key:
|
142
148
|
specification_version: 3
|
143
149
|
summary: Gift Certificate support for Piggybak.
|
144
150
|
test_files:
|
145
|
-
- test/
|
146
|
-
- test/
|
151
|
+
- test/integration/navigation_test.rb
|
152
|
+
- test/test_helper.rb
|
153
|
+
- test/piggybak_giftcerts_test.rb
|
154
|
+
- test/dummy/script/rails
|
155
|
+
- test/dummy/Rakefile
|
156
|
+
- test/dummy/README.rdoc
|
147
157
|
- test/dummy/app/controllers/application_controller.rb
|
158
|
+
- test/dummy/app/assets/stylesheets/application.css
|
159
|
+
- test/dummy/app/assets/javascripts/application.js
|
148
160
|
- test/dummy/app/helpers/application_helper.rb
|
149
161
|
- test/dummy/app/views/layouts/application.html.erb
|
150
|
-
- test/dummy/config/
|
151
|
-
- test/dummy/config/boot.rb
|
152
|
-
- test/dummy/config/database.yml
|
162
|
+
- test/dummy/config/locales/en.yml
|
153
163
|
- test/dummy/config/environment.rb
|
154
|
-
- test/dummy/config/
|
164
|
+
- test/dummy/config/routes.rb
|
155
165
|
- test/dummy/config/environments/production.rb
|
156
166
|
- test/dummy/config/environments/test.rb
|
157
|
-
- test/dummy/config/
|
158
|
-
- test/dummy/config/initializers/
|
159
|
-
- test/dummy/config/initializers/mime_types.rb
|
167
|
+
- test/dummy/config/environments/development.rb
|
168
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
160
169
|
- test/dummy/config/initializers/secret_token.rb
|
170
|
+
- test/dummy/config/initializers/mime_types.rb
|
161
171
|
- test/dummy/config/initializers/session_store.rb
|
162
|
-
- test/dummy/config/initializers/
|
163
|
-
- test/dummy/config/
|
164
|
-
- test/dummy/config/
|
165
|
-
- test/dummy/config.
|
166
|
-
- test/dummy/
|
167
|
-
- test/dummy/public/422.html
|
172
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
173
|
+
- test/dummy/config/initializers/inflections.rb
|
174
|
+
- test/dummy/config/boot.rb
|
175
|
+
- test/dummy/config/application.rb
|
176
|
+
- test/dummy/config/database.yml
|
168
177
|
- test/dummy/public/500.html
|
178
|
+
- test/dummy/public/422.html
|
169
179
|
- test/dummy/public/favicon.ico
|
170
|
-
- test/dummy/
|
171
|
-
- test/dummy/
|
172
|
-
- test/dummy/script/rails
|
173
|
-
- test/integration/navigation_test.rb
|
174
|
-
- test/piggybak_giftcerts_test.rb
|
175
|
-
- test/test_helper.rb
|
180
|
+
- test/dummy/public/404.html
|
181
|
+
- test/dummy/config.ru
|