nwiki 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.org +2 -0
- data/lib/nwiki/version.rb +1 -1
- data/spec/requests/articles_spec.rb +2 -0
- 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: d1f51f0b1a79504a0d2803e3fa0f49e04329a157
|
4
|
+
data.tar.gz: 8b5290ffcb10ebc03b9554b3001e9bc584d6d115
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e6301713192bcdcab3d973a5645c4e09bd6bb9791f9938a104fff0afd2d23b2ceb084fde281aa2f7c4187c55511d77968d68531d710b155826786530aac4cf22
|
7
|
+
data.tar.gz: bc7cb0305d7ee83ca3b9fddf3f5c232d78ea975b8f67bca6ba831f71e85eb4fc214f6722e1e54b01fe0c3269af4b8f3b6912b1ea83d9904fdb3cb0f1ad472cd3
|
data/CHANGELOG.org
CHANGED
data/lib/nwiki/version.rb
CHANGED
@@ -26,6 +26,7 @@ module Nwiki
|
|
26
26
|
let(:path) { '/articles/' }
|
27
27
|
|
28
28
|
it { expect(subject).to be_ok }
|
29
|
+
it { expect(subject["Content-Type"]).to include("charset=UTF-8") }
|
29
30
|
it { expect(subject).to match %r!\bfoo\b! }
|
30
31
|
it { expect(subject).to match %r!\b1\b! }
|
31
32
|
it { expect(subject).to match %r!\b日本語ディレクトリ\b! }
|
@@ -59,6 +60,7 @@ module Nwiki
|
|
59
60
|
let(:path) { '/articles/foo' }
|
60
61
|
|
61
62
|
it { expect(subject).to be_ok }
|
63
|
+
it { expect(subject["Content-Type"]).to include("charset=UTF-8") }
|
62
64
|
it { expect(subject).to match %r!<title[^>]*>foo - ヽ(´・肉・`)ノログ</title>!}
|
63
65
|
it { expect(subject).to match %r!<h2[^>]*>Foo</h2>! }
|
64
66
|
it { expect(subject).to match %r!<h3[^>]*>Bar</h3>! }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nwiki
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- niku
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-08-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|