showdown 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: e21a1ce124c2b79d6a9485b314919ab794baca28
4
- data.tar.gz: 43fed1650145f37f95d1d1d1ebeece295b9a1c49
3
+ metadata.gz: 6f60cf030f44a32c37050c2aa586ada218c46a81
4
+ data.tar.gz: d3b23a782759ec64c187b7f02f2f3cb4c5ac990b
5
5
  SHA512:
6
- metadata.gz: 17c445eadc4c02a9e571379d037fcf1f6f6d5ecff00244ccdfdbac8787c38bdef539cc37778f1bee74899a1cd565cfd6ef6266860e1788b27778d63b5480268f
7
- data.tar.gz: 5091d3896fd4dcc171fc2de7c59bd6a57a602851990260974a0d70780c5b4229dfb4a86042c652a0c23fcb49f474379be93b1a79b30e926d13293f415a855064
6
+ metadata.gz: 6eef93f7bde1d6f226e0665a8330d0c088babcd295ffd87e907c22c9b47d50a4e7c2df0ac2d0afb63105282a6b0131a1bf09aa9b1c9a72d42505f7dde2c62ea4
7
+ data.tar.gz: bec2daba14813316384092df3259d38673ef6a5d111f1c2b666086e69044887e4a48af038e899cf38b6c2e63e0f21e6df1a7537034c6fb2a72b3e8260f91db41
data/README.md CHANGED
@@ -8,7 +8,13 @@ Near-Real time Markdown viewer.
8
8
 
9
9
  ## Usage
10
10
 
11
+ 1. Run showdown server.
12
+
13
+ ```
11
14
  $ showdown /path/to/your/file.md
15
+ ```
16
+
17
+ 2. Open your favorite brower and access `http://localhost:3000/`.
12
18
 
13
19
  ## Contributing
14
20
 
@@ -6,7 +6,7 @@
6
6
  <script type="text/javascript">
7
7
  var ws;
8
8
  function init() {
9
- ws = new WebSocket("ws://localhost:3000/websocket");
9
+ ws = new WebSocket("ws://" + location.hostname + ":" + location.port + "/websocket");
10
10
 
11
11
  ws.onopen = function() {
12
12
  // output("onopend");
@@ -1,3 +1,3 @@
1
1
  module Showdown
2
- VERSION = '0.0.2'
2
+ VERSION = '0.0.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: showdown
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
  - Fumitaka Tokumitsu