googledocviewer 1.0.0 → 1.5.0

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: 7632e42cc46c2bafd8b4133b6e2d8a0b67082f2f
4
- data.tar.gz: 420255225825c9b261ae3a238a66c2b38542ccad
3
+ metadata.gz: e32689db720119d5cfc08ef348742b958f3af66f
4
+ data.tar.gz: 3d148c080bab66900d188662a9294bdad5a64332
5
5
  SHA512:
6
- metadata.gz: 18f7cbe6296c8f78d0f18dc13e149ed5c4861345363a20177f030ec0c08d9c3bbbc6f89778983f9de88059fe9d6ceb187791d8ffa4eadbc31c95971eedcfaebb
7
- data.tar.gz: 311ced16050a73c0edafda8a7d38c480942166b0fe28455e9f6529c627f54290068aad934e2462c43b5bd8f0de8177801649e6cec07f6d97fbadd2527d7590c0
6
+ metadata.gz: 941d402adda6281fc8e04b6edff9cc867320d7bc9c524708d875ed09d6650102c5d21f1777e36ab8e3875ffaa8fb6e3300f10fc24c5e93a075c90c4390eb6769
7
+ data.tar.gz: 8bd907426de23d47afad28a7a026e179b4140e4c0e7d8f51c1ca26245c383ede857576936b04cff7825096d819103d59d72d1097ce68ff080944dc0712a2b52d
@@ -1,3 +1,3 @@
1
1
  module Googledocviewer
2
- VERSION = "1.0.0"
2
+ VERSION = "1.5.0"
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.0.0
4
+ version: 1.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Taylor Mitchell