nwiki 0.0.4 → 0.0.5
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/CHANGELOG.org +2 -0
- data/lib/nwiki/version.rb +1 -1
- data/spec/nwiki/core/wiki_spec.rb +7 -2
- metadata +2 -8
data/CHANGELOG.org
CHANGED
data/lib/nwiki/version.rb
CHANGED
|
@@ -7,9 +7,13 @@ module Nwiki
|
|
|
7
7
|
let(:path) { 'spec/examples/sample.git' }
|
|
8
8
|
subject { described_class.new(path) }
|
|
9
9
|
|
|
10
|
+
describe '.parser' do
|
|
11
|
+
it { described_class.parser.should eq Orgmode::Parser }
|
|
12
|
+
end
|
|
13
|
+
|
|
10
14
|
describe '.canonicalize_path' do
|
|
11
|
-
it { described_class.canonicalize_path('/foo').should eq 'foo' }
|
|
12
|
-
it { described_class.canonicalize_path('
|
|
15
|
+
it { described_class.canonicalize_path('/foo/bar/').should eq 'foo/bar/' }
|
|
16
|
+
it { described_class.canonicalize_path('/%E6%97%A5%E6%9C%AC%E8%AA%9E').should eq '日本語' }
|
|
13
17
|
end
|
|
14
18
|
|
|
15
19
|
describe '#find' do
|
|
@@ -30,6 +34,7 @@ module Nwiki
|
|
|
30
34
|
describe '#name' do
|
|
31
35
|
it { subject.name.should eq 'ヽ(´・肉・`)ノログ' }
|
|
32
36
|
end
|
|
37
|
+
|
|
33
38
|
end
|
|
34
39
|
end
|
|
35
40
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: nwiki
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.5
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2012-
|
|
12
|
+
date: 2012-11-09 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: gollum
|
|
@@ -272,18 +272,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
272
272
|
- - ! '>='
|
|
273
273
|
- !ruby/object:Gem::Version
|
|
274
274
|
version: '0'
|
|
275
|
-
segments:
|
|
276
|
-
- 0
|
|
277
|
-
hash: 3374850286995081300
|
|
278
275
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
279
276
|
none: false
|
|
280
277
|
requirements:
|
|
281
278
|
- - ! '>='
|
|
282
279
|
- !ruby/object:Gem::Version
|
|
283
280
|
version: '0'
|
|
284
|
-
segments:
|
|
285
|
-
- 0
|
|
286
|
-
hash: 3374850286995081300
|
|
287
281
|
requirements: []
|
|
288
282
|
rubyforge_project:
|
|
289
283
|
rubygems_version: 1.8.23
|