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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 37be70bdd1169c223bf1941e96da9b0b34938f23
4
- data.tar.gz: 6489b9c218baafbcd445d73c8efddd7171a0682c
3
+ metadata.gz: 4bb9a7ba8800741393c31a9cf1d4b5dc269a121d
4
+ data.tar.gz: b65c620624a0c19f9162e2b1b07f4b084a832ce9
5
5
  SHA512:
6
- metadata.gz: c582233293814d0018ba4f5181a3d3b9f8474a0ab487761126e1835678f86bee97da8012512dd0a6ec6a62eb952355e8817998531ba69a21edb42829d8b9afcf
7
- data.tar.gz: 0d685e441a47467f6d06cf7baf4925b647f56a0b01885b545907e686a9621f89e2e98b6bb5e1aa763ff1fb498984a83a2e9c1d515c46c630752ee7ba882f038f
6
+ metadata.gz: cb0b4a2b607a57acf06ade254ae52f12d7e4f991ab29f3d06690899ad00f666cf78e37315e00f7902659f878809a55f29dd4ca40131c0392d5d8fad1d7dc5f0c
7
+ data.tar.gz: 0a8f4395667ebe8bac35a5bb1f9f9e6a4aef2f6dec2cc0dc2be7c0d23e3dcda2a1560b400739820c28cc9c3ff935170b6340c71bde5cbc1a2ee26a97269a5fa1
@@ -1,5 +1,8 @@
1
1
  # Change Log
2
2
 
3
+ ## Version 4.4.1
4
+ * Fixes Alexa US to use correct rank
5
+
3
6
  ## Version 4.4.0
4
7
  * Adds social signals for google, linked_in, pinterest, stumble_upon, twitter, and vk
5
8
 
@@ -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", ">= 1.4.4"
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}')]/../reach/@rank"
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
@@ -1,3 +1,3 @@
1
1
  module PageRankr
2
- VERSION = "4.4.0"
2
+ VERSION = "4.4.1"
3
3
  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.0
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: 2014-12-16 00:00:00.000000000 Z
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