Skip to content
Browse files

declawing project

  • Loading branch information...
1 parent f0b2c3c commit 9a16433f9e738f9b955b3ac02c6ab1495d26b0ab @tenderlove committed Jul 11, 2009
Showing with 40 additions and 49 deletions.
  1. +27 −0 Manifest.txt
  2. +3 −1 README.rdoc
  3. +9 −47 Rakefile
  4. +1 −1 lib/vimeo.rb
  5. 0 test/advanced/{upload_test.rb → test_upload.rb}
View
27 Manifest.txt
@@ -0,0 +1,27 @@
+CHANGELOG.rdoc
+LICENSE
+Manifest.txt
+README.rdoc
+Rakefile
+VERSION.yml
+lib/vimeo.rb
+lib/vimeo/advanced.rb
+lib/vimeo/advanced/auth.rb
+lib/vimeo/advanced/base.rb
+lib/vimeo/advanced/contact.rb
+lib/vimeo/advanced/group.rb
+lib/vimeo/advanced/person.rb
+lib/vimeo/advanced/test.rb
+lib/vimeo/advanced/upload.rb
+lib/vimeo/advanced/video.rb
+lib/vimeo/simple.rb
+lib/vimeo/simple/activity.rb
+lib/vimeo/simple/album.rb
+lib/vimeo/simple/base.rb
+lib/vimeo/simple/channel.rb
+lib/vimeo/simple/clip.rb
+lib/vimeo/simple/group.rb
+lib/vimeo/simple/user.rb
+test/advanced/upload_test.rb
+test/test_helper.rb
+vimeo.gemspec
View
4 README.rdoc
@@ -1,5 +1,7 @@
= Vimeo API Gem
+* http://github.com/matthooks/vimeo
+
This gem implements a full-featured ruby interface for the Vimeo API.
Vimeo's API documentation is, in my opinion, pretty poor. I've done my best to implement all the functions that are described {here}[http://vimeo.com/api-docs/advanced-api-docs.html]. There are some extra functions described {here}[http://vimeo.com/api/sandbox], but I can't be 100% sure what the correct parameters are for each method, so I'm going to omit them for the time being.
@@ -166,4 +168,4 @@ The wrapper for the Advanced API consists of the following classes and methods:
* {HTTParty}[http://github.com/jnunemaker/httparty/tree/master]: Easily one of the best tools I have used since I started using Ruby.
* {Jeweler}[http://github.com/technicalpickles/jeweler/tree/master]: Great tool for creating gems for github.
-=== Copyright (c) 2008 Matt Hooks. See LICENSE for details.
+=== Copyright (c) 2008 Matt Hooks. See LICENSE for details.
View
56 Rakefile
@@ -1,50 +1,12 @@
-require 'rake'
-require 'rake/testtask'
-require 'rake/rdoctask'
-require 'rcov/rcovtask'
+# -*- ruby -*-
-begin
- require 'jeweler'
- Jeweler::Tasks.new do |s|
- s.name = "vimeo"
- s.summary = "A full featured Ruby implementation of the Vimeo API."
- s.email = "matthooks@gmail.com"
- s.homepage = "http://github.com/matthooks/vimeo"
- s.description = "A full featured Ruby implementation of the Vimeo API."
- s.authors = ["Matt Hooks"]
+require 'rubygems'
+require 'hoe'
- s.files = FileList["[A-Z]*.*", "{bin,generators,lib,test,spec}/**/*"]
-
- s.has_rdoc = true
- s.rdoc_options = ['--main', 'README.rdoc']
- s.rdoc_options << '--inline-source' << '--charset=UTF-8'
- s.extra_rdoc_files = ['README.rdoc', 'LICENSE', 'CHANGELOG.rdoc']
-
- s.add_dependency(%q<jnunemaker-httparty>, [">= 0.2.6"])
- end
-rescue LoadError
- puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
-end
-
-Rake::TestTask.new do |t|
- t.libs << 'lib'
- t.libs << 'test'
- t.pattern = 'test/**/*_test.rb'
- t.verbose = false
-end
-
-Rake::RDocTask.new do |rdoc|
- rdoc.rdoc_dir = 'rdoc'
- rdoc.title = 'vimeo'
- rdoc.options << '--line-numbers' << '--inline-source'
- rdoc.rdoc_files.include('README*')
- rdoc.rdoc_files.include('lib/**/*.rb')
-end
-
-Rcov::RcovTask.new do |t|
- t.libs << 'test'
- t.test_files = FileList['test/**/*_test.rb']
- t.verbose = true
+Hoe.spec('vimeo') do
+ developer 'Matt Hooks', "matthooks@gmail.com"
+ self.readme_file = 'README.rdoc'
+ self.history_file = 'CHANGELOG.rdoc'
+ self.extra_rdoc_files = FileList['*.rdoc']
+ self.extra_deps = [['ffi', '>= 0.2.6']]
end
-
-task :default => :rcov
View
2 lib/vimeo.rb
@@ -7,5 +7,5 @@
require 'vimeo/advanced'
module Vimeo
-
+ VERSION = '1.3.0'
end
View
0 test/advanced/upload_test.rb → test/advanced/test_upload.rb
File renamed without changes.

0 comments on commit 9a16433

Please sign in to comment.
Something went wrong with that request. Please try again.