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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f80ae807c79b667770d5405fc08331c82eedad58
4
- data.tar.gz: 3ef31adc2d7501f081aed297bdf2180075676287
3
+ metadata.gz: 9c9730cbbd2c27cc1d14e611275ac159b3e3c615
4
+ data.tar.gz: f3c078f0a4c32def880022ddc839e15924abb7cf
5
5
  SHA512:
6
- metadata.gz: 0ee5bd96ae7f0eb42ebaca86055e542b7b1ee11ee4da5ae7d528fd5e1be8cc6827bf6afee4b43aae1048db61be26825ea600abe1225c64b9a7aa84c49ab7d784
7
- data.tar.gz: 66946731e2aabdfadc79b74e6faf5747f1b548221cedfb6fd67030bdb89e1754452c36ef0f04b5ae20089910f4f7aec998c9f80935039bce3bf41d92a18984db
6
+ metadata.gz: d7aed231fd99cc06ee9d517dd33b83fc24746c379add3ef7362a8605551b65531beccead1b1ae018be0a72c51db0e859a5858100d394aeda666c4102713b19a3
7
+ data.tar.gz: b1487be75d143fa4bc7a36eaec8166316ebaa80cdba30506afa4b694bd388e3bd0d07b05bcb66a0cd228cf1ec829d9a0544911bfbfb7beac5bb17a06b0831db2
data/ChangeLog CHANGED
@@ -1,3 +1,9 @@
1
- Release 0.1.0 - 2014/08/1
1
+ Release 0.1.1 - 2014/08/07
2
+
3
+ * [fixed] Can't install a gem on some environment #70
4
+ * [fixed] Can't setup in_tail if recognized as binary file selected #71
5
+
6
+
7
+ Release 0.1.0 - 2014/08/01
2
8
 
3
9
  * First release!
data/Gemfile CHANGED
@@ -10,6 +10,10 @@ group :development, :test do
10
10
  gem "rspec-rails", "~> 2.99"
11
11
  end
12
12
 
13
+ group :development do
14
+ gem 'i18n_generators', '1.2.1'
15
+ end
16
+
13
17
  group :test do
14
18
  gem "factory_girl_rails"
15
19
  gem "database_cleaner", "~> 1.2.0"
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fluentd-ui (0.1.0)
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
@@ -11,7 +11,7 @@ class ApiController < ApplicationController
11
11
  unless File.file?(file) && File.readable?(file)
12
12
  return render json: [], status: 403
13
13
  end
14
- render json: file_tail(file) || []
14
+ render json: file_tail(file)
15
15
  end
16
16
 
17
17
  def empty_json
@@ -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"
@@ -1,3 +1,3 @@
1
1
  module FluentdUI
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
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.1.0
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-01 00:00:00.000000000 Z
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