keepcon 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/keepcon/config/urls.yml +1 -1
- data/lib/keepcon/entity/response.rb +1 -1
- data/lib/keepcon/version.rb +1 -1
- data/spec/client_spec.rb +2 -1
- data/spec/entity/response_spec.rb +6 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NWYwZjk4ZTllYTVjNmM3ZjE1NGFiYzAyMTQ0Y2E0N2M2MGNiNDQ5Nw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
OGEwYmQxNmY3NDRlNTdjNmU4ZmIwZTJlN2ZiNzgxNWQ3ZmJkZWFiYw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MzNjZGFhZWRjYzNkNDQyMDc0ZTA5YTU4MmRlYTZhNjM4ODgzNTEzZGUzZjdm
|
10
|
+
ZGYwNDNhNjQwY2QxMWI1ODM0ZTc4NWEyODMxNGExZjQ5ZmZkM2ZjZGMyNDI3
|
11
|
+
MTU3NjdmY2FkNTJhYzhlNTdhYTk2NzlkMjhlMThjNmYyODQ0OWE=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MzM1NjJjZjRkZGY0Yzk2ZGViOGJlYmE2NDJlNzQ4MDdiOWEyYTI4ZDZiMjkw
|
14
|
+
ZDZhNmFkZDE4YWY5ZjE5ODEwMDVlYTM4NGFiZjU4YmMyMjU2OWI4OGEzODhk
|
15
|
+
ZTNkNmMzNWI5ODkyOGNlYTg2NWI2NTRjMWJkNDY5OGFlODNiM2I=
|
data/lib/keepcon/config/urls.yml
CHANGED
data/lib/keepcon/version.rb
CHANGED
data/spec/client_spec.rb
CHANGED
@@ -73,7 +73,8 @@ describe Keepcon::Client do
|
|
73
73
|
let!(:faraday) { Faraday.new { |f| f.adapter :test, adapter } }
|
74
74
|
let(:adapter) do
|
75
75
|
Faraday::Adapter::Test::Stubs.new do |stub|
|
76
|
-
|
76
|
+
uri = '/output/contentSet?contextName=user&clientACK=true'
|
77
|
+
stub.put(uri, '', headers) do |_env|
|
77
78
|
[200, {}, 'all-results-body']
|
78
79
|
end
|
79
80
|
end
|
@@ -29,5 +29,11 @@ describe Keepcon::Entity::Response do
|
|
29
29
|
|
30
30
|
it { is_expected.to include('status' => 'OK') }
|
31
31
|
it { is_expected.to include('setId' => set_id) }
|
32
|
+
|
33
|
+
context 'when the body is empty' do
|
34
|
+
let(:body) { '' }
|
35
|
+
|
36
|
+
it { is_expected.to eq({}) }
|
37
|
+
end
|
32
38
|
end
|
33
39
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: keepcon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shane O'Grady
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-08-
|
11
|
+
date: 2015-08-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: retryable-rb
|