google_pr 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/google_pr.rb +1 -1
- metadata +7 -7
data/lib/google_pr.rb
CHANGED
|
@@ -72,7 +72,7 @@ class GooglePR
|
|
|
72
72
|
# for example to get the Google's pagerank of www.rubyonrails.com the request_uri is http://toolbarqueries.google.com/search?client=navclient-auto&hl=en&ch=6602033163&ie=UTF-8&oe=UTF-8&features=Rank&q=info:www.rubyonrails.com
|
|
73
73
|
def request_uri
|
|
74
74
|
# http://www.bigbold.com/snippets/posts/show/1260 + _ -> %5F
|
|
75
|
-
"http://toolbarqueries.google.com/
|
|
75
|
+
"http://toolbarqueries.google.com/tbr?client=navclient-auto&hl=en&ch=#{cn}&ie=UTF-8&oe=UTF-8&features=Rank&q=info:#{URI.escape(@uri, /[^-.!~*'()a-zA-Z\d]/)}"
|
|
76
76
|
end
|
|
77
77
|
|
|
78
78
|
# Return a number between 0 to 10, that represents the Google PageRank
|
metadata
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google_pr
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 21
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 1
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 1.0.
|
|
9
|
+
- 1
|
|
10
|
+
version: 1.0.1
|
|
11
11
|
platform: ruby
|
|
12
|
-
authors:
|
|
13
|
-
|
|
12
|
+
authors:
|
|
13
|
+
- Vsevolod S. Balashov
|
|
14
14
|
autorequire:
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2011-
|
|
18
|
+
date: 2011-11-07 00:00:00 +01:00
|
|
19
19
|
default_executable:
|
|
20
20
|
dependencies: []
|
|
21
21
|
|
|
@@ -62,7 +62,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
62
62
|
requirements: []
|
|
63
63
|
|
|
64
64
|
rubyforge_project:
|
|
65
|
-
rubygems_version: 1.
|
|
65
|
+
rubygems_version: 1.6.2
|
|
66
66
|
signing_key:
|
|
67
67
|
specification_version: 3
|
|
68
68
|
summary: Google PR check
|