googledocviewer 1.7.0 → 1.7.1

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: e1c66dab92d1a27eb4f16d4619be526de02b7f8c
4
- data.tar.gz: f5add233f7107d85dcc2b9664fa647d4724571f2
3
+ metadata.gz: 4f1fde63450b25516bbdfc55986e6b805292e4da
4
+ data.tar.gz: d8910f3a2e71948e9ddca3c424ee0dfece5ba471
5
5
  SHA512:
6
- metadata.gz: a046a23e1ec5a9725b99ec7fd53b983e003eed5968c0bca9530fab850ea75d4e646d536df481b0deffaa721546aae6a99e2838ca2b7206099b112e48b3d8f82a
7
- data.tar.gz: 5ee74144e54f150f23c3e322ea92757531a5d59e7d50d809b40a7291cef5f8360cafa3df3f8bf861dd68771791bd795282b9320baf4dedbca24e8de8d1e0d822
6
+ metadata.gz: 327886833816f85f8ad112f01aa4cf9cc6f936ca9823f1cbc87d8a8c1f53d2aac2336f2f7393e35cc632b41e5523bb1a5f521967436ba0b310faafd5551aa6aa
7
+ data.tar.gz: f4c3241c4446a974ba0796ad9b64f87f0ea2cb5a60ecbd4f0308e9db12ed4aec85a4bd6e15f9cb757556e9c4e5d45fb15458763b88bcc39aee476b790814efca
@@ -1,3 +1,3 @@
1
1
  module Googledocviewer
2
- VERSION = "1.7.0"
2
+ VERSION = "1.7.1"
3
3
  end
@@ -6,4 +6,4 @@
6
6
  * @author Jawish Hameed
7
7
  * @version 1.0
8
8
  */
9
- (function(a){a.fn.gdocsViewer=function(b){var c={width:"600",height:"700", security:"http"};if(b){a.extend(c,b)}return this.each(function(){var d=a(this).attr("href");var e=d.substring(d.lastIndexOf(".")+1);if(/^(tiff|pdf|ppt|pps|doc|docx)$/.test(e)){a(this).after(function(){var g=a(this).attr("id");var f=(typeof g!=="undefined"&&g!==false)?g+"-gdocsviewer":"";return'<div id="'+f+'" class="gdocsviewer"><iframe src=' + c.security + '://docs.google.com/viewer?embedded=true&url='+encodeURIComponent(d)+'" width="'+c.width+'" height="'+c.height+' style="border: none;"></iframe></div>'})}})}})(jQuery);
9
+ (function(a){a.fn.gdocsViewer=function(b){var c={width:"600",height:"700", security:"http"};if(b){a.extend(c,b)}return this.each(function(){var d=a(this).attr("href");var e=d.substring(d.lastIndexOf(".")+1);if(/^(tiff|pdf|ppt|pps|doc|docx)$/.test(e)){a(this).after(function(){var g=a(this).attr("id");var f=(typeof g!=="undefined"&&g!==false)?g+"-gdocsviewer":"";return'<div id="'+f+'" class="gdocsviewer"><iframe src="' + c.security + '://docs.google.com/viewer?embedded=true&url='+encodeURIComponent(d)+'"width="'+c.width+'" height="'+c.height+'" style="border: none;"></iframe></div>'})}})}})(jQuery);
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: googledocviewer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.0
4
+ version: 1.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Taylor Mitchell