haveapi-client 0.4.1 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG +3 -0
- data/haveapi-client.gemspec +1 -1
- data/lib/haveapi/client/communicator.rb +3 -5
- 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: 11aec50e3cc0854e78738e3fe11ab74c4244f34d
|
|
4
|
+
data.tar.gz: 94e74c5add0e53738bc8b93b9c07469ca01bf634
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 94773be2ab58f34047c60a2a3a30a740c074ba0d7bfed59c3e29c0d94e1a22a23e9009fa07f9ded93f3014722c5d64f32b71664ec3ecb55d2753f530648a1bec
|
|
7
|
+
data.tar.gz: 2b53c972ac61f6837262bb316b529443ea79ee056ac991f1fede1f84dab2da46f53e8bdf85f7540ecb6f6087ac64bb113ef21be546a9e26e2da1f1de94d3df74
|
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-24'
|
|
10
10
|
spec.authors = ['Jakub Skokan']
|
|
11
11
|
spec.email = ['jakub.skokan@vpsfree.cz']
|
|
12
12
|
spec.summary =
|
|
@@ -192,11 +192,9 @@ module HaveAPI::Client
|
|
|
192
192
|
return ret[:response] if ret[:version] == p_v
|
|
193
193
|
|
|
194
194
|
unless ret[:version]
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
warn "ProtocolError: continue for now"
|
|
199
|
-
return ret[:response]
|
|
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)"
|
|
200
198
|
end
|
|
201
199
|
|
|
202
200
|
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.2
|
|
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-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|