fluentd-ui 0.1.0 → 0.1.1
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 +4 -4
- data/ChangeLog +7 -1
- data/Gemfile +4 -0
- data/Gemfile.lock +2 -2
- data/README.md +12 -3
- data/app/controllers/api_controller.rb +1 -1
- data/app/controllers/application_controller.rb +3 -3
- data/fluentd-ui.gemspec +0 -1
- data/lib/fluentd-ui/version.rb +1 -1
- metadata +2 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9c9730cbbd2c27cc1d14e611275ac159b3e3c615
|
4
|
+
data.tar.gz: f3c078f0a4c32def880022ddc839e15924abb7cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d7aed231fd99cc06ee9d517dd33b83fc24746c379add3ef7362a8605551b65531beccead1b1ae018be0a72c51db0e859a5858100d394aeda666c4102713b19a3
|
7
|
+
data.tar.gz: b1487be75d143fa4bc7a36eaec8166316ebaa80cdba30506afa4b694bd388e3bd0d07b05bcb66a0cd228cf1ec829d9a0544911bfbfb7beac5bb17a06b0831db2
|
data/ChangeLog
CHANGED
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
fluentd-ui (0.1.
|
4
|
+
fluentd-ui (0.1.1)
|
5
5
|
addressable
|
6
6
|
bcrypt (~> 3.1.5)
|
7
7
|
bundler
|
@@ -9,7 +9,6 @@ PATH
|
|
9
9
|
font-awesome-rails
|
10
10
|
haml-rails (~> 0.5.3)
|
11
11
|
httpclient
|
12
|
-
i18n_generators (= 1.2.1)
|
13
12
|
jbuilder (~> 2.0)
|
14
13
|
jquery-rails (~> 3.1.0)
|
15
14
|
kramdown (> 1.0.0)
|
@@ -238,6 +237,7 @@ DEPENDENCIES
|
|
238
237
|
database_cleaner (~> 1.2.0)
|
239
238
|
factory_girl_rails
|
240
239
|
fluentd-ui!
|
240
|
+
i18n_generators (= 1.2.1)
|
241
241
|
poltergeist
|
242
242
|
pry
|
243
243
|
rake
|
data/README.md
CHANGED
@@ -10,12 +10,21 @@ fluentd-ui is a browser-based [fluentd](http://fluentd.org/) and [td-agent](http
|
|
10
10
|
# Getting Started
|
11
11
|
|
12
12
|
```console
|
13
|
-
$ gem install fluentd-ui
|
13
|
+
$ gem install -V fluentd-ui
|
14
14
|
$ fluentd-ui start
|
15
|
-
Open http://localhost:9292/ by your browser
|
16
|
-
default account is username="admin" and password="changeme"
|
17
15
|
```
|
18
16
|
|
17
|
+
Open `http://localhost:9292/` by your browser.<br />
|
18
|
+
The default account is username="admin" and password="changeme"
|
19
|
+
|
20
|
+
## TO Ubuntu 14.04 user (installed ruby by apt-get)
|
21
|
+
|
22
|
+
You also need to install these packages:
|
23
|
+
|
24
|
+
- build-essential
|
25
|
+
- libssl-dev
|
26
|
+
- ruby-dev
|
27
|
+
|
19
28
|
## To the developer
|
20
29
|
|
21
30
|
$ git clone https://github.com/treasure-data/fluentd-ui
|
@@ -101,10 +101,10 @@ class ApplicationController < ActionController::Base
|
|
101
101
|
end
|
102
102
|
|
103
103
|
def file_tail(path, limit = 10)
|
104
|
-
return unless path
|
105
|
-
return unless File.exists? path
|
104
|
+
return [] unless path
|
105
|
+
return [] unless File.exists? path
|
106
106
|
reader = FileReverseReader.new(File.open(path))
|
107
|
-
return if reader.binary_file?
|
107
|
+
return [] if reader.binary_file?
|
108
108
|
reader.tail(limit)
|
109
109
|
end
|
110
110
|
end
|
data/fluentd-ui.gemspec
CHANGED
@@ -27,7 +27,6 @@ Gem::Specification.new do |spec|
|
|
27
27
|
spec.add_dependency "fluentd", "~> 0.10.51"
|
28
28
|
spec.add_dependency 'rails', '4.1.4'
|
29
29
|
spec.add_dependency 'sucker_punch', "~> 1.0.5"
|
30
|
-
spec.add_dependency 'i18n_generators', '1.2.1'
|
31
30
|
spec.add_dependency 'bcrypt', '~> 3.1.5'
|
32
31
|
spec.add_dependency 'addressable'
|
33
32
|
spec.add_dependency "font-awesome-rails"
|
data/lib/fluentd-ui/version.rb
CHANGED
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.1.
|
4
|
+
version: 0.1.1
|
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-08-
|
12
|
+
date: 2014-08-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: fluentd
|
@@ -53,20 +53,6 @@ dependencies:
|
|
53
53
|
- - "~>"
|
54
54
|
- !ruby/object:Gem::Version
|
55
55
|
version: 1.0.5
|
56
|
-
- !ruby/object:Gem::Dependency
|
57
|
-
name: i18n_generators
|
58
|
-
requirement: !ruby/object:Gem::Requirement
|
59
|
-
requirements:
|
60
|
-
- - '='
|
61
|
-
- !ruby/object:Gem::Version
|
62
|
-
version: 1.2.1
|
63
|
-
type: :runtime
|
64
|
-
prerelease: false
|
65
|
-
version_requirements: !ruby/object:Gem::Requirement
|
66
|
-
requirements:
|
67
|
-
- - '='
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
version: 1.2.1
|
70
56
|
- !ruby/object:Gem::Dependency
|
71
57
|
name: bcrypt
|
72
58
|
requirement: !ruby/object:Gem::Requirement
|