caboose-cms 0.5.153 → 0.5.154

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
- MWNjNjk3MjIzZDk4YTg4ZmExYjA5YjgwMWExYTFmOWQ4NzZiYzY2MA==
4
+ NDFjNWI1ZTNlNjM5ZTQ0NGM3NGJkNGI4NzNmOGQ0ZDY0YWU1YzVjZg==
5
5
  data.tar.gz: !binary |-
6
- YzU5ODNlNTViNGYyMDRiNTg2NGI0MzU0YzE1NjI4N2MxMWNiYTQ0Mw==
6
+ YTdiMWUzOTE5N2ZlNzMyNGFlN2QxM2ExNTUwMWIyODljZWM4MGE5Yw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MjcyYmU1ZGFhYTI5NjUyZWM4NWZiOTE3ODE4ZDU2ZWIwMzUzMDUzOGQ2ZWEy
10
- MTYyZDg5ZmU3ZTEwYzhiOWI5ZGVjNzUyOWUyZGFjOWYzYzFmMTY0NGM0Yzhm
11
- YzlkNjIxNDRiOTg0NTc1NTBlYTAwZDE3OTNiNDZjZjcyZjIzNGM=
9
+ MjVhZWEyYzFmZDEyZWViMjk3ODdlZmQ5NmRjMzM5ZTI2YzYwODU5ZTAyYWE1
10
+ Yzg3OWViNmVjMGMyMDVkNzc0ZmNjYjA4ZGU1Mjg0OTk2ODMwNGVhM2YxNWNh
11
+ MDEzNzNhZGZmOWEyOTBmNTBhMWE1ZjNjNjE5ZTQzYzIwNmUyOTI=
12
12
  data.tar.gz: !binary |-
13
- NzZlYTQ3NjI4ZjFlZGMyZWIzMjFmMjY4ZDJkZWMzNDNkOWJmZmIzNWJiODM4
14
- OTkzNzZhZThjZDU3OWM0Yjg0YmQzY2FiZGViZDkzYzcxMTA2NzlkM2Q3OWNj
15
- MzE0YTU4OWJkZTIwMTEzYjRkMjg5ZDBmYTllYTZlMGUwM2VhOTI=
13
+ MWJlZDE3NjA5MGNiNGYxN2YxNjRiZjQzZmIwOGQ1NTU5ZmQwNDlkZTBmMWM0
14
+ NzI0MjgxNDg1YjZlOWM1MjdmZTVmNjk5NWU1ZGJiM2NmN2U0MTZjMGM3MmVh
15
+ YjI1YTVmNzU3MjRiODhjNmY0OWEzN2YxNzdiNWY1OTBkOTVmMjM=
@@ -505,12 +505,12 @@ OrderController.prototype = {
505
505
  {
506
506
  var div = $('<div/>');
507
507
  if (li.is_gift)
508
- {
508
+ {
509
509
  div.append($('<ul/>').addClass('gift_options')
510
510
  .append($('<li/>').html("This item is a gift."))
511
511
  .append($('<li/>').html("Gift wrap? " + (li.gift_wrap ? 'Yes' : 'No')))
512
512
  .append($('<li/>').html("Hide prices? " + (li.hide_prices ? 'Yes' : 'No')))
513
- .append($('<li/>').html("Gift message: " + (li.gift_message.length > 0 ? li.gift_message : '[Empty]')))
513
+ .append($('<li/>').html("Gift message: " + (li.gift_message && li.gift_message.length > 0 ? li.gift_message : '[Empty]')))
514
514
  );
515
515
  }
516
516
  else
@@ -1,3 +1,3 @@
1
1
  module Caboose
2
- VERSION = '0.5.153'
2
+ VERSION = '0.5.154'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caboose-cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.153
4
+ version: 0.5.154
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-13 00:00:00.000000000 Z
11
+ date: 2015-03-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pg