majestic_seo_api 1.2.7 → 1.2.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -10
- data/lib/majestic_seo/api/client.rb +0 -1
- data/lib/majestic_seo/api/response.rb +1 -1
- data/lib/majestic_seo_api.rb +1 -1
- data/majestic_seo_api.gemspec +4 -3
- metadata +20 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c5b4571ac9b35fde014ce2613067c56a2fe3a233
|
4
|
+
data.tar.gz: d4d1fa3c11e01184b462f8b26dcf7168c4055ced
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 97e51ca3ba7170bfcd21824732cc9fe1d709fe28966bfbc69e41db02be301f3fb53ae87c08248008a43d7e2ea48ff1f4aa450cd287b2572049ab96bbb42b2f21
|
7
|
+
data.tar.gz: 2725e3f0ed6efb0832f86967efc62c6711b01c3bd2db6990fab3a96fb1d458bd2bae8bcf070cacba01d7bb17aaa90ffddc97c647e1abdba88725828a9ef6607d
|
data/Gemfile
CHANGED
@@ -1,16 +1,7 @@
|
|
1
1
|
source "http://rubygems.org"
|
2
2
|
|
3
|
-
gem "faraday", ">= 0.8.7"
|
4
|
-
gem "faraday_middleware", :git => 'git://github.com/Agiley/faraday_middleware.git'
|
5
|
-
gem 'nokogiri', ">= 1.5.9"
|
6
|
-
|
7
|
-
group :development, :test do
|
8
|
-
gem 'rspec'
|
9
|
-
gem "mocha"
|
10
|
-
end
|
11
|
-
|
12
3
|
platforms :jruby do
|
13
|
-
gem "jruby-openssl", ">= 0.
|
4
|
+
gem "jruby-openssl", ">= 0.9"
|
14
5
|
end
|
15
6
|
|
16
7
|
gemspec
|
@@ -52,7 +52,7 @@ module MajesticSeo
|
|
52
52
|
if (@response.is_a?(Nokogiri::XML::Document))
|
53
53
|
@response = (@response && @response.root) ? @response.root : nil
|
54
54
|
elsif (@response.is_a?(Faraday::Response))
|
55
|
-
@response = (@response && @response.body
|
55
|
+
@response = (@response && @response.body) ? ::Nokogiri::XML(@response.body, nil, "utf-8").try(:root) : nil
|
56
56
|
end
|
57
57
|
|
58
58
|
if (@response)
|
data/lib/majestic_seo_api.rb
CHANGED
data/majestic_seo_api.gemspec
CHANGED
@@ -3,7 +3,7 @@ Gem::Specification.new do |s|
|
|
3
3
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.3.5") if s.respond_to? :required_rubygems_version=
|
4
4
|
|
5
5
|
s.name = 'majestic_seo_api'
|
6
|
-
s.version = '1.2.
|
6
|
+
s.version = '1.2.8'
|
7
7
|
|
8
8
|
s.homepage = "http://developer-support.majesticseo.com/connectors/"
|
9
9
|
s.email = "sebastian@agiley.se"
|
@@ -11,8 +11,9 @@ Gem::Specification.new do |s|
|
|
11
11
|
s.description = "Interface for communicating with Majestic SEO's API"
|
12
12
|
s.summary = "Interface for communicating with Majestic SEO's API"
|
13
13
|
|
14
|
-
s.add_dependency "faraday",
|
15
|
-
s.add_dependency "
|
14
|
+
s.add_dependency "faraday", ">= 0.9"
|
15
|
+
s.add_dependency "faraday_middleware", ">= 0.9"
|
16
|
+
s.add_dependency "nokogiri", ">= 1.6"
|
16
17
|
|
17
18
|
s.add_development_dependency 'rake'
|
18
19
|
s.add_development_dependency 'rspec'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: majestic_seo_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Majestic-12 Ltd
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-12-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: faraday
|
@@ -17,28 +17,42 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - ">="
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: 0.
|
20
|
+
version: '0.9'
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - ">="
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: 0.
|
27
|
+
version: '0.9'
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: faraday_middleware
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - ">="
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '0.9'
|
35
|
+
type: :runtime
|
36
|
+
prerelease: false
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - ">="
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: '0.9'
|
28
42
|
- !ruby/object:Gem::Dependency
|
29
43
|
name: nokogiri
|
30
44
|
requirement: !ruby/object:Gem::Requirement
|
31
45
|
requirements:
|
32
46
|
- - ">="
|
33
47
|
- !ruby/object:Gem::Version
|
34
|
-
version: 1.
|
48
|
+
version: '1.6'
|
35
49
|
type: :runtime
|
36
50
|
prerelease: false
|
37
51
|
version_requirements: !ruby/object:Gem::Requirement
|
38
52
|
requirements:
|
39
53
|
- - ">="
|
40
54
|
- !ruby/object:Gem::Version
|
41
|
-
version: 1.
|
55
|
+
version: '1.6'
|
42
56
|
- !ruby/object:Gem::Dependency
|
43
57
|
name: rake
|
44
58
|
requirement: !ruby/object:Gem::Requirement
|