diff --git a/Gemfile b/Gemfile
index 6147971..bbc40d2 100644
--- a/Gemfile
+++ b/Gemfile
@@ -4,7 +4,6 @@ platforms :jruby do
gem 'jruby-openssl', '~> 0.7'
end
-gemspec :path => 'oa-basic'
gemspec :path => 'oa-core'
gemspec :path => 'oa-enterprise'
gemspec :path => 'oa-more'
diff --git a/lib/omniauth.rb b/lib/omniauth.rb
index 8a7f9f7..8c75730 100644
--- a/lib/omniauth.rb
+++ b/lib/omniauth.rb
@@ -1,5 +1,4 @@
require 'omniauth/core'
-require 'omniauth/basic'
require 'omniauth/oauth'
require 'omniauth/openid'
require 'omniauth/enterprise'
diff --git a/oa-basic/.gemtest b/oa-basic/.gemtest
deleted file mode 100644
index e69de29..0000000
diff --git a/oa-basic/.rspec b/oa-basic/.rspec
deleted file mode 100644
index bb259fe..0000000
--- a/oa-basic/.rspec
+++ /dev/null
@@ -1,3 +0,0 @@
---color
---format=nested
---backtrace
diff --git a/oa-basic/.yardopts b/oa-basic/.yardopts
deleted file mode 100644
index 7a69ee4..0000000
--- a/oa-basic/.yardopts
+++ /dev/null
@@ -1,4 +0,0 @@
---markup markdown
---markup-provider maruku
--
-LICENSE
diff --git a/oa-basic/Gemfile b/oa-basic/Gemfile
deleted file mode 100644
index 1e01eae..0000000
--- a/oa-basic/Gemfile
+++ /dev/null
@@ -1,7 +0,0 @@
-source 'http://rubygems.org'
-
-platforms :jruby do
- gem 'jruby-openssl', '~> 0.7'
-end
-
-gemspec
diff --git a/oa-basic/LICENSE b/oa-basic/LICENSE
deleted file mode 100644
index 811fa0e..0000000
--- a/oa-basic/LICENSE
+++ /dev/null
@@ -1,19 +0,0 @@
-Copyright (c) 2010-2011 Michael Bleigh and Intridea, Inc.
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
diff --git a/oa-basic/README.rdoc b/oa-basic/README.rdoc
deleted file mode 100644
index 729b577..0000000
--- a/oa-basic/README.rdoc
+++ /dev/null
@@ -1,34 +0,0 @@
-= OmniAuth::Basic
-
-OmniAuth stratgies for APIs that have HTTP Basic authentication (such as Campfire and Basecamp).
-
-== Installation
-
-To get just HTTP Basic functionality:
-
- gem install oa-basic
-
-For the full auth suite:
-
- gem install omniauth
-
-== Stand-Alone Example
-
-Use the strategy as a middleware in your application:
-
- require 'omniauth/basic'
-
- use OmniAuth::Strategies::Campfire
-
-Then simply direct users to '/auth/campfire' to prompt them for their Campfire credentials. You may also pre-set the credentials by POSTing to the URL with appropriate parameters (in the case of Campfire and Basecamp, the parameters are subdomain, user, and password).
-
-== OmniAuth Builder
-
-If you want to allow multiple providers, use the OmniAuth Builder:
-
- require 'omniauth/basic'
-
- use OmniAuth::Builder do
- provider :campfire
- provider :basecamp
- end
diff --git a/oa-basic/Rakefile b/oa-basic/Rakefile
deleted file mode 100644
index 69797fc..0000000
--- a/oa-basic/Rakefile
+++ /dev/null
@@ -1,6 +0,0 @@
-require 'bundler'
-Bundler::GemHelper.install_tasks
-require 'rspec/core/rake_task'
-RSpec::Core::RakeTask.new(:spec)
-task :default => :spec
-task :test => :spec
diff --git a/oa-basic/lib/oa-basic.rb b/oa-basic/lib/oa-basic.rb
deleted file mode 100644
index 4525138..0000000
--- a/oa-basic/lib/oa-basic.rb
+++ /dev/null
@@ -1 +0,0 @@
-require 'omniauth/basic'
diff --git a/oa-basic/lib/omniauth/basic.rb b/oa-basic/lib/omniauth/basic.rb
deleted file mode 100644
index 6011bc4..0000000
--- a/oa-basic/lib/omniauth/basic.rb
+++ /dev/null
@@ -1,8 +0,0 @@
-require 'omniauth/core'
-
-module OmniAuth
- module Strategies
- autoload :HttpBasic, 'omniauth/strategies/http_basic'
- # autoload :Gowalla, 'omniauth/strategies/gowalla'
- end
-end
diff --git a/oa-basic/lib/omniauth/version.rb b/oa-basic/lib/omniauth/version.rb
deleted file mode 100644
index 91476f0..0000000
--- a/oa-basic/lib/omniauth/version.rb
+++ /dev/null
@@ -1,19 +0,0 @@
-module OmniAuth
- module Version
- unless defined?(::OmniAuth::Version::MAJOR)
- MAJOR = 0
- end
- unless defined?(::OmniAuth::Version::MINOR)
- MINOR = 2
- end
- unless defined?(::OmniAuth::Version::PATCH)
- PATCH = 6
- end
- unless defined?(::OmniAuth::Version::PRE)
- PRE = nil
- end
- unless defined?(::OmniAuth::Version::STRING)
- STRING = [MAJOR, MINOR, PATCH, PRE].compact.join('.')
- end
- end
-end
diff --git a/oa-basic/oa-basic.gemspec b/oa-basic/oa-basic.gemspec
deleted file mode 100644
index bdde539..0000000
--- a/oa-basic/oa-basic.gemspec
+++ /dev/null
@@ -1,27 +0,0 @@
-# -*- encoding: utf-8 -*-
-require File.expand_path('../lib/omniauth/version', __FILE__)
-
-Gem::Specification.new do |gem|
- gem.add_runtime_dependency 'oa-core', OmniAuth::Version::STRING
- gem.add_runtime_dependency 'rest-client', '~> 1.6.0'
- gem.add_development_dependency 'maruku', '~> 0.6'
- gem.add_development_dependency 'simplecov', '~> 0.4'
- gem.add_development_dependency 'rack-test', '~> 0.5'
- gem.add_development_dependency 'rake', '~> 0.8'
- gem.add_development_dependency 'rspec', '~> 2.5'
- gem.add_development_dependency 'webmock', '~> 1.6'
- gem.add_development_dependency 'yard', '~> 0.7'
- gem.add_development_dependency 'ZenTest', '~> 4.5'
- gem.name = 'oa-basic'
- gem.version = OmniAuth::Version::STRING
- gem.description = %q{HTTP Basic strategies for OmniAuth.}
- gem.summary = gem.description
- gem.email = ['michael@intridea.com', 'sferik@gmail.com']
- gem.homepage = 'http://github.com/intridea/omniauth'
- gem.authors = ['Michael Bleigh', 'Erik Michaels-Ober']
- gem.executables = `git ls-files -- bin/*`.split("\n").map{|f| File.basename(f)}
- gem.files = `git ls-files`.split("\n")
- gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
- gem.require_paths = ['lib']
- gem.required_rubygems_version = Gem::Requirement.new('>= 1.3.6') if gem.respond_to? :required_rubygems_version=
-end
diff --git a/oa-basic/spec/spec_helper.rb b/oa-basic/spec/spec_helper.rb
deleted file mode 100644
index d86f36f..0000000
--- a/oa-basic/spec/spec_helper.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-require 'simplecov'
-SimpleCov.start
-require 'rspec'
-require 'rack/test'
-require 'webmock/rspec'
-require 'omniauth/basic'
-
-RSpec.configure do |config|
- config.include Rack::Test::Methods
- config.include WebMock::API
-end
diff --git a/oa-more/lib/omniauth/more.rb b/oa-more/lib/omniauth/more.rb
index 5bde7b5..b420fd0 100644
--- a/oa-more/lib/omniauth/more.rb
+++ b/oa-more/lib/omniauth/more.rb
@@ -7,5 +7,6 @@ module OmniAuth
autoload :Yupoo, 'omniauth/strategies/yupoo'
autoload :Ign, 'omniauth/strategies/ign'
autoload :Draugiem, 'omniauth/strategies/draugiem'
+ autoload :HttpBasic, 'omniauth/strategies/http_basic'
end
end
diff --git a/oa-basic/lib/omniauth/strategies/http_basic.rb b/oa-more/lib/omniauth/strategies/http_basic.rb
similarity index 98%
rename from oa-basic/lib/omniauth/strategies/http_basic.rb
rename to oa-more/lib/omniauth/strategies/http_basic.rb
index cf97d6a..247a185 100644
--- a/oa-basic/lib/omniauth/strategies/http_basic.rb
+++ b/oa-more/lib/omniauth/strategies/http_basic.rb
@@ -1,5 +1,5 @@
require 'rest-client'
-require 'omniauth/basic'
+require 'omniauth/more'
module OmniAuth
module Strategies
diff --git a/oa-basic/spec/omniauth/strategies/basic_spec.rb b/oa-more/spec/omniauth/strategies/http_basic_spec.rb
similarity index 100%
rename from oa-basic/spec/omniauth/strategies/basic_spec.rb
rename to oa-more/spec/omniauth/strategies/http_basic_spec.rb
diff --git a/oa-openid/lib/omniauth/openid.rb b/oa-openid/lib/omniauth/openid.rb
index b16e8c9..962c47b 100644
--- a/oa-openid/lib/omniauth/openid.rb
+++ b/oa-openid/lib/omniauth/openid.rb
@@ -33,7 +33,7 @@ module OmniAuth
# If OpenID is one of several authentication strategies, use the OmniAuth Builder:
#
# require 'omniauth/openid'
- # require 'omniauth/basic' # for Campfire
+ # require 'omniauth/oauth' # for Campfire
# require 'openid/store/filesystem'
#
# use OmniAuth::Builder do
diff --git a/omniauth.gemspec b/omniauth.gemspec
index 734f7d4..0e5b61c 100644
--- a/omniauth.gemspec
+++ b/omniauth.gemspec
@@ -2,7 +2,7 @@
require File.expand_path('../lib/omniauth/version', __FILE__)
Gem::Specification.new do |gem|
- %w(oa-core oa-oauth oa-identity oa-basic oa-openid oa-enterprise oa-more).each do |subgem|
+ %w(oa-core oa-oauth oa-identity oa-openid oa-enterprise oa-more).each do |subgem|
gem.add_runtime_dependency subgem, OmniAuth::Version::STRING
end
gem.authors = ['Michael Bleigh', 'Erik Michaels-Ober']
diff --git a/tasks/all.rb b/tasks/all.rb
index 7fdb041..d380bf7 100644
--- a/tasks/all.rb
+++ b/tasks/all.rb
@@ -1,6 +1,6 @@
require 'fileutils'
-PROJECTS = %w(oa-core oa-basic oa-enterprise oa-identity oa-more oa-oauth oa-openid omniauth)
+PROJECTS = %w(oa-core oa-enterprise oa-identity oa-more oa-oauth oa-openid omniauth)
def root
File.expand_path('../../', __FILE__)