log_analyzer 0.1.3 → 0.1.4

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: 6e91f5858cb562207a04610b41086bbe28c76f30
4
- data.tar.gz: a6042933582ce08cc5e422130191cce039a928e8
3
+ metadata.gz: 718fe1122c2e30d99c8ada795cb7e04578f25ad5
4
+ data.tar.gz: 1ab59b840e924e242389097e09878441a6787066
5
5
  SHA512:
6
- metadata.gz: da3232eececa0becd9052d7b2945d6052c500bd4e9320a180ec2aeeee0a8b291717c4045be5b6ea93d4bcb7f181ee8582c0f811fb3ee11817a7d27ae2ee48e5f
7
- data.tar.gz: b31cd0e08f437d43c42f0edcbbb6c548db7863ede3ead06d1b709d7431e8932d9781801c6ef13003931d8237e24cea5bbcfc63726d7ecfa43b0d92bd2991fcb5
6
+ metadata.gz: 77316ae1baec4496e711343ea67c74f78a1798850f8c4bef73151b407946ea841fc6e853da246f7839fc06bd7ff42435ea55e3e76e42a0e05a0f4d34d865c855
7
+ data.tar.gz: 201002bca02ce0d710fb521b4dd2d63561aabe66539dc1645ac0c4f3ffa0604df414c5fd81bcda125e020d4f82f3dece4e854b6d59dba0e41568d62f194e2827
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- log_analyzer (0.1.2)
4
+ log_analyzer (0.1.4)
5
5
  colorize
6
6
  rake
7
7
  terminal-table
@@ -17,7 +17,7 @@ GEM
17
17
  pry (0.11.3)
18
18
  coderay (~> 1.1.0)
19
19
  method_source (~> 0.9.0)
20
- rake (12.0.0)
20
+ rake (12.3.0)
21
21
  rspec (3.7.0)
22
22
  rspec-core (~> 3.7.0)
23
23
  rspec-expectations (~> 3.7.0)
@@ -33,7 +33,7 @@ GEM
33
33
  rspec-support (3.7.1)
34
34
  terminal-table (1.8.0)
35
35
  unicode-display_width (~> 1.1, >= 1.1.1)
36
- thor (0.19.4)
36
+ thor (0.20.0)
37
37
  unicode-display_width (1.3.0)
38
38
 
39
39
  PLATFORMS
data/bin/log_analyzer CHANGED
@@ -1,6 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- require "bundler/setup"
4
3
  require "rake"
5
4
  require "log_analyzer"
6
5
  require "terminal-table"
@@ -28,6 +27,7 @@ end
28
27
 
29
28
  parser.parse!
30
29
 
30
+ options[:file] = ARGV[0] if ARGV.size == 1
31
31
  options[:sort] ||= :time # default order
32
32
 
33
33
  if options[:file] && options[:sort]
@@ -2,7 +2,7 @@ module LogAnalyzer
2
2
 
3
3
  class Analyzer
4
4
  DEFAULT_TABLE_WIDTH = 120 # width
5
- MATCHER = /Rendered (.*) \((.*)ms\)/.freeze
5
+ MATCHER = /Rendered (.*\/.*) \((.*)ms\)/.freeze
6
6
  DANGER_DEFAULT = 800 # ms
7
7
  WARNING_DEFAULT = 400 # ms
8
8
  INFO_DEFAULT = 100 # ms
@@ -1,3 +1,3 @@
1
1
  module LogAnalyzer
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: log_analyzer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Igor Kasyanchuk
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-02-20 00:00:00.000000000 Z
11
+ date: 2018-02-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -147,7 +147,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
147
147
  version: '0'
148
148
  requirements: []
149
149
  rubyforge_project:
150
- rubygems_version: 2.4.8
150
+ rubygems_version: 2.6.10
151
151
  signing_key:
152
152
  specification_version: 4
153
153
  summary: log_analyzer gem is created to get statistics about your views rendering