haveapi-client 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG +3 -0
- data/haveapi-client.gemspec +1 -1
- data/lib/haveapi/client/communicator.rb +5 -3
- data/lib/haveapi/client/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 68eb51b02286f209750e89c8732d14a730888e0e
|
4
|
+
data.tar.gz: 47abe225a7773932991742fa63a5f8a61ba03562
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb80b811569b407b0397bcb479bfa08a7158bdfddfa9078b18a48e9ad8b3924f66fd59a9739170afbf7007fe0d36f3852e1510e3e988c1c23fda803b87be214e
|
7
|
+
data.tar.gz: a4347ef10e6a05a24ee56a19c61f67d171ec9dd875e0df7749565445e8a24a14c3e44aed47c83da836a2317584b62b0b28e28e7ff653e4ea98546ecc37641be8
|
data/CHANGELOG
CHANGED
data/haveapi-client.gemspec
CHANGED
@@ -6,7 +6,7 @@ require 'haveapi/client/version'
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = 'haveapi-client'
|
8
8
|
spec.version = HaveAPI::Client::VERSION
|
9
|
-
spec.date = '2016-01-
|
9
|
+
spec.date = '2016-01-23'
|
10
10
|
spec.authors = ['Jakub Skokan']
|
11
11
|
spec.email = ['jakub.skokan@vpsfree.cz']
|
12
12
|
spec.summary =
|
@@ -192,9 +192,11 @@ module HaveAPI::Client
|
|
192
192
|
return ret[:response] if ret[:version] == p_v
|
193
193
|
|
194
194
|
unless ret[:version]
|
195
|
-
raise ProtocolError,
|
196
|
-
"Incompatible protocol version: the client uses v#{p_v} "+
|
197
|
-
"while the API server uses an unspecified version (pre 1.0)"
|
195
|
+
# raise ProtocolError,
|
196
|
+
# "Incompatible protocol version: the client uses v#{p_v} "+
|
197
|
+
# "while the API server uses an unspecified version (pre 1.0)"
|
198
|
+
warn "ProtocolError: continue for now"
|
199
|
+
return ret[:response]
|
198
200
|
end
|
199
201
|
|
200
202
|
major1, minor1 = ret[:version].split('.')
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: haveapi-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jakub Skokan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-01-
|
11
|
+
date: 2016-01-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|