methan 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/exe/methan +1 -0
- data/lib/methan.rb +1 -0
- data/lib/methan/md_renderer.rb +1 -0
- data/lib/methan/server.rb +2 -1
- data/lib/methan/util.rb +1 -0
- data/lib/methan/version.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a7db260d051bde44805ae2cbaf37df18da9adc1
|
4
|
+
data.tar.gz: 397e86edcbb3d8fb87a158b14a1a7851a86bc975
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3afd478c2d066dbb3c6ce0da9f0d2880c63bb9eaa1422c57754e05db3109a38debef1a2bc79bf116ce28160edf175ffb3fb3394e7e3505026d049cb670b61d46
|
7
|
+
data.tar.gz: 306dd174897384ed05cb1fa5e26393c4052c6172385dc8d4a3615be1c44f51b91dba293d24ad8c5254443e87330e0afb45e8484fa250af07f59421fa7134146f
|
data/exe/methan
CHANGED
data/lib/methan.rb
CHANGED
data/lib/methan/md_renderer.rb
CHANGED
data/lib/methan/server.rb
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
# coding: utf-8
|
1
2
|
|
2
3
|
require "erb"
|
3
4
|
require "rack"
|
@@ -95,7 +96,7 @@ module Methan
|
|
95
96
|
}
|
96
97
|
File.open(file) do |f|
|
97
98
|
title = f.gets
|
98
|
-
title = title.gsub(/^\#\s+/, "").gsub(/\s+\#$/, "").strip
|
99
|
+
title = title.force_encoding('utf-8').gsub(/^\#\s+/, "").gsub(/\s+\#$/, "").strip
|
99
100
|
dat[:title] = title
|
100
101
|
end
|
101
102
|
dat
|
data/lib/methan/util.rb
CHANGED
data/lib/methan/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: methan
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shinichirow KAMITO
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-04-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|