jekyll-utf8 0.0.1

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.
Files changed (3) hide show
  1. checksums.yaml +15 -0
  2. data/lib/jekyll-utf8.rb +17 -0
  3. metadata +44 -0
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ ZWQwMGU0ZDJlZDc5OTk0ZWRlMDkwNTQ2MDU1ZDFmMzkyZWNjZWI0ZA==
5
+ data.tar.gz: !binary |-
6
+ YWYyZWZiNmU1MWYwMGM3MDJhNmY3MDQ0MjE5YjQyZDMyMWIwZjRiNw==
7
+ SHA512:
8
+ metadata.gz: !binary |-
9
+ YzNiOWE2MmIwYjE1OTRhMmZmNGU1MDczMTU3YWM1MDc3YmIwYTQxYzliZGY2
10
+ Y2MzZGM4NTgzNDMyNDgxYzBhN2E2M2YxYTQwNmNlNWYxYzU2OTliZjNiMTkx
11
+ OGNkMjU5ZDMxNmExODRlMTY3MDVmODU1NGJmZGUxMDNmNTY3ZWE=
12
+ data.tar.gz: !binary |-
13
+ YTFmN2Y1ODZjNjJlZTBjOWUxYjJiZWMxZjhiNTViNWIxMTg5MzcyNWNlMjUy
14
+ Mzg1YTkzZDkzNzQ0ZGVhNDI0ZGU1ODlkMmQ0NTE4MDBhMzdhNGQ4OWI5YjE0
15
+ NDdmYjAzNTMyYWFhNWJiYzdlODE3NjhkYmEwMTE1ZjU5NGRhZmI=
@@ -0,0 +1,17 @@
1
+ module Jekyll
2
+ module Commands
3
+ class Serve
4
+
5
+ class << self
6
+ alias :_original_webrick_options :webrick_options
7
+ end
8
+
9
+ def self.webrick_options(config)
10
+ options = _original_webrick_options(config)
11
+ options[:MimeTypes].merge!({'html' => 'text/html; charset=utf-8'})
12
+ options
13
+ end
14
+
15
+ end
16
+ end
17
+ end
metadata ADDED
@@ -0,0 +1,44 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jekyll-utf8
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - fitztrev
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2013-10-08 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: Add UTF-8 charset header to HTML files when using `jekyll serve`.
14
+ email: fitztrev@gmail.com
15
+ executables: []
16
+ extensions: []
17
+ extra_rdoc_files: []
18
+ files:
19
+ - lib/jekyll-utf8.rb
20
+ homepage: https://github.com/fitztrev/jekyll-utf8
21
+ licenses:
22
+ - MIT
23
+ metadata: {}
24
+ post_install_message:
25
+ rdoc_options: []
26
+ require_paths:
27
+ - lib
28
+ required_ruby_version: !ruby/object:Gem::Requirement
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
33
+ required_rubygems_version: !ruby/object:Gem::Requirement
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ requirements: []
39
+ rubyforge_project:
40
+ rubygems_version: 2.1.5
41
+ signing_key:
42
+ specification_version: 4
43
+ summary: Jekyll UTF-8
44
+ test_files: []