norikra 1.0.0-java → 1.0.1-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/norikra/engine.rb +2 -2
- data/lib/norikra/logger.rb +0 -1
- data/lib/norikra/version.rb +1 -1
- data/norikra.gemspec +1 -1
- data/public/css/norikra.css +7 -0
- data/public/img/banner.png +0 -0
- data/views/base.erb +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6647d0732102c2599115e2bfb9c455de92995c8b
|
4
|
+
data.tar.gz: a7880bbb4b929fc44b4b22e83604153e024c3e19
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f42c58bf9d933ce6c3feb58c221a7e3144455b91c00b53bc41b75937aea889d85a82ee39a452c3897f8c6b3067c777bedf920396ba1c5a6436f55ae7c83e0ff0
|
7
|
+
data.tar.gz: 55e6450e6c30993f92c2dca499cfcc98d1009d1f520e39c8506b37d6b1d5e760954e1bf39b528295367863cc0bdad33d50495592084db3541b39a7d3cadbcf34
|
data/lib/norikra/engine.rb
CHANGED
@@ -261,6 +261,8 @@ module Norikra
|
|
261
261
|
converted[unescaped_key] = event[key].to_hash
|
262
262
|
elsif event[key].respond_to?(:to_a)
|
263
263
|
converted[unescaped_key] = event[key].to_a
|
264
|
+
elsif event[key].respond_to?(:force_encoding)
|
265
|
+
converted[unescaped_key] = event[key].force_encoding('UTF-8')
|
264
266
|
else
|
265
267
|
converted[unescaped_key] = event[key]
|
266
268
|
end
|
@@ -294,8 +296,6 @@ module Norikra
|
|
294
296
|
#
|
295
297
|
# We does NOT convert 'container.$0' into container['field'].
|
296
298
|
# Use escaped names like 'container__0'. That is NOT so confused.
|
297
|
-
#
|
298
|
-
#TODO: check performance and consider about loopback event threads
|
299
299
|
@engine.send(@loopback_target, event_list)
|
300
300
|
end
|
301
301
|
end
|
data/lib/norikra/logger.rb
CHANGED
@@ -162,7 +162,6 @@ module Norikra
|
|
162
162
|
TIME_FORMAT = '%Y-%m-%d %H:%M:%S %z'
|
163
163
|
|
164
164
|
def initialize(name, opts={})
|
165
|
-
p opts
|
166
165
|
@log4j = org.apache.commons.logging.LogFactory.getLog(name)
|
167
166
|
@buffer = Array.new
|
168
167
|
@buffer_lines = opts[:bufferlines] || DEFAULT_MEMORY_BUFFER_LINES
|
data/lib/norikra/version.rb
CHANGED
data/norikra.gemspec
CHANGED
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
|
|
23
23
|
spec.add_runtime_dependency "rack"
|
24
24
|
spec.add_runtime_dependency "thor"
|
25
25
|
spec.add_runtime_dependency "msgpack-rpc-over-http-jruby", ">= 0.0.6"
|
26
|
-
spec.add_runtime_dependency "norikra-client-jruby", ">= 0.
|
26
|
+
spec.add_runtime_dependency "norikra-client-jruby", ">= 1.0.0"
|
27
27
|
spec.add_runtime_dependency "sinatra"
|
28
28
|
spec.add_runtime_dependency "sinatra-contrib"
|
29
29
|
spec.add_runtime_dependency "erubis"
|
data/public/css/norikra.css
CHANGED
@@ -3,6 +3,13 @@ body {
|
|
3
3
|
padding-bottom: 30px;
|
4
4
|
}
|
5
5
|
|
6
|
+
#navbar-norikra {
|
7
|
+
background-image: url(../img/banner.png);
|
8
|
+
background-size: auto 120px;
|
9
|
+
background-position: right bottom;
|
10
|
+
background-repeat: no-repeat;
|
11
|
+
}
|
12
|
+
|
6
13
|
.theme-dropdown .dropdown-menu {
|
7
14
|
display: block;
|
8
15
|
position: static;
|
Binary file
|
data/views/base.erb
CHANGED
@@ -45,7 +45,7 @@
|
|
45
45
|
<li <%= @page == "queries" ? 'class="active"' : '' %>><a href="#targets">Targets</a></li>
|
46
46
|
</ul>
|
47
47
|
<ul class="nav navbar-nav navbar-right">
|
48
|
-
<li><a href="https://github.
|
48
|
+
<li><a href="https://norikra.github.io/" title="norikra.github.io"><div style="mergin: 0; height: 100%; width: 120px;"></div></a></li>
|
49
49
|
</ul>
|
50
50
|
</div><!--/.nav-collapse -->
|
51
51
|
</div>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: norikra
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- TAGOMORI Satoshi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-05-
|
11
|
+
date: 2014-05-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mizuno
|
@@ -72,12 +72,12 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - '>='
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 0.
|
75
|
+
version: 1.0.0
|
76
76
|
requirement: !ruby/object:Gem::Requirement
|
77
77
|
requirements:
|
78
78
|
- - '>='
|
79
79
|
- !ruby/object:Gem::Version
|
80
|
-
version: 0.
|
80
|
+
version: 1.0.0
|
81
81
|
prerelease: false
|
82
82
|
type: :runtime
|
83
83
|
- !ruby/object:Gem::Dependency
|
@@ -264,6 +264,7 @@ files:
|
|
264
264
|
- public/fonts/glyphicons-halflings-regular.svg
|
265
265
|
- public/fonts/glyphicons-halflings-regular.ttf
|
266
266
|
- public/fonts/glyphicons-halflings-regular.woff
|
267
|
+
- public/img/banner.png
|
267
268
|
- public/js/bootstrap.js
|
268
269
|
- public/js/bootstrap.min.js
|
269
270
|
- public/js/jquery.min.js
|