txgh-queue 1.0.1 → 1.0.2
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: ec976eef014c4582083125e7c2b696d2c213ce5e
|
4
|
+
data.tar.gz: 6c79801123d2e94bae20d8cbea886918666b4f13
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7dcde23ddcd13037a172315976fcce4f980f513121849a8f2c42a207a031323b2dc3682f2899f022bde4c4c2c124517e468165044f42d7431382c04504cc197c
|
7
|
+
data.tar.gz: 1cb352f91b36edf958f7afccae397b615946fc5951a9e23f0ffa9325c4e826ac954daf920f1b8397c59401f6010430bdebe35fa1ab8190cdfa80036d3b96e1d7
|
data/lib/txgh-queue/version.rb
CHANGED
@@ -21,6 +21,12 @@ describe ErrorHandlers::ServerResponse do
|
|
21
21
|
expect(reply).to eq(Status.ok)
|
22
22
|
end
|
23
23
|
|
24
|
+
it 'replies with ok if the status code is in the 300 range' do
|
25
|
+
server_response = TxghServer::Response.new(304, 'Not modified')
|
26
|
+
reply = described_class.status_for(server_response)
|
27
|
+
expect(reply).to eq(Status.ok)
|
28
|
+
end
|
29
|
+
|
24
30
|
it 'replies with fail if the status code is in the 400 range' do
|
25
31
|
server_response = TxghServer::Response.new(404, 'Not found')
|
26
32
|
reply = described_class.status_for(server_response)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: txgh-queue
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cameron Dutro
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-10-
|
11
|
+
date: 2016-10-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk
|