dato 0.6.8 → 0.6.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dato/local/field_type/seo.rb +4 -3
- data/lib/dato/utils/meta_tags/twitter_card.rb +1 -1
- data/lib/dato/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5ae3d060427e32a0e8240e4ec18a7dc66d2457aa9be2101679d21a637226121a
|
4
|
+
data.tar.gz: 30a4ef8ebf7dccbf40787016c1ab328a8bb39b5ba1d6bcc7b8d5291e71b99688
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd48be79a2d9ce658ae571353e9c2e788e16f7ee78645d59119074b2ff4ee56c45e3b7bfd70547ec81038403cb23f94503186f5a48ef4746edf26bf6b3e419a9
|
7
|
+
data.tar.gz: fc73eddecfa27ec33119090bacbf6275fa79e96b75c262761b4a54edf5b9d73261d627327f7b2290250c998c64fc5bc413da8e31b44b6c6e00ae6ee33d44dca2
|
@@ -3,17 +3,18 @@ module Dato
|
|
3
3
|
module Local
|
4
4
|
module FieldType
|
5
5
|
class Seo
|
6
|
-
attr_reader :title, :description
|
6
|
+
attr_reader :title, :description, :twitter_card
|
7
7
|
|
8
8
|
def self.parse(value, repo)
|
9
|
-
value && new(value[:title], value[:description], value[:image], repo)
|
9
|
+
value && new(value[:title], value[:description], value[:image], value[:twitter_card], repo)
|
10
10
|
end
|
11
11
|
|
12
|
-
def initialize(title, description, image, repo)
|
12
|
+
def initialize(title, description, image, twitter_card, repo)
|
13
13
|
@title = title
|
14
14
|
@description = description
|
15
15
|
@image = image
|
16
16
|
@repo = repo
|
17
|
+
@twitter_card = twitter_card
|
17
18
|
end
|
18
19
|
|
19
20
|
def image
|
data/lib/dato/version.rb
CHANGED
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.6.
|
4
|
+
version: 0.6.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stefano Verna
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-11-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|