twitter-vine 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/Gemfile.lock +1 -1
- data/lib/twitter-vine/version.rb +1 -1
- data/lib/twitter-vine.rb +1 -0
- data/spec/spec_helper.rb +5 -0
- data/spec/twitter-vine_spec.rb +13 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MzViYTE5ZjNiNzAyNDY4ZWNkZjg2NGZiODBlN2ZkNGU3YWEwNDgxNA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NDY5Mjc2ZDI1NGFmOWUwYjFjY2IxZTY5NjFhYTQ3MGU4YTJmYWU4Mg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZDMxNjg4M2QxNzU0NzYyMTY4YTFkOGM2ZjViZGY3ZDc3OTc1NDg5ZDczMzA3
|
10
|
+
OWI2YmNkOTk2YzMxZmFjNTc1ZTNhZDVlNzdkY2NjOTkwYjNjNDk2Y2QwOTA1
|
11
|
+
Y2JiODFhZDlkMjRlNDgyZjU0NDMxZDdkNjFmYzdmYzNkMjY3ZjQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZGYwYjc0YTEzZmJmMDMyZGM4ZmZhN2JmZTQ4ZDE0OThjYmJiY2Y0YWRlZDNj
|
14
|
+
Mzg5MDM1ZTMzMTRlYWZlM2IwMjNmNjI2MmJkYjgzYjZkOGNjNWQxN2ZhMDQ1
|
15
|
+
ZjkxZTI3N2NmNzk5ZDg2NmNlMDlhNDZhNGQ0MGM3MjhkZjg2YmE=
|
data/Gemfile.lock
CHANGED
data/lib/twitter-vine/version.rb
CHANGED
data/lib/twitter-vine.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
data/spec/twitter-vine_spec.rb
CHANGED
@@ -27,4 +27,17 @@ describe TwitterVine do
|
|
27
27
|
vine_map[:vine_src].should_not be nil
|
28
28
|
vine_map[:vine_type].should_not be nil
|
29
29
|
end
|
30
|
+
|
31
|
+
it "should be able to scrape Vine metadata when expanded_url is http instead of https" do
|
32
|
+
vine_map = TwitterVine.build_vine_map(MockTweetWithHttpVineUrl.new)
|
33
|
+
puts vine_map
|
34
|
+
vine_map[:vine_id].should_not be nil
|
35
|
+
vine_map[:vine_url].should_not be nil
|
36
|
+
vine_map[:vine_author_thumbnail].should_not be nil
|
37
|
+
vine_map[:vine_author].should_not be nil
|
38
|
+
vine_map[:vine_description].should_not be nil
|
39
|
+
vine_map[:vine_src].should_not be nil
|
40
|
+
vine_map[:vine_type].should_not be nil
|
41
|
+
end
|
42
|
+
|
30
43
|
end
|