film_snob 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/README.md +2 -2
- data/lib/film_snob/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MzZkZTIwZjJmYTBhYjc2OTJjNzM2YmQ5MmIxYTA5MGRlYTZiYzIyNA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NzM3N2U3OGM5ODA2NDYzYjVlMGFlNDc4ODU5ZmIwYTQwYzI0Nzk5ZA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZjRjNmZlYTA1NWNjY2M2NzhlNjY0NjYxMzE3NjE0NjYzMzNmMmJkMWZkMzMx
|
10
|
+
ZGFiYzY3ZDdiN2Y4ZWNkOGZjN2JkYzQ3YzkyZWZmOWRiMDJlMjBhNDVjNzZk
|
11
|
+
OTVjODQ0NzU5ZGUxNDA2Nzc3NjQ5Yzg2NmYxYzE3NzNhMWRjOTI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NGYwNTY5NWJlNTgwN2JmYjlmMWYwMTE4MDMwYzZmZjJlN2QzNTA4MzU1MTg3
|
14
|
+
ZDU2ZmYyODY2Nzc5YTJhOWUzODk4N2E3MDhmMThiZmE3Y2FjYzZiYmM2ZDRj
|
15
|
+
MzVhYjAwYTQ5MDc3ZjcyYzU3N2EzNTAyNzUxN2I3MWVjMGQxMjk=
|
data/README.md
CHANGED
@@ -34,8 +34,8 @@ Can also pass some configuration options like this:
|
|
34
34
|
|
35
35
|
```ruby
|
36
36
|
film = FilmSnob.new("http://vimeo.com/64683454", width: 720)
|
37
|
-
|
38
|
-
film.html
|
37
|
+
film.title #=> "Garann Means - Bacon is bad for you"
|
38
|
+
film.html #=> "<iframe src=\"//player.vimeo.com/video/64683454\" width=\"720\" height=\"405\" frameborder=\"0\" title=\"Garann Means - Bacon is bad for you\" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>"
|
39
39
|
```
|
40
40
|
|
41
41
|
film_snob uses the oembed protocol to get html for embed codes. These options assume some knowledge of the endpoint's API. The above vimeo example works because they [have an extensively documented API](http://developer.vimeo.com/apis/oembed) which allows tons of configuration. The other two don't seem to have any documentation or configuration at all.
|
data/lib/film_snob/version.rb
CHANGED