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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6beb148ebd5b4d6314016309a7fa9eb52292b78f
4
- data.tar.gz: 54ff60ff22142d49eaa75cd27140f3349528b066
3
+ metadata.gz: 68eb51b02286f209750e89c8732d14a730888e0e
4
+ data.tar.gz: 47abe225a7773932991742fa63a5f8a61ba03562
5
5
  SHA512:
6
- metadata.gz: 2c5f0dfbd4fce722a9ec0b02cf175d351581cfba4d2142c8304059fd8cea0d052a3d3467ceda55e5647c8d2834540c4b17fd4eb49edf9486645ebff55be4c87a
7
- data.tar.gz: fe3dc2e629ee1505eae68a36632de3a1edd2b9b8e0daf23fc0f61540fd4165ecac69c36226c25eb6ef21f0dce5dcd4aa7c1c9bdcfd192e12388f42e75a11d552
6
+ metadata.gz: bb80b811569b407b0397bcb479bfa08a7158bdfddfa9078b18a48e9ad8b3924f66fd59a9739170afbf7007fe0d36f3852e1510e3e988c1c23fda803b87be214e
7
+ data.tar.gz: a4347ef10e6a05a24ee56a19c61f67d171ec9dd875e0df7749565445e8a24a14c3e44aed47c83da836a2317584b62b0b28e28e7ff653e4ea98546ecc37641be8
data/CHANGELOG CHANGED
@@ -1,3 +1,6 @@
1
+ * Sat Jan 23 2016 - version 0.4.1
2
+ - No changes
3
+
1
4
  * Web Jan 20 2016 - version 0.4.0
2
5
  - API for accessing authentication token
3
6
  - Client-side input parameter validators
@@ -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-20'
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('.')
@@ -1,6 +1,6 @@
1
1
  module HaveAPI
2
2
  module Client
3
3
  PROTOCOL_VERSION = '1.0'
4
- VERSION = '0.4.0'
4
+ VERSION = '0.4.1'
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.0
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-20 00:00:00.000000000 Z
11
+ date: 2016-01-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler