ci_logger 0.2.3 → 0.3.1

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: 4cf7f2dd60a91e9fa17277d37076bb7dbf25b9113b49c1bcf845d338121315bd
4
- data.tar.gz: 2061f9ff81b43d5f884cfe069adbd098ad3677b9ea0c823d1e2499638ede8510
3
+ metadata.gz: b5960f9d4a46fcde15ed4f1610f0e49332a7caf07246ead282ff6eb19412a70f
4
+ data.tar.gz: 188ac22306f6258fc87e0a6a6684d471903be78c326d178b6b7f81bafa472671
5
5
  SHA512:
6
- metadata.gz: 1dc04cf494366424732fba457af6b7b5afc4a7a385f83971464e31af238acac51ac73bac9b4261198aff04f3c6dc625c48bc20add75f2c76bea5380f3b94ae45
7
- data.tar.gz: 13d36af5c45028117b6e8a6ce865b67146b9663d919371d29b3da3f36fcb24c7ce10027ae9eb24695baf65496e388097ccf0c70bdfe91e7239716325b72d87e1
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.2.3'
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.2.3
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - willnet
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-10-11 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
@@ -75,7 +75,7 @@ metadata:
75
75
  homepage_uri: https://github.com/willnet/ci_logger
76
76
  source_code_uri: https://github.com/willnet/ci_logger
77
77
  changelog_uri: https://github.com/willnet/ci_logger
78
- post_install_message:
78
+ post_install_message:
79
79
  rdoc_options: []
80
80
  require_paths:
81
81
  - lib
@@ -90,8 +90,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
90
90
  - !ruby/object:Gem::Version
91
91
  version: '0'
92
92
  requirements: []
93
- rubygems_version: 3.2.22
94
- signing_key:
93
+ rubygems_version: 3.3.26
94
+ signing_key:
95
95
  specification_version: 4
96
96
  summary: Faster logger for CI
97
97
  test_files: []