videostore 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +3 -3
- metadata +44 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f32d1202bd5c144b00bcbdc75bd1f220db9ab90a
|
4
|
+
data.tar.gz: 6e84b11c3f6431396d0f8424ca328a29ac11f169
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c19aabb688040e8875e2b4520ea85b38076f05df653047624b79dc636027ebc6c4edf28d939b0a2f7f344308efbc794fe77af216e0888ca52fa3ffae34393862
|
7
|
+
data.tar.gz: 22a93709a4fa7cf1b4d23bc5805b3521b34493376e268167332fdb97556aa5d371b0504e78d8ee8b1ab03fed534fe450bd3715713b270f58fa1b5afac903353c
|
data/README.md
CHANGED
@@ -9,11 +9,10 @@ Features:
|
|
9
9
|
- Methods for bringing down up-to-date data from API #
|
10
10
|
- Various sorting options made possible through duck typing
|
11
11
|
|
12
|
-
To start using the gem have a file to the lib directory called keys.rb that defines
|
13
|
-
YOUTUBE_DEVELOPER_KEY as your google developer key with access to the V3 Youtube API.
|
12
|
+
To start using the gem have a file to the lib directory called keys.rb that defines YOUTUBE_DEVELOPER_KEY as your google developer key (must have access to the V3 Youtube API).
|
14
13
|
|
15
14
|
Instantiate a new Youtube video with
|
16
|
-
> VideoStore::Youtube.new(
|
15
|
+
> VideoStore::Youtube.new(insert youtube ID here)
|
17
16
|
|
18
17
|
Do the same with Vimeo, but replace Youtube with Vimeo!!
|
19
18
|
|
@@ -30,3 +29,4 @@ comment_count -- # of comments
|
|
30
29
|
duration -- length of the video in seconds
|
31
30
|
|
32
31
|
This duck typing allows you to sort both kinds of videos in the same collection.
|
32
|
+
E.G. [a bunch of vimeos and youtubes].sort_by(&:views).reverse # this would sort the collection by most views
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: videostore
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Husa
|
@@ -9,7 +9,49 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
date: 2013-12-01 00:00:00.000000000 Z
|
12
|
-
dependencies:
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: faraday
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - '>='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '>='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: google-api-client
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: vimeo
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
13
55
|
description: The videostore gem is a utility for storing and tracking remote videos
|
14
56
|
at streaming sites such as Vimeo and Youtube.
|
15
57
|
email: davidhusa@gmail.com
|