googledocviewer 0.0.5 → 1.0.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: 4f59ccd843abbc313f245bfb962ae478a18a5e43
4
- data.tar.gz: aebc627ad7e7f573b1313ed96086919212ade94c
3
+ metadata.gz: 7632e42cc46c2bafd8b4133b6e2d8a0b67082f2f
4
+ data.tar.gz: 420255225825c9b261ae3a238a66c2b38542ccad
5
5
  SHA512:
6
- metadata.gz: 8525a76174996bfde97d7e143136fd4658d2525bf4f42cf46ae24e8b60ba9046d3dca16ba2a54017052d3c974fb9b1a4bd0b5a2516dcd3c0f8f21d4ad50f73da
7
- data.tar.gz: a978e9b0403af91a35c06876323cbfa1d44e6f9b00daacb59b1fdd92919d47bdc124640137dfb2c82e55ab0ce0749a69f90acc15a9c3ea9d5a31553455031dee
6
+ metadata.gz: 18f7cbe6296c8f78d0f18dc13e149ed5c4861345363a20177f030ec0c08d9c3bbbc6f89778983f9de88059fe9d6ceb187791d8ffa4eadbc31c95971eedcfaebb
7
+ data.tar.gz: 311ced16050a73c0edafda8a7d38c480942166b0fe28455e9f6529c627f54290068aad934e2462c43b5bd8f0de8177801649e6cec07f6d97fbadd2527d7590c0
@@ -1,3 +1,3 @@
1
1
  module Googledocviewer
2
- VERSION = "0.0.5"
2
+ VERSION = "1.0.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=' + settings.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: 0.0.5
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Taylor Mitchell