PageRankr 4.4.0 → 4.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/PageRankr.gemspec +1 -2
- data/lib/page_rankr/ranks/alexa_us.rb +3 -3
- data/lib/page_rankr/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4bb9a7ba8800741393c31a9cf1d4b5dc269a121d
|
4
|
+
data.tar.gz: b65c620624a0c19f9162e2b1b07f4b084a832ce9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cb0b4a2b607a57acf06ade254ae52f12d7e4f991ab29f3d06690899ad00f666cf78e37315e00f7902659f878809a55f29dd4ca40131c0392d5d8fad1d7dc5f0c
|
7
|
+
data.tar.gz: 0a8f4395667ebe8bac35a5bb1f9f9e6a4aef2f6dec2cc0dc2be7c0d23e3dcda2a1560b400739820c28cc9c3ff935170b6340c71bde5cbc1a2ee26a97269a5fa1
|
data/CHANGELOG.md
CHANGED
data/PageRankr.gemspec
CHANGED
@@ -21,7 +21,7 @@ Gem::Specification.new do |s|
|
|
21
21
|
|
22
22
|
s.add_runtime_dependency "nokogiri", ">= 1.4.1"
|
23
23
|
s.add_runtime_dependency "json", ">= 1.4.6"
|
24
|
-
s.add_runtime_dependency "public_suffix", "
|
24
|
+
s.add_runtime_dependency "public_suffix", "~> 1.4.4"
|
25
25
|
s.add_runtime_dependency "httparty", ">= 0.9.0"
|
26
26
|
s.add_runtime_dependency "jsonpath", ">= 0.4.2"
|
27
27
|
|
@@ -30,4 +30,3 @@ Gem::Specification.new do |s|
|
|
30
30
|
s.executables = `git ls-files`.split("\n").map{|f| f =~ /^bin\/(.*)/ ? $1 : nil}.compact
|
31
31
|
s.require_paths = ["lib"]
|
32
32
|
end
|
33
|
-
|
@@ -4,7 +4,7 @@ module PageRankr
|
|
4
4
|
class Ranks
|
5
5
|
class AlexaUs
|
6
6
|
include Rank
|
7
|
-
|
7
|
+
|
8
8
|
def url
|
9
9
|
"http://data.alexa.com/data"
|
10
10
|
end
|
@@ -20,7 +20,7 @@ module PageRankr
|
|
20
20
|
# to slocourts.net. Clearly something is wrong with how Alexa handles this case and so in the event this
|
21
21
|
# happens we treat the results as if there were no results.
|
22
22
|
def xpath
|
23
|
-
"//popularity[contains(@url, '#{tracked_url}')]/../
|
23
|
+
"//popularity[contains(@url, '#{tracked_url}')]/../country[@code='US']/@rank"
|
24
24
|
end
|
25
25
|
|
26
26
|
def supported_components
|
@@ -32,4 +32,4 @@ module PageRankr
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
end
|
35
|
-
end
|
35
|
+
end
|
data/lib/page_rankr/version.rb
CHANGED
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.
|
4
|
+
version: 4.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Allen Madsen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-04-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -126,14 +126,14 @@ dependencies:
|
|
126
126
|
name: public_suffix
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
|
-
- - "
|
129
|
+
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
131
|
version: 1.4.4
|
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
138
|
version: 1.4.4
|
139
139
|
- !ruby/object:Gem::Dependency
|