Skip to content

Commit df1deea

Browse files
committed
Released v1.0.0.pre2
1 parent cd6a117 commit df1deea

File tree

7 files changed

+62
-35
lines changed

7 files changed

+62
-35
lines changed

CHANGELOG.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
### Upcoming Release v1.0.0.pre2 (TBD)
1+
## Current Release v1.0.0.pre2 (19 September 2015)
22

33
* Simplification of `RubySingleThreadExecutor`
44
* `Async` improvements
@@ -10,8 +10,9 @@
1010
- Now `Observable`
1111
- Added a `#reset` method
1212
* Brand new `Agent` API and implementation. Now functionally equivalent to Clojure.
13+
* Continued improvements to the synchronization layer
1314

14-
## Current Release v1.0.0.pre1 (19 Aug 2015)
15+
### Release v1.0.0.pre1 (19 August 2015)
1516

1617
* Merged in the `thread_safe` gem
1718
- `Concurrent::Array`

build-tests/atomic_boolean_builds_spec.rb

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,17 @@ def atomic_boolean_test(clazz, opts = {})
2828
let!(:threads) { 10 }
2929
let!(:tests) { 1000 }
3030

31-
describe Concurrent::MutexAtomicBoolean do
31+
unless jruby?
32+
describe Concurrent::MutexAtomicBoolean do
3233

33-
specify 'is defined' do
34-
expect(defined?(Concurrent::MutexAtomicBoolean)).to be_truthy
35-
end
34+
specify 'is defined' do
35+
expect(defined?(Concurrent::MutexAtomicBoolean)).to be_truthy
36+
end
3637

37-
specify 'runs the benchmarks' do
38-
stats = atomic_boolean_test('MutexAtomicBoolean', threads: threads, tests: tests)
39-
expect(stats).to be_benchmark_results
38+
specify 'runs the benchmarks' do
39+
stats = atomic_boolean_test('MutexAtomicBoolean', threads: threads, tests: tests)
40+
expect(stats).to be_benchmark_results
41+
end
4042
end
4143
end
4244

build-tests/atomic_fixnum_builds_spec.rb

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,17 @@ def atomic_fixnum_test(clazz, opts = {})
2828
let!(:threads) { 10 }
2929
let!(:tests) { 1000 }
3030

31-
describe Concurrent::MutexAtomicFixnum do
31+
unless jruby?
32+
describe Concurrent::MutexAtomicFixnum do
3233

33-
specify 'is defined' do
34-
expect(defined?(Concurrent::MutexAtomicFixnum)).to be_truthy
35-
end
34+
specify 'is defined' do
35+
expect(defined?(Concurrent::MutexAtomicFixnum)).to be_truthy
36+
end
3637

37-
specify 'runs the benchmarks' do
38-
stats = atomic_fixnum_test('MutexAtomicFixnum', threads: threads, tests: tests)
39-
expect(stats).to be_benchmark_results
38+
specify 'runs the benchmarks' do
39+
stats = atomic_fixnum_test('MutexAtomicFixnum', threads: threads, tests: tests)
40+
expect(stats).to be_benchmark_results
41+
end
4042
end
4143
end
4244

build-tests/atomic_reference_builds_spec.rb

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,17 @@ def atomic_reference_test(clazz, opts = {})
2828
let!(:threads) { 10 }
2929
let!(:tests) { 1000 }
3030

31-
describe Concurrent::MutexAtomicReference do
31+
unless jruby?
32+
describe Concurrent::MutexAtomicReference do
3233

33-
specify 'is defined' do
34-
expect(defined?(Concurrent::MutexAtomicReference)).to be_truthy
35-
end
34+
specify 'is defined' do
35+
expect(defined?(Concurrent::MutexAtomicReference)).to be_truthy
36+
end
3637

37-
specify 'runs the benchmarks' do
38-
stats = atomic_reference_test('MutexAtomicReference', threads: threads, tests: tests)
39-
expect(stats).to be_benchmark_results
38+
specify 'runs the benchmarks' do
39+
stats = atomic_reference_test('MutexAtomicReference', threads: threads, tests: tests)
40+
expect(stats).to be_benchmark_results
41+
end
4042
end
4143
end
4244

build-tests/runner.rb

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -102,13 +102,13 @@ def run_test_suite(files, ext, platform = '')
102102
puts SUITE_BREAK
103103

104104
run_test_suite(TEST_FILES, false)
105-
if mri?
106-
if ! windows?
107-
puts SUITE_BREAK
108-
run_test_suite(TEST_FILES, true)
109-
end
110-
if platform_specific_extensions?(RUBY_PLATFORM)
111-
puts SUITE_BREAK
112-
run_test_suite(TEST_FILES, true, RUBY_PLATFORM)
113-
end
114-
end
105+
#if mri?
106+
#if ! windows?
107+
#puts SUITE_BREAK
108+
#run_test_suite(TEST_FILES, true)
109+
#end
110+
#if platform_specific_extensions?(RUBY_PLATFORM)
111+
#puts SUITE_BREAK
112+
#run_test_suite(TEST_FILES, true, RUBY_PLATFORM)
113+
#end
114+
#end

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.0.pre1'
3-
EDGE_VERSION = '0.2.0.pre1'
2+
VERSION = '1.0.0.pre2'
3+
EDGE_VERSION = '0.2.0.pre2'
44
end

publish-concurrent-ruby.rb

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#!/usr/bin/env ruby
2+
3+
# get the current gem version
4+
require_relative './lib/concurrent/version'
5+
6+
GEMS = [
7+
"concurrent-ruby-#{Concurrent::VERSION}.gem",
8+
"concurrent-ruby-#{Concurrent::VERSION}-java.gem",
9+
"concurrent-ruby-ext-#{Concurrent::VERSION}.gem",
10+
"concurrent-ruby-ext-#{Concurrent::VERSION}-x86-mingw32.gem",
11+
"concurrent-ruby-ext-#{Concurrent::VERSION}-x64-mingw32.gem",
12+
"concurrent-ruby-edge-#{Concurrent::EDGE_VERSION}.gem",
13+
]
14+
15+
GEMS.each do |gem|
16+
file = File.join("pkg", gem)
17+
basename = File.basename(file)
18+
puts "Publishing #{basename}..."
19+
`gem push #{file}`
20+
end

0 commit comments

Comments
 (0)