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 +4 -4
- data/lib/y_support/name_magic/namespace_methods.rb +4 -3
- data/lib/y_support/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 19f2a4354d073554969497236a840bfc627b82c4
|
4
|
+
data.tar.gz: 16c398767b9bf9fe5f8b47493afc5ce19217ce94
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
118
|
-
|
119
|
-
|
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.
|
data/lib/y_support/version.rb
CHANGED
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
|
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:
|
131
|
+
version: '0'
|
132
132
|
requirements: []
|
133
133
|
rubyforge_project:
|
134
134
|
rubygems_version: 2.0.3
|