film_snob 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -1
- data/lib/film_snob/version.rb +1 -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: 706c85faef7c0c647d53936eaa40f02aa317b3ee
|
4
|
+
data.tar.gz: e2fef7f5a852713cc0ab7afcf32ceac99ce263b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a76db3dad486f794978024e750afcc98449c1d48f4732a927e7fa61e8fbe900807c63262dab78bd50a3f38ebcf2f6197982129f780aa116c6339343993a2b561
|
7
|
+
data.tar.gz: 758e755cd14096c02f5d3e99403b6e5568a5d61652e32570a4317930b0e6b8d6b9055869d4916b216e01a228ba67559d77d778de359d32ad54eafed6a74a397a
|
data/README.md
CHANGED
@@ -25,7 +25,9 @@ Or install it yourself as:
|
|
25
25
|
snob = FilmSnob.new("https://www.youtube.com/watch?v=GwT3zH16w3s")
|
26
26
|
snob.watchable? #=> true
|
27
27
|
snob.site #=> :youtube
|
28
|
-
snob.id #=>
|
28
|
+
snob.id #=> "GwT3zH16w3s"
|
29
|
+
snob.title #=> "What Are You, The Coolest? With Robert Rodriguez"
|
30
|
+
snob.html #=> "<iframe width=\"480\" height=\"270\" src=\"http://www.youtube.com/embed/GwT3zH16w3s?feature=oembed\" frameborder=\"0\" allowfullscreen></iframe>"
|
29
31
|
```
|
30
32
|
|
31
33
|
## Supported video providers
|
@@ -34,6 +36,8 @@ snob.id #=> 'GwT3zH16w3s'
|
|
34
36
|
* Vimeo
|
35
37
|
* Hulu
|
36
38
|
|
39
|
+
The same methods work with all of these providers.
|
40
|
+
|
37
41
|
## Testing
|
38
42
|
|
39
43
|
Run `rake` to run all of the rspecs.
|
data/lib/film_snob/version.rb
CHANGED