maremma 3.5.4 → 3.5.5

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: 1ac71b2f7fd053d93aaa4e68e8f4567339ff6838
4
- data.tar.gz: c7d0e6cd2173c35e4b5862966f8ebe8af50a796f
3
+ metadata.gz: 2048f2a4765dc8937cfa57d3da988c2461d5d478
4
+ data.tar.gz: 1e79a3d1bb52e5cf513ae571bb5c16712aa428b5
5
5
  SHA512:
6
- metadata.gz: fced7299573e1038080eb725359043d149af54373f924724e6cdfcf90a3a454be62ae6a9794a078582844c65781f3f781d5c15ceae49aef53de3a1cea41d0f22
7
- data.tar.gz: 9a583280a737bad56d30a93cf318343c15142597db71748cbc52f252a2424efb2d12d34da6995335e44c887a2e60fa5dc18e873cb30decf5756010a37bfd6013
6
+ metadata.gz: 1c3f917b646b0473b4720daa87e235e580482f4a858283f2c4382cc7a34dbcedff567e5c9152fa79bf7ead7ecba48e5d4d2137f62c711bc23f94b9472b2d9096
7
+ data.tar.gz: ecb4ed30112d1131e05492b8631160546eb0c1dde9c1e7ca6c7221a34c705c8c27876d28a04aa41fcf77b87c0f8b9e4f0b0698ed6c35f5482708f683a55a5554
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- maremma (3.5.4)
4
+ maremma (3.5.5)
5
5
  activesupport (~> 4.2, >= 4.2.5)
6
6
  addressable (>= 2.3.6)
7
7
  builder (~> 3.2, >= 3.2.2)
@@ -95,4 +95,4 @@ DEPENDENCIES
95
95
  webmock (~> 1.22, >= 1.22.3)
96
96
 
97
97
  BUNDLED WITH
98
- 1.12.5
98
+ 1.14.6
@@ -176,6 +176,7 @@ module Maremma
176
176
  end
177
177
 
178
178
  def self.parse_response(string, options={})
179
+ string = string.force_encoding('UTF-8')
179
180
  return string if options[:raw]
180
181
 
181
182
  from_json(string) || from_xml(string) || from_string(string)
@@ -204,6 +205,6 @@ module Maremma
204
205
  end
205
206
 
206
207
  def self.from_string(string)
207
- string.gsub(/\s+\n/, "\n").strip.force_encoding('UTF-8')
208
+ string.gsub(/\s+\n/, "\n").strip
208
209
  end
209
210
  end
@@ -1,3 +1,3 @@
1
1
  module Maremma
2
- VERSION = "3.5.4"
2
+ VERSION = "3.5.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: maremma
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.5.4
4
+ version: 3.5.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Fenner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-09 00:00:00.000000000 Z
11
+ date: 2017-04-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday