atomic 1.1.5 → 1.1.6

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.
Files changed (2) hide show
  1. data/atomic.gemspec +2 -2
  2. metadata +9 -11
@@ -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.5"
5
- old_version = "1.1.4"
4
+ new_version = "1.1.6"
5
+ old_version = "1.1.5"
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")
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.5
4
+ version: 1.1.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -14,16 +14,14 @@ cert_chain: []
14
14
  date: 2013-04-06 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.4\n\n* e269463 Fix #15 by explicitly testing for GCC's CAS.\n*
18
- b8858f9 More formatting for description.\n* a574b34 More formatting for description.\n\n==
19
- Summary\n\n\n\nThis library provides:\n\n\n\n* an Atomic class that guarantees atomic
20
- updates to its contained value\n\n\n\nThe Atomic class provides accessors for the
21
- contained \"value\" plus two update methods:\n\n\n\n* update will run the provided
22
- block, passing the current value and replacing it with the block result iff the
23
- value has not been changed in the mean time. It may run the block repeatedly if
24
- there are other concurrent updates in progress.\n\n* try_update will run the provided
25
- block, passing the current value and replacing it with the block result. If the
26
- value changes before the update can happen, it will throw Atomic::ConcurrentUpdateError.\n\n\n\nThe
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
27
25
  atomic repository is at http://github.com/headius/ruby-atomic.\n\n\n\n== Usage\n\n\n\nThe
28
26
  simplest way to use \"atomic\" is to call the \"update\" or \"try_update\" methods.\n\n\n\n\"try_update\"
29
27
  and \"update\" both call the given block, passing the current value and using the