rails_log_parser 0.0.6 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2f608985d7c53f5ac09850df6c94d63437c5c1ecec18390072e83b4751a57e16
4
- data.tar.gz: 68606ff5cea0948ad95cdd6f0ae583374b73654c013e95807dc0242070291879
3
+ metadata.gz: c223d9d32b464e7247934f4324ed4f4e38c64a9f6714737703b01578de4b3fe2
4
+ data.tar.gz: 540d452e4d79f74725ef369920f1fbb2a11cb8a5392316708779fe253d1ebb14
5
5
  SHA512:
6
- metadata.gz: 7351dc20aa2fc84268825e955ef6b8ffe924571013c27e6b0728555442aa205c10600a5266c153387109fb9fe7f6bc03d2657fecc50956622a2ac7eb9e6339bc
7
- data.tar.gz: eb0689bc7193fc130aae3cc40dd68ad5fc865add71696bd9a044442ef3094e61a26966f0044967cf8939365f0b03cf64d6b9b96ee5dc559236f0c80eb5770634
6
+ metadata.gz: 65053ab7d6218dbddff70035b00bdb719efea68f617a1d109a178e24e3cd86afbe734245a6326a6ee305330a81dd7831c059075e741953bbac07c116c3c8dc05
7
+ data.tar.gz: 47e107f64fa6ffbe6780268960884ffe19206de3cbfe74a2255fb6194e0ede28be2a00aa456c0edbbc7d0a52cc0f6f92284b54a7c48a793a5b75509a2b441daa
data/Gemfile.lock CHANGED
@@ -1,9 +1,9 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rails_log_parser (0.0.6)
4
+ rails_log_parser (0.0.7)
5
5
  enumerize (~> 2.4)
6
- json
6
+ json (>= 2.0)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
@@ -20,7 +20,7 @@ GEM
20
20
  activesupport (>= 3.2)
21
21
  i18n (1.8.11)
22
22
  concurrent-ruby (~> 1.0)
23
- json (2.3.1)
23
+ json (2.6.1)
24
24
  minitest (5.14.4)
25
25
  rake (12.3.3)
26
26
  rspec (3.10.0)
data/README.md CHANGED
@@ -49,6 +49,10 @@ print parser.summary(last_minutes: 22) # print summary for the last 22
49
49
 
50
50
  ## Changelog
51
51
 
52
+ ### 0.0.7
53
+
54
+ * Remove empty lines on summary without report
55
+
52
56
  ### 0.0.6
53
57
 
54
58
  * Adding heuristic to rate known exceptions
@@ -59,8 +59,8 @@ class RailsLogParser::Parser
59
59
  if stats.present?
60
60
  summary_output.push('Heuristic match!')
61
61
  stats.each { |k, v| summary_output.push("- #{k}: #{v}") }
62
+ summary_output.push("\n\n")
62
63
  end
63
- summary_output.push("\n\n")
64
64
  end
65
65
 
66
66
  summary_output.join("\n")
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = 'rails_log_parser'
5
- spec.version = '0.0.6'
5
+ spec.version = '0.0.7'
6
6
  spec.authors = ['Georg Limbach']
7
7
  spec.email = ['georg.limbach@lichtbit.com']
8
8
 
@@ -23,6 +23,6 @@ Gem::Specification.new do |spec|
23
23
  spec.require_paths = ['lib']
24
24
 
25
25
  spec.add_dependency 'enumerize', '~> 2.4'
26
- spec.add_dependency 'json'
27
- spec.add_development_dependency 'rspec'
26
+ spec.add_dependency 'json', '>= 2.0'
27
+ spec.add_development_dependency 'rspec', '>= 3.0'
28
28
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_log_parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Georg Limbach
@@ -30,28 +30,28 @@ dependencies:
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '0'
33
+ version: '2.0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: '0'
40
+ version: '2.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rspec
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: '0'
47
+ version: '3.0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: '0'
54
+ version: '3.0'
55
55
  description: If you want to get an email with errors and fatal log lines you can use
56
56
  this gem.
57
57
  email:
@@ -96,7 +96,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
96
96
  - !ruby/object:Gem::Version
97
97
  version: '0'
98
98
  requirements: []
99
- rubygems_version: 3.0.8
99
+ rubygems_version: 3.1.6
100
100
  signing_key:
101
101
  specification_version: 4
102
102
  summary: Simple and fast analysing of default rails logs