y_support 2.0.15.p1 → 2.0.15

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: 326d4643c9c678771d09d5c90046d9e1858f887b
4
- data.tar.gz: 7a87cc4045556e716700a2888573d27bbb99e7d5
3
+ metadata.gz: 19f2a4354d073554969497236a840bfc627b82c4
4
+ data.tar.gz: 16c398767b9bf9fe5f8b47493afc5ce19217ce94
5
5
  SHA512:
6
- metadata.gz: 5049da6a9a4ecde2993d84b81ec38e7ed8a4ca099b49c9c4b807e7926da0fa49f3b993ffe4ccd8e5f8222aeaa5e6ffe31ed4a225bd7701455b886b293de78513
7
- data.tar.gz: 297c2bde7a494d9c10731f62827fa6f7b068308796314581739ef175521ea0b770025f02ed2a87b7f67a9124e366c976667175d24176a4b37744e681853f63df
6
+ metadata.gz: 809cbb160095dd65919970d4fcacb3e753a81a8f1a7462889c18737fd2488cd9a74efae8087d3c4c707d3f9ed597ca584220ef86aea97c9ebc89bac1815df411
7
+ data.tar.gz: 5fb1edfd61f9634160b32e045e89647924e53d83fc86e9d0bca07e11f956de651affa0f60d0f3f868977396d8af65453462e1d4750228b8357d4b6af73e71cca
@@ -114,9 +114,10 @@ module NameMagic
114
114
  #
115
115
  def __forget__( instance )
116
116
  return false unless __instances__.keys.include? instance
117
- namespace.send :remove_const, instance.name if instance.name
118
- __avid_instances__.delete( instance )
119
- __instances__.delete instance
117
+ __instances__.delete instance.tap do |name| # remove @instances entry
118
+ __avid_instances__.delete( instance ) # also from here
119
+ namespace.send :remove_const, name if name
120
+ end
120
121
  end
121
122
 
122
123
  # Clears namespace-owned references to all the anonymous instances.
@@ -1,3 +1,3 @@
1
1
  module YSupport
2
- VERSION = "2.0.15.p1"
2
+ VERSION = "2.0.15"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: y_support
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.15.p1
4
+ version: 2.0.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - boris
@@ -126,9 +126,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
126
126
  version: '0'
127
127
  required_rubygems_version: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - '>'
129
+ - - '>='
130
130
  - !ruby/object:Gem::Version
131
- version: 1.3.1
131
+ version: '0'
132
132
  requirements: []
133
133
  rubyforge_project:
134
134
  rubygems_version: 2.0.3