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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 609576afeda6cc82444c04db2af2e13365de24f0
4
- data.tar.gz: d129328ecf29465291517a2a1ee0696d0d849ce1
3
+ metadata.gz: d1f51f0b1a79504a0d2803e3fa0f49e04329a157
4
+ data.tar.gz: 8b5290ffcb10ebc03b9554b3001e9bc584d6d115
5
5
  SHA512:
6
- metadata.gz: 9a581ca3dd2f278ead5a5c48a1872d0139d2131446e92e01fed1599c1cead0cb8ebc142d88eb2130e5642d22487266d884144e56e113edbefc46bd5adccaaa75
7
- data.tar.gz: f24750c7c0da3439456b6e88e584f5900bc47cf5bf656416253c3a2aced34ad8fd48feac51701ef15a259aaf5ce0424b0c0f799f58d4eb55b4d2ee5d98a91ead
6
+ metadata.gz: e6301713192bcdcab3d973a5645c4e09bd6bb9791f9938a104fff0afd2d23b2ceb084fde281aa2f7c4187c55511d77968d68531d710b155826786530aac4cf22
7
+ data.tar.gz: bc7cb0305d7ee83ca3b9fddf3f5c232d78ea975b8f67bca6ba831f71e85eb4fc214f6722e1e54b01fe0c3269af4b8f3b6912b1ea83d9904fdb3cb0f1ad472cd3
data/CHANGELOG.org CHANGED
@@ -1,4 +1,6 @@
1
1
  * CHANGELOG
2
+ ** 0.2.2
3
+ - [fix] Content-Type includes encoding (for safari issue)
2
4
  ** 0.2.1
3
5
  - Refactoring
4
6
  ** 0.2.0
data/lib/nwiki/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Nwiki
2
- VERSION = '0.2.1'
2
+ VERSION = '0.2.2'
3
3
  end
@@ -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.1
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-07-09 00:00:00.000000000 Z
11
+ date: 2014-08-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack