mamemose 0.4.0.3 → 0.4.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  mamemose: Markdown memo server
2
2
  ====
3
3
 
4
+ version 0.4.0.4
5
+
4
6
  概要
5
7
  ----
6
8
 
@@ -284,6 +286,10 @@ FAQ と予想されるもの
284
286
  - Haskell 用のは書きました [gist](https://gist.github.com/3969549)
285
287
  - reStructuredText 対応して
286
288
  - Python で書いてください
289
+ - 更新のとき自動でページ最下部に行ってほしい
290
+ - フッタのタグを `<footer id="footer">` としてあるので、
291
+ `http://host/path/to/document.md#footer` にアクセスして編集すると
292
+ 更新のとき自動でページ最下部に行ってくれます。
287
293
  - 表、テーブル、 table を書きたいんだけど
288
294
  - **実は書けました。** 以下のようにします。
289
295
 
@@ -1,5 +1,5 @@
1
1
  module Mamemose
2
- VERSION = "0.4.0.3"
2
+ VERSION = "0.4.0.4"
3
3
 
4
4
  module WebSocket
5
5
  VERSION = "0.1.0"
data/lib/mamemose.rb CHANGED
@@ -226,7 +226,7 @@ private
226
226
 
227
227
  def get_title(filename, str="")
228
228
  return escaped_basename(filename) if !markdown?(filename)
229
- title = str.split(/$/)[0]
229
+ title = str.split(/$/)[0].gsub(/^#*\s*/, '')
230
230
  return title =~ /^\s*$/ ? escaped_basename(filename) : title
231
231
  end
232
232
 
metadata CHANGED
@@ -1,69 +1,78 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mamemose
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0.3
4
+ version: 0.4.0.4
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - daimatz
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2013-03-30 00:00:00.000000000 Z
12
+ date: 2013-04-06 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: redcarpet
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
- - - '>='
19
+ - - ! '>='
18
20
  - !ruby/object:Gem::Version
19
21
  version: 2.2.0
20
22
  type: :runtime
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
23
26
  requirements:
24
- - - '>='
27
+ - - ! '>='
25
28
  - !ruby/object:Gem::Version
26
29
  version: 2.2.0
27
30
  - !ruby/object:Gem::Dependency
28
31
  name: htmlentities
29
32
  requirement: !ruby/object:Gem::Requirement
33
+ none: false
30
34
  requirements:
31
- - - '>='
35
+ - - ! '>='
32
36
  - !ruby/object:Gem::Version
33
37
  version: 4.3.0
34
38
  type: :runtime
35
39
  prerelease: false
36
40
  version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
37
42
  requirements:
38
- - - '>='
43
+ - - ! '>='
39
44
  - !ruby/object:Gem::Version
40
45
  version: 4.3.0
41
46
  - !ruby/object:Gem::Dependency
42
47
  name: thor
43
48
  requirement: !ruby/object:Gem::Requirement
49
+ none: false
44
50
  requirements:
45
- - - '>='
51
+ - - ! '>='
46
52
  - !ruby/object:Gem::Version
47
53
  version: 0.17.0
48
54
  type: :runtime
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
51
58
  requirements:
52
- - - '>='
59
+ - - ! '>='
53
60
  - !ruby/object:Gem::Version
54
61
  version: 0.17.0
55
62
  - !ruby/object:Gem::Dependency
56
63
  name: em-websocket
57
64
  requirement: !ruby/object:Gem::Requirement
65
+ none: false
58
66
  requirements:
59
- - - '>='
67
+ - - ! '>='
60
68
  - !ruby/object:Gem::Version
61
69
  version: 0.5.0
62
70
  type: :runtime
63
71
  prerelease: false
64
72
  version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
65
74
  requirements:
66
- - - '>='
75
+ - - ! '>='
67
76
  - !ruby/object:Gem::Version
68
77
  version: 0.5.0
69
78
  description: Markdown memo server
@@ -94,25 +103,26 @@ files:
94
103
  - sample.png
95
104
  homepage: https://github.com/daimatz/mamemose
96
105
  licenses: []
97
- metadata: {}
98
106
  post_install_message:
99
107
  rdoc_options: []
100
108
  require_paths:
101
109
  - lib
102
110
  required_ruby_version: !ruby/object:Gem::Requirement
111
+ none: false
103
112
  requirements:
104
- - - '>='
113
+ - - ! '>='
105
114
  - !ruby/object:Gem::Version
106
115
  version: '0'
107
116
  required_rubygems_version: !ruby/object:Gem::Requirement
117
+ none: false
108
118
  requirements:
109
- - - '>='
119
+ - - ! '>='
110
120
  - !ruby/object:Gem::Version
111
121
  version: '0'
112
122
  requirements: []
113
123
  rubyforge_project:
114
- rubygems_version: 2.0.0
124
+ rubygems_version: 1.8.23
115
125
  signing_key:
116
- specification_version: 4
126
+ specification_version: 3
117
127
  summary: Markdown memo server
118
128
  test_files: []
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: 545fbe99d10fb35061bbfec50f5aefd514599e70
4
- data.tar.gz: a25605115077b430b9edbad9ed152f054abea889
5
- SHA512:
6
- metadata.gz: 5c7416e49f4fe27d1675e227092003fa9af7de3bd3545518de4bb32c747d5fd0634a548ba74d85a998e5e44b481765862690e48395d5c6ddeb71fe6507ed8cd5
7
- data.tar.gz: 4f41615561ed6da7426a403bbc400e0bad18e4851c18208a0e65e40fa7a3377d84176592b214f66f3d26340d1cee86cae67af37e29b9517ea45a4492673a2b72