dry-core 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/lib/dry/core/deprecations.rb +2 -2
- data/lib/dry/core/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cdac6ce2a9831f64dd76d54abe8a49a1e3fc7b0f
|
4
|
+
data.tar.gz: cfbfa541b66c70f49dabea1dbebb699fb846d3c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c699046b2088d1c079409fe95b3bdfcee2cde0f515e09b986cf0c762557caffae1e5e21013a16d63ba1863153ba875271a90031a13d58d1646d44d8b24354129
|
7
|
+
data.tar.gz: 7b6f4d3e999ef48027cc60d3fec8d93fb54c7fad23945b095a1499722258057f99ca146b168b5cfa30cda6cb1435314637cc3177f9c0e73f04b2cb4544e5d1e9
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,19 @@
|
|
1
|
+
# v0.2.4 2017-01-26
|
2
|
+
|
3
|
+
### Fixed
|
4
|
+
|
5
|
+
* Do not require deprecated method to be defined (flash-gordon)
|
6
|
+
|
7
|
+
[Compare v0.2.3...v0.2.4](https://github.com/dry-rb/dry-core/compare/v0.2.2...v0.2.3)
|
8
|
+
|
9
|
+
# v0.2.3 2016-12-30
|
10
|
+
|
11
|
+
### Fixed
|
12
|
+
|
13
|
+
* Fix warnings on using uninitialized class attributes (flash-gordon)
|
14
|
+
|
15
|
+
[Compare v0.2.2...v0.2.3](https://github.com/dry-rb/dry-core/compare/v0.2.2...v0.2.3)
|
16
|
+
|
1
17
|
# v0.2.2 2016-12-30
|
2
18
|
|
3
19
|
### Added
|
@@ -143,7 +143,7 @@ module Dry
|
|
143
143
|
mod = self
|
144
144
|
|
145
145
|
if new_name
|
146
|
-
undef_method old_name
|
146
|
+
undef_method old_name if method_defined?(old_name)
|
147
147
|
|
148
148
|
define_method(old_name) do |*args, &block|
|
149
149
|
mod.warn(full_msg)
|
@@ -177,7 +177,7 @@ module Dry
|
|
177
177
|
meth = new_name ? method(new_name) : method(old_name)
|
178
178
|
|
179
179
|
singleton_class.instance_exec do
|
180
|
-
undef_method old_name
|
180
|
+
undef_method old_name if method_defined?(old_name)
|
181
181
|
|
182
182
|
define_method(old_name) do |*args, &block|
|
183
183
|
warn(full_msg)
|
data/lib/dry/core/version.rb
CHANGED
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.2.
|
4
|
+
version: 0.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nikita Shilnikov
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-01-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: concurrent-ruby
|