spockets 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/spockets/Spockets.rb +2 -2
- data/lib/spockets/Spockets.rb~ +2 -1
- data/spockets-0.0.3.gem +0 -0
- data/spockets.gemspec +1 -1
- data/spockets.gemspec~ +1 -1
- metadata +2 -1
data/lib/spockets/Spockets.rb
CHANGED
@@ -5,8 +5,6 @@ module Spockets
|
|
5
5
|
|
6
6
|
class Spockets
|
7
7
|
|
8
|
-
alias :delete, :remove
|
9
|
-
|
10
8
|
# :pool:: ActionPool if you would like to consolidate
|
11
9
|
# :clean:: Clean string. Set to true for default or
|
12
10
|
# provide a block to clean strings
|
@@ -81,6 +79,8 @@ module Spockets
|
|
81
79
|
@sockets.has_key?(socket)
|
82
80
|
end
|
83
81
|
|
82
|
+
alias :delete :remove
|
83
|
+
|
84
84
|
end
|
85
85
|
|
86
86
|
end
|
data/lib/spockets/Spockets.rb~
CHANGED
@@ -5,7 +5,7 @@ module Spockets
|
|
5
5
|
|
6
6
|
class Spockets
|
7
7
|
|
8
|
-
alias :delete
|
8
|
+
alias :delete :remove
|
9
9
|
|
10
10
|
# :pool:: ActionPool if you would like to consolidate
|
11
11
|
# :clean:: Clean string. Set to true for default or
|
@@ -52,6 +52,7 @@ module Spockets
|
|
52
52
|
end
|
53
53
|
end
|
54
54
|
|
55
|
+
# remove all sockets
|
55
56
|
def clear
|
56
57
|
@sockets.clear
|
57
58
|
stop
|
data/spockets-0.0.3.gem
ADDED
Binary file
|
data/spockets.gemspec
CHANGED
data/spockets.gemspec~
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spockets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- spox
|
@@ -34,6 +34,7 @@ files:
|
|
34
34
|
- README
|
35
35
|
- README~
|
36
36
|
- spockets.gemspec~
|
37
|
+
- spockets-0.0.3.gem
|
37
38
|
- spockets.gemspec
|
38
39
|
- lib
|
39
40
|
- lib/spockets
|