legion 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3a0370b6a3576021ba3d8cd99201840d7445d11d
4
- data.tar.gz: f048c9b216b1455b8c5546394ab0d2588da773dd
3
+ metadata.gz: fd69818926d0f41b603632afaf91c6b257fd9151
4
+ data.tar.gz: 7eca50ed8192c289c2b9414ee9996e2b12f2a36b
5
5
  SHA512:
6
- metadata.gz: cd3cb6efa8c8b1fac661217b5221ca89a4264d10a93bf13260dc1fd08aa1f3ecad3482dea944637fa00b479620cc66f6a91a5345a4406b99b4a025949a0315f6
7
- data.tar.gz: 303240961b37565c7917b91c93cbcde7f184288061ebd756d6b12284d2094d08a8fc11fa20b740ff354800bd736535f8757fc6329abd9b9379aef0300b47480f
6
+ metadata.gz: cc8a23b37cbec7e348281a8f70537d90c5acb2eeaafb8650a161dc720e11c82c8bd88de935cc2b0522d56aeceeafed29c65f826cb9bee65dcf5ae41d718529c6
7
+ data.tar.gz: 425a8a393945f8d9fefb22abab9082dcc346efc643c85e6ac9b9e7a80273e0ab103121ea69f688994fb5a20a39b5571a8325464f7d1e40b0ed95fc70196e7b57
@@ -12,11 +12,9 @@ module Legion
12
12
  define_method "#{name}_async" do |*args|
13
13
  Thread.new do
14
14
  synchronize { @busy = true }
15
- sleep 0
16
15
  self.class.callbacks[:before][name].call unless self.class.callbacks[:before][name].nil?
17
16
  send(name, *args)
18
17
  synchronize { @busy = false }
19
- Thread.terminate
20
18
  end
21
19
  end
22
20
  end
@@ -1,3 +1,3 @@
1
1
  module Legion
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: legion
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Hopkins
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-09-27 00:00:00.000000000 Z
11
+ date: 2013-11-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler