asyncapi-server 1.0.0 → 1.1.0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2cd757bb2567503b5ba9d8ce6e83ca056a199305
|
4
|
+
data.tar.gz: 57cf7ac80d344addd357356b8949e3fdd3bc4fae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4e9f48b45f660abbed76f254fd0c93ed330c071c816c38f2a0ff7c761ab0110498837594fee02408bc8d906a128478861dbdde68933bd33512c623242fe265dc
|
7
|
+
data.tar.gz: c0292eab80325a33914f37997f7d7bf79a175c3090ab5f8c2ae7881e86d3315d8bcfe57b71343ad9115ff583b2b08e6e653ed39e5987f767971f1a0cfc262272
|
@@ -40,7 +40,7 @@ module Asyncapi
|
|
40
40
|
end
|
41
41
|
|
42
42
|
context "an error occurred" do
|
43
|
-
it "reports the error to the callback url" do
|
43
|
+
it "reports the error to the callback url and re-raises it" do
|
44
44
|
job = create(:asyncapi_server_job, {
|
45
45
|
class_name: "Runner",
|
46
46
|
callback_url: "client_job_url",
|
@@ -68,7 +68,8 @@ module Asyncapi
|
|
68
68
|
}
|
69
69
|
)
|
70
70
|
|
71
|
-
described_class.new.perform(job.id)
|
71
|
+
expect { described_class.new.perform(job.id) }.
|
72
|
+
to raise_error(error)
|
72
73
|
job.reload
|
73
74
|
expect(job.status).to eq "error"
|
74
75
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: asyncapi-server
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- G5
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2016-03-21 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: kaminari
|
@@ -296,7 +296,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
296
296
|
version: '0'
|
297
297
|
requirements: []
|
298
298
|
rubyforge_project:
|
299
|
-
rubygems_version: 2.4.
|
299
|
+
rubygems_version: 2.4.3
|
300
300
|
signing_key:
|
301
301
|
specification_version: 4
|
302
302
|
summary: Asynchronous API communication - Server
|