concurrent-ruby 1.0.2 → 1.0.3.pre3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/concurrent/atom.rb +1 -1
- data/lib/concurrent/version.rb +2 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1e05d432b7c32dd2b17dc4ae322cdb31ac6f2879
|
4
|
+
data.tar.gz: 9a113f7a1d0f9ebca2692c99898442b5cc167075
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f8e6c46b5155faaa119a94b3a436eaf50c4f08b496403242ab2b65675e0fb6a5196ef3ed1c21e7cad943530e072e078f26b28fce574d12a406cebddcfcf497f1
|
7
|
+
data.tar.gz: 1652f41ad20dd7d3ac04e0b6751a030eaa6b700b063aef7b8df003b0fdc14bcd85d35543a4b4fed338176f4baf831e72e043b5f62da11e792f3c360ad3b4ec8c
|
data/lib/concurrent/atom.rb
CHANGED
@@ -158,8 +158,8 @@ module Concurrent
|
|
158
158
|
|
159
159
|
loop do
|
160
160
|
old_value = value
|
161
|
+
new_value = yield(old_value, *args)
|
161
162
|
begin
|
162
|
-
new_value = yield(old_value, *args)
|
163
163
|
break old_value unless valid?(new_value)
|
164
164
|
break new_value if compare_and_set(old_value, new_value)
|
165
165
|
rescue
|
data/lib/concurrent/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: concurrent-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3.pre3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jerry D'Antonio
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-
|
12
|
+
date: 2016-06-23 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: |
|
15
15
|
Modern concurrency tools including agents, futures, promises, thread pools, actors, supervisors, and more.
|
@@ -164,9 +164,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
164
164
|
version: 1.9.3
|
165
165
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
166
166
|
requirements:
|
167
|
-
- - "
|
167
|
+
- - ">"
|
168
168
|
- !ruby/object:Gem::Version
|
169
|
-
version:
|
169
|
+
version: 1.3.1
|
170
170
|
requirements: []
|
171
171
|
rubyforge_project:
|
172
172
|
rubygems_version: 2.6.4
|