share_counter 0.1.4 → 0.2.0

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: a2d0fa373642896c7cea9f8dd6025750172613b1
4
- data.tar.gz: a32660024d0996aec33f576f077913233ae9c49c
3
+ metadata.gz: 3d45d986a6f52fd77cf7549751a9a7ae524bb001
4
+ data.tar.gz: 3c8e129c07d506f856a3f9ca5d709633e47b851a
5
5
  SHA512:
6
- metadata.gz: 5eff5826f3992269f1976e85910efb20d9056fa3c6f94a1ebcfb7cffa7711e0ba47f654c132484d0ae617531f33cb2253e959e98455823a448df0863efdb50a4
7
- data.tar.gz: 8779b027912b04aec6ca2560307b0a1707545322d83466712fa35da755e4afed409e4e08a479e4a2f2451a23cd93250f259519473f4e7c390a34e6d2433f38d2
6
+ metadata.gz: 71ba886081239ca49a6a450898d637f9933adb95ce1f19416af9adaf27b5ad3277cc7bf3f63b76212fe12ef9013dbf1c295cd32b82fb892b3ce0c61698185fd3
7
+ data.tar.gz: bbbcfc6acab0b8989ec75609a160faa8ab30f63df4106ac0ef28d5d1b2479235e23b06023612e3c1d662446847ba8fd710b71503891fa7274ec5d6f1f739275d
@@ -1,3 +1,3 @@
1
1
  module ShareCounter
2
- VERSION = "0.1.4"
2
+ VERSION = "0.2.0"
3
3
  end
data/lib/share_counter.rb CHANGED
@@ -44,7 +44,7 @@ module ShareCounter
44
44
 
45
45
  def self.seomoz url, access_id, secret
46
46
  client = Linkscape::Client.new(accessID: access_id, secret: secret)
47
- response = client.urlMetrics(get_host_without_www(url), cols: :all)
47
+ response = client.urlMetrics(url, cols: :all)
48
48
  { mozrank: response.data['source'][:mozrank], page_authority: response.data['source'][:page_authority], domain_authority: response.data['source'][:domain_authority]}
49
49
  end
50
50
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: share_counter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Davide Santangelo