virility 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/virility/strategies/delicious.rb +6 -0
- data/lib/virility/strategies/stumble_upon.rb +3 -3
- data/lib/virility/version.rb +2 -2
- data/lib/virility.rb +1 -0
- data/virility.gemspec +1 -0
- metadata +15 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 192acfdf2d757a8fd21934d481e5b76879bce823
|
4
|
+
data.tar.gz: 71f7a4ff20a49e39d5228132ed10513485afff84
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 86ac8277dcb48e7559f035b24e3d736e3c37c53fbd70dfcd17cf62452de1fb020f5e37a83824881cab6462f428d8140f9dce3ec3c331e1671dd94f53f9be9b8d
|
7
|
+
data.tar.gz: 0fe93108823ec634512bb5810524fa8a8a384a7c3df89bb38efc72959958abefccaa77ef96c5925f20484df0224612adab85129e6edcbe740f946b302556d977
|
@@ -6,14 +6,14 @@ module Virility
|
|
6
6
|
MultiJson.decode(body)["result"]
|
7
7
|
end
|
8
8
|
)
|
9
|
-
|
9
|
+
|
10
10
|
def census
|
11
11
|
self.class.get("http://www.stumbleupon.com/services/1.01/badge.getinfo?url=#{@url}")
|
12
12
|
end
|
13
|
-
|
13
|
+
|
14
14
|
def count
|
15
15
|
results["views"] || 0
|
16
16
|
end
|
17
|
-
|
17
|
+
|
18
18
|
end
|
19
19
|
end
|
data/lib/virility/version.rb
CHANGED
@@ -1,3 +1,3 @@
|
|
1
1
|
module Virility
|
2
|
-
VERSION = "0.1.
|
3
|
-
end
|
2
|
+
VERSION = "0.1.4"
|
3
|
+
end
|
data/lib/virility.rb
CHANGED
data/virility.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: virility
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jay Sanders
|
@@ -38,6 +38,20 @@ dependencies:
|
|
38
38
|
- - ~>
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0.13'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: multi_json
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ~>
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '1.0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ~>
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '1.0'
|
41
55
|
description: Virility leverages the API's of many popular social services to collect
|
42
56
|
data about the virility of a particular URL.
|
43
57
|
email:
|