dry-core 0.4.5 → 0.4.6

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: 5b4f56e04c1cdf9503a86498dafcd37a2e46d1c18d5a40e9974795cd656d183e
4
- data.tar.gz: a774b50a5616c40a6bac42240ae0e666b10d847bf083922bfd93921828f658e1
3
+ metadata.gz: 719e6ba42598bd3ac7e39df64b0ddead36645f4890b7e90f3e310222a83737ca
4
+ data.tar.gz: ca467306a42f04a7b7ffeb48bdcbc05e719b90e6d46b92e9d4a0d6fd0f110e54
5
5
  SHA512:
6
- metadata.gz: ab32eee7ff76b9176cd1fc80f0112c67918557d655dd24f043b65256c86fed3ab7469cb642ef31a75aa5a8e6c6abc9abc709f3591cac7b6daef9fee0def6454f
7
- data.tar.gz: 0a24c3dd493063e9046740e52d9a4e54e8e2df874577830c1c066dfcf27bfcb7a824a4d2da1ef55849e23806a0d7e3bfe37ca4ca796be3890dbff19ff0b4fd14
6
+ metadata.gz: 38dedf2bebde6ff93f28b8779e3d1e2ebd3c98c8941cf5b39d178955f1aebd6567a073aee4920994d243d02c8ac5bec5265cf731f5c205d476d5ed6a294187eb
7
+ data.tar.gz: 83230529e9334a495e260e8a54c07a2015cffd12f94f824a8de501430bc03700aecd3da32d314558693a06b995c27f312b58d4c726e2f4ab5c634d1c4d1f7cfc
@@ -1,10 +1,16 @@
1
+ # v0.4.6 2018-05-15
2
+
3
+ * Trigger constant autoloading in the class builder (radar)
4
+
5
+ [Compare v0.4.5...v0.4.6](https://github.com/dry-rb/dry-core/compare/v0.4.5...v0.4.6)
6
+
1
7
  # v0.4.5 2018-03-14
2
8
 
3
9
  ### Added
4
10
 
5
11
  * `Dry::Core::Memoizable`, which provides a `memoize` macro for memoizing results of instance methods (timriley)
6
12
 
7
- [Compare v0.4.5...v0.4.5](https://github.com/dry-rb/dry-core/compare/v0.4.4...v0.4.5)
13
+ [Compare v0.4.4...v0.4.5](https://github.com/dry-rb/dry-core/compare/v0.4.4...v0.4.5)
8
14
 
9
15
  # v0.4.4 2018-02-10
10
16
 
@@ -81,6 +81,11 @@ module Dry
81
81
 
82
82
  # @api private
83
83
  def create_base(namespace, name, parent)
84
+ begin
85
+ namespace.const_get(name)
86
+ rescue NameError
87
+ end
88
+
84
89
  if namespace.const_defined?(name, false)
85
90
  existing = namespace.const_get(name)
86
91
 
@@ -1,5 +1,5 @@
1
1
  module Dry
2
2
  module Core
3
- VERSION = '0.4.5'.freeze
3
+ VERSION = '0.4.6'.freeze
4
4
  end
5
5
  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: 0.4.5
4
+ version: 0.4.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nikita Shilnikov
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-03-13 00:00:00.000000000 Z
11
+ date: 2018-05-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby
@@ -119,7 +119,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
119
119
  version: '0'
120
120
  requirements: []
121
121
  rubyforge_project:
122
- rubygems_version: 2.7.5
122
+ rubygems_version: 2.7.6
123
123
  signing_key:
124
124
  specification_version: 4
125
125
  summary: A toolset of small support modules used throughout the dry-rb ecosystem.