atomic 1.1.8 → 1.1.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5e0ab48fc1844ea59b735a512b398743faadb711
4
- data.tar.gz: 9965516fa2a0b20e14dcf5e3864cfd4b13645800
3
+ metadata.gz: 63aae1b2fb2eaa136cbe5e90c7b3efd0159d28c1
4
+ data.tar.gz: 8d8561a52dd81e1dd8184dd70a82d4e3665f8d6d
5
5
  SHA512:
6
- metadata.gz: 0dcae6c43515b160e14272624c823e6d31caf285338e4c92c438e4487611f0b73a5c2bc70e0ce44ec7507e1334bca351419f026e95691d5fba6aa9b77224e205
7
- data.tar.gz: a0383c6c8d551068ec91b8ced9799f36964af4468450cab279588d5aa4988fc1680441d9c8a24aa3324ab4b4ff46d4dc93447635eea6b613379512978da71bca
6
+ metadata.gz: 0900fcc2c8f0397e2d412a6e53219433f3e3f02cb6c3e5347f402f1d244d80b79a9312fcfcf5a58e84b46b1b7552438e9fd9e73b50a7969689f48cc1266dd452
7
+ data.tar.gz: e713ce3b0d3c794e28ae39312a77d3eda8bb7e6a05f50a8a5bc92a373a4ff4f1b22d4b2044c3bb1ce29444fdc77a3baa2524584b302488768854c2c47475c444
@@ -1,6 +1,7 @@
1
- = An atomic reference implementation for JRuby, Rubinius, and MRI.
1
+ atomic: An atomic reference implementation for JRuby, Rubinius, and MRI.
2
2
 
3
- == Summary
3
+ Summary
4
+ =======
4
5
 
5
6
  This library provides:
6
7
 
@@ -13,7 +14,8 @@ The Atomic class provides accessors for the contained "value" plus two update me
13
14
 
14
15
  The atomic repository is at http://github.com/headius/ruby-atomic.
15
16
 
16
- == Usage
17
+ Usage
18
+ =====
17
19
 
18
20
  The simplest way to use "atomic" is to call the "update" or "try_update" methods.
19
21
 
@@ -38,6 +40,7 @@ It's also possible to use the regular get/set operations on the Atomic, if you w
38
40
  my_atomic.compare_and_swap(2, 3) # => true, updated to 3
39
41
  my_atomic.compare_and_swap(2, 3) # => false, current is not 2
40
42
 
41
- == Building
43
+ Building
44
+ ========
42
45
 
43
- As of 1.1.0, JDK8 is required to build the atomic gem, since it attempts to use the new atomic Unsafe.getAndSetObject method only in JDK8. The resulting code should still work fine as far back as Java 5.
46
+ As of 1.1.0, JDK8 is required to build the atomic gem, since it attempts to use the new atomic Unsafe.getAndSetObject method only in JDK8. The resulting code should still work fine as far back as Java 5.
@@ -1,29 +1,17 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
 
3
3
  # Update these to get proper version and commit history
4
- new_version = "1.1.8"
5
- old_version = "1.1.7"
6
-
7
- git_lines = `git log --oneline #{old_version}...#{new_version}`.lines.map {|str| "* #{str}"}.join
8
- doc_lines = File.readlines("README.rdoc")
9
- description = <<EOS
10
- #{doc_lines[0]}
11
-
12
- == Changes since #{old_version}
13
-
14
- #{git_lines}
15
- EOS
16
4
 
17
5
  Gem::Specification.new do |s|
18
6
  s.name = %q{atomic}
19
- s.version = new_version
7
+ s.version = "1.1.9"
20
8
  s.authors = ["Charles Oliver Nutter", "MenTaLguY", "Sokolov Yura"]
21
9
  s.date = Time.now.strftime('%Y-%m-%d')
22
- s.description = description
10
+ s.summary = "An atomic reference implementation for JRuby, Rubinius, and MRI"
11
+ s.description = s.summary
23
12
  s.email = ["headius@headius.com", "mental@rydia.net", "funny.falcon@gmail.com"]
24
13
  s.homepage = "http://github.com/headius/ruby-atomic"
25
14
  s.require_paths = ["lib"]
26
- s.summary = "An atomic reference implementation for JRuby, Rubinius, and MRI"
27
15
  s.licenses = ["Apache-2.0"]
28
16
  s.test_files = Dir["test/test*.rb"]
29
17
  if defined?(JRUBY_VERSION)
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.8
4
+ version: 1.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Charles Oliver Nutter
@@ -10,26 +10,9 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-04-16 00:00:00.000000000 Z
13
+ date: 2013-05-06 00:00:00.000000000 Z
14
14
  dependencies: []
15
- description: |+
16
- = An atomic reference implementation for JRuby, Rubinius, and MRI.
17
-
18
-
19
- == Changes since 1.1.7
20
-
21
- * 0b1cd2d Add license to gemspec.
22
- * e8d43f1 Limit gem description to just commit log.
23
- * 6869b89 Version 1.1.8.
24
- * ed84820 Add numeric CAS logic for fallback, MRI, and Rubinius.
25
- * 40eca8e Make test work under 1.8-compat.
26
- * b6398e5 Add some missing license headers.
27
- * c291231 Allow forcing fallback impl.
28
- * 6c2ce92 Fix #21 by moving win32 CFLAGS tweak above other test compiles.
29
- * e59e92b Add CAS tests for more numeric types.
30
- * 0749145 Add pkg/ and *.gem to gitignore.
31
- * 073b4c1 Partial fix for numeric idempotence differences across Rubies.
32
-
15
+ description: An atomic reference implementation for JRuby, Rubinius, and MRI
33
16
  email:
34
17
  - headius@headius.com
35
18
  - mental@rydia.net
@@ -44,7 +27,7 @@ files:
44
27
  - .gitignore
45
28
  - .travis.yml
46
29
  - LICENSE
47
- - README.rdoc
30
+ - README.md
48
31
  - Rakefile
49
32
  - atomic.gemspec
50
33
  - examples/atomic_example.rb