googledocviewer 0.0.2 → 0.0.3

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: 6ec512dbf54982a42ca909754f03e8205d29b051
4
- data.tar.gz: 44b0ecb96eefbe95b94e2c3f83e776f4fd25faaa
3
+ metadata.gz: 335829c84e7949e537006cbe01b9ed914f413508
4
+ data.tar.gz: 9186eb93ce7df0d0d897688c9b30bcce5cf939d4
5
5
  SHA512:
6
- metadata.gz: 94a8ec90713de254d05596d209bbb5bf188a94c2124ff9b1ef48aa9f0722f8c29611115504b3fe124b4aa64de21f76fd40970423616e29fdd302932725e9cf51
7
- data.tar.gz: 8bc04416a25e5a4940b40380a3de0c898f41f0b5c901a4f4591a183e90a90906ee00d05c9ed61f544cc73b70306d8ad829b78eeea00baf3c4e20b197d7116c3e
6
+ metadata.gz: c80e1e0546958170a37a068e19d6aa8dca31ef1bf208056a921de85f53b30ad63b8fbb4daabae7fd1b09dba281dbe85ecdd7d9363e79be41203e73618f00cea9
7
+ data.tar.gz: ace8f9f2255b898ea6a10ae734159f21ce54dca61814e322ea1599a591ca148e56299dcb704442944fccf22457fa7198801f3665d9490e41b603fb6e49fdeb15
data/README.md CHANGED
@@ -47,7 +47,19 @@ Initialize gDocsViewer and set it to process the URL with id or all URLs with th
47
47
  or
48
48
  ```html
49
49
  $('#embedURL').gdocsViewer();
50
+ ```
51
+
52
+ ## Settings
53
+
54
+ The default width is 600px height is 700px. You can change this in your javascript by passing in a json object for width and height. For example, you would change width to 400px and height to 500px by doing...
55
+
56
+ ```html
57
+ $('a.embed').gdocsViewer({width :'400',height : '500'});
50
58
  ```
59
+ or
60
+ ```html
61
+ $('#embedURL').gdocsViewer({width :'400',height : '500'});
62
+ ```
51
63
 
52
64
  ## Contributing
53
65
 
@@ -1,3 +1,3 @@
1
1
  module Googledocviewer
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: googledocviewer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Taylor Mitchell
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-03 00:00:00.000000000 Z
11
+ date: 2014-07-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jquery-rails