ci_logger 0.3.0 → 0.4.0

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
  SHA256:
3
- metadata.gz: 9fde8e8c982e386e5408e29c2ee568fc2b3e12502244789491dfcd05ce3e9bc8
4
- data.tar.gz: 94e60f18f513c046441f1846b53c853e44c81f5fc40556f61ffd1431ed4e8cae
3
+ metadata.gz: de52e260b632de6a46a6a19b69e566b0549edaa2b78e839251c2b954d6fbb1d0
4
+ data.tar.gz: 4c005a4e2417d12bada68fbd4165a2b0e00c6ad93df4a8516bda206c810e2d8d
5
5
  SHA512:
6
- metadata.gz: 4550236a3a02548d9c2f6a4a6e9ba9fecd204ce7de40835c729a843ea505ae9d316c9e09e6c916efc8f293daf22140070d9b983348d5e59288341a26c56fedec
7
- data.tar.gz: f4d84dadd47e86e3199e4be4afa44a875de238f825972d26d8985e9054560a20fc93b7db58280b50908d631598503416071306d7c100dfdc4d42bce834f50d39
6
+ metadata.gz: 9048488a216c30c627a7a303891331cc8489b40467fc0fdd698b747ee2bd5911e0fa1d23a33574549bf44f36b42b979e1de2feaeb25474fd7c32c31bc58365be
7
+ data.tar.gz: ff957687392a4b2438ccb736e2b7696c47dd3784fd673ac34206ae5e176b136b2251febbe273cc05414465d36ccb2cd15a4a465f427eb5c41d6a93090a9dbcfa
data/README.md CHANGED
@@ -1,19 +1,18 @@
1
1
  # CiLogger
2
2
 
3
- Faster Logger for CI
3
+ We run a large number of tests with CI every day. When a test fails, we have to investigate the log, but as it is, the log output is so large that it is difficult to investigate the cause of the failed test.
4
+
5
+ CiLogger outputs only the log of failed tests. This is useful when investigating the cause of a failed test.
4
6
 
5
7
  ## prerequisite
6
8
 
7
9
  - rspec
8
- - rails(>= 5.2)
10
+ - rails(>= 6.0)
9
11
 
10
12
  If you want minitest integration, send Pull Request!
11
13
 
12
- ## Usage
13
-
14
- As time pass, CI time increase gradually. Log output takes some times in CI, So someone may want to set :info or :error to loglevel. But we want debug log when CI fails to inspect the root cause. CiLogger output debug log only when CI fails. So we are able to logs and get faster CI.
15
-
16
14
  ## Installation
15
+
17
16
  Add this line to your application's Gemfile:
18
17
 
19
18
  ```ruby
@@ -6,6 +6,7 @@ module CiLogger
6
6
  config.before_initialize do
7
7
  if config.ci_logger.enabled
8
8
  Rails.logger = CiLogger::Logger.new(Rails.logger)
9
+ require "ci_logger/rspec_formatter"
9
10
 
10
11
  RSpec.configure do |config|
11
12
  config.add_formatter 'progress' if config.formatters.empty?
@@ -1,3 +1,3 @@
1
1
  module CiLogger
2
- VERSION = '0.3.0'
2
+ VERSION = '0.4.0'
3
3
  end
data/lib/ci_logger.rb CHANGED
@@ -1,7 +1,6 @@
1
1
  require "ci_logger/version"
2
2
  require "ci_logger/railtie"
3
3
  require "ci_logger/logger"
4
- require "ci_logger/rspec_formatter"
5
4
 
6
5
  module CiLogger
7
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ci_logger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - willnet
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-05-10 00:00:00.000000000 Z
11
+ date: 2023-04-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 5.2.0
19
+ version: 6.0.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 5.2.0
26
+ version: 6.0.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rspec-core
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -83,7 +83,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
83
83
  requirements:
84
84
  - - ">="
85
85
  - !ruby/object:Gem::Version
86
- version: '0'
86
+ version: 2.7.0
87
87
  required_rubygems_version: !ruby/object:Gem::Requirement
88
88
  requirements:
89
89
  - - ">="