Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

getting ready to get the dm-adapter version to work with gvideo

  • Loading branch information...
commit a534ab5bea34ee9eee47b0da511e9a86943a4280 1 parent 7303d6f
@mattetti authored
Showing with 17 additions and 5 deletions.
  1. +1 −1  LICENSE
  2. +14 −1 README
  3. +1 −1  Rakefile
  4. +1 −2  lib/dm-gvideo-adapter.rb
View
2  LICENSE
@@ -1,4 +1,4 @@
-Copyright (c) 2008 Matt Aimonetti and Yehuda Katz
+Copyright (c) 2008 Matt Aimonetti
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
View
15 README
@@ -1,4 +1,17 @@
dm-gvideo-adapter
=================
-A gem that provides...
+# dependencies
+Gvideo: http://github.com/mattetti/gvideo
+
+Usage:
+
+# URI:
+googlevideo://A005148908335059515423 # google video user id
+
+Video.all # returns all the user's videos
+Video.get("-2838281997424715962")
+Video.first(:title => "The Illuminati - Secret societies")
+Video.all(:title.like => "%Illuminati%")
+Video.all(:duration.gte => 360)
+Video.all(:duration.gte => 60, :duration.lte => 360)
View
2  Rakefile
@@ -5,7 +5,7 @@ require 'date'
GEM = "dm-gvideo-adapter"
GEM_VERSION = "0.0.1"
-AUTHOR = "Matt Aimonetti & Yehuda Katz"
+AUTHOR = "Matt Aimonetti"
EMAIL = "mattaimonetti@gmail.com"
HOMEPAGE = "http://merbist.com"
SUMMARY = "A gem that provides..."
View
3  lib/dm-gvideo-adapter.rb
@@ -4,8 +4,7 @@
require 'rubygems'
end
require 'dm-core'
-require 'hpricot'
-require 'open-uri'
+require 'gvideo'
module DataMapper
module Adapters
Please sign in to comment.
Something went wrong with that request. Please try again.