mozapi 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mozapi.rb +5 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1d4ce058cd958d889b5b96fa51ad006db19e9415
|
4
|
+
data.tar.gz: 2e232bc48c93982e32deb5d608b36e2994107638
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c568585997d517a70e09d602c70c61b22e6a9e626598b68c49859072a5c4cf5e06cf3feb54915a4bbab064d0a8026a8c5d2bafde54f394814d082101d0c0f1ea
|
7
|
+
data.tar.gz: 22bbbf76e868103045425982b8b639628d8b92ae73d0962fc0b45ff160f085d82a3fa057ba0060fe1880f6eba50eafde359d227901059a37a855c278d6e6fe5e
|
data/lib/mozapi.rb
CHANGED
@@ -25,6 +25,10 @@ class MozAPI
|
|
25
25
|
|
26
26
|
|
27
27
|
URL = 4
|
28
|
+
# lt
|
29
|
+
ANCHOR_TEXT = 4
|
30
|
+
# lnt
|
31
|
+
ANCHOR_TEXT_NORMALIZED = 8
|
28
32
|
ROOT_DOMAIN = 16
|
29
33
|
# uipl - not in the free version
|
30
34
|
LINKING_ROOT_DOMAINS = 1024
|
@@ -42,7 +46,7 @@ class MozAPI
|
|
42
46
|
# URL + root_domain
|
43
47
|
DEFAULT_TARGET_COLS = URL + ROOT_DOMAIN
|
44
48
|
# anchor_text
|
45
|
-
DEFAULT_LINK_COLS =
|
49
|
+
DEFAULT_LINK_COLS = ANCHOR_TEXT_NORMALIZED
|
46
50
|
# linking root domains + links + DA
|
47
51
|
DEFAULT_URL_METRICS_COLS = LINKING_ROOT_DOMAINS + 2048 + DOMAIN_AUTHORITY + LINKING_C_BLOCKS
|
48
52
|
|