caboose-cms 0.5.168 → 0.5.169

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YWZjNTM3ZmJmNTNlYjA5ZTBkMzkwZGM3ZmVlODAwMzFiYjZhNWVlNw==
4
+ MjcyYjYzMjY4OTE5NGI3ODc0OTBiNjIyZTk1ZDUxMjc4ZThhNTBlNw==
5
5
  data.tar.gz: !binary |-
6
- NzNlZjZjNDkxNGE5N2Q5N2NmMjBkOTQ5YWUxNTVhYzMwNTkwNDc4ZA==
6
+ MjBjMjc4M2JlZjYwYTBhZjFiZDIyNjc0ZjA4MmVmOGYyY2M5NGNmNQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZTViNDc5NGM4ZjE1YmI1ZWY5NTZmOTc2NDYwMWU0ZjFlNGE4YjBhNDQ1NmYz
10
- ZDEyMzE3MDI5YzRlMjJlNDQzMWFlOGI1N2VlMjgyNTAwNmY3NGQ2NTkwZTk5
11
- ZDc4MWM5NTEzNGZkZDdkZTMxOTg4NzEzY2JiODkxNmNkYTc5ODI=
9
+ YmJhYzJlN2RlMDVhZWRkNTFkMjM1NDhhMTRiZjdlMmY2ZTZkOGJlNzhkMjQy
10
+ Mjg1MDhmNjZhODVmOTQ5NzcwOGRlMjIwMGJhMWNiNTNhNmM2MjcwY2NlNDA1
11
+ ZGFkOGM3MTY3MTMxY2IwMmZjNTAxMjQ1YTAzY2I1N2NlZDQ0YzU=
12
12
  data.tar.gz: !binary |-
13
- ZGIxZDdmMjE3OTViNDVkMzM3MWQ3ZjNlNzdlNjU5MjQ0MmMxMDQ2OTM2NTE5
14
- MGYzZDJiODE0NjY1MGI0ZTY4NTE1NGZkNjBkNTc3ZWU1NDllOGVlZGY0YTI0
15
- YTc2MTFmN2M2ZTk5ZTQ4OTNmODdmNjg5NmIyYjU0M2IxYjhkOTU=
13
+ NWE4ZmVjMDU2NTVhODQ3NzE2ODBkMTJmNGFjMDBkOThmM2JiYjBhNTkwMjA4
14
+ M2E5NWE5ZGUwNWZlYWI5MTQ0NjRmNWVlNDQ1ZDYwZjAyMWZlY2RhMzE1MzUw
15
+ ODM1MTgyNjUzZGRiY2FmMGI1MzZjYTYwODAxYmM2M2E5MDAxMTI=
@@ -435,8 +435,8 @@ MyAccountOrderController.prototype = {
435
435
  form.empty().append(html);
436
436
  form.slideDown();
437
437
  $('#payment_message').empty();
438
- $('#payment_confirm').click(function(e) {
439
- $('input[name=billing-cc-exp]').val($('#billing-expiration-month').val() + $('#billing-expiration-year').val());
438
+ $('#payment_confirm').click(function(e) {
439
+ $('#expiration').val($('#month').val() + $('#year').val());
440
440
  $('#payment_message').empty().html("<p class='loading'>Processing payment...</p>");
441
441
  $('#payment_form').slideUp();
442
442
  $('#payment').submit();
@@ -36,8 +36,8 @@ valid_address = ba &&
36
36
  <div class="field" id="expiry">
37
37
  <span class="field-text">Expiration</span>
38
38
  <input id="expiration" name="x_exp_date" type="hidden" />
39
- <select id="month" name="month"><% (1..12).each do |i| %><option value="<%= (i<10 ? "0#{i}" : i) %>"><%= (i<10 ? "0#{i}" : i) %> - <%= DateTime.new(2000, i, 1).strftime("%b") %></option><% end %></select> /
40
- <select id="year" name="year"><% (DateTime.now.year...DateTime.now.year + 20).each do |i| %><option value="<%= i-2000 %>"><%= i %></option><% end %></select>
39
+ <select id="month" name="month" ><% (1..12).each do |i| %><option value="<%= (i<10 ? "0#{i}" : i) %>"><%= (i<10 ? "0#{i}" : i) %> - <%= DateTime.new(2000, i, 1).strftime("%b") %></option><% end %></select> /
40
+ <select id="year" name="year" ><% (DateTime.now.year...DateTime.now.year + 20).each do |i| %><option value="<%= i-2000 %>"><%= i %></option><% end %></select>
41
41
  </div>
42
42
  <input type='button' value='Confirm Payment' id='payment_confirm' class='btn' />
43
43
  </form>
@@ -1,3 +1,3 @@
1
1
  module Caboose
2
- VERSION = '0.5.168'
2
+ VERSION = '0.5.169'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caboose-cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.168
4
+ version: 0.5.169
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry