herpes 0.0.2.1 → 0.0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/herpes/version.rb +1 -1
  2. data/lib/herpes.rb +3 -1
  3. metadata +4 -4
@@ -10,6 +10,6 @@
10
10
 
11
11
  class Herpes
12
12
  def self.version
13
- '0.0.2.1'
13
+ '0.0.2.2'
14
14
  end
15
15
  end
data/lib/herpes.rb CHANGED
@@ -41,6 +41,8 @@ class Herpes
41
41
  end
42
42
 
43
43
  def gonna_call!
44
+ return if calling?
45
+
44
46
  @calling = :gonna
45
47
  end
46
48
 
@@ -66,8 +68,8 @@ class Herpes
66
68
 
67
69
  calling!
68
70
  @block.call(&block)
71
+ ensure
69
72
  called!
70
-
71
73
  herpes.wake_up
72
74
  end
73
75
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: herpes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2.1
4
+ version: 0.0.2.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-12-03 00:00:00.000000000 Z
12
+ date: 2011-12-05 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: threadpool
16
- requirement: &10404920 !ruby/object:Gem::Requirement
16
+ requirement: &19298820 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *10404920
24
+ version_requirements: *19298820
25
25
  description:
26
26
  email: meh@paranoici.org
27
27
  executables: