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 +4 -4
- data/Gemfile.lock +2 -2
- data/lib/maremma.rb +2 -1
- data/lib/maremma/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2048f2a4765dc8937cfa57d3da988c2461d5d478
|
|
4
|
+
data.tar.gz: 1e79a3d1bb52e5cf513ae571bb5c16712aa428b5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1c3f917b646b0473b4720daa87e235e580482f4a858283f2c4382cc7a34dbcedff567e5c9152fa79bf7ead7ecba48e5d4d2137f62c711bc23f94b9472b2d9096
|
|
7
|
+
data.tar.gz: ecb4ed30112d1131e05492b8631160546eb0c1dde9c1e7ca6c7221a34c705c8c27876d28a04aa41fcf77b87c0f8b9e4f0b0698ed6c35f5482708f683a55a5554
|
data/Gemfile.lock
CHANGED
data/lib/maremma.rb
CHANGED
|
@@ -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
|
|
208
|
+
string.gsub(/\s+\n/, "\n").strip
|
|
208
209
|
end
|
|
209
210
|
end
|
data/lib/maremma/version.rb
CHANGED
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
|
+
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-
|
|
11
|
+
date: 2017-04-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|