egalite 0.0.2 → 0.0.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.
@@ -15,23 +15,23 @@ class EgaliteErrorController < Egalite::Controller
15
15
  def get
16
16
  hb = Egalite::HTMLTagBuilder
17
17
  raw("<html><body>" +
18
- hb.ol([ hb.a('latest','�ŐV�G���[�ꗗ'),
19
- hb.a('frequent','���p�x�G���[�ꗗ'),
20
- hb.a('security','�Z�L�����e�B�G���[�ꗗ'),
21
- "<form action='detail'>�G���[�ԍ�: <input type='text' name='id'><input type='submit'></form>",
18
+ hb.ol([ hb.a('latest','最新エラー一覧'),
19
+ hb.a('frequent','高頻度エラー一覧'),
20
+ hb.a('security','セキュリティエラー一覧'),
21
+ "<form action='detail'>エラー番号: <input type='text' name='id'><input type='submit'></form>",
22
22
  ]) + "</body></html>")
23
23
  end
24
24
  def display(recs)
25
25
  hb = Egalite::HTMLTagBuilder
26
26
  raw("<body><html>" +
27
27
  table_by_array(
28
- ['��ʔԍ�(�ڍ�)', '������', '���e', 'URL', '�폜'],
28
+ ['種別番号(詳細)', '発生回数', '内容', 'URL', '削除'],
29
29
  recs.map { |rec|
30
30
  [hb.a(url_for(:action => :group, :id => rec[:md5]),rec[:md5]),
31
31
  rec[:count],
32
32
  rec[:text][0..50],
33
33
  rec[:url][0..50],
34
- hb.a(url_for(:action => :delete, :id => rec[:md5]),'�폜'),
34
+ hb.a(url_for(:action => :delete, :id => rec[:md5]),'削除'),
35
35
  ]
36
36
  }
37
37
  ) + "</body></html>")
@@ -1,7 +1,5 @@
1
1
 
2
- $LOAD_PATH << File.join(File.dirname(__FILE__))
3
-
4
- require 'ketai'
2
+ require 'egalite/keitai/ketai'
5
3
  require 'uri'
6
4
  require 'openssl'
7
5
  require 'base64'
@@ -1,5 +1,4 @@
1
1
 
2
- require 'template'
3
2
  require 'nkf'
4
3
  require 'time'
5
4
 
@@ -1,5 +1,3 @@
1
- require 'jcode'
2
-
3
1
  module Egalite
4
2
 
5
3
  class NonEscapeString < String
@@ -1,3 +1,3 @@
1
1
  module Egalite
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: egalite
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 2
10
- version: 0.0.2
9
+ - 3
10
+ version: 0.0.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Shunichi Arai
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2013-06-26 00:00:00 Z
18
+ date: 2013-06-27 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: bundler