mozapi 0.1.6 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/mozapi.rb +5 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 734ee0625874b16c049b090815878ad63c912159
4
- data.tar.gz: 614714a8b407b7fe5f78d832878f15a69adea803
3
+ metadata.gz: 1d4ce058cd958d889b5b96fa51ad006db19e9415
4
+ data.tar.gz: 2e232bc48c93982e32deb5d608b36e2994107638
5
5
  SHA512:
6
- metadata.gz: e167db92f131e3bbc87658f11ae80615b47ae404d8fdb8266a73cabda17e35d2af97eb820d7f343719b440fd522d7d5de23862e70a89ddebf96e876652daab78
7
- data.tar.gz: efd268f5194e53fddcb9085c37fb962a194cb501c05c364131b49288d881c588fbd8d8e7ce8eb85089ed658594122038ce1b8ebb62f0a75ca765082e3f03937b
6
+ metadata.gz: c568585997d517a70e09d602c70c61b22e6a9e626598b68c49859072a5c4cf5e06cf3feb54915a4bbab064d0a8026a8c5d2bafde54f394814d082101d0c0f1ea
7
+ data.tar.gz: 22bbbf76e868103045425982b8b639628d8b92ae73d0962fc0b45ff160f085d82a3fa057ba0060fe1880f6eba50eafde359d227901059a37a855c278d6e6fe5e
@@ -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 = URL
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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mozapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christoph Engelhardt