1
0
Fork 0
mirror of https://github.com/omniauth/omniauth.git synced 2022-11-09 12:31:49 -05:00

using Bundler to declare dependencies

This commit is contained in:
James A. Rosen 2010-06-12 21:29:31 -04:00 committed by James Rosen
parent 5e2b5b3f4f
commit 3933282ddf
9 changed files with 65 additions and 9 deletions

1
.gitignore vendored
View file

@ -25,3 +25,4 @@ pkg
## PROJECT::SPECIFIC ## PROJECT::SPECIFIC
*.gem *.gem
.bundle

35
Gemfile Normal file
View file

@ -0,0 +1,35 @@
source "http://rubygems.org"
gem 'rack', '~> 1.1.0'
group :oa_basic, :oa_oauth do
gem 'json', '~> 1.4.3'
gem 'nokogiri', '~> 1.4.2'
end
group :oa_basic do
gem 'rest-client', '~> 1.5.1', :require => 'restclient'
end
group :oa_oauth do
gem 'oauth', '~> 0.4.0'
gem 'oauth2', '~> 0.0.8'
end
group :oa_openid do
gem 'rack-openid', '~> 1.0.3', :require => 'rack/openid'
end
group :development, :test do
gem 'rake'
end
group :development do
gem 'mg', '~> 0.0.8'
gem 'term-ansicolor', :require => 'term/ansicolor'
end
group :test do
gem 'rspec', '~> 1.3.0', :require => 'spec'
gem 'webmock', '~> 1.2.2'
end

View file

@ -1,4 +1,6 @@
require 'rubygems' require 'rubygems'
require 'bundler'
Bundler.setup
require 'rake' require 'rake'
require 'term/ansicolor' require 'term/ansicolor'

View file

@ -1,4 +1,8 @@
ENV['BUNDLE_GEMFILE'] = File.expand_path('../../Gemfile', __FILE__)
require 'rubygems' require 'rubygems'
require 'bundler'
Bundler.setup(:default, :development, :test, :oa_basic)
require 'rake' require 'rake'
require 'mg' require 'mg'

View file

@ -1,4 +1,8 @@
ENV['BUNDLE_GEMFILE'] = File.expand_path('../../Gemfile', __FILE__)
require 'rubygems' require 'rubygems'
require 'bundler'
Bundler.setup(:default, :development, :test)
require 'rake' require 'rake'
require 'mg' require 'mg'

View file

@ -1,4 +1,8 @@
ENV['BUNDLE_GEMFILE'] = File.expand_path('../../Gemfile', __FILE__)
require 'rubygems' require 'rubygems'
require 'bundler'
Bundler.setup(:default, :development, :test, :oa_oauth)
require 'rake' require 'rake'
require 'mg' require 'mg'

View file

@ -1,4 +1,8 @@
ENV['BUNDLE_GEMFILE'] = File.expand_path('../../Gemfile', __FILE__)
require 'rubygems' require 'rubygems'
require 'bundler'
Bundler.setup(:default, :development, :test, :oa_openid)
require 'rake' require 'rake'
require 'mg' require 'mg'

View file

@ -1,4 +1,6 @@
require 'rubygems' require 'rubygems'
require 'bundler'
Bundler.setup(:default, :development, :test)
require 'rake' require 'rake'
require 'mg' require 'mg'