pthread 0.0.6 → 0.0.7
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.
- checksums.yaml +4 -4
- data/.travis.yml +1 -0
- data/lib/pthread/pthread.rb +1 -0
- data/lib/pthread/version.rb +1 -1
- data/spec/pthread/pthread_spec.rb +5 -5
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8b4115d829039a0033707e7ee8c61c20b9811ce8
|
4
|
+
data.tar.gz: 914e7300414d2f88e9e0c4a1c570f49b1168e46e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f55558ad0dce52d87478486f6c3e072bceecde87eaac811440f700b3b324f2cfc49f8c75b419290df2972c794361cb41042be2eb331a9fc2ba2eb42f3ee3c758
|
7
|
+
data.tar.gz: ad5ca10800236855b77ca24696d1a4828f62568f5e50c0259b270848fea202b16a0915d38989010f9a46f5ee5f8759439786babaedd86e79e5838aadaef7bd1b
|
data/.travis.yml
CHANGED
data/lib/pthread/pthread.rb
CHANGED
data/lib/pthread/version.rb
CHANGED
@@ -2,6 +2,11 @@ require 'spec_helper'
|
|
2
2
|
|
3
3
|
describe Pthread::Pthread do
|
4
4
|
|
5
|
+
before(:all) do
|
6
|
+
Pthread::Pthread.start_service 'localhost:54321'
|
7
|
+
Pthread::Pthread.add_executor 'tasks'
|
8
|
+
end
|
9
|
+
|
5
10
|
let(:x) { 5 }
|
6
11
|
|
7
12
|
let(:pthread) do
|
@@ -10,11 +15,6 @@ describe Pthread::Pthread do
|
|
10
15
|
}, context: { x: x }
|
11
16
|
end
|
12
17
|
|
13
|
-
before do
|
14
|
-
Pthread::Pthread.start_service 'localhost:54321'
|
15
|
-
Pthread::Pthread.add_executor 'tasks'
|
16
|
-
end
|
17
|
-
|
18
18
|
context 'without exceptions' do
|
19
19
|
it 'should calculate value in a separate process' do
|
20
20
|
pthread.value.should eq 5
|