smsway_api 0.1.1 → 0.1.2

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: ffdebeb3d48089f5c04fdd2c6921d42a60096601
4
- data.tar.gz: 3eab99cc746df54b6ccfa02ce3a671b66a90ed75
3
+ metadata.gz: 48097151fa9b660cf36a2d172445743c931b0d0c
4
+ data.tar.gz: fed4ef07100e70dca530f0377ab5b3d8733173f1
5
5
  SHA512:
6
- metadata.gz: 5ce0a58c24285df5ff1e310b5c75428b153d9333f40d5b567a1eb948413a50a9946d165c132b2bc6d8d32a442c769d1a6ef502c145b520f3128b6db190fc050a
7
- data.tar.gz: 0b5c328926460cc0b2c8274971f6575bb28764955729f131fba4f1872c0dbc2799f7a2d5df6c276a1c877c8f9da792859fb4f192d88a200896401c1a01be3db4
6
+ metadata.gz: 084fcdaef44b236fea801a7664ebd424140265710bafddf3fcd6a3d7fe016940da76eff3f1133a35b9affedb75fad58a02358434ec26d06cb8a6312912881058
7
+ data.tar.gz: 5ef2d08f98a90c431df5454a0c8bbb915080174a3f8ac6978ab2a72acde937f0129010ab24b6e10c19a62f8cd8c36378c3c4fcef895ea438a02eda7464d1e7c8
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- smsway_api (0.1.0)
4
+ smsway_api (0.1.2)
5
5
  builder (~> 3.2)
6
6
 
7
7
  GEM
@@ -22,7 +22,9 @@ module SmswayApi
22
22
  SmswayApi.logger.debug("[smswayapi] request \n #{req.body}")
23
23
  end
24
24
  if SmswayApi.log_responses
25
- SmswayApi.logger.debug("[smswayapi] response \n #{response}")
25
+ # hint to prevent "log writing failed. "\xD0" from ASCII-8BIT to UTF-8" error
26
+ debug_response = response.encode('utf-8', :invalid => :replace, :undef => :replace, :replace => '_')
27
+ SmswayApi.logger.debug("[smswayapi] response \n #{debug_response}")
26
28
  end
27
29
  response
28
30
  end
@@ -1,3 +1,3 @@
1
1
  module SmswayApi
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smsway_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexandr Subbotin