runit-man 1.8.2 → 1.8.3

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 (2) hide show
  1. data/lib/runit-man/app.rb +2 -0
  2. metadata +3 -3
data/lib/runit-man/app.rb CHANGED
@@ -101,6 +101,7 @@ class RunitMan < Sinatra::Base
101
101
  end
102
102
  @scripts = []
103
103
  @title = t.runit.view_file.title(h(data[:name]), h(host_name))
104
+ content_type CONTENT_TYPES[:html], :charset => 'utf-8'
104
105
  erb :view_file, :locals => data
105
106
  end
106
107
 
@@ -109,6 +110,7 @@ class RunitMan < Sinatra::Base
109
110
  if data.nil?
110
111
  return not_found
111
112
  end
113
+ content_type CONTENT_TYPES[:txt], :charset => 'utf-8'
112
114
  data[:text]
113
115
  end
114
116
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 8
8
- - 2
9
- version: 1.8.2
8
+ - 3
9
+ version: 1.8.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Akzhan Abdulin
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-06-10 00:00:00 +04:00
17
+ date: 2010-06-11 00:00:00 +04:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency