thread_safe 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/thread_safe/util/atomic_reference.rb +1 -1
- data/lib/thread_safe/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: f01ddce23e913574f7d1b43fb6307097a944bd80
|
4
|
+
data.tar.gz: c961292af3ebf3409fd37481c705c6c509f1da8a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 061a7b8615337b3db8a5ce99889c95b3dade77cfa151c6eed42d672593771e7814d5350009438b5b76fb0e2ca2e155b3e185417766673c5ae4c08da8646d8e52
|
7
|
+
data.tar.gz: f751f6900efa28f043e0bca2db507cd70f215ad2e241c646c9b14dd7ca75eaf0a8b12000e966ae1e4cbe0cf3ac454534ed79ca4c2b3f6fdd0117e5a2da69ec8f
|
@@ -8,7 +8,7 @@ module ThreadSafe
|
|
8
8
|
begin
|
9
9
|
require 'atomic'
|
10
10
|
defined?(Atomic::InternalReference) ? Atomic::InternalReference : Atomic
|
11
|
-
rescue NameError
|
11
|
+
rescue LoadError, NameError
|
12
12
|
require 'thread' # get Mutex on 1.8
|
13
13
|
class FullLockingAtomicReference
|
14
14
|
def initialize(value = nil)
|
data/lib/thread_safe/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: thread_safe
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Charles Oliver Nutter
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-04-
|
12
|
+
date: 2014-04-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: atomic
|