Pulse 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -58,7 +58,9 @@ module Pulse
58
58
  end
59
59
 
60
60
  def unload_scripts
61
- @scripts.each &:unload!
61
+ @scripts.each do |script|
62
+ script.unload!
63
+ end.clear
62
64
  end
63
65
 
64
66
  def each_user name
@@ -23,7 +23,6 @@ module Pulse
23
23
 
24
24
  def unload!
25
25
  cache.save if @cache
26
- @client.scripts.delete self
27
26
  __send__ :unloaded if respond_to? :unloaded
28
27
  end
29
28
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 1
8
- - 0
9
- version: 1.1.0
8
+ - 1
9
+ version: 1.1.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Mikkel Kroman