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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a50e05427c5ceed2e32b3132918648b960b94bbf
4
- data.tar.gz: eefa7c8cff2df4b9b85514b5a6daa2bcd778b0a5
3
+ metadata.gz: f01ddce23e913574f7d1b43fb6307097a944bd80
4
+ data.tar.gz: c961292af3ebf3409fd37481c705c6c509f1da8a
5
5
  SHA512:
6
- metadata.gz: f8a881a95424ab88089c4e730d3c8b8ee8df5d75322b939319d3386070f8693071febb3306408fa873ee23eab32870608e7d52fe8b80558a347d0460b500b3f7
7
- data.tar.gz: ddd2c6635b674c9c4af25384a9cbf0b72a9f760977b072af037203d3fe46e9c21938fb12ea70d6403c5edbc2148f05d6ef563f7229aa0112d3e7d7b76e08e3a3
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)
@@ -1,5 +1,5 @@
1
1
  module ThreadSafe
2
- VERSION = "0.3.2"
2
+ VERSION = "0.3.3"
3
3
  end
4
4
 
5
5
  # NOTE: <= 0.2.0 used Threadsafe::VERSION
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.2
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-05 00:00:00.000000000 Z
12
+ date: 2014-04-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: atomic