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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 68eb51b02286f209750e89c8732d14a730888e0e
4
- data.tar.gz: 47abe225a7773932991742fa63a5f8a61ba03562
3
+ metadata.gz: 11aec50e3cc0854e78738e3fe11ab74c4244f34d
4
+ data.tar.gz: 94e74c5add0e53738bc8b93b9c07469ca01bf634
5
5
  SHA512:
6
- metadata.gz: bb80b811569b407b0397bcb479bfa08a7158bdfddfa9078b18a48e9ad8b3924f66fd59a9739170afbf7007fe0d36f3852e1510e3e988c1c23fda803b87be214e
7
- data.tar.gz: a4347ef10e6a05a24ee56a19c61f67d171ec9dd875e0df7749565445e8a24a14c3e44aed47c83da836a2317584b62b0b28e28e7ff653e4ea98546ecc37641be8
6
+ metadata.gz: 94773be2ab58f34047c60a2a3a30a740c074ba0d7bfed59c3e29c0d94e1a22a23e9009fa07f9ded93f3014722c5d64f32b71664ec3ecb55d2753f530648a1bec
7
+ data.tar.gz: 2b53c972ac61f6837262bb316b529443ea79ee056ac991f1fede1f84dab2da46f53e8bdf85f7540ecb6f6087ac64bb113ef21be546a9e26e2da1f1de94d3df74
data/CHANGELOG CHANGED
@@ -1,3 +1,6 @@
1
+ * Sun Jan 24 2016 - version 0.4.2
2
+ - No changes
3
+
1
4
  * Sat Jan 23 2016 - version 0.4.1
2
5
  - No changes
3
6
 
@@ -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-23'
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
- # 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]
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('.')
@@ -1,6 +1,6 @@
1
1
  module HaveAPI
2
2
  module Client
3
3
  PROTOCOL_VERSION = '1.0'
4
- VERSION = '0.4.1'
4
+ VERSION = '0.4.2'
5
5
  end
6
6
  end
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.1
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-23 00:00:00.000000000 Z
11
+ date: 2016-01-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler