robinhood 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/.travis.yml +1 -0
- data/lib/robinhood/process.rb +2 -1
- data/lib/robinhood/version.rb +1 -1
- data/spec/acceptance/dsl_spec.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b99be853184d3a66a715113b18083c1d120289bd
|
4
|
+
data.tar.gz: afd881ea79ae52a2eea1fc8487a1bd1993dbb84a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db116b2c868a2ee2e0ce07de48e9b4011182664abcea3226f257a1fc6744ee75c38be34ef3fd5321640aa74be2636675c87e13d6121f85dbd8c85208abbafcd3
|
7
|
+
data.tar.gz: a39310b7658ff9e44ad687d081cfadd6b76fd7a493ff13e4f98d7e2ee402ad52b0b0f43da49625eb9cc204f08ba1375502ccb6e262f748d04cf52bd47d172602
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.1.0
|
data/.travis.yml
CHANGED
data/lib/robinhood/process.rb
CHANGED
@@ -50,6 +50,7 @@ module Robinhood
|
|
50
50
|
end
|
51
51
|
ensure
|
52
52
|
unlock
|
53
|
+
sleep(1)
|
53
54
|
end
|
54
55
|
ensure
|
55
56
|
async.run
|
@@ -80,7 +81,7 @@ module Robinhood
|
|
80
81
|
end
|
81
82
|
|
82
83
|
def mutex
|
83
|
-
@mutex ||= Mutex.new(lock_name, block:
|
84
|
+
@mutex ||= Mutex.new(lock_name, block: 5, sleep: 1, expire: timeout)
|
84
85
|
end
|
85
86
|
end
|
86
87
|
end
|
data/lib/robinhood/version.rb
CHANGED
data/spec/acceptance/dsl_spec.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: robinhood
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josep Jaume
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-12-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: celluloid
|
@@ -206,7 +206,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
206
206
|
version: '0'
|
207
207
|
requirements: []
|
208
208
|
rubyforge_project:
|
209
|
-
rubygems_version: 2.
|
209
|
+
rubygems_version: 2.2.0
|
210
210
|
signing_key:
|
211
211
|
specification_version: 4
|
212
212
|
summary: Robin hood leverages celluloid actors and redis-mutex to distribute long-lived,
|