atomic 1.1.15 → 1.1.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/README.md +3 -0
- data/atomic.gemspec +1 -1
- data/ext/extconf.rb +13 -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: 32f81da2519e7a0c9333bbdb1c4ec74214344e5f
|
4
|
+
data.tar.gz: ee7d7a8d80a491b45d7cdb953aa04c48b2b73985
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3eac30934691ea873fb2e236184afdaeb5d43202502ec378630f9e000458d8a62b44cf09d950d9cf35a702dace6e0101a3ee99f8bae81fc29b82f20af658f5b1
|
7
|
+
data.tar.gz: ad4da7877b909a6b52afc3f847ea705364440bee96a9051f17e8c51ec18fcc74c31df5b36aecc85c1c4436fba1654540eda42fb0217d26da0b3d09e1b1e68822
|
data/.gitignore
CHANGED
data/README.md
CHANGED
@@ -1,4 +1,7 @@
|
|
1
1
|
atomic: An atomic reference implementation for JRuby, Rubinius, and MRI.
|
2
|
+
========================================================================
|
3
|
+
|
4
|
+
[![Build Status](https://travis-ci.org/headius/ruby-atomic.png?branch=master)](https://travis-ci.org/headius/ruby-atomic)
|
2
5
|
|
3
6
|
Summary
|
4
7
|
=======
|
data/atomic.gemspec
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |s|
|
6
6
|
s.name = %q{atomic}
|
7
|
-
s.version = "1.1.
|
7
|
+
s.version = "1.1.16"
|
8
8
|
s.authors = ["Charles Oliver Nutter", "MenTaLguY", "Sokolov Yura"]
|
9
9
|
s.date = Time.now.strftime('%Y-%m-%d')
|
10
10
|
s.summary = "An atomic reference implementation for JRuby, Rubinius, and MRI"
|
data/ext/extconf.rb
CHANGED
@@ -16,7 +16,19 @@ dir_config(extension_name)
|
|
16
16
|
|
17
17
|
have_header "libkern/OSAtomic.h"
|
18
18
|
|
19
|
-
|
19
|
+
def compiler_is_gcc
|
20
|
+
if CONFIG["GCC"] && CONFIG["GCC"] != ""
|
21
|
+
return true
|
22
|
+
elsif ( # This could stand to be more generic... but I am afraid.
|
23
|
+
CONFIG["CC"] =~ /\bgcc\b/
|
24
|
+
)
|
25
|
+
return true
|
26
|
+
end
|
27
|
+
return false
|
28
|
+
end
|
29
|
+
|
30
|
+
|
31
|
+
if compiler_is_gcc
|
20
32
|
case CONFIG["arch"]
|
21
33
|
when /mswin32|mingw|solaris/
|
22
34
|
$CFLAGS += " -march=native"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: atomic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Charles Oliver Nutter
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2014-
|
13
|
+
date: 2014-03-17 00:00:00.000000000 Z
|
14
14
|
dependencies: []
|
15
15
|
description: An atomic reference implementation for JRuby, Rubinius, and MRI
|
16
16
|
email:
|