mamemose 0.4.0.1 → 0.4.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.md CHANGED
@@ -132,7 +132,8 @@ $ mamemose s /path/to/file 8000
132
132
  - `PORT`
133
133
  - mamemose ポート。 http://localhost:PORT/ にアクセス。デフォルトは 20000
134
134
  - `WS_PORT`
135
- - WebSocket サーバのポート。デフォルトは 30000
135
+ - WebSocket サーバのポート。
136
+ 特に利用者から見えるわけではありませんが。デフォルトは 20001
136
137
  - `MARKDOWN_PATTERN`
137
138
  - Markdown ドキュメントと見なすファイルパターンを正規表現で。デフォルトは `/\.(md|markdown)$/`
138
139
  - `INDEX_PATTERN`
data/lib/mamemose/env.rb CHANGED
@@ -4,7 +4,7 @@ load conf if File.exists?(conf)
4
4
  HOST= 'localhost' if !defined?(HOST)
5
5
  DOCUMENT_ROOT = "~/Dropbox/memo" if !defined?(DOCUMENT_ROOT)
6
6
  PORT = 20000 if !defined?(PORT)
7
- WS_PORT = 30000 if !defined?(WS_PORT)
7
+ WS_PORT = 20001 if !defined?(WS_PORT)
8
8
  RECENT_NUM = 10 if !defined?(RECENT_NUM)
9
9
  RECENT_PATTERN = /.*/ if !defined?(RECENT_PATTERN)
10
10
  IGNORE_FILES = ['.DS_Store','.AppleDouble','.LSOverride','Icon',/^\./,/~$/,
@@ -1,5 +1,5 @@
1
1
  module Mamemose
2
- VERSION = "0.4.0.1"
2
+ VERSION = "0.4.0.2"
3
3
 
4
4
  module WebSocket
5
5
  VERSION = "0.1.0"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mamemose
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0.1
4
+ version: 0.4.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: