PageRankr 4.4.1 → 4.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (97) hide show
  1. checksums.yaml +4 -4
  2. data/.ruby-version +1 -1
  3. data/.travis.yml +3 -1
  4. data/CHANGELOG.md +4 -0
  5. data/Gemfile +1 -2
  6. data/PageRankr.gemspec +3 -2
  7. data/README.md +2 -0
  8. data/lib/page_rankr/backlinks.rb +1 -2
  9. data/lib/page_rankr/backlinks/yahoo.rb +1 -1
  10. data/lib/page_rankr/indexes/yahoo.rb +1 -1
  11. data/lib/page_rankr/ranks/alexa_country.rb +4 -4
  12. data/lib/page_rankr/ranks/alexa_global.rb +4 -4
  13. data/lib/page_rankr/ranks/alexa_us.rb +2 -2
  14. data/lib/page_rankr/ranks/domain_authority.rb +4 -4
  15. data/lib/page_rankr/ranks/page_authority.rb +5 -5
  16. data/lib/page_rankr/site.rb +4 -4
  17. data/lib/page_rankr/version.rb +1 -1
  18. data/spec/backlinks/bing_spec.rb +21 -0
  19. data/spec/backlinks/google_spec.rb +20 -0
  20. data/spec/backlinks/yahoo_spec.rb +21 -0
  21. data/spec/fixtures/vcr_cassettes/PageRankr_Backlinks_Bing/_run/with_match/.yml +2346 -0
  22. data/spec/fixtures/vcr_cassettes/PageRankr_Backlinks_Bing/_run/with_no_match/.yml +1493 -0
  23. data/spec/fixtures/vcr_cassettes/PageRankr_Backlinks_Google/_run/with_match/.yml +1788 -0
  24. data/spec/fixtures/vcr_cassettes/PageRankr_Backlinks_Google/_run/with_no_match/.yml +57 -0
  25. data/spec/fixtures/vcr_cassettes/PageRankr_Backlinks_Yahoo/_run/with_match/.yml +1929 -0
  26. data/spec/fixtures/vcr_cassettes/PageRankr_Backlinks_Yahoo/_run/with_no_match/.yml +642 -0
  27. data/spec/fixtures/vcr_cassettes/PageRankr_Indexes_Bing/_run/with_match/.yml +1648 -0
  28. data/spec/fixtures/vcr_cassettes/PageRankr_Indexes_Bing/_run/with_no_match/.yml +1312 -0
  29. data/spec/fixtures/vcr_cassettes/PageRankr_Indexes_Google/_run/with_match/.yml +1769 -0
  30. data/spec/fixtures/vcr_cassettes/PageRankr_Indexes_Google/_run/with_no_match/.yml +57 -0
  31. data/spec/fixtures/vcr_cassettes/PageRankr_Indexes_Yahoo/_run/with_match/.yml +2062 -0
  32. data/spec/fixtures/vcr_cassettes/PageRankr_Indexes_Yahoo/_run/with_no_match/.yml +553 -0
  33. data/spec/fixtures/vcr_cassettes/PageRankr_Ranks_AlexaCountry/_run/with_match/.yml +45 -0
  34. data/spec/fixtures/vcr_cassettes/PageRankr_Ranks_AlexaCountry/_run/with_no_match/.yml +37 -0
  35. data/spec/fixtures/vcr_cassettes/PageRankr_Ranks_AlexaGlobal/_run/with_match/.yml +45 -0
  36. data/spec/fixtures/vcr_cassettes/PageRankr_Ranks_AlexaGlobal/_run/with_no_match/.yml +37 -0
  37. data/spec/fixtures/vcr_cassettes/PageRankr_Ranks_AlexaUs/_run/with_match/.yml +45 -0
  38. data/spec/fixtures/vcr_cassettes/PageRankr_Ranks_AlexaUs/_run/with_no_match/.yml +37 -0
  39. data/spec/fixtures/vcr_cassettes/PageRankr_Ranks_DomainAuthority/_run/with_match/.yml +54 -0
  40. data/spec/fixtures/vcr_cassettes/PageRankr_Ranks_DomainAuthority/_run/with_no_match/.yml +54 -0
  41. data/spec/fixtures/vcr_cassettes/PageRankr_Ranks_Google/_run/with_match/.yml +54 -0
  42. data/spec/fixtures/vcr_cassettes/PageRankr_Ranks_Google/_run/with_no_match/.yml +49 -0
  43. data/spec/fixtures/vcr_cassettes/PageRankr_Ranks_MozRank/_run/with_match/.yml +92 -0
  44. data/spec/fixtures/vcr_cassettes/PageRankr_Ranks_MozRank/_run/with_no_match/.yml +93 -0
  45. data/spec/fixtures/vcr_cassettes/PageRankr_Ranks_PageAuthority/_run/with_match/.yml +54 -0
  46. data/spec/fixtures/vcr_cassettes/PageRankr_Ranks_PageAuthority/_run/with_no_match/.yml +54 -0
  47. data/spec/fixtures/vcr_cassettes/PageRankr_Socials_Facebook/_run/with_match/.yml +54 -0
  48. data/spec/fixtures/vcr_cassettes/PageRankr_Socials_Facebook/_run/with_no_match/.yml +52 -0
  49. data/spec/fixtures/vcr_cassettes/PageRankr_Socials_Google/_run/with_match/.yml +42 -0
  50. data/spec/fixtures/vcr_cassettes/PageRankr_Socials_Google/_run/with_no_match/.yml +42 -0
  51. data/spec/fixtures/vcr_cassettes/PageRankr_Socials_LinkedIn/_run/with_match/.yml +58 -0
  52. data/spec/fixtures/vcr_cassettes/PageRankr_Socials_LinkedIn/_run/with_no_match/.yml +58 -0
  53. data/spec/fixtures/vcr_cassettes/PageRankr_Socials_Pinterest/_run/with_match/.yml +45 -0
  54. data/spec/fixtures/vcr_cassettes/PageRankr_Socials_Pinterest/_run/with_no_match/.yml +45 -0
  55. data/spec/fixtures/vcr_cassettes/PageRankr_Socials_StumbleUpon/_run/with_match/.yml +42 -0
  56. data/spec/fixtures/vcr_cassettes/PageRankr_Socials_StumbleUpon/_run/with_no_match/.yml +42 -0
  57. data/spec/fixtures/vcr_cassettes/PageRankr_Socials_Twitter/_run/with_match/.yml +57 -0
  58. data/spec/fixtures/vcr_cassettes/PageRankr_Socials_Twitter/_run/with_no_match/.yml +57 -0
  59. data/spec/fixtures/vcr_cassettes/PageRankr_Socials_Vk/_run/with_match/.yml +41 -0
  60. data/spec/fixtures/vcr_cassettes/PageRankr_Socials_Vk/_run/with_no_match/.yml +41 -0
  61. data/spec/fixtures/vcr_cassettes/alexa_ranks_edge_case_1.yml +91 -208
  62. data/spec/fixtures/vcr_cassettes/failure_socials.yml +233 -170
  63. data/spec/fixtures/vcr_cassettes/success_socials.yml +578 -160
  64. data/spec/indexes/bing_spec.rb +20 -0
  65. data/spec/indexes/google_spec.rb +20 -0
  66. data/spec/indexes/yahoo_spec.rb +20 -0
  67. data/spec/page_rankr_spec.rb +10 -169
  68. data/spec/proxy_services/random_spec.rb +2 -2
  69. data/spec/proxy_services/round_robin_spec.rb +4 -4
  70. data/spec/ranks/alexa_country_spec.rb +20 -0
  71. data/spec/ranks/alexa_global_spec.rb +20 -0
  72. data/spec/ranks/alexa_us_spec.rb +20 -0
  73. data/spec/ranks/domain_authority_spec.rb +21 -0
  74. data/spec/ranks/google/checksum_spec.rb +2 -2
  75. data/spec/ranks/google_spec.rb +20 -0
  76. data/spec/ranks/moz_rank_spec.rb +21 -0
  77. data/spec/ranks/page_authority_spec.rb +21 -0
  78. data/spec/site_spec.rb +3 -3
  79. data/spec/socials/facebook_spec.rb +20 -0
  80. data/spec/socials/google_spec.rb +20 -0
  81. data/spec/socials/linkedin_spec.rb +20 -0
  82. data/spec/socials/pinterest_spec.rb +20 -0
  83. data/spec/socials/stumble_upon_spec.rb +20 -0
  84. data/spec/socials/twitter_spec.rb +20 -0
  85. data/spec/socials/vk_spec.rb +20 -0
  86. data/spec/spec_helper.rb +7 -13
  87. data/spec/support/custom_matchers.rb +39 -0
  88. metadata +142 -23
  89. data/lib/page_rankr/backlinks/alexa.rb +0 -25
  90. data/spec/edge_cases_spec.rb +0 -26
  91. data/spec/fixtures/vcr_cassettes/failure_backlinks.yml +0 -1740
  92. data/spec/fixtures/vcr_cassettes/failure_indexes.yml +0 -1705
  93. data/spec/fixtures/vcr_cassettes/failure_ranks.yml +0 -422
  94. data/spec/fixtures/vcr_cassettes/success_backlinks.yml +0 -7651
  95. data/spec/fixtures/vcr_cassettes/success_indexes.yml +0 -7295
  96. data/spec/fixtures/vcr_cassettes/success_ranks.yml +0 -652
  97. data/spec/socials_spec.rb +0 -66
@@ -3,11 +3,11 @@ require 'spec_helper'
3
3
  describe PageRankr::Site do
4
4
  describe "#scheme" do
5
5
  it "should set the scheme to http if no scheme is present" do
6
- PageRankr::Site("www.google.com").scheme.should == "http"
6
+ expect(PageRankr::Site("www.google.com").scheme).to eq("http")
7
7
  end
8
8
 
9
9
  it "should use the scheme if it is provided" do
10
- PageRankr::Site("https://www.google.com").scheme.should == "https"
10
+ expect(PageRankr::Site("https://www.google.com").scheme).to eq("https")
11
11
  end
12
12
  end
13
- end
13
+ end
@@ -0,0 +1,20 @@
1
+ require 'spec_helper'
2
+
3
+ describe PageRankr::Socials::Facebook do
4
+ describe '#run' do
5
+ let(:tracker){described_class.new(site)}
6
+ subject(:result){tracker.run}
7
+
8
+ context 'with match', :vcr do
9
+ let(:site){'http://www.google.com'}
10
+
11
+ it{is_expected.to be_number > 0}
12
+ end
13
+
14
+ context 'with no match', :vcr do
15
+ let(:site){'http://please-dont-register-a-site-that-breaks-this-test.com'}
16
+
17
+ it{is_expected.to be_nil}
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,20 @@
1
+ require 'spec_helper'
2
+
3
+ describe PageRankr::Socials::Google do
4
+ describe '#run' do
5
+ let(:tracker){described_class.new(site)}
6
+ subject(:result){tracker.run}
7
+
8
+ context 'with match', :vcr do
9
+ let(:site){'http://www.google.com'}
10
+
11
+ it{is_expected.to be_number > 0}
12
+ end
13
+
14
+ context 'with no match', :vcr do
15
+ let(:site){'http://please-dont-register-a-site-that-breaks-this-test.com'}
16
+
17
+ it{is_expected.to eq(0)}
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,20 @@
1
+ require 'spec_helper'
2
+
3
+ describe PageRankr::Socials::LinkedIn do
4
+ describe '#run' do
5
+ let(:tracker){described_class.new(site)}
6
+ subject(:result){tracker.run}
7
+
8
+ context 'with match', :vcr do
9
+ let(:site){'http://www.google.com'}
10
+
11
+ it{is_expected.to be_number > 0}
12
+ end
13
+
14
+ context 'with no match', :vcr do
15
+ let(:site){'http://please-dont-register-a-site-that-breaks-this-test.com'}
16
+
17
+ it{is_expected.to eq(0)}
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,20 @@
1
+ require 'spec_helper'
2
+
3
+ describe PageRankr::Socials::Pinterest do
4
+ describe '#run' do
5
+ let(:tracker){described_class.new(site)}
6
+ subject(:result){tracker.run}
7
+
8
+ context 'with match', :vcr do
9
+ let(:site){'http://www.google.com'}
10
+
11
+ it{is_expected.to be_number > 0}
12
+ end
13
+
14
+ context 'with no match', :vcr do
15
+ let(:site){'http://please-dont-register-a-site-that-breaks-this-test.com'}
16
+
17
+ it{is_expected.to eq(0)}
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,20 @@
1
+ require 'spec_helper'
2
+
3
+ describe PageRankr::Socials::StumbleUpon do
4
+ describe '#run' do
5
+ let(:tracker){described_class.new(site)}
6
+ subject(:result){tracker.run}
7
+
8
+ context 'with match', :vcr do
9
+ let(:site){'http://www.google.com'}
10
+
11
+ it{is_expected.to be_number > 0}
12
+ end
13
+
14
+ context 'with no match', :vcr do
15
+ let(:site){'http://please-dont-register-a-site-that-breaks-this-test.com'}
16
+
17
+ it{is_expected.to be_nil}
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,20 @@
1
+ require 'spec_helper'
2
+
3
+ describe PageRankr::Socials::Twitter do
4
+ describe '#run' do
5
+ let(:tracker){described_class.new(site)}
6
+ subject(:result){tracker.run}
7
+
8
+ context 'with match', :vcr do
9
+ let(:site){'http://www.google.com'}
10
+
11
+ it{is_expected.to be_number > 0}
12
+ end
13
+
14
+ context 'with no match', :vcr do
15
+ let(:site){'http://please-dont-register-a-site-that-breaks-this-test.com'}
16
+
17
+ it{is_expected.to eq(0)}
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,20 @@
1
+ require 'spec_helper'
2
+
3
+ describe PageRankr::Socials::Vk do
4
+ describe '#run' do
5
+ let(:tracker){described_class.new(site)}
6
+ subject(:result){tracker.run}
7
+
8
+ context 'with match', :vcr do
9
+ let(:site){'http://www.google.com'}
10
+
11
+ it{is_expected.to be_number > 0}
12
+ end
13
+
14
+ context 'with no match', :vcr do
15
+ let(:site){'http://please-dont-register-a-site-that-breaks-this-test.com'}
16
+
17
+ it{is_expected.to eq(0)}
18
+ end
19
+ end
20
+ end
@@ -2,22 +2,16 @@ require File.join(File.dirname(__FILE__), '..', 'lib', 'page_rankr')
2
2
  require 'rspec'
3
3
  require 'fuubar'
4
4
  require 'vcr'
5
+ require 'webmock'
6
+ require 'pry'
7
+ require 'support/custom_matchers'
8
+
9
+ WebMock.allow_net_connect!
5
10
 
6
11
  VCR.configure do |c|
7
12
  c.cassette_library_dir = './spec/fixtures/vcr_cassettes'
8
- c.hook_into :fakeweb
9
- c.default_cassette_options = {
10
- :record => :once,
11
- :match_requests_on => [
12
- :method,
13
- VCR.request_matchers.uri_without_param(
14
- :cli,
15
- :dat,
16
- :client,
17
- :features
18
- )
19
- ]
20
- }
13
+ c.hook_into :webmock
14
+ c.configure_rspec_metadata!
21
15
  end
22
16
 
23
17
  RSpec.configure do |c|
@@ -0,0 +1,39 @@
1
+ RSpec::Matchers.define :be_in do |expected|
2
+ match do |actual|
3
+ expected === actual
4
+ end
5
+
6
+ failure_message_for_should do |actual|
7
+ "expected that #{actual} would be in #{expected}"
8
+ end
9
+ end
10
+
11
+ RSpec::Matchers.define :be_number do
12
+ match do |actual|
13
+ actual.is_a?(Numeric) && actual.send(@symbol, @expected)
14
+ end
15
+
16
+ chain :>= do |expected|
17
+ @symbol = :>=
18
+ @expected = expected
19
+ end
20
+
21
+ chain :> do |expected|
22
+ @symbol = :>
23
+ @expected = expected
24
+ end
25
+
26
+ chain :< do |expected|
27
+ @symbol = :<
28
+ @expected = expected
29
+ end
30
+
31
+ chain :<= do |expected|
32
+ @symbol = :<=
33
+ @expected = expected
34
+ end
35
+
36
+ failure_message do |actual|
37
+ "expected that #{actual.inspect} would be a number and #{@symbol} than #{@expected}"
38
+ end
39
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: PageRankr
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.4.1
4
+ version: 4.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Allen Madsen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-09 00:00:00.000000000 Z
11
+ date: 2015-09-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -81,7 +81,7 @@ dependencies:
81
81
  - !ruby/object:Gem::Version
82
82
  version: 2.9.3
83
83
  - !ruby/object:Gem::Dependency
84
- name: fakeweb
84
+ name: webmock
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - ">="
@@ -128,14 +128,14 @@ dependencies:
128
128
  requirements:
129
129
  - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: 1.4.4
131
+ version: 1.5.1
132
132
  type: :runtime
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
- version: 1.4.4
138
+ version: 1.5.1
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: httparty
141
141
  requirement: !ruby/object:Gem::Requirement
@@ -164,6 +164,20 @@ dependencies:
164
164
  - - ">="
165
165
  - !ruby/object:Gem::Version
166
166
  version: 0.4.2
167
+ - !ruby/object:Gem::Dependency
168
+ name: addressable
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - ">="
172
+ - !ruby/object:Gem::Version
173
+ version: '0'
174
+ type: :runtime
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - ">="
179
+ - !ruby/object:Gem::Version
180
+ version: '0'
167
181
  description: Easy way to retrieve Google Page Rank, Alexa Rank, backlink counts, index
168
182
  counts and different types of social signals
169
183
  email:
@@ -186,7 +200,6 @@ files:
186
200
  - lib/page_rankr.rb
187
201
  - lib/page_rankr/backlink.rb
188
202
  - lib/page_rankr/backlinks.rb
189
- - lib/page_rankr/backlinks/alexa.rb
190
203
  - lib/page_rankr/backlinks/bing.rb
191
204
  - lib/page_rankr/backlinks/google.rb
192
205
  - lib/page_rankr/backlinks/yahoo.rb
@@ -223,23 +236,76 @@ files:
223
236
  - lib/page_rankr/trackers.rb
224
237
  - lib/page_rankr/version.rb
225
238
  - out.html
226
- - spec/edge_cases_spec.rb
239
+ - spec/backlinks/bing_spec.rb
240
+ - spec/backlinks/google_spec.rb
241
+ - spec/backlinks/yahoo_spec.rb
242
+ - spec/fixtures/vcr_cassettes/PageRankr_Backlinks_Bing/_run/with_match/.yml
243
+ - spec/fixtures/vcr_cassettes/PageRankr_Backlinks_Bing/_run/with_no_match/.yml
244
+ - spec/fixtures/vcr_cassettes/PageRankr_Backlinks_Google/_run/with_match/.yml
245
+ - spec/fixtures/vcr_cassettes/PageRankr_Backlinks_Google/_run/with_no_match/.yml
246
+ - spec/fixtures/vcr_cassettes/PageRankr_Backlinks_Yahoo/_run/with_match/.yml
247
+ - spec/fixtures/vcr_cassettes/PageRankr_Backlinks_Yahoo/_run/with_no_match/.yml
248
+ - spec/fixtures/vcr_cassettes/PageRankr_Indexes_Bing/_run/with_match/.yml
249
+ - spec/fixtures/vcr_cassettes/PageRankr_Indexes_Bing/_run/with_no_match/.yml
250
+ - spec/fixtures/vcr_cassettes/PageRankr_Indexes_Google/_run/with_match/.yml
251
+ - spec/fixtures/vcr_cassettes/PageRankr_Indexes_Google/_run/with_no_match/.yml
252
+ - spec/fixtures/vcr_cassettes/PageRankr_Indexes_Yahoo/_run/with_match/.yml
253
+ - spec/fixtures/vcr_cassettes/PageRankr_Indexes_Yahoo/_run/with_no_match/.yml
254
+ - spec/fixtures/vcr_cassettes/PageRankr_Ranks_AlexaCountry/_run/with_match/.yml
255
+ - spec/fixtures/vcr_cassettes/PageRankr_Ranks_AlexaCountry/_run/with_no_match/.yml
256
+ - spec/fixtures/vcr_cassettes/PageRankr_Ranks_AlexaGlobal/_run/with_match/.yml
257
+ - spec/fixtures/vcr_cassettes/PageRankr_Ranks_AlexaGlobal/_run/with_no_match/.yml
258
+ - spec/fixtures/vcr_cassettes/PageRankr_Ranks_AlexaUs/_run/with_match/.yml
259
+ - spec/fixtures/vcr_cassettes/PageRankr_Ranks_AlexaUs/_run/with_no_match/.yml
260
+ - spec/fixtures/vcr_cassettes/PageRankr_Ranks_DomainAuthority/_run/with_match/.yml
261
+ - spec/fixtures/vcr_cassettes/PageRankr_Ranks_DomainAuthority/_run/with_no_match/.yml
262
+ - spec/fixtures/vcr_cassettes/PageRankr_Ranks_Google/_run/with_match/.yml
263
+ - spec/fixtures/vcr_cassettes/PageRankr_Ranks_Google/_run/with_no_match/.yml
264
+ - spec/fixtures/vcr_cassettes/PageRankr_Ranks_MozRank/_run/with_match/.yml
265
+ - spec/fixtures/vcr_cassettes/PageRankr_Ranks_MozRank/_run/with_no_match/.yml
266
+ - spec/fixtures/vcr_cassettes/PageRankr_Ranks_PageAuthority/_run/with_match/.yml
267
+ - spec/fixtures/vcr_cassettes/PageRankr_Ranks_PageAuthority/_run/with_no_match/.yml
268
+ - spec/fixtures/vcr_cassettes/PageRankr_Socials_Facebook/_run/with_match/.yml
269
+ - spec/fixtures/vcr_cassettes/PageRankr_Socials_Facebook/_run/with_no_match/.yml
270
+ - spec/fixtures/vcr_cassettes/PageRankr_Socials_Google/_run/with_match/.yml
271
+ - spec/fixtures/vcr_cassettes/PageRankr_Socials_Google/_run/with_no_match/.yml
272
+ - spec/fixtures/vcr_cassettes/PageRankr_Socials_LinkedIn/_run/with_match/.yml
273
+ - spec/fixtures/vcr_cassettes/PageRankr_Socials_LinkedIn/_run/with_no_match/.yml
274
+ - spec/fixtures/vcr_cassettes/PageRankr_Socials_Pinterest/_run/with_match/.yml
275
+ - spec/fixtures/vcr_cassettes/PageRankr_Socials_Pinterest/_run/with_no_match/.yml
276
+ - spec/fixtures/vcr_cassettes/PageRankr_Socials_StumbleUpon/_run/with_match/.yml
277
+ - spec/fixtures/vcr_cassettes/PageRankr_Socials_StumbleUpon/_run/with_no_match/.yml
278
+ - spec/fixtures/vcr_cassettes/PageRankr_Socials_Twitter/_run/with_match/.yml
279
+ - spec/fixtures/vcr_cassettes/PageRankr_Socials_Twitter/_run/with_no_match/.yml
280
+ - spec/fixtures/vcr_cassettes/PageRankr_Socials_Vk/_run/with_match/.yml
281
+ - spec/fixtures/vcr_cassettes/PageRankr_Socials_Vk/_run/with_no_match/.yml
227
282
  - spec/fixtures/vcr_cassettes/alexa_ranks_edge_case_1.yml
228
- - spec/fixtures/vcr_cassettes/failure_backlinks.yml
229
- - spec/fixtures/vcr_cassettes/failure_indexes.yml
230
- - spec/fixtures/vcr_cassettes/failure_ranks.yml
231
283
  - spec/fixtures/vcr_cassettes/failure_socials.yml
232
- - spec/fixtures/vcr_cassettes/success_backlinks.yml
233
- - spec/fixtures/vcr_cassettes/success_indexes.yml
234
- - spec/fixtures/vcr_cassettes/success_ranks.yml
235
284
  - spec/fixtures/vcr_cassettes/success_socials.yml
285
+ - spec/indexes/bing_spec.rb
286
+ - spec/indexes/google_spec.rb
287
+ - spec/indexes/yahoo_spec.rb
236
288
  - spec/page_rankr_spec.rb
237
289
  - spec/proxy_services/random_spec.rb
238
290
  - spec/proxy_services/round_robin_spec.rb
291
+ - spec/ranks/alexa_country_spec.rb
292
+ - spec/ranks/alexa_global_spec.rb
293
+ - spec/ranks/alexa_us_spec.rb
294
+ - spec/ranks/domain_authority_spec.rb
239
295
  - spec/ranks/google/checksum_spec.rb
296
+ - spec/ranks/google_spec.rb
297
+ - spec/ranks/moz_rank_spec.rb
298
+ - spec/ranks/page_authority_spec.rb
240
299
  - spec/site_spec.rb
241
- - spec/socials_spec.rb
300
+ - spec/socials/facebook_spec.rb
301
+ - spec/socials/google_spec.rb
302
+ - spec/socials/linkedin_spec.rb
303
+ - spec/socials/pinterest_spec.rb
304
+ - spec/socials/stumble_upon_spec.rb
305
+ - spec/socials/twitter_spec.rb
306
+ - spec/socials/vk_spec.rb
242
307
  - spec/spec_helper.rb
308
+ - spec/support/custom_matchers.rb
243
309
  homepage: http://github.com/blatyo/page_rankr
244
310
  licenses:
245
311
  - MIT
@@ -260,26 +326,79 @@ required_rubygems_version: !ruby/object:Gem::Requirement
260
326
  version: 1.3.6
261
327
  requirements: []
262
328
  rubyforge_project:
263
- rubygems_version: 2.2.2
329
+ rubygems_version: 2.4.5.1
264
330
  signing_key:
265
331
  specification_version: 4
266
332
  summary: Easy way to retrieve Google Page Rank, Alexa Rank, backlink counts, index
267
333
  counts and different types of social signals
268
334
  test_files:
269
- - spec/edge_cases_spec.rb
335
+ - spec/backlinks/bing_spec.rb
336
+ - spec/backlinks/google_spec.rb
337
+ - spec/backlinks/yahoo_spec.rb
338
+ - spec/fixtures/vcr_cassettes/PageRankr_Backlinks_Bing/_run/with_match/.yml
339
+ - spec/fixtures/vcr_cassettes/PageRankr_Backlinks_Bing/_run/with_no_match/.yml
340
+ - spec/fixtures/vcr_cassettes/PageRankr_Backlinks_Google/_run/with_match/.yml
341
+ - spec/fixtures/vcr_cassettes/PageRankr_Backlinks_Google/_run/with_no_match/.yml
342
+ - spec/fixtures/vcr_cassettes/PageRankr_Backlinks_Yahoo/_run/with_match/.yml
343
+ - spec/fixtures/vcr_cassettes/PageRankr_Backlinks_Yahoo/_run/with_no_match/.yml
344
+ - spec/fixtures/vcr_cassettes/PageRankr_Indexes_Bing/_run/with_match/.yml
345
+ - spec/fixtures/vcr_cassettes/PageRankr_Indexes_Bing/_run/with_no_match/.yml
346
+ - spec/fixtures/vcr_cassettes/PageRankr_Indexes_Google/_run/with_match/.yml
347
+ - spec/fixtures/vcr_cassettes/PageRankr_Indexes_Google/_run/with_no_match/.yml
348
+ - spec/fixtures/vcr_cassettes/PageRankr_Indexes_Yahoo/_run/with_match/.yml
349
+ - spec/fixtures/vcr_cassettes/PageRankr_Indexes_Yahoo/_run/with_no_match/.yml
350
+ - spec/fixtures/vcr_cassettes/PageRankr_Ranks_AlexaCountry/_run/with_match/.yml
351
+ - spec/fixtures/vcr_cassettes/PageRankr_Ranks_AlexaCountry/_run/with_no_match/.yml
352
+ - spec/fixtures/vcr_cassettes/PageRankr_Ranks_AlexaGlobal/_run/with_match/.yml
353
+ - spec/fixtures/vcr_cassettes/PageRankr_Ranks_AlexaGlobal/_run/with_no_match/.yml
354
+ - spec/fixtures/vcr_cassettes/PageRankr_Ranks_AlexaUs/_run/with_match/.yml
355
+ - spec/fixtures/vcr_cassettes/PageRankr_Ranks_AlexaUs/_run/with_no_match/.yml
356
+ - spec/fixtures/vcr_cassettes/PageRankr_Ranks_DomainAuthority/_run/with_match/.yml
357
+ - spec/fixtures/vcr_cassettes/PageRankr_Ranks_DomainAuthority/_run/with_no_match/.yml
358
+ - spec/fixtures/vcr_cassettes/PageRankr_Ranks_Google/_run/with_match/.yml
359
+ - spec/fixtures/vcr_cassettes/PageRankr_Ranks_Google/_run/with_no_match/.yml
360
+ - spec/fixtures/vcr_cassettes/PageRankr_Ranks_MozRank/_run/with_match/.yml
361
+ - spec/fixtures/vcr_cassettes/PageRankr_Ranks_MozRank/_run/with_no_match/.yml
362
+ - spec/fixtures/vcr_cassettes/PageRankr_Ranks_PageAuthority/_run/with_match/.yml
363
+ - spec/fixtures/vcr_cassettes/PageRankr_Ranks_PageAuthority/_run/with_no_match/.yml
364
+ - spec/fixtures/vcr_cassettes/PageRankr_Socials_Facebook/_run/with_match/.yml
365
+ - spec/fixtures/vcr_cassettes/PageRankr_Socials_Facebook/_run/with_no_match/.yml
366
+ - spec/fixtures/vcr_cassettes/PageRankr_Socials_Google/_run/with_match/.yml
367
+ - spec/fixtures/vcr_cassettes/PageRankr_Socials_Google/_run/with_no_match/.yml
368
+ - spec/fixtures/vcr_cassettes/PageRankr_Socials_LinkedIn/_run/with_match/.yml
369
+ - spec/fixtures/vcr_cassettes/PageRankr_Socials_LinkedIn/_run/with_no_match/.yml
370
+ - spec/fixtures/vcr_cassettes/PageRankr_Socials_Pinterest/_run/with_match/.yml
371
+ - spec/fixtures/vcr_cassettes/PageRankr_Socials_Pinterest/_run/with_no_match/.yml
372
+ - spec/fixtures/vcr_cassettes/PageRankr_Socials_StumbleUpon/_run/with_match/.yml
373
+ - spec/fixtures/vcr_cassettes/PageRankr_Socials_StumbleUpon/_run/with_no_match/.yml
374
+ - spec/fixtures/vcr_cassettes/PageRankr_Socials_Twitter/_run/with_match/.yml
375
+ - spec/fixtures/vcr_cassettes/PageRankr_Socials_Twitter/_run/with_no_match/.yml
376
+ - spec/fixtures/vcr_cassettes/PageRankr_Socials_Vk/_run/with_match/.yml
377
+ - spec/fixtures/vcr_cassettes/PageRankr_Socials_Vk/_run/with_no_match/.yml
270
378
  - spec/fixtures/vcr_cassettes/alexa_ranks_edge_case_1.yml
271
- - spec/fixtures/vcr_cassettes/failure_backlinks.yml
272
- - spec/fixtures/vcr_cassettes/failure_indexes.yml
273
- - spec/fixtures/vcr_cassettes/failure_ranks.yml
274
379
  - spec/fixtures/vcr_cassettes/failure_socials.yml
275
- - spec/fixtures/vcr_cassettes/success_backlinks.yml
276
- - spec/fixtures/vcr_cassettes/success_indexes.yml
277
- - spec/fixtures/vcr_cassettes/success_ranks.yml
278
380
  - spec/fixtures/vcr_cassettes/success_socials.yml
381
+ - spec/indexes/bing_spec.rb
382
+ - spec/indexes/google_spec.rb
383
+ - spec/indexes/yahoo_spec.rb
279
384
  - spec/page_rankr_spec.rb
280
385
  - spec/proxy_services/random_spec.rb
281
386
  - spec/proxy_services/round_robin_spec.rb
387
+ - spec/ranks/alexa_country_spec.rb
388
+ - spec/ranks/alexa_global_spec.rb
389
+ - spec/ranks/alexa_us_spec.rb
390
+ - spec/ranks/domain_authority_spec.rb
282
391
  - spec/ranks/google/checksum_spec.rb
392
+ - spec/ranks/google_spec.rb
393
+ - spec/ranks/moz_rank_spec.rb
394
+ - spec/ranks/page_authority_spec.rb
283
395
  - spec/site_spec.rb
284
- - spec/socials_spec.rb
396
+ - spec/socials/facebook_spec.rb
397
+ - spec/socials/google_spec.rb
398
+ - spec/socials/linkedin_spec.rb
399
+ - spec/socials/pinterest_spec.rb
400
+ - spec/socials/stumble_upon_spec.rb
401
+ - spec/socials/twitter_spec.rb
402
+ - spec/socials/vk_spec.rb
285
403
  - spec/spec_helper.rb
404
+ - spec/support/custom_matchers.rb