dry-logger 1.0.2 → 1.0.3

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: 684f7f0c0e79988487b854789ccb5fce18a2da413db5c0e002a8dd053da60ca8
4
- data.tar.gz: 0c55f8e65565349555885bcfc948d08f4fb1a84114640af14025d684ce3a3d6f
3
+ metadata.gz: db1b993bbb542d2c6ea65c7b3f434e93e57b383786ad6a768742f1c1743fc099
4
+ data.tar.gz: c9768e9a036e76d5625834951ac5d973e247dbb6dbb53f7d2ab96e40c1138941
5
5
  SHA512:
6
- metadata.gz: e6946ec738001c7b1c65c2053792940150d161d5b42fe199c657cd69640ad8156665a332057f2b71f195e6568cd344cee584df3c4d5d0366f29e6fee6402cf7b
7
- data.tar.gz: ea712b521c34f3d595413de30251bdc9fa1cbf63e52e70a50905abccd9f7d3d627ed1322094f85261cf33991c8574ab9480f5941b44f51b0f0432d3c95e50d09
6
+ metadata.gz: 2599bc67c68ce63e96e698c9e4602c292ff43efcd531b6f63d053a61e7eebd171b1815613d3c3d80af7e2f816d0802c5015cef62a8d010db308db588e023f19d
7
+ data.tar.gz: bcea5f71bc21cabf925a4509682873b0f5c943d396f96c7f8e4e460d589a4ef6dd585f56ace3cc59398380c7c93099953c2275ecfb92cd0193251450439dcdee
data/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  <!--- DO NOT EDIT THIS FILE - IT'S AUTOMATICALLY GENERATED VIA DEVTOOLS --->
2
2
 
3
+ ## unreleased
4
+
5
+
6
+ ### Added
7
+
8
+ - Support for ruby 2.7 (needs backports gem that *you* need to add to your Gemfile) (via #24) (@solnic)
9
+
10
+
11
+ [Compare v1.0.2...master](https://github.com/dry-rb/dry-logger/compare/v1.0.2...master)
12
+
3
13
  ## 1.0.2 2022-11-24
4
14
 
5
15
 
data/README.md CHANGED
@@ -1,22 +1,14 @@
1
1
  <!--- this file is synced from dry-rb/template-gem project -->
2
2
  [gem]: https://rubygems.org/gems/dry-logger
3
3
  [actions]: https://github.com/dry-rb/dry-logger/actions
4
- [codacy]: https://www.codacy.com/gh/dry-rb/dry-logger
5
- [chat]: https://dry-rb.zulipchat.com
6
- [inchpages]: http://inch-ci.org/github/dry-rb/dry-logger
7
4
 
8
- # dry-logger [![Join the chat at https://dry-rb.zulipchat.com](https://img.shields.io/badge/dry--rb-join%20chat-%23346b7a.svg)][chat]
9
-
10
- [![Gem Version](https://badge.fury.io/rb/dry-logger.svg)][gem]
11
- [![CI Status](https://github.com/dry-rb/dry-logger/workflows/ci/badge.svg)][actions]
12
- [![Codacy Badge](https://api.codacy.com/project/badge/Grade/5aae4837b97044cfa4537f083ad584e9)][codacy]
13
- [![Codacy Badge](https://api.codacy.com/project/badge/Coverage/5aae4837b97044cfa4537f083ad584e9)][codacy]
14
- [![Inline docs](http://inch-ci.org/github/dry-rb/dry-logger.svg?branch=main)][inchpages]
5
+ # dry-logger [![Gem Version](https://badge.fury.io/rb/dry-logger.svg)][gem] [![CI Status](https://github.com/dry-rb/dry-logger/workflows/ci/badge.svg)][actions]
15
6
 
16
7
  ## Links
17
8
 
18
9
  * [User documentation](https://dry-rb.org/gems/dry-logger)
19
10
  * [API documentation](http://rubydoc.info/gems/dry-logger)
11
+ * [Forum](https://discourse.dry-rb.org)
20
12
 
21
13
  ## Supported Ruby versions
22
14
 
data/dry-logger.gemspec CHANGED
@@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
26
26
  spec.metadata["source_code_uri"] = "https://github.com/dry-rb/dry-logger"
27
27
  spec.metadata["bug_tracker_uri"] = "https://github.com/dry-rb/dry-logger/issues"
28
28
 
29
- spec.required_ruby_version = ">= 3.0"
29
+ spec.required_ruby_version = ">= 2.7"
30
30
 
31
31
  # to update dependencies edit project.yml
32
32
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Dry
4
4
  module Logger
5
- VERSION = "1.0.2"
5
+ VERSION = "1.0.3"
6
6
  end
7
7
  end
data/lib/dry/logger.rb CHANGED
@@ -1,5 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ if RUBY_VERSION < "3"
4
+ require "backports/3.0.0/hash/except"
5
+ end
6
+
3
7
  require "dry/logger/global"
4
8
  require "dry/logger/constants"
5
9
  require "dry/logger/clock"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dry-logger
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luca Guidi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-24 00:00:00.000000000 Z
11
+ date: 2022-12-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -70,7 +70,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
70
70
  requirements:
71
71
  - - ">="
72
72
  - !ruby/object:Gem::Version
73
- version: '3.0'
73
+ version: '2.7'
74
74
  required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  requirements:
76
76
  - - ">="