semrush 3.0.0 → 3.0.1
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.
- data/lib/semrush/report.rb +1 -0
- data/lib/semrush/version.rb +1 -1
- metadata +2 -2
data/lib/semrush/report.rb
CHANGED
|
@@ -214,6 +214,7 @@ module Semrush
|
|
|
214
214
|
response = Net::HTTP.start(url.host, url.port) {|http|
|
|
215
215
|
http.get(url.path+"?"+url.query)
|
|
216
216
|
}.body rescue "ERROR :: RESPONSE ERROR (-1)" # Make this error up
|
|
217
|
+
response.force_encoding("utf-8")
|
|
217
218
|
response.starts_with?("ERROR") ? error(response) : parse(response)
|
|
218
219
|
end
|
|
219
220
|
|
data/lib/semrush/version.rb
CHANGED
metadata
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: semrush
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease:
|
|
5
|
-
version: 3.0.
|
|
5
|
+
version: 3.0.1
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
8
8
|
- arambert
|
|
@@ -45,7 +45,7 @@ dependencies:
|
|
|
45
45
|
version: 2.0.0
|
|
46
46
|
type: :development
|
|
47
47
|
version_requirements: *id003
|
|
48
|
-
description:
|
|
48
|
+
description: Repository at http://github.com/weboglobin/semrush. Documentation at http://rubydoc.info/gems/semrush/3.0.0/frames
|
|
49
49
|
email:
|
|
50
50
|
- arambert@weboglobin.com
|
|
51
51
|
executables: []
|