onebox 1.5.47 → 1.5.48
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/onebox/engine/google_docs_onebox.rb +2 -2
- data/lib/onebox/version.rb +1 -1
- data/templates/googledocs.mustache +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1ffd1c14964c4bc53909571f2eb5e52c1467ca22
|
4
|
+
data.tar.gz: 22398c445e613cb4209bbc0374cb4ad0ea63a7a3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd4e9e7929962315413982f1c8711a8a3330554cbd7e18836266c352fa17112cf1447f945b356ec5acadfa8b0726d3d9be2b7999ec6e7897b5dccdfe04029983
|
7
|
+
data.tar.gz: ec58c5c687c90e5564f4829b6b45324bfa49f306e33c0aa9f3aed4ca598e3bff26be0473d18e7b996839c81acccc867c6a9273d6cd802923ad62e0467ee4df8c
|
@@ -25,8 +25,8 @@ module Onebox
|
|
25
25
|
def data
|
26
26
|
og_data = get_og_data
|
27
27
|
result = { link: link,
|
28
|
-
title: og_data[:title],
|
29
|
-
description: og_data[:description],
|
28
|
+
title: og_data[:title] || "Google #{shorttype.to_s.capitalize}",
|
29
|
+
description: og_data[:description] || "This #{shorttype.to_s.chop.capitalize} is private",
|
30
30
|
type: shorttype
|
31
31
|
}
|
32
32
|
result
|
data/lib/onebox/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: onebox
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.48
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joanna Zeta
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2016-08-
|
13
|
+
date: 2016-08-11 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: multi_json
|