dato 0.7.9 → 0.7.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2faaeda3b7c9f1317aeaa5291274cd1e66f7ec352f45f4513ca3e44747d6d816
4
- data.tar.gz: 4a8afc49f92605e0c1bcbdd5473d07bbc83f34d7f71e20cf44414489eaa48504
3
+ metadata.gz: 3c0c8876b3874673682917304166e526920fde1a607306d8a75335f6e92dbcdc
4
+ data.tar.gz: 25ff226def0f2c3633bce0b17053bc0734516639991d7530e32a482e78aa17a0
5
5
  SHA512:
6
- metadata.gz: e64850f3e6bb5d754e1d365d03538d42e37b6798ac177bd6e6eb1297e5431a43f4261c1ad29c05f9d0ecb29d8e7c5200c1d9f4fecb1b4440e3fa37f9b7c7bfc7
7
- data.tar.gz: cd164fe876d2bd58d23c742ae8b96bffa66e58f896d43f641ac0fe5c2ba736b4d5476aac7b17091c78154ec96a617d210d841039fcd92a34c562a356c4dda053
6
+ metadata.gz: d07b5291010a9703bb29449425836fde87132d3776f5b7f7ed5479340f2935cfbde6e98ac0868ecfca68f767cf969844dba118ea66beb6acb8c785dfc6cd9e77
7
+ data.tar.gz: 57ee98d19caf26eefaee762afb46fd44448400d600858386526fafc56f163df330249efb16d6362a6a6b393b76b7c6d4b84e6f5e724ab9e09521819332b678df
@@ -1,3 +1,7 @@
1
+ # 0.7.10
2
+
3
+ * Fixed SEO title retrieval. Now it fallbacks to default SEO title is item title is blank
4
+
1
5
  # 0.7.9
2
6
 
3
7
  * Added new attributes to uploads
@@ -28,7 +28,7 @@ module Dato
28
28
  fallback_seo_value = fallback_seo &&
29
29
  fallback_seo.send(attribute)
30
30
 
31
- item_seo_value || alternative || fallback_seo_value
31
+ item_seo_value.presence || alternative.presence || fallback_seo_value
32
32
  end
33
33
 
34
34
  def tag(tag_name, attributes)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Dato
4
- VERSION = '0.7.9'
4
+ VERSION = '0.7.10'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dato
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.9
4
+ version: 0.7.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefano Verna
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-12-03 00:00:00.000000000 Z
11
+ date: 2020-01-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler