Skip to content

Commit be39a0a

Browse files
committed
Preparing 1.0.4 and edge-0.3.0 release
Major promises update
1 parent 959e764 commit be39a0a

File tree

7 files changed

+36
-18
lines changed

7 files changed

+36
-18
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@ cache: bundler
44

55
rvm:
66
# start with the latest
7-
- 2.3.1
7+
- 2.4.0
88
- jruby-9.1.5.0
99

1010
# older versions
11+
- 2.3.3
1112
- 2.2
1213
- 2.1
1314
- 2.0

.yardopts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@ doc/thread_pools.md
1414
doc/promises.out.md
1515
README.md
1616
LICENSE.txt
17+
CHANGELOG.md

CHANGELOG.md

Lines changed: 24 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,16 @@
1-
## Current Release v1.0.3 (17 Dec 2016)
1+
## Current Release v1.0.4 (27 Dec 2016)
2+
3+
concurrent-ruby:
4+
5+
* Nothing
6+
7+
concurrent-ruby-edge:
8+
9+
* New promises' API renamed, lots of improvements, edge bumped to 0.3.0
10+
* **Incompatible** with previous 0.2.3 version
11+
* see https://github.com/ruby-concurrency/concurrent-ruby/pull/522
12+
13+
## Release v1.0.3 (17 Dec 2016)
214

315
* Trigger execution of flattened delayed futures
416
* Avoid forking for processor_count if possible
@@ -21,7 +33,7 @@
2133
* Improved documentation and examples
2234
* Minor updates to Edge
2335

24-
### Release v1.0.1 (27 February 2016)
36+
## Release v1.0.1 (27 February 2016)
2537

2638
* Fix "uninitialized constant Concurrent::ReentrantReadWriteLock" error.
2739
* Better handling of `autoload` vs. `require`.
@@ -34,7 +46,7 @@
3446
* Improved documentation.
3547
* Updated README and CONTRIBUTING.
3648

37-
### Release v1.0.0 (13 November 2015)
49+
## Release v1.0.0 (13 November 2015)
3850

3951
* Rename `attr_volatile_with_cas` to `attr_atomic`
4052
* Add `clear_each` to `LockFreeStack`
@@ -82,7 +94,7 @@
8294
* Many improved tests
8395
* Some internal reorganization
8496

85-
### Release v0.9.1 (09 August 2015)
97+
## Release v0.9.1 (09 August 2015)
8698

8799
* Fixed a Rubiniux bug in synchronization object
88100
* Fixed all interpreter warnings (except circular references)
@@ -96,7 +108,7 @@
96108
* `ThreadLocalVar#bind` method is now public
97109
* Refactored many tests
98110

99-
### Release v0.9.0 (10 July 2015)
111+
## Release v0.9.0 (10 July 2015)
100112

101113
* Updated `AtomicReference`
102114
- `AtomicReference#try_update` now simply returns instead of raising exception
@@ -195,14 +207,14 @@
195207
* Removed brute-force killing of threads in tests
196208
* Fixed a thread pool bug when the operating system cannot allocate more threads
197209

198-
### Release v0.8.0 (25 January 2015)
210+
## Release v0.8.0 (25 January 2015)
199211

200212
* C extension for MRI have been extracted into the `concurrent-ruby-ext` companion gem.
201213
Please see the README for more detail.
202214
* Better variable isolation in `Promise` and `Future` via an `:args` option
203215
* Continued to update intermittently failing tests
204216

205-
### Release v0.7.2 (24 January 2015)
217+
## Release v0.7.2 (24 January 2015)
206218

207219
* New `Semaphore` class based on [java.util.concurrent.Semaphore](http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/Semaphore.html)
208220
* New `Promise.all?` and `Promise.any?` class methods
@@ -219,7 +231,7 @@
219231
* Tests now run on new Travis build environment
220232
* Multiple documentation updates
221233

222-
### Release v0.7.1 (4 December 2014)
234+
## Release v0.7.1 (4 December 2014)
223235

224236
Please see the [roadmap](https://github.com/ruby-concurrency/concurrent-ruby/issues/142) for more information on the next planned release.
225237

@@ -240,7 +252,7 @@ Please see the [roadmap](https://github.com/ruby-concurrency/concurrent-ruby/iss
240252
* Removed confusing warning when not using native extenstions
241253
* Improved documentation
242254

243-
### Release v0.7.0 (13 August 2014)
255+
## Release v0.7.0 (13 August 2014)
244256

245257
* Merge the [atomic](https://github.com/ruby-concurrency/atomic) gem
246258
- Pure Ruby `MutexAtomic` atomic reference class
@@ -273,14 +285,14 @@ Please see the [roadmap](https://github.com/ruby-concurrency/concurrent-ruby/iss
273285
* Removed deprecated `Actor` class
274286
* Better support for Rubinius
275287

276-
### Release v0.6.1 (14 June 2014)
288+
## Release v0.6.1 (14 June 2014)
277289

278290
* Many improvements to `Concurrent::Actress`
279291
* Bug fixes to `Concurrent::RubyThreadPoolExecutor`
280292
* Fixed several brittle tests
281293
* Moved documentation to http://ruby-concurrency.github.io/concurrent-ruby/frames.html
282294

283-
### Release v0.6.0 (25 May 2014)
295+
## Release v0.6.0 (25 May 2014)
284296

285297
* Added `Concurrent::Observable` to encapsulate our thread safe observer sets
286298
* Improvements to new `Channel`
@@ -319,7 +331,7 @@ Please see the [roadmap](https://github.com/ruby-concurrency/concurrent-ruby/iss
319331
* First implementation of [new, high-performance](https://github.com/ruby-concurrency/concurrent-ruby/pull/49) `Channel`
320332
* `Actor` is deprecated in favor of new experimental actor implementation [#73](https://github.com/ruby-concurrency/concurrent-ruby/pull/73). To avoid namespace collision it is living in `Actress` namespace until `Actor` is removed in next release.
321333

322-
### Release v0.5.0
334+
## Release v0.5.0
323335

324336
This is the most significant release of this gem since its inception. This release includes many improvements and optimizations. It also includes several bug fixes. The major areas of focus for this release were:
325337

lib/concurrent/atom.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
# *coordinated*, *synchronous*, change of *many* stated. Used when multiple
3838
# value must change together, in an all-or-nothing transaction.
3939

40+
4041
module Concurrent
4142

4243
# Atoms provide a way to manage shared, synchronous, independent state.

lib/concurrent/edge/promises.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1935,6 +1935,7 @@ def initialize(default_executor, intended_time)
19351935
# TODO (pitr-ch 18-Dec-2016): doc macro debug method
19361936
# TODO (pitr-ch 18-Dec-2016): add macro noting that debug methods may change api without warning
19371937

1938+
19381939
module Concurrent
19391940
module Promises
19401941

lib/concurrent/version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
module Concurrent
2-
VERSION = '1.0.3'
3-
EDGE_VERSION = '0.2.3'
2+
VERSION = '1.0.4'
3+
EDGE_VERSION = '0.3.0'
44
end

support/release.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ then
99
fi
1010

1111

12-
version=$(ruby -r concurrent/version -e 'puts Concurrent::VERSION')
13-
edge_version=$(ruby -r concurrent/version -e 'puts Concurrent::EDGE_VERSION')
12+
version=$(ruby -r ./lib/concurrent/version -e 'puts Concurrent::VERSION')
13+
edge_version=$(ruby -r ./lib/concurrent/version -e 'puts Concurrent::EDGE_VERSION')
1414
(echo ${version} | grep pre) && prerelease='true' || prerelease='false'
1515

1616
echo "concurrent-ruby: $version"
@@ -20,7 +20,7 @@ echo "prerelease: $prerelease"
2020
set -x
2121

2222
mriVersion="2.3.1"
23-
jrubyVersion="jruby-9.1.5.0"
23+
jrubyVersion="jruby-9.1.6.0"
2424

2525
if [[ "$@" =~ 'build' || $@ =~ 'all' ]]
2626
then
@@ -113,6 +113,8 @@ then
113113
gem push pkg/concurrent-ruby-ext-${version}-x86-mingw32.gem
114114

115115
# TODO (pitr-ch 17-Dec-2016): send email
116+
117+
# TODO (pitr-ch 17-Dec-2016): update documentation
116118
fi
117119

118120

0 commit comments

Comments
 (0)