legion 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/legion/object.rb +1 -0
- data/lib/legion/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e970eb47b6083ad05e799e84efdbe29c953051b0
|
4
|
+
data.tar.gz: 5cfc62b8733d3129f67760d78cb4f7d3e04f672f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eeb6fba6f908f1f6c235fc145e086029de5e8eacca3a58eea6ce72fe3fdd72f5f6ce3970e35cfb37d26beecc8026f1fc5d323052ca45ea7d1a48dcbd366a4e1f
|
7
|
+
data.tar.gz: 4b7b9ec5a02932541b86a5d04b70ad74f1bb72e61b74d81cd0e6f1b00a736cb4025d46359b771a2b4d4d06cac70e4865020058e0d136a9dfbc070ae6c1b81d7a
|
data/lib/legion/object.rb
CHANGED
@@ -12,6 +12,7 @@ module Legion
|
|
12
12
|
define_method "#{name}_async" do |*args|
|
13
13
|
Thread.new do
|
14
14
|
synchronize { @busy = true }
|
15
|
+
sleep 0
|
15
16
|
self.class.callbacks[:before][name].call unless self.class.callbacks[:before][name].nil?
|
16
17
|
send(name, *args)
|
17
18
|
synchronize { @busy = false }
|
data/lib/legion/version.rb
CHANGED
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.
|
4
|
+
version: 0.0.5
|
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-08-
|
11
|
+
date: 2013-08-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|