thread_safe 0.3.2-java → 0.3.3-java
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: 7fd37d50ff9f836cf29ce15fb041100b0976d531
|
4
|
+
data.tar.gz: 344146e2c75247f3ac706125e872cf29d3a0b935
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bfbe832f2f16d0a36650db54a7e0e1e1edd713f4bad7abbecb0c1075034edf863c1a3302e2879606ce558e956f08f4681d07f27d03b2d7372716f90b130d1620
|
7
|
+
data.tar.gz: bd982d5e3018e6856b4cc47ffc248016a32ea44fbdaae771136bee5749d804e81052919b5b07673747ba4e380b056f7198dadb1ceff28ff6b48ab2ee3be13316
|
@@ -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: java
|
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
|