fluentd-ui 0.3.3 → 0.3.5

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of fluentd-ui might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f8e87a0be85a9ca53be34f2ea4f3fcc17dbbe20a
4
- data.tar.gz: a837258d2293575fc3f976bf225db6d9454a9d47
3
+ metadata.gz: 31a5daad29a8463b88a212ae6543356d2ba0d8d9
4
+ data.tar.gz: b360bd00c43239f4d0c8c4c335da2fb0b0627e2a
5
5
  SHA512:
6
- metadata.gz: 01aa81513fdf9a404674c5208c56711824f3a2dcafb6aa940070b55913d6bab941dc17ad1a38781e832a7efe459ccc2497aff3262d8908061f395241770f5834
7
- data.tar.gz: 07c8a506731321b25714cc4c6ac510227f597e7590141080849fae87ca1d82d349c9f1793496f2a74223af614ef02dde1ef434d39e3987f35bb5cf30a078a343
6
+ metadata.gz: f6edb3f1b462c351960ea137d5cfaee137f9992b9c93d65b0194d99050aee2627f960a34e0b09d5bcc7ffb237fc440394b65d3508ba3491ade47ad360a955277
7
+ data.tar.gz: cf4d6b0f5dd0f00ccc26d3a0fbcac85bd0b6f272b1c389bd0df83fe49a79168e8d225742f6d78e49c97557b0877b4b59a9e35863fd8452f650f1e1857464b910
data/ChangeLog CHANGED
@@ -1,3 +1,11 @@
1
+ Release 0.3.5 - 2014/11/12
2
+
3
+ * [fixed] `/etc/init.d/td-agent stop` was killing the td-agent-ui on Debian based distributions.
4
+
5
+ Release 0.3.4 - 2014/11/12
6
+
7
+ * yanked
8
+
1
9
  Release 0.3.3 - 2014/11/11
2
10
 
3
11
  * [fixed] td-agent detection on Mac OS X
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fluentd-ui (0.3.3)
4
+ fluentd-ui (0.3.5)
5
5
  addressable
6
6
  bundler
7
7
  draper (~> 1.3)
@@ -1,3 +1,6 @@
1
+ require "active_support"
2
+ require "active_support/core_ext"
3
+
1
4
  module FluentdUI
2
5
  class Command < Thor
3
6
  ROOT = File.expand_path('../../../', __FILE__)
@@ -9,7 +12,11 @@ module FluentdUI
9
12
  option :daemonize, type: :boolean, default: false
10
13
  def start
11
14
  trap(:INT) { puts "\nStopping..." }
12
- system(*%W(bundle exec rackup #{options[:daemonize] ? "-D" : ""} --pid #{options[:pidfile]} -p #{options[:port]} -E production #{ROOT}/config.ru))
15
+ # NOTE: on Debian based distributions, td-agent uses start-stop-daemon with --exec option for stopping process
16
+ # then fluentd-ui will be killed by them because given --exec option matches.
17
+ # FLUENTD_UI_EXEC_COMMAND is used for workaround it.
18
+ cmd = ENV['FLUENTD_UI_EXEC_COMMAND'].presence || "rackup"
19
+ system(* %w(bundle exec) + cmd.split(" ") + %W(#{options[:daemonize] ? "-D" : ""} --pid #{options[:pidfile]} -p #{options[:port]} -E production #{ROOT}/config.ru))
13
20
  end
14
21
 
15
22
 
@@ -1,3 +1,3 @@
1
1
  module FluentdUI
2
- VERSION = "0.3.3"
2
+ VERSION = "0.3.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluentd-ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Masahiro Nakagawa
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-11-11 00:00:00.000000000 Z
12
+ date: 2014-11-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: fluentd