taps2 0.6.1 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/taps/cli.rb +1 -1
- data/lib/taps/operation.rb +1 -1
- data/lib/taps/version.rb +1 -1
- data/spec/operation_spec.rb +2 -2
- data/spec/server_spec.rb +1 -1
- 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: 3269014543ce71626233b86653548e88ffb2203d
|
4
|
+
data.tar.gz: '099399d46e0c8cf8836ccfa3e149f0c0515ddab8'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b036656d30d8d062c5ccda4e885822c48a09608655481d930beea6002f02f994df05e85d85227aa3c1be0d9039681bf1ef1e139b214133f5f7a66f451abfb14d
|
7
|
+
data.tar.gz: ed19000dcb306a530a1bc771466aa8fb9e71bb07645d0d222ef37126316660d968c8a6639380bd0b2568d99dac20a9a6fce4ecc47e874bf4820f4c4692c6f810
|
data/lib/taps/cli.rb
CHANGED
data/lib/taps/operation.rb
CHANGED
data/lib/taps/version.rb
CHANGED
data/spec/operation_spec.rb
CHANGED
@@ -31,11 +31,11 @@ describe Taps::Operation do
|
|
31
31
|
end
|
32
32
|
|
33
33
|
it 'returns http headers with compression enabled' do
|
34
|
-
@op.http_headers.should == { taps_version: Taps.
|
34
|
+
@op.http_headers.should == { taps_version: Taps::Version.current, accept_encoding: 'gzip, deflate' }
|
35
35
|
end
|
36
36
|
|
37
37
|
it 'returns http headers with compression disabled' do
|
38
38
|
@op.stubs(:compression_disabled?).returns(true)
|
39
|
-
@op.http_headers.should == { taps_version: Taps.
|
39
|
+
@op.http_headers.should == { taps_version: Taps::Version.current, accept_encoding: '' }
|
40
40
|
end
|
41
41
|
end
|
data/spec/server_spec.rb
CHANGED
@@ -22,7 +22,7 @@ describe Taps::Server do
|
|
22
22
|
end
|
23
23
|
|
24
24
|
it 'verifies the client taps version' do
|
25
|
-
get('/', {}, 'HTTP_AUTHORIZATION' => @auth_header, 'HTTP_TAPS_VERSION' => Taps.
|
25
|
+
get('/', {}, 'HTTP_AUTHORIZATION' => @auth_header, 'HTTP_TAPS_VERSION' => Taps::Version.current)
|
26
26
|
last_response.status.should == 200
|
27
27
|
end
|
28
28
|
|