pmux-logview 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
data/Makefile CHANGED
@@ -1,16 +1,17 @@
1
1
  RUBY_VERID?=default
2
+ RAKE?=rake
2
3
 
3
4
  default: build
4
5
 
5
6
  build: clean
6
- rake build
7
+ $(RAKE) build
7
8
 
8
9
  install: clean
9
- rake install
10
+ $(RAKE) install
10
11
 
11
12
  rpmbuild: clean
12
13
  cd rpm && make clean
13
- rake build
14
+ $(RAKE) build
14
15
  cd rpm && make RUBY_VERID=$(RUBY_VERID)
15
16
 
16
17
  clean:
@@ -61,7 +61,7 @@ module Pmux
61
61
  @host = @config["host"] if @config["host"]
62
62
  @port = @config["port"] if @config["port"]
63
63
  Controller.setup(@config)
64
- Controller.run! :host =>@host , :port => @port
64
+ Controller.run! :bind => @host, :host => @host, :port => @port
65
65
  end
66
66
  end
67
67
  end
@@ -55,6 +55,6 @@ module Pmux
55
55
  end
56
56
  end
57
57
 
58
- helpers AuthHelper
58
+ Sinatra.helpers AuthHelper
59
59
  end
60
60
  end
@@ -291,10 +291,10 @@ pmux_logview.index.initialize = function() {
291
291
  self.$error_button = $(".error-button").click(function(event) {
292
292
  var html = '<table class="border task-tooltip"><thead class="task-tooltip"></thead>';
293
293
  html += '<tbody class="task-tooltip"><tr class="task-tooltip">';
294
- html += '<td class="task-tooltip">status</td>';
294
+ html += '<td class="task-tooltip">status:</td>';
295
295
  html += '<td class="task-tooltip">' + $(event.currentTarget).attr("data-error-status") +'</td>';
296
296
  html += '</tr><tr class="task-tooltip">';
297
- html += '<td class="task-tooltip">status</td>';
297
+ html += '<td class="task-tooltip">message:</td>';
298
298
  html += '<td class="task-tooltip">' + $(event.currentTarget).attr("data-error-message") +'</td>';
299
299
  html += '</tr></tbody></table>';
300
300
  self.parent.open_tooltip(html, event.target, event);
@@ -1,5 +1,5 @@
1
1
  module Pmux
2
2
  module LogView
3
- VERSION = "0.3.0"
3
+ VERSION = "0.3.1"
4
4
  end
5
5
  end
@@ -5,7 +5,7 @@
5
5
  %define ruby_verid %{_ruby_verid}
6
6
  %endif
7
7
  %define rbname pmux-logview
8
- %define version 0.3.0
8
+ %define version 0.3.1
9
9
  %define release 1
10
10
 
11
11
  Summary: Pmux log viewer
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pmux-logview
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 0
10
- version: 0.3.0
9
+ - 1
10
+ version: 0.3.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - hiroyuki kakine
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2013-05-28 00:00:00 +09:00
18
+ date: 2013-05-30 00:00:00 +09:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency