google_translater 0.1.0 → 0.1.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: 3cd812f92216cbc564e0dd52a34f789dca9ef822
4
- data.tar.gz: 250d4f5ae8b357dbf068056c38bff9f924ce9fe4
3
+ metadata.gz: c1ef5960efee8364d69a39e2e8936457659ad3a0
4
+ data.tar.gz: ea594405921abf4208c8979262a94335dd887912
5
5
  SHA512:
6
- metadata.gz: c6372f09cc01d2875339f0e9ebdaad46f9984ddb85d37434a2b64e22b694712d0b1262edeae04b7cde81829f24c53664af5dc8e8d14bdc2245aebf38bfff6d0e
7
- data.tar.gz: 8068889d1f1414b889ec6b190a8a34f9b3022d1d1cb51c833add31b64c41229abe90c51f98041438e3ffe339a539431ce2e4af68ab85801ebe0a80e4401c31e6
6
+ metadata.gz: ac239d1a7a863e866c106f1a40ad707ccaafd767ecc963c0ada01ee90461553fa3f13644ec52c45431548194cecc98d2cdc3d6e65925d123806f5db9f2b65f06
7
+ data.tar.gz: 1ed5fe37669f203c343226ca96e4ff07156cf7551499d7c0a67f09a80804fd4d98e59befdbe84128823b51fc874dbf511b9174562c9f22a311b04d903ff64137
@@ -29,7 +29,7 @@ class Translater # rubocop:disable Metrics/ClassLength
29
29
  end
30
30
 
31
31
  def parsed_google_response
32
- google_response.body.gsub(/\[|\]|"/, '').split(',').first
32
+ google_response.body.gsub(/\[|\]|"/, '').split(',').first.force_encoding('UTF-8')
33
33
  end
34
34
 
35
35
  def recognized?(language)
@@ -1,3 +1,3 @@
1
1
  module GoogleTranslater
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google_translater
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Terry S