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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 72564326160408e9f9482ab514bc775b18f43cab
4
- data.tar.gz: aa84d58c559365ae4f0601eaf7ce917ffa3e1075
3
+ metadata.gz: 22229af5fc28a276c0dff9078d7af61876876425
4
+ data.tar.gz: 42a6e4c04e05ae1e22cfd60b716396fd4ee53336
5
5
  SHA512:
6
- metadata.gz: b2b44325c91f4cc74e3c38c0b99d3744a89bbbb88eee3119b294ecc87cbdc7a874fd387674329ba94b17e14d26c1f5b97ae1aba2366cce65872d3e162dad0b6f
7
- data.tar.gz: 94ae3147e24a4f0f41f4c3d1554bb3739cb528783214e070f885733ed499ae5c1d70e98d483666d6238bbfa9d131a5154340835da67f3f91014c8246dabf68d5
6
+ metadata.gz: fa3e4fee24583ea8e58b9f93854ddcfbe872e855b3830ad231c292398cfcf0d97af77664da055a2b110e1ba5df1d271ea7060477895e86e35be5fa25cba0b428
7
+ data.tar.gz: 100b290509c6e7d6598c96c9908420fe1e4617e03b312524b38e3550427a7ff61b97d6f739f4a4ea47e8fd3137498a75bc15cc08380a4f2566295465d0d6aded
data/.gitignore CHANGED
@@ -1,3 +1,4 @@
1
+ .*.sw?
1
2
  lib/atomic_reference.jar
2
3
  /nbproject
3
4
  ext/*.bundle
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.15"
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
- if CONFIG["GCC"] && CONFIG["GCC"] != ""
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.15
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-02-26 00:00:00.000000000 Z
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: