PageRankr 4.0.0 → 4.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -59,10 +59,12 @@ describe PageRankr do
59
59
 
60
60
  it{ should have_key(:alexa_us) }
61
61
  it{ should have_key(:alexa_global) }
62
+ it{ should have_key(:alexa_country) }
62
63
  it{ should have_key(:google) }
63
64
 
64
65
  it{ subject[:alexa_us].should be_number >= 1 }
65
66
  it{ subject[:alexa_global].should be_number >= 1 }
67
+ it{ subject[:alexa_country].should be_number >= 1 }
66
68
  it{ subject[:google].should be_in(0..10) }
67
69
  end
68
70
 
@@ -75,10 +77,12 @@ describe PageRankr do
75
77
 
76
78
  it{ should have_key(:alexa_us) }
77
79
  it{ should have_key(:alexa_global) }
80
+ it{ should have_key(:alexa_country) }
78
81
  it{ should have_key(:google) }
79
82
 
80
83
  it{ subject[:alexa_us].should be_nil }
81
84
  it{ subject[:alexa_global].should be_nil }
85
+ it{ subject[:alexa_country].should be_nil }
82
86
  it{ subject[:google].should be_nil }
83
87
  end
84
88
  end
metadata CHANGED
@@ -1,202 +1,145 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: PageRankr
3
- version: !ruby/object:Gem::Version
4
- hash: 63
3
+ version: !ruby/object:Gem::Version
4
+ version: 4.1.0
5
5
  prerelease:
6
- segments:
7
- - 4
8
- - 0
9
- - 0
10
- version: 4.0.0
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Allen Madsen
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2012-12-18 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
12
+ date: 2013-02-18 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
21
15
  name: rake
22
- version_requirements: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &70222883191120 !ruby/object:Gem::Requirement
23
17
  none: false
24
- requirements:
25
- - - ">="
26
- - !ruby/object:Gem::Version
27
- hash: 3
28
- segments:
29
- - 0
30
- version: "0"
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
31
22
  type: :development
32
- requirement: *id001
33
23
  prerelease: false
34
- - !ruby/object:Gem::Dependency
24
+ version_requirements: *70222883191120
25
+ - !ruby/object:Gem::Dependency
35
26
  name: rspec
36
- version_requirements: &id002 !ruby/object:Gem::Requirement
27
+ requirement: &70222883189560 !ruby/object:Gem::Requirement
37
28
  none: false
38
- requirements:
39
- - - ">="
40
- - !ruby/object:Gem::Version
41
- hash: 23
42
- segments:
43
- - 2
44
- - 6
45
- - 0
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
46
32
  version: 2.6.0
47
33
  type: :development
48
- requirement: *id002
49
34
  prerelease: false
50
- - !ruby/object:Gem::Dependency
35
+ version_requirements: *70222883189560
36
+ - !ruby/object:Gem::Dependency
51
37
  name: bundler
52
- version_requirements: &id003 !ruby/object:Gem::Requirement
38
+ requirement: &70222883188360 !ruby/object:Gem::Requirement
53
39
  none: false
54
- requirements:
55
- - - ">="
56
- - !ruby/object:Gem::Version
57
- hash: 23
58
- segments:
59
- - 1
60
- - 0
61
- - 0
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
62
43
  version: 1.0.0
63
44
  type: :development
64
- requirement: *id003
65
45
  prerelease: false
66
- - !ruby/object:Gem::Dependency
46
+ version_requirements: *70222883188360
47
+ - !ruby/object:Gem::Dependency
67
48
  name: fuubar
68
- version_requirements: &id004 !ruby/object:Gem::Requirement
49
+ requirement: &70222883187280 !ruby/object:Gem::Requirement
69
50
  none: false
70
- requirements:
71
- - - ">="
72
- - !ruby/object:Gem::Version
73
- hash: 29
74
- segments:
75
- - 0
76
- - 0
77
- - 1
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
78
54
  version: 0.0.1
79
55
  type: :development
80
- requirement: *id004
81
56
  prerelease: false
82
- - !ruby/object:Gem::Dependency
57
+ version_requirements: *70222883187280
58
+ - !ruby/object:Gem::Dependency
83
59
  name: vcr
84
- version_requirements: &id005 !ruby/object:Gem::Requirement
60
+ requirement: &70222883202000 !ruby/object:Gem::Requirement
85
61
  none: false
86
- requirements:
87
- - - ">="
88
- - !ruby/object:Gem::Version
89
- hash: 3
90
- segments:
91
- - 0
92
- version: "0"
62
+ requirements:
63
+ - - ! '>='
64
+ - !ruby/object:Gem::Version
65
+ version: '0'
93
66
  type: :development
94
- requirement: *id005
95
67
  prerelease: false
96
- - !ruby/object:Gem::Dependency
68
+ version_requirements: *70222883202000
69
+ - !ruby/object:Gem::Dependency
97
70
  name: fakeweb
98
- version_requirements: &id006 !ruby/object:Gem::Requirement
71
+ requirement: &70222883200340 !ruby/object:Gem::Requirement
99
72
  none: false
100
- requirements:
101
- - - ">="
102
- - !ruby/object:Gem::Version
103
- hash: 3
104
- segments:
105
- - 0
106
- version: "0"
73
+ requirements:
74
+ - - ! '>='
75
+ - !ruby/object:Gem::Version
76
+ version: '0'
107
77
  type: :development
108
- requirement: *id006
109
78
  prerelease: false
110
- - !ruby/object:Gem::Dependency
79
+ version_requirements: *70222883200340
80
+ - !ruby/object:Gem::Dependency
111
81
  name: nokogiri
112
- version_requirements: &id007 !ruby/object:Gem::Requirement
82
+ requirement: &70222883198860 !ruby/object:Gem::Requirement
113
83
  none: false
114
- requirements:
115
- - - ">="
116
- - !ruby/object:Gem::Version
117
- hash: 5
118
- segments:
119
- - 1
120
- - 4
121
- - 1
84
+ requirements:
85
+ - - ! '>='
86
+ - !ruby/object:Gem::Version
122
87
  version: 1.4.1
123
88
  type: :runtime
124
- requirement: *id007
125
89
  prerelease: false
126
- - !ruby/object:Gem::Dependency
90
+ version_requirements: *70222883198860
91
+ - !ruby/object:Gem::Dependency
127
92
  name: json
128
- version_requirements: &id008 !ruby/object:Gem::Requirement
93
+ requirement: &70222883197440 !ruby/object:Gem::Requirement
129
94
  none: false
130
- requirements:
131
- - - ">="
132
- - !ruby/object:Gem::Version
133
- hash: 11
134
- segments:
135
- - 1
136
- - 4
137
- - 6
95
+ requirements:
96
+ - - ! '>='
97
+ - !ruby/object:Gem::Version
138
98
  version: 1.4.6
139
99
  type: :runtime
140
- requirement: *id008
141
100
  prerelease: false
142
- - !ruby/object:Gem::Dependency
101
+ version_requirements: *70222883197440
102
+ - !ruby/object:Gem::Dependency
143
103
  name: public_suffix
144
- version_requirements: &id009 !ruby/object:Gem::Requirement
104
+ requirement: &70222883196060 !ruby/object:Gem::Requirement
145
105
  none: false
146
- requirements:
147
- - - ">="
148
- - !ruby/object:Gem::Version
149
- hash: 59
150
- segments:
151
- - 0
152
- - 9
153
- - 0
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
154
109
  version: 0.9.0
155
110
  type: :runtime
156
- requirement: *id009
157
111
  prerelease: false
158
- - !ruby/object:Gem::Dependency
112
+ version_requirements: *70222883196060
113
+ - !ruby/object:Gem::Dependency
159
114
  name: httparty
160
- version_requirements: &id010 !ruby/object:Gem::Requirement
115
+ requirement: &70222883210440 !ruby/object:Gem::Requirement
161
116
  none: false
162
- requirements:
163
- - - ">="
164
- - !ruby/object:Gem::Version
165
- hash: 59
166
- segments:
167
- - 0
168
- - 9
169
- - 0
117
+ requirements:
118
+ - - ! '>='
119
+ - !ruby/object:Gem::Version
170
120
  version: 0.9.0
171
121
  type: :runtime
172
- requirement: *id010
173
122
  prerelease: false
174
- - !ruby/object:Gem::Dependency
123
+ version_requirements: *70222883210440
124
+ - !ruby/object:Gem::Dependency
175
125
  name: jsonpath
176
- version_requirements: &id011 !ruby/object:Gem::Requirement
126
+ requirement: &70222883209100 !ruby/object:Gem::Requirement
177
127
  none: false
178
- requirements:
179
- - - ">="
180
- - !ruby/object:Gem::Version
181
- hash: 11
182
- segments:
183
- - 0
184
- - 4
185
- - 2
128
+ requirements:
129
+ - - ! '>='
130
+ - !ruby/object:Gem::Version
186
131
  version: 0.4.2
187
132
  type: :runtime
188
- requirement: *id011
189
133
  prerelease: false
190
- description: Easy way to retrieve Google Page Rank, Alexa Rank, backlink counts, and index counts.
191
- email:
134
+ version_requirements: *70222883209100
135
+ description: Easy way to retrieve Google Page Rank, Alexa Rank, backlink counts, and
136
+ index counts.
137
+ email:
192
138
  - blatyo@gmail.com
193
139
  executables: []
194
-
195
140
  extensions: []
196
-
197
141
  extra_rdoc_files: []
198
-
199
- files:
142
+ files:
200
143
  - .gitignore
201
144
  - .rvmrc
202
145
  - .travis.yml
@@ -224,6 +167,7 @@ files:
224
167
  - lib/page_rankr/proxy_services/round_robin.rb
225
168
  - lib/page_rankr/rank.rb
226
169
  - lib/page_rankr/ranks.rb
170
+ - lib/page_rankr/ranks/alexa_country.rb
227
171
  - lib/page_rankr/ranks/alexa_global.rb
228
172
  - lib/page_rankr/ranks/alexa_us.rb
229
173
  - lib/page_rankr/ranks/google.rb
@@ -250,40 +194,30 @@ files:
250
194
  - spec/spec_helper.rb
251
195
  homepage: http://github.com/blatyo/page_rankr
252
196
  licenses: []
253
-
254
197
  post_install_message:
255
198
  rdoc_options: []
256
-
257
- require_paths:
199
+ require_paths:
258
200
  - lib
259
- required_ruby_version: !ruby/object:Gem::Requirement
201
+ required_ruby_version: !ruby/object:Gem::Requirement
260
202
  none: false
261
- requirements:
262
- - - ">="
263
- - !ruby/object:Gem::Version
264
- hash: 3
265
- segments:
266
- - 0
267
- version: "0"
268
- required_rubygems_version: !ruby/object:Gem::Requirement
203
+ requirements:
204
+ - - ! '>='
205
+ - !ruby/object:Gem::Version
206
+ version: '0'
207
+ required_rubygems_version: !ruby/object:Gem::Requirement
269
208
  none: false
270
- requirements:
271
- - - ">="
272
- - !ruby/object:Gem::Version
273
- hash: 23
274
- segments:
275
- - 1
276
- - 3
277
- - 6
209
+ requirements:
210
+ - - ! '>='
211
+ - !ruby/object:Gem::Version
278
212
  version: 1.3.6
279
213
  requirements: []
280
-
281
214
  rubyforge_project:
282
- rubygems_version: 1.8.24
215
+ rubygems_version: 1.8.17
283
216
  signing_key:
284
217
  specification_version: 3
285
- summary: Easy way to retrieve Google Page Rank, Alexa Rank, backlink counts, and index counts.
286
- test_files:
218
+ summary: Easy way to retrieve Google Page Rank, Alexa Rank, backlink counts, and index
219
+ counts.
220
+ test_files:
287
221
  - spec/edge_cases_spec.rb
288
222
  - spec/fixtures/vcr_cassettes/alexa_ranks_edge_case_1.yml
289
223
  - spec/fixtures/vcr_cassettes/failure_backlinks.yml