punndit_youtube 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -1
- data/README.md +3 -3
- data/Rakefile +1 -2
- data/lib/punndit_youtube.rb +10 -0
- data/lib/punndit_youtube/version.rb +3 -0
- data/punndit_youtube.gemspec +17 -0
- metadata +10 -10
- data/lib/simple_youtube.rb +0 -12
- data/lib/simple_youtube/version.rb +0 -3
- data/simple_youtube.gemspec +0 -17
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# PunnditYoutube
|
2
2
|
|
3
3
|
TODO: Write a gem description
|
4
4
|
|
@@ -6,7 +6,7 @@ TODO: Write a gem description
|
|
6
6
|
|
7
7
|
Add this line to your application's Gemfile:
|
8
8
|
|
9
|
-
gem '
|
9
|
+
gem 'punndit_youtube'
|
10
10
|
|
11
11
|
And then execute:
|
12
12
|
|
@@ -14,7 +14,7 @@ And then execute:
|
|
14
14
|
|
15
15
|
Or install it yourself as:
|
16
16
|
|
17
|
-
$ gem install
|
17
|
+
$ gem install punndit_youtube
|
18
18
|
|
19
19
|
## Usage
|
20
20
|
|
data/Rakefile
CHANGED
@@ -0,0 +1,10 @@
|
|
1
|
+
require "punndit_youtube/version"
|
2
|
+
require "punndit_youtube/model/playlist"
|
3
|
+
require "punndit_youtube/model/video"
|
4
|
+
require "punndit_youtube/model/user"
|
5
|
+
|
6
|
+
module PunnditYoutube
|
7
|
+
# Base error class for the extension
|
8
|
+
class Error < RuntimeError
|
9
|
+
end
|
10
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
require File.expand_path('../lib/punndit_youtube/version', __FILE__)
|
3
|
+
|
4
|
+
Gem::Specification.new do |gem|
|
5
|
+
gem.authors = ["David Slone"]
|
6
|
+
gem.email = ["dbslone@gmail.com"]
|
7
|
+
gem.description = %q{simple_youtube is a Ruby client for parsing the YouTube API v2 using JSON objects. This is a lot cleaner and simpler method than trying to use the XML data provided. As the name implies this is for simple tasks involving YouTube like getting a Playlist, Channel, or single video information. This version does not currently support advances searches on the YouTube API.}
|
8
|
+
gem.summary = %q{Ruby client for the YouTube API v2}
|
9
|
+
gem.homepage = "http://www.punndit.com"
|
10
|
+
|
11
|
+
gem.files = `git ls-files`.split($\)
|
12
|
+
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
13
|
+
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
14
|
+
gem.name = "punndit_youtube"
|
15
|
+
gem.require_paths = ["lib"]
|
16
|
+
gem.version = PunnditYoutube::VERSION
|
17
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: punndit_youtube
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -11,11 +11,11 @@ bindir: bin
|
|
11
11
|
cert_chain: []
|
12
12
|
date: 2012-08-28 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
|
-
description:
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
14
|
+
description: simple_youtube is a Ruby client for parsing the YouTube API v2 using
|
15
|
+
JSON objects. This is a lot cleaner and simpler method than trying to use the XML
|
16
|
+
data provided. As the name implies this is for simple tasks involving YouTube like
|
17
|
+
getting a Playlist, Channel, or single video information. This version does not
|
18
|
+
currently support advances searches on the YouTube API.
|
19
19
|
email:
|
20
20
|
- dbslone@gmail.com
|
21
21
|
executables: []
|
@@ -27,10 +27,10 @@ files:
|
|
27
27
|
- LICENSE
|
28
28
|
- README.md
|
29
29
|
- Rakefile
|
30
|
-
- lib/
|
31
|
-
- lib/
|
32
|
-
-
|
33
|
-
homepage: http://www.
|
30
|
+
- lib/punndit_youtube.rb
|
31
|
+
- lib/punndit_youtube/version.rb
|
32
|
+
- punndit_youtube.gemspec
|
33
|
+
homepage: http://www.punndit.com
|
34
34
|
licenses: []
|
35
35
|
post_install_message:
|
36
36
|
rdoc_options: []
|
data/lib/simple_youtube.rb
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
require "simple_youtube/version"
|
2
|
-
require "simple_youtube/model/playlist"
|
3
|
-
require "simple_youtube/model/video"
|
4
|
-
require "simple_youtube/model/user"
|
5
|
-
|
6
|
-
class SimpleYoutube
|
7
|
-
|
8
|
-
# Base error class for the extension
|
9
|
-
class Error < RuntimeError
|
10
|
-
end
|
11
|
-
|
12
|
-
end
|
data/simple_youtube.gemspec
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
2
|
-
require File.expand_path('../lib/simple_youtube/version', __FILE__)
|
3
|
-
|
4
|
-
Gem::Specification.new do |gem|
|
5
|
-
gem.authors = ["David Slone"]
|
6
|
-
gem.email = ["dbslone@gmail.com"]
|
7
|
-
gem.description = "%q{simple_youtube is a Ruby client for parsing the YouTube API v2 using JSON objects. This is a lot cleaner and simpler method than trying to use the XML data provided. As the name implies this is for simple tasks involving YouTube like getting a Playlist, Channel, or single video information. This version does not currently support advances searches on the YouTube API.}"
|
8
|
-
gem.summary = %q{Ruby client for the YouTube API v2}
|
9
|
-
gem.homepage = "http://www.dbslone.com"
|
10
|
-
|
11
|
-
gem.files = `git ls-files`.split($\)
|
12
|
-
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
13
|
-
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
14
|
-
gem.name = "punndit_youtube"
|
15
|
-
gem.require_paths = ["lib"]
|
16
|
-
gem.version = SimpleYoutube::VERSION
|
17
|
-
end
|