robinhood 0.1.0 → 0.1.1

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: d96b9f7a32f3b3a394c6601f4846040f22395c17
4
- data.tar.gz: 859e805401593b304091c8f1cba88afe768a3e58
3
+ metadata.gz: b99be853184d3a66a715113b18083c1d120289bd
4
+ data.tar.gz: afd881ea79ae52a2eea1fc8487a1bd1993dbb84a
5
5
  SHA512:
6
- metadata.gz: 2ffc6557319047d20031476ed520953999f7da88ebf321a68bfb97dfd5b4a6f71b4ddc8468c0a96b80c7623e881b27df3fcb5529361d4795706153b3083a4485
7
- data.tar.gz: 01a789dd9627fac4f2d259fb429f1fac7da3266f11e6fa04f02e36fe247b7cfd9c748c0b8dd72fbcc93d7ff2f64613be58f04770a373a92f9ec36a9bf0ee56ea
6
+ metadata.gz: db116b2c868a2ee2e0ce07de48e9b4011182664abcea3226f257a1fc6744ee75c38be34ef3fd5321640aa74be2636675c87e13d6121f85dbd8c85208abbafcd3
7
+ data.tar.gz: a39310b7658ff9e44ad687d081cfadd6b76fd7a493ff13e4f98d7e2ee402ad52b0b0f43da49625eb9cc204f08ba1375502ccb6e262f748d04cf52bd47d172602
@@ -1 +1 @@
1
- 2.0.0-p247
1
+ 2.1.0
@@ -1,6 +1,7 @@
1
1
  rvm:
2
2
  - 1.9.3
3
3
  - 2.0.0
4
+ - 2.1.0
4
5
  - rbx-2.1.1
5
6
 
6
7
  services:
@@ -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: 1, sleep: 0.1, expire: timeout)
84
+ @mutex ||= Mutex.new(lock_name, block: 5, sleep: 1, expire: timeout)
84
85
  end
85
86
  end
86
87
  end
@@ -1,3 +1,3 @@
1
1
  module Robinhood
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -13,7 +13,7 @@ describe "Robinhood.define" do
13
13
 
14
14
  Robinhood.run(background: true)
15
15
 
16
- sleep(0.2)
16
+ sleep(3)
17
17
  expect(queue).to be_empty
18
18
  end
19
19
 
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.0
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-27 00:00:00.000000000 Z
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.1.5
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,