Permalink
Browse files

updated README and added .gemspec

  • Loading branch information...
1 parent 68e46f7 commit 4ff8bf5d2ba4d8d503a10e8459ee9d766789ffb3 @mattetti committed Sep 25, 2008
Showing with 53 additions and 0 deletions.
  1. +25 −0 README
  2. +28 −0 gvideo.gemspec
View
@@ -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
View
@@ -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.