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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 06f679ef9a961420b4a93ae6ba83daee64f71010
4
- data.tar.gz: 4184c1f1101c58fc5e17b6a3803ed59c55ec4435
3
+ metadata.gz: cdac6ce2a9831f64dd76d54abe8a49a1e3fc7b0f
4
+ data.tar.gz: cfbfa541b66c70f49dabea1dbebb699fb846d3c5
5
5
  SHA512:
6
- metadata.gz: e097989b53b291dc9b8eb7d26beca5bfa798cad5175bfdc89f78b0d9ca0ccd6468dfeaba586c3b0a4c905746059587adcbe878fa953622f3a56235148ee478cd
7
- data.tar.gz: 53f6c70cb7d8d05ccf17c0c6e13aabe93bc0362d008be8bcbc6a251f8e9c6f8d3f4a7c82c169c88fada0aab6d20c5278263fcb689f25878c11c84c80df015180
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)
@@ -1,5 +1,5 @@
1
1
  module Dry
2
2
  module Core
3
- VERSION = '0.2.3'.freeze
3
+ VERSION = '0.2.4'.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.2.3
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: 2016-12-30 00:00:00.000000000 Z
11
+ date: 2017-01-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby