Permalink
Browse files

turned into a gem; added Rakefile and Gemfile. Thanks for jamesarosen.

  • Loading branch information...
1 parent 3d0bee1 commit 391de7a3e834f0e5d02c796adae33c883cf94cb6 @anibalcucco committed May 9, 2011
Showing with 56 additions and 0 deletions.
  1. +10 −0 .gitignore
  2. +11 −0 Gemfile
  3. +15 −0 Rakefile
  4. +20 −0 basecamp.gemspec
  5. 0 { → lib}/basecamp.rb
View
@@ -0,0 +1,10 @@
+## MAC OS
+.DS_Store
+
+## TEXTMATE
+*.tmproj
+tmtags
+
+## PROJECT
+dist
+.bundle
View
11 Gemfile
@@ -0,0 +1,11 @@
+source "http://rubygems.org"
+
+gem 'oauth2', '~> 0.0.8'
+gem 'basecamp', :path => File.expand_path("..", __FILE__)
+
+group :development do
+ gem 'rake'
+ gem 'mg', '~> 0.0.8'
+ gem 'rspec', '~> 1.3.0'
+ gem 'webmock', '~> 1.2.2'
+end
View
@@ -0,0 +1,15 @@
+require 'rubygems'
+require 'bundler'
+Bundler.setup(:default, :development)
+require 'rake'
+
+require 'mg'
+MG.new('basecamp.gemspec')
+
+require 'spec/rake/spectask'
+Spec::Rake::SpecTask.new(:spec) do |spec|
+ spec.libs << '../oa-core/lib' << 'lib' << 'spec'
+ spec.spec_files = FileList['spec/**/*_spec.rb']
+end
+
+task :default => :spec
View
@@ -0,0 +1,20 @@
+require 'rubygems'
+
+Gem::Specification.new do |gem|
+ gem.name = 'basecamp'
+ gem.version = '0.0.2'
+ gem.summary = %Q{Basecamp API wrapper.}
+ gem.description = %Q{Basecamp API wrapper.}
+ gem.email = "nobody@gmail.com"
+ gem.homepage = "http://github.com/anibalcucco/basecamp-wrapper"
+ gem.authors = ['Anibal Cucco', 'James A. Rosen']
+
+ gem.files = Dir.glob("{lib}/**/*") + %w(readme)
+
+ gem.add_dependency 'oauth2', '~> 0.0.8'
+
+ gem.add_development_dependency 'rake'
+ gem.add_development_dependency 'mg', '~> 0.0.8'
+ gem.add_development_dependency 'rspec', '~> 1.3.0'
+ gem.add_development_dependency 'webmock', '~> 1.2.2'
+end
File renamed without changes.

0 comments on commit 391de7a

Please sign in to comment.