wref 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/lib/wref.rb +2 -2
- data/wref.gemspec +1 -1
- metadata +2 -2
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.0.
|
|
1
|
+
0.0.2
|
data/lib/wref.rb
CHANGED
|
@@ -36,8 +36,8 @@ class Wref
|
|
|
36
36
|
end
|
|
37
37
|
end
|
|
38
38
|
|
|
39
|
-
#Destroyes most variables on the object, releasing memory and returning 'Wref::Recycled' all the time.
|
|
40
|
-
def destroy
|
|
39
|
+
#Destroyes most variables on the object, releasing memory and returning 'Wref::Recycled' all the time. It takes arguments because it can be called from destructor of the original object. It doesnt use the arguments for anything.
|
|
40
|
+
def destroy(*args)
|
|
41
41
|
@id = nil
|
|
42
42
|
@class_name = nil
|
|
43
43
|
@unique_id = nil
|
data/wref.gemspec
CHANGED
metadata
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: wref
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease:
|
|
5
|
-
version: 0.0.
|
|
5
|
+
version: 0.0.2
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
8
8
|
- Kasper Johansen
|
|
@@ -93,7 +93,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
93
93
|
requirements:
|
|
94
94
|
- - ">="
|
|
95
95
|
- !ruby/object:Gem::Version
|
|
96
|
-
hash:
|
|
96
|
+
hash: -1325537217288483196
|
|
97
97
|
segments:
|
|
98
98
|
- 0
|
|
99
99
|
version: "0"
|