ci_logger 0.3.0 → 0.3.1

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: 9fde8e8c982e386e5408e29c2ee568fc2b3e12502244789491dfcd05ce3e9bc8
4
- data.tar.gz: 94e60f18f513c046441f1846b53c853e44c81f5fc40556f61ffd1431ed4e8cae
3
+ metadata.gz: b5960f9d4a46fcde15ed4f1610f0e49332a7caf07246ead282ff6eb19412a70f
4
+ data.tar.gz: 188ac22306f6258fc87e0a6a6684d471903be78c326d178b6b7f81bafa472671
5
5
  SHA512:
6
- metadata.gz: 4550236a3a02548d9c2f6a4a6e9ba9fecd204ce7de40835c729a843ea505ae9d316c9e09e6c916efc8f293daf22140070d9b983348d5e59288341a26c56fedec
7
- data.tar.gz: f4d84dadd47e86e3199e4be4afa44a875de238f825972d26d8985e9054560a20fc93b7db58280b50908d631598503416071306d7c100dfdc4d42bce834f50d39
6
+ metadata.gz: 62a463925ae11ff7c483ba81e60e39979e26426dece3219b1b455c31302ec93d0e1d36a58317b2155bc7587b3803f5e6c07ab5b27facfc15d1878098dd3d92c2
7
+ data.tar.gz: 83bc95acf6c4936809ab77233e98e9e801d1c4a8f26a3bad60dbc6c142878281694ffb140a091ab64a04ba46da643af7736b554e6b452fdafd3851c06bfe2671
data/README.md CHANGED
@@ -1,6 +1,8 @@
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
 
@@ -9,11 +11,8 @@ Faster Logger for CI
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.3.1'
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.3.1
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: 2022-12-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -90,7 +90,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
90
90
  - !ruby/object:Gem::Version
91
91
  version: '0'
92
92
  requirements: []
93
- rubygems_version: 3.3.3
93
+ rubygems_version: 3.3.26
94
94
  signing_key:
95
95
  specification_version: 4
96
96
  summary: Faster logger for CI