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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6a8e5f14e4a1e118dc9f6404da844b670de3529d
4
- data.tar.gz: 848f7bcded7ff231eac299accd77591ee4c93865
3
+ metadata.gz: 1e05d432b7c32dd2b17dc4ae322cdb31ac6f2879
4
+ data.tar.gz: 9a113f7a1d0f9ebca2692c99898442b5cc167075
5
5
  SHA512:
6
- metadata.gz: 31c9d60c22b34929e192a274077b322e9712a0eacaa10f3928255aa43d4e74f76b1239ece532083165d293fbd57362199b3cc41b323530ffba15fe9c79f0606a
7
- data.tar.gz: e26ac84e9f4b1d9051888bfb2c92e908cac2d72a502f8ef4618a5ab560215f9ddf9996935eed52a54043b4bd43264ab79d8a1a4bed3e0c12ce6d902aa5b59c70
6
+ metadata.gz: f8e6c46b5155faaa119a94b3a436eaf50c4f08b496403242ab2b65675e0fb6a5196ef3ed1c21e7cad943530e072e078f26b28fce574d12a406cebddcfcf497f1
7
+ data.tar.gz: 1652f41ad20dd7d3ac04e0b6751a030eaa6b700b063aef7b8df003b0fdc14bcd85d35543a4b4fed338176f4baf831e72e043b5f62da11e792f3c360ad3b4ec8c
@@ -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
@@ -1,4 +1,4 @@
1
1
  module Concurrent
2
- VERSION = '1.0.2'
3
- EDGE_VERSION = '0.2.2'
2
+ VERSION = '1.0.3.pre3'
3
+ EDGE_VERSION = '0.2.3.pre3'
4
4
  end
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.2
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-05-02 00:00:00.000000000 Z
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: '0'
169
+ version: 1.3.1
170
170
  requirements: []
171
171
  rubyforge_project:
172
172
  rubygems_version: 2.6.4