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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8bad22bcad833d28f87b0faef3ae2cc7be1ae572
4
- data.tar.gz: 00f0f7bc597bc49f64e0c193929f9b30f84195c2
3
+ metadata.gz: 1ffd1c14964c4bc53909571f2eb5e52c1467ca22
4
+ data.tar.gz: 22398c445e613cb4209bbc0374cb4ad0ea63a7a3
5
5
  SHA512:
6
- metadata.gz: 1c895c0b051d23f05dd667559df39e523daad6c5594bac40b29524fc6df255d8f4eb490a8c877984d1c8a9edd5dbf077f7e3b6ed05ed83cc7087f7584ab9cb06
7
- data.tar.gz: b98d19fd3c090c67d0967289e988b3f0aa820dd3483011d0b3cd10a6656b03fb7b1f8cf76059f05298923fac21f5a7607bf941f8c8e1dd2d2e09a00f9443ca2d
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
@@ -1,3 +1,3 @@
1
1
  module Onebox
2
- VERSION = "1.5.47"
2
+ VERSION = "1.5.48"
3
3
  end
@@ -1,4 +1,4 @@
1
- <div class='googledocs-onebox-logo g-{{type}}-logo'></div>
1
+ <a href='{{{link}}}' target="_blank"><span class='googledocs-onebox-logo g-{{type}}-logo'></span></a>
2
2
 
3
3
  <h3><a href='{{{link}}}' target="_blank">{{title}}</a></h3>
4
4
 
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.47
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-10 00:00:00.000000000 Z
13
+ date: 2016-08-11 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: multi_json