bitzlato 0.1.5 → 0.1.6

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
  SHA256:
3
- metadata.gz: d91921f4c6bbdeb0a48fd99aa9e089a7e66b303bcbfc21ec8877d34457eab6f3
4
- data.tar.gz: deea11939ca45bd761f0c63262db5bf5b3e5d29678b8ac7bb9068257942fb26f
3
+ metadata.gz: 2c5615a8307850e0657588e3e5fe2fec0c2512933b8ba15ae86461d3311fcbe7
4
+ data.tar.gz: f9fac4b86cc4ecb7f42fb2f4efc649c27b6d686614cac3e438384fc9adf7cfac
5
5
  SHA512:
6
- metadata.gz: 885eeaa0e95d6e36ec4aefe7fde2bae4011601ec6fcbf26156b3eed2059613e63e2ff6d1a2feea093b53713b4b759d665bda7a3bdb6b96568c8996be1ec26ee5
7
- data.tar.gz: 6ecc9ce0d74cca0fa0673146bb50ec80604ee9f61b0aa69f979220cab89b23ba4fa5db93bf8ed3758878360ed2f21c7a04d251405069e3cfd3e40dd36c543d63
6
+ metadata.gz: 007dccd9fb93d607ca4bdee887f2c4486a5867503b995ef848567427c4f14cd2af139390b5f8c8a6ec34cd5272ffebda17ff8e9311328c8d1de2a0245ee0219b
7
+ data.tar.gz: f478a7bc31f8e1010f99c938c9cdd96de4d6bfcb5eebd936ea7166e9ee13b4fa41038b49e458841e6bb72002d64c486daeede97e12d6dfa18994bf33644d9664
data/Gemfile.lock CHANGED
@@ -7,7 +7,7 @@ GIT
7
7
  PATH
8
8
  remote: .
9
9
  specs:
10
- bitzlato (0.1.5)
10
+ bitzlato (0.1.6)
11
11
  faraday (>= 0.17)
12
12
  json (~> 2.0)
13
13
  jwt (~> 2.3.0.dev)
@@ -35,7 +35,7 @@ module Bitzlato
35
35
 
36
36
  def parse_response(response)
37
37
  raise WrongResponse, "Wrong response status (#{response.status})" unless response.success?
38
- raise WrongResponse, "Wrong content type (#{response['content-type']})" if !response.body.blank? && response['content-type'] != 'application/json'
38
+ raise WrongResponse, "Wrong content type (#{response['content-type']})" if !response.body.empty? && response['content-type'] != 'application/json'
39
39
  JSON.parse response.body
40
40
  end
41
41
 
@@ -1,3 +1,3 @@
1
1
  module Bitzlato
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bitzlato
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Danil Pismenny