atomic 1.1.6 → 1.1.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/atomic.gemspec +2 -2
  2. data/ext/extconf.rb +1 -1
  3. metadata +15 -12
@@ -1,8 +1,8 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
 
3
3
  # Update these to get proper version and commit history
4
- new_version = "1.1.6"
5
- old_version = "1.1.5"
4
+ new_version = "1.1.7"
5
+ old_version = "1.1.6"
6
6
 
7
7
  git_lines = `git log --oneline #{old_version}...#{new_version}`.lines.map {|str| "* #{str}"}.join
8
8
  doc_lines = File.readlines("README.rdoc")
@@ -24,7 +24,7 @@ CODE
24
24
 
25
25
  case CONFIG["arch"]
26
26
  when /mswin32|mingw/
27
- $CFLAGS += " -march=i686"
27
+ $CFLAGS += " -march=native"
28
28
  end
29
29
 
30
30
  create_makefile(extension_name)
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.6
4
+ version: 1.1.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,19 +11,22 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2013-04-06 00:00:00.000000000 Z
14
+ date: 2013-04-11 00:00:00.000000000 Z
15
15
  dependencies: []
16
16
  description: ! "= An atomic reference implementation for JRuby, Rubinius, and MRI.\n\n\n==
17
- Changes since 1.1.5\n\n\n== Summary\n\n\n\nThis library provides:\n\n\n\n* an Atomic
18
- class that guarantees atomic updates to its contained value\n\n\n\nThe Atomic class
19
- provides accessors for the contained \"value\" plus two update methods:\n\n\n\n*
20
- update will run the provided block, passing the current value and replacing it with
21
- the block result iff the value has not been changed in the mean time. It may run
22
- the block repeatedly if there are other concurrent updates in progress.\n\n* try_update
23
- will run the provided block, passing the current value and replacing it with the
24
- block result. If the value changes before the update can happen, it will throw Atomic::ConcurrentUpdateError.\n\n\n\nThe
25
- atomic repository is at http://github.com/headius/ruby-atomic.\n\n\n\n== Usage\n\n\n\nThe
26
- simplest way to use \"atomic\" is to call the \"update\" or \"try_update\" methods.\n\n\n\n\"try_update\"
17
+ Changes since 1.1.6\n\n* fa74e58 Bump version to 1.1.7.\n* 9b58cf0 Merge pull request
18
+ #20 from lazyspark/master\n* 14fc4a9 Removed compiled gem from src\n* 7d0ade6 Changing
19
+ the arch to native, to make it successfully compile using mingw\n\n== Summary\n\n\n\nThis
20
+ library provides:\n\n\n\n* an Atomic class that guarantees atomic updates to its
21
+ contained value\n\n\n\nThe Atomic class provides accessors for the contained \"value\"
22
+ plus two update methods:\n\n\n\n* update will run the provided block, passing the
23
+ current value and replacing it with the block result iff the value has not been
24
+ changed in the mean time. It may run the block repeatedly if there are other concurrent
25
+ updates in progress.\n\n* try_update will run the provided block, passing the current
26
+ value and replacing it with the block result. If the value changes before the update
27
+ can happen, it will throw Atomic::ConcurrentUpdateError.\n\n\n\nThe atomic repository
28
+ is at http://github.com/headius/ruby-atomic.\n\n\n\n== Usage\n\n\n\nThe simplest
29
+ way to use \"atomic\" is to call the \"update\" or \"try_update\" methods.\n\n\n\n\"try_update\"
27
30
  and \"update\" both call the given block, passing the current value and using the
28
31
  block's result as the new value. If the value is updated by another thread before
29
32
  the block completes, \"try update\" raises a ConcurrentUpdateError and \"update\"