dry-core 1.0.1 → 1.0.2

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: 5c263a2d5bf720ac7d9e68c202b3552e4e82bba0b253ddc75a1aff5055463f9a
4
- data.tar.gz: 955cdffe644913ba567129a73aaf3ea0b748b2b2fd5244b5d559da013bd05df9
3
+ metadata.gz: 36bbcb4408defe80fa90d925a7cb44f39a7e879bf0b2a8c81833e798a5446c63
4
+ data.tar.gz: d15a43167c6de013170621a556a7d2845f79cb24e1d611359d17bf8918f2d0fd
5
5
  SHA512:
6
- metadata.gz: da527ac6a598046f9c8c7c2c1264b3e18c979b2ca5c2df65a6709952a3238afe733e3c52e92e0322946c46ff7b54141d986e2cdfe41ad5c0ae125bc96ad52c80
7
- data.tar.gz: 64a8f1688c6781b2a10f3157747f8130c59072be29ed9b238500700166bb9c8e5d4b30e8a5493407c8354f71fd83d246dd3b9f9778dda6c23105dedcb209ae92
6
+ metadata.gz: 8189675ea585094286244bef37ca1bc400eadf18a295e3d6a3beb23ed3e733c94a5bf8da8c3df001022244df2b2d1a68212370a6e248b53504d1a48726131a7f
7
+ data.tar.gz: 70b957e62e938bee19922086549d3472ab36676d5e30cf6f671e88f844d1ce4787d4d71f4980875cbf6d8b5c4d79fe6eb7afe0a626b6bb38d45f28ddce18fec8
data/CHANGELOG.md CHANGED
@@ -10,6 +10,9 @@
10
10
  Users of Equalizer should now only need to `require "dry/core"` first.
11
11
 
12
12
 
13
+ ### Changed
14
+
15
+ - Minimal Ruby version is 3.0
13
16
 
14
17
  [Compare v1.0.0...v1.0.1](https://github.com/dry-rb/dry-core/compare/v1.0.0...v1.0.1)
15
18
 
data/dry-core.gemspec CHANGED
@@ -30,6 +30,7 @@ Gem::Specification.new do |spec|
30
30
 
31
31
  # to update dependencies edit project.yml
32
32
  spec.add_runtime_dependency "concurrent-ruby", "~> 1.0"
33
+ spec.add_runtime_dependency "logger"
33
34
  spec.add_runtime_dependency "zeitwerk", "~> 2.6"
34
35
 
35
36
  spec.add_development_dependency "bundler"
@@ -137,8 +137,7 @@ module Dry
137
137
 
138
138
  # @since 0.8.0
139
139
  # @api private
140
- def __inspect # rubocop:disable Style/EmptyMethod
141
- end
140
+ def __inspect; end
142
141
  end
143
142
  end
144
143
  end
@@ -102,7 +102,7 @@ module Dry
102
102
  # @param [#warn] logger
103
103
  #
104
104
  # @api public
105
- def set_logger!(output = $stderr) # rubocop:disable Naming/AccessorMethodName
105
+ def set_logger!(output = $stderr)
106
106
  if output.respond_to?(:warn)
107
107
  @logger = output
108
108
  else
@@ -194,7 +194,7 @@ module Dry
194
194
  message
195
195
  )
196
196
 
197
- meth = new_name ? method(new_name) : method(old_name)
197
+ meth = method(new_name || old_name)
198
198
 
199
199
  singleton_class.instance_exec do
200
200
  undef_method old_name if method_defined?(old_name)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Dry
4
4
  module Core
5
- VERSION = "1.0.1"
5
+ VERSION = "1.0.2"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dry-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nikita Shilnikov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-06 00:00:00.000000000 Z
11
+ date: 2024-10-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby
@@ -24,6 +24,20 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: logger
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: zeitwerk
29
43
  requirement: !ruby/object:Gem::Requirement
@@ -142,7 +156,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
142
156
  - !ruby/object:Gem::Version
143
157
  version: '0'
144
158
  requirements: []
145
- rubygems_version: 3.3.26
159
+ rubygems_version: 3.3.27
146
160
  signing_key:
147
161
  specification_version: 4
148
162
  summary: A toolset of small support modules used throughout the dry-rb ecosystem