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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -3
  3. metadata +44 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 09b1398177f07a17cf92e64abc1e80d340ec18e3
4
- data.tar.gz: 646de11ca15ee3cdd1f45296e13b42135029de2a
3
+ metadata.gz: f32d1202bd5c144b00bcbdc75bd1f220db9ab90a
4
+ data.tar.gz: 6e84b11c3f6431396d0f8424ca328a29ac11f169
5
5
  SHA512:
6
- metadata.gz: 73f157b799290715c47b24a178f0b13dc0f2307f832e1ec6218e6140e8bea54e6dac9e613a2f5d6693828a5f672eda1179ab31909695091b0aa89a4afc6de9c8
7
- data.tar.gz: 42afaca160aef9172b55bc39a3b7d100400f5017b3926fa76add8bffdbaf4d9c2959125c34ef5d52140bf4c735af42d367fa666eb9dec16cd43008a36f96e934
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(<insert youtube ID here>)
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.1
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