sunzi-rails 0.2.18 → 0.2.19

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: aafcea0ff051a23dc4108376f63e3a4a91b81f15
4
- data.tar.gz: ebd4a9d1f47b465ccd5a6a76b7c5506760830e5d
3
+ metadata.gz: 65ee38f56a76325550172fc49431c3bbc94daff4
4
+ data.tar.gz: f8177aa496160c60851ca3a23dac9e8de1310537
5
5
  SHA512:
6
- metadata.gz: 90f10a75f69cb5cb5f4938c5c8ef054c6c8465293ad4821e02df6acb686ff2542f9dfd1ebe00cd2ff9901890b2ac8f5fc9cd635ce9843330b7d02b87025918a8
7
- data.tar.gz: e1aad9e3e01e141d7b6aa51d05378809497cbef99d9e2b9f58ca72f97f8148157b832ed646e70d884e02198689a476a380484b83838c703111df320a64515601
6
+ metadata.gz: b0257265275dde522abb3df056dba5e4f44e78d68693778152e24aa8d907f40fe615a89c8eac5b29f5dd8b649c8c11a3ab0e1990f7ce20547e51d16c2c54010e
7
+ data.tar.gz: 78d51404c3337eb44b6939112c0b0e0188aa295145914932dbcf0f043adcab7af04a4d6d83bf96a4573eae5420b21a677098978c59ba347e9aba44b91ffc4905
data/lib/sunzi/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module Sunzi
2
- VERSION = "0.2.18"
2
+ VERSION = "0.2.19"
3
3
  RUBY_VERSION = IO.read("#{File.dirname(__FILE__)}/../../.ruby-version").strip
4
4
  RAILS_VERSION = "4.2"
5
5
  end
@@ -6,8 +6,15 @@ if sunzi.to_be_done "install analysers"; then
6
6
 
7
7
  sunzi.install "goaccess" #TODO: http://goaccess.io/faq#howto-config
8
8
  sunzi.install "iotop"
9
+ sunzi.install "iftop"
10
+ sunzi.install "ifstat"
11
+ sunzi.install "nethogs"
9
12
  sunzi.install "sysstat"
10
13
 
14
+ sed -i 's/#time-format %H:%M:%S/time-format %H:%M:%S/' /etc/goaccess.conf
15
+ sed -i 's|#date-format %d/%b/%Y|date-format %d/%b/%Y|' /etc/goaccess.conf
16
+ sed -i 's/#log-format %h %\^\[%d:%t %\^\] "%r" %s %b "%R" "%u"/log-format %h - %\^ \[%d:%t %\^\] "%r" %s %b "%R" "%u" %T %\^/' /etc/goaccess.conf
17
+
11
18
  sed -i 's/ENABLED="false"/ENABLED="true"/' /etc/default/sysstat
12
19
  /etc/init.d/sysstat restart
13
20
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sunzi-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.18
4
+ version: 0.2.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kenn Ejima
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-01-30 00:00:00.000000000 Z
12
+ date: 2016-02-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport