ntl-actor 1.0.0.pre4 → 1.0.0.pre5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/actor/supervisor.rb +0 -9
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 213ec057219d58d3caaf3932dfdb7f71cc26bb55
4
- data.tar.gz: c81cc5d728e1f9986db15ae3f6cbbcc41053d258
3
+ metadata.gz: 9bbcf6598eee031497d24632ac6ff00c6b4756cc
4
+ data.tar.gz: 51e50cbbb7488229a6c36e19976d0eef01e2c040
5
5
  SHA512:
6
- metadata.gz: 05cdaa8afaac75f26c794ac4bd5c4988e1f9f54242556aa2f324ef70ca3ea8e37745af187898357528adbeeaaae78deb27e3ce8a6fff8a2c31f2a923f3b40fbd
7
- data.tar.gz: 03ae60d1f779bdea71f0c24021618c17480a9a346b5c10753907ca334779c824ed7ade6cba0f145acf8cce219189eb54948f6eaeb156051e97814d690afeaeb1
6
+ metadata.gz: 4b24ef9df7128c00260d9c964869bdf305a4845c0229d63c3fc806de68b1926c3edf436ac5fadc0a205f6ab0c9730b71664175fe139cf730f2d9cb05b991f228
7
+ data.tar.gz: d36ba1e22d9680c0169f69b7331c1b63f45377c9a1f65122a132937becb4a33727bb8798e29388aefebd43be1acab274ed9283263996650c952f515e4be82c46
@@ -26,16 +26,7 @@ module Actor
26
26
  thread = Thread.new do
27
27
  thread_group = Thread.current.group
28
28
 
29
- prior_thread_count = thread_group.list.count
30
-
31
29
  instance = build &assembly_block
32
-
33
- thread_count = thread_group.list.count
34
-
35
- unless thread_count > prior_thread_count
36
- raise NoActorsStarted, "Assembly block must start at least one actor"
37
- end
38
-
39
30
  instance.run_loop
40
31
  end
41
32
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ntl-actor
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.pre4
4
+ version: 1.0.0.pre5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Ladd