Skip to content

Commit

Permalink
updated README and added .gemspec
Browse files Browse the repository at this point in the history
  • Loading branch information
mattetti committed Sep 25, 2008
1 parent 68e46f7 commit 4ff8bf5
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 0 deletions.
25 changes: 25 additions & 0 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,28 @@ gvideo
======

A gem that provides access to a google users' videos

$ gem sources -a http://gems.github.com (you only have to do this once)
$ sudo gem install mattetti-gvideo

Usage:

require 'rubygems'
require 'gvideo'
user = Gvideo::User.new("005148908335059515423")
videos = user.fetch_videos
videos.first.embed_player


Video methods and attributes:
---

* docid (google video id)
* title (title of the video)
* video_url (google video url to watch the video)
* duration (duration of the video in seconds)
* duration_in_minutes (duration video in minutes)
* thumbnail_url (url of the thumbnail representing the video)
* embed_player (html snippet with the google video player)

Check lib/gvideo.rb for more
28 changes: 28 additions & 0 deletions gvideo.gemspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
Gem::Specification.new do |s|
s.name = %q{gvideo}
s.version = "0.0.1"

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Matt Aimonetti"]
s.autorequire = %q{gvideo}
s.date = %q{2008-09-25}
s.description = %q{A gem that provides access to a google user's videos}
s.email = %q{mattaimonetti@gmail.com}
s.extra_rdoc_files = ["README", "LICENSE", "TODO"]
s.files = ["LICENSE", "README", "Rakefile", "TODO", "lib/gvideo.rb", "spec/gvideo_spec.rb", "spec/spec_helper.rb"]
s.has_rdoc = true
s.homepage = %q{http://railsontherun.com}
s.require_paths = ["lib"]
s.rubygems_version = %q{1.2.0}
s.summary = %q{A gem that provides access to a google user's videos}

if s.respond_to? :specification_version then
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
s.specification_version = 2

if current_version >= 3 then
else
end
else
end
end

0 comments on commit 4ff8bf5

Please sign in to comment.