norikra 0.0.17-java → 0.0.18-java
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/lib/norikra/version.rb +1 -1
- data/lib/norikra/webui/handler.rb +3 -0
- data/views/base.erb +1 -1
- metadata +1 -1
data/Rakefile
CHANGED
@@ -6,7 +6,7 @@ RSpec::Core::RakeTask.new(:spec) do |t|
|
|
6
6
|
t.pattern = 'spec/**/*_spec.rb'
|
7
7
|
end
|
8
8
|
|
9
|
-
task :
|
9
|
+
task :devserver do |t|
|
10
10
|
require 'pathname'
|
11
11
|
libs = ['lib', 'esper'].map{|p| Pathname.new(__FILE__).dirname.join('.', p).expand_path}
|
12
12
|
$LOAD_PATH.unshift(*libs.map(&:to_s))
|
data/lib/norikra/version.rb
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
require 'norikra/version'
|
1
2
|
require 'norikra/error'
|
2
3
|
require 'norikra/logger'
|
3
4
|
|
@@ -11,6 +12,8 @@ class Norikra::WebUI::Handler < Sinatra::Base
|
|
11
12
|
|
12
13
|
enable :sessions
|
13
14
|
|
15
|
+
def norikra_version; Norikra::VERSION ; end
|
16
|
+
|
14
17
|
def logger ; Norikra::Log.logger ; end
|
15
18
|
|
16
19
|
def self.engine=(engine)
|
data/views/base.erb
CHANGED
@@ -36,7 +36,7 @@
|
|
36
36
|
<span class="icon-bar"></span>
|
37
37
|
<span class="icon-bar"></span>
|
38
38
|
</button>
|
39
|
-
<a class="navbar-brand" href="#">Norikra v<%=
|
39
|
+
<a class="navbar-brand" href="#">Norikra v<%= norikra_version %></a>
|
40
40
|
</div>
|
41
41
|
<div class="navbar-collapse collapse">
|
42
42
|
<ul class="nav navbar-nav">
|