atomic 1.1.15-java → 1.1.16-java
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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: 22229af5fc28a276c0dff9078d7af61876876425
|
4
|
+
data.tar.gz: 42a6e4c04e05ae1e22cfd60b716396fd4ee53336
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fa3e4fee24583ea8e58b9f93854ddcfbe872e855b3830ad231c292398cfcf0d97af77664da055a2b110e1ba5df1d271ea7060477895e86e35be5fa25cba0b428
|
7
|
+
data.tar.gz: 100b290509c6e7d6598c96c9908420fe1e4617e03b312524b38e3550427a7ff61b97d6f739f4a4ea47e8fd3137498a75bc15cc08380a4f2566295465d0d6aded
|
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
|
+
[](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: java
|
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:
|