logger 1.4.3 → 1.4.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
  SHA256:
3
- metadata.gz: be49be41055335fa90e79c26a714b7176077de04b414def791b1a9524169ad80
4
- data.tar.gz: f064246f7c9e483f96e9838ace1d079ce0d9acea770eb68d5a492a792157bb83
3
+ metadata.gz: 86ff5c7f2a189b07730b1fbe6287938cf7501889ee62bd89d8de6d02902f1bee
4
+ data.tar.gz: 62343e3ea1b0dbd6cdb94ff67721f1f86e54876bd6cd0265b112181d60fd1125
5
5
  SHA512:
6
- metadata.gz: 8dc3387289106d3f98eda8384351d9486b8ad5bb21e5c58a3932595b101705600b1b66c64666eabab90a11f1d90a4b7f01e6f0ce658249bfb9ede51d76414ef4
7
- data.tar.gz: 693e411b78fc95e47d008b3ced6247606ebb641f7a17368321e8e0002fa450694267794a620fc76f949ac9cf2a7e5ac8b891416d7d4accb738f8c2c228421388
6
+ metadata.gz: 302bbc40320bd744a40924ce6837499d2d9460ebab7745805352cb86d1348737a350bcb94918474cc0cf517b04b6b374eddcfc6a9d142d92943d99ec746df335
7
+ data.tar.gz: c4d057679ca2aed3e4e57424eacb0167ebb34fcb135bb7b9961a7f2e4b0bfdb33a6f902cd5255acaee7d04adb10d9d5e7035a3784aa0b3e9bc19b5fdd2d528e7
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class Logger
4
- VERSION = "1.4.3"
4
+ VERSION = "1.4.4"
5
5
  end
data/lib/logger.rb CHANGED
@@ -302,35 +302,35 @@ class Logger
302
302
  alias sev_threshold level
303
303
  alias sev_threshold= level=
304
304
 
305
- # Returns +true+ iff the current severity level allows for the printing of
305
+ # Returns +true+ if and only if the current severity level allows for the printing of
306
306
  # +DEBUG+ messages.
307
307
  def debug?; level <= DEBUG; end
308
308
 
309
309
  # Sets the severity to DEBUG.
310
310
  def debug!; self.level = DEBUG; end
311
311
 
312
- # Returns +true+ iff the current severity level allows for the printing of
312
+ # Returns +true+ if and only if the current severity level allows for the printing of
313
313
  # +INFO+ messages.
314
314
  def info?; level <= INFO; end
315
315
 
316
316
  # Sets the severity to INFO.
317
317
  def info!; self.level = INFO; end
318
318
 
319
- # Returns +true+ iff the current severity level allows for the printing of
319
+ # Returns +true+ if and only if the current severity level allows for the printing of
320
320
  # +WARN+ messages.
321
321
  def warn?; level <= WARN; end
322
322
 
323
323
  # Sets the severity to WARN.
324
324
  def warn!; self.level = WARN; end
325
325
 
326
- # Returns +true+ iff the current severity level allows for the printing of
326
+ # Returns +true+ if and only if the current severity level allows for the printing of
327
327
  # +ERROR+ messages.
328
328
  def error?; level <= ERROR; end
329
329
 
330
330
  # Sets the severity to ERROR.
331
331
  def error!; self.level = ERROR; end
332
332
 
333
- # Returns +true+ iff the current severity level allows for the printing of
333
+ # Returns +true+ if and only if the current severity level allows for the printing of
334
334
  # +FATAL+ messages.
335
335
  def fatal?; level <= FATAL; end
336
336
 
data/logger.gemspec CHANGED
@@ -16,8 +16,6 @@ Gem::Specification.new do |spec|
16
16
  spec.licenses = ["Ruby", "BSD-2-Clause"]
17
17
 
18
18
  spec.files = Dir.glob("lib/**/*.rb") + ["logger.gemspec"]
19
- spec.bindir = "exe"
20
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
21
19
  spec.require_paths = ["lib"]
22
20
 
23
21
  spec.required_ruby_version = ">= 2.3.0"
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logger
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.3
4
+ version: 1.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Naotoshi Seo
8
8
  - SHIBATA Hiroshi
9
9
  autorequire:
10
- bindir: exe
10
+ bindir: bin
11
11
  cert_chain: []
12
- date: 2020-12-22 00:00:00.000000000 Z
12
+ date: 2021-10-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -103,7 +103,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
103
103
  - !ruby/object:Gem::Version
104
104
  version: '0'
105
105
  requirements: []
106
- rubygems_version: 3.2.2
106
+ rubygems_version: 3.3.0.dev
107
107
  signing_key:
108
108
  specification_version: 4
109
109
  summary: Provides a simple logging utility for outputting messages.