runit-man 1.11.0 → 1.11.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.
data/i18n/ru.yml CHANGED
@@ -68,8 +68,8 @@ ru:
68
68
  Gb: Гб
69
69
  view_file:
70
70
  raw: Текст
71
- title: 'Файл %{name} на %{host}'
72
- header: 'Просмотр файла %{name} на %{host}'
71
+ title: 'Файл %{file} на %{host}'
72
+ header: 'Просмотр файла %{file} на %{host}'
73
73
  updated: "Страница обновлена %{time}"
74
74
  reload: Обновить страницу
75
75
 
data/lib/runit-man/app.rb CHANGED
@@ -172,7 +172,7 @@ class RunitMan < Sinatra::Base
172
172
  if data.nil?
173
173
  return not_found
174
174
  end
175
- @title = t.runit.view_file.title(h(data[:name]), h(host_name))
175
+ @title = t('runit.view_file.title', :file => h(data[:name]), :host => h(host_name))
176
176
  content_type CONTENT_TYPES[:html], :charset => 'utf-8'
177
177
  erubis :view_file, :locals => data
178
178
  end
@@ -1,4 +1,4 @@
1
1
  module RunitManVersion
2
- VERSION = '1.11.0'.freeze
2
+ VERSION = '1.11.3'.freeze
3
3
  end
4
4
 
@@ -1,5 +1,5 @@
1
1
  <% content_for :content do %>
2
- <%= t('runit.view_file.header', :name =>h(name), :host => h(host_name)) %> | <a href="/view.txt?file=<%= h(name) %>"><%= t('runit.view_file.raw') %></a>
2
+ <%= t('runit.view_file.header', :file =>h(name), :host => h(host_name)) %> | <a href="/view.txt?file=<%= h(name) %>"><%= t('runit.view_file.raw') %></a>
3
3
 
4
4
  <pre><%= h(text) %></pre>
5
5
  <% end %>
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: runit-man
3
3
  version: !ruby/object:Gem::Version
4
- hash: 59
4
+ hash: 61
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 11
9
- - 0
10
- version: 1.11.0
9
+ - 3
10
+ version: 1.11.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Akzhan Abdulin
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-02-18 00:00:00 +03:00
18
+ date: 2011-02-25 00:00:00 +03:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency