Skip to content

Commit

Permalink
Renamed corporate to enterprise.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Bleigh committed Aug 10, 2010
1 parent 6191da6 commit 0bfb996
Show file tree
Hide file tree
Showing 27 changed files with 350 additions and 20 deletions.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ require 'term/ansicolor'

include Term::ANSIColor

OMNIAUTH_GEMS = %w(oa-basic oa-core oa-oauth oa-openid oa-corporate omniauth)
OMNIAUTH_GEMS = %w(oa-basic oa-core oa-oauth oa-openid oa-enterprise omniauth)

def each_gem(action, &block)
OMNIAUTH_GEMS.each_with_index do |dir, i|
Expand Down
4 changes: 2 additions & 2 deletions development_dependencies.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
gem 'rake'
gem 'mg', '~> 0.0.8'
gem 'rspec', '~> 1.3.0'
gem 'webmock', '~> 1.2.2'
gem 'webmock', '~> 1.3.3'
gem 'rack-test', '~> 0.5.4'
gem 'json', '~> 1.4.3' # multi_json implementation
end
else #gemspec
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'
gem.add_development_dependency 'webmock', '~> 1.3.3'
gem.add_development_dependency 'rack-test', '~> 0.5.4'
gem.add_development_dependency 'json', '~> 1.4.3' # multi_json implementation
end
49 changes: 49 additions & 0 deletions oa-basic/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
PATH
remote: .
specs:
oa-basic (0.0.3)
multi_json (~> 0.0.2)
nokogiri (~> 1.4.2)
oa-core (= 0.0.3)
rest-client (~> 1.6.0)

PATH
remote: /Users/mbleigh/gems/omniauth/oa-core
specs:
oa-core (0.0.3)
rack (~> 1.1)

GEM
remote: http://rubygems.org/
specs:
addressable (2.2.0)
crack (0.1.8)
json (1.4.3)
mg (0.0.8)
rake
mime-types (1.16)
multi_json (0.0.4)
nokogiri (1.4.3.1)
rack (1.2.1)
rack-test (0.5.4)
rack (>= 1.0)
rake (0.8.7)
rest-client (1.6.0)
mime-types (>= 1.16)
rspec (1.3.0)
webmock (1.3.3)
addressable (>= 2.1.1)
crack (>= 0.1.7)

PLATFORMS
ruby

DEPENDENCIES
json (~> 1.4.3)
mg (~> 0.0.8)
oa-basic!
oa-core!
rack-test (~> 0.5.4)
rake
rspec (~> 1.3.0)
webmock (~> 1.3.3)
2 changes: 1 addition & 1 deletion oa-basic/oa-basic.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Gem::Specification.new do |gem|
gem.files = Dir.glob("{lib}/**/*") + %w(README.rdoc LICENSE.rdoc CHANGELOG.rdoc)

gem.add_dependency 'oa-core', version
gem.add_dependency 'rest-client', '~> 1.5.1'
gem.add_dependency 'rest-client', '~> 1.6.0'
gem.add_dependency 'multi_json', '~> 0.0.2'
gem.add_dependency 'nokogiri', '~> 1.4.2'

Expand Down
34 changes: 34 additions & 0 deletions oa-core/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
PATH
remote: .
specs:
oa-core (0.0.3)
rack (~> 1.1)

GEM
remote: http://rubygems.org/
specs:
addressable (2.2.0)
crack (0.1.8)
json (1.4.3)
mg (0.0.8)
rake
rack (1.2.1)
rack-test (0.5.4)
rack (>= 1.0)
rake (0.8.7)
rspec (1.3.0)
webmock (1.3.3)
addressable (>= 2.1.1)
crack (>= 0.1.7)

PLATFORMS
ruby

DEPENDENCIES
json (~> 1.4.3)
mg (~> 0.0.8)
oa-core!
rack-test (~> 0.5.4)
rake
rspec (~> 1.3.0)
webmock (~> 1.3.3)
File renamed without changes.
2 changes: 1 addition & 1 deletion oa-corporate/Gemfile → oa-enterprise/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ gem 'oa-core', :path => File.expand_path('../../oa-core/', __FILE__)

# Will automatically pull in this gem and all its
# dependencies specified in the gemspec
gem 'oa-corporate', :path => File.expand_path("..", __FILE__)
gem 'oa-enterprise', :path => File.expand_path("..", __FILE__)

eval File.read(File.join(File.dirname(__FILE__), '../development_dependencies.rb'))
43 changes: 43 additions & 0 deletions oa-enterprise/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
PATH
remote: /Users/mbleigh/gems/omniauth/oa-core
specs:
oa-core (0.0.3)
rack (~> 1.1)

PATH
remote: .
specs:
oa-enterprise (0.0.3)
nokogiri (~> 1.4.2)
oa-core (= 0.0.3)

GEM
remote: http://rubygems.org/
specs:
addressable (2.2.0)
crack (0.1.8)
json (1.4.3)
mg (0.0.8)
rake
nokogiri (1.4.3.1)
rack (1.1.0)
rack-test (0.5.4)
rack (>= 1.0)
rake (0.8.7)
rspec (1.3.0)
webmock (1.3.3)
addressable (>= 2.1.1)
crack (>= 0.1.7)

PLATFORMS
ruby

DEPENDENCIES
json (~> 1.4.3)
mg (~> 0.0.8)
oa-core!
oa-enterprise!
rack-test (~> 0.5.4)
rake
rspec (~> 1.3.0)
webmock (~> 1.3.3)
File renamed without changes.
10 changes: 5 additions & 5 deletions oa-corporate/README.rdoc → oa-enterprise/README.rdoc
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
= OmniAuth::Corporate
= OmniAuth::Enterprise

OmniAuth strategies for use in your intranet.

== Installation

To get just corporate functionality:
To get just enterprise functionality:

gem install oa-corporate
gem install oa-enterprise

For the full auth suite:

Expand All @@ -16,7 +16,7 @@ For the full auth suite:

Use the strategy as a middleware in your application:

require 'omniauth/corporate'
require 'omniauth/enterprise'

use OmniAuth::Strategies::CAS, :server => 'http://cas.mycompany.com/cas'

Expand All @@ -28,7 +28,7 @@ See OmniAuth::Strategies::CAS::Configuration for more configuration options.

If CAS is one of several authentication strategies, use the OmniAuth Builder:

require 'omniauth/corporate'
require 'omniauth/enterprise'
require 'omniauth/oauth' # for Campfire
require 'openid/store/filesystem'

Expand Down
2 changes: 1 addition & 1 deletion oa-corporate/Rakefile → oa-enterprise/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Bundler.setup
require 'rake'

require 'mg'
MG.new('oa-corporate.gemspec')
MG.new('oa-enterprise.gemspec')

require 'spec/rake/spectask'
Spec::Rake::SpecTask.new(:spec) do |spec|
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'omniauth/corporate'
require 'omniauth/enterprise'

module OmniAuth
module Strategies
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,17 @@ require 'rubygems'
version = File.open(File.dirname(__FILE__) + '/../VERSION', 'r').read.strip

Gem::Specification.new do |gem|
gem.name = "oa-corporate"
gem.name = "oa-enterprise"
gem.version = version
gem.summary = %Q{Corporate strategies for OmniAuth.}
gem.description = %Q{Corporate strategies for OmniAuth.}
gem.summary = %Q{Enterprise strategies for OmniAuth.}
gem.description = %Q{Enterprise strategies for OmniAuth.}
gem.email = "james.a.rosen@gmail.com"
gem.homepage = "http://github.com/intridea/omniauth"
gem.authors = ["James A. Rosen"]

gem.files = Dir.glob("{lib}/**/*") + %w(README.rdoc LICENSE.rdoc CHANGELOG.rdoc)

gem.add_dependency 'oa-core', version
gem.add_dependency 'rack', '~> 1.1.0'
gem.add_dependency 'nokogiri', '~> 1.4.2'

eval File.read(File.join(File.dirname(__FILE__), '../development_dependencies.rb'))
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
require 'rack/test'
require 'omniauth/core'
require 'omniauth/test'
require 'omniauth/corporate'
require 'omniauth/enterprise'

Spec::Runner.configure do |config|
config.include WebMock
Expand Down
54 changes: 54 additions & 0 deletions oa-oauth/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
PATH
remote: /Users/mbleigh/gems/omniauth/oa-core
specs:
oa-core (0.0.3)
rack (~> 1.1)

PATH
remote: .
specs:
oa-oauth (0.0.3)
multi_json (~> 0.0.2)
nokogiri (~> 1.4.2)
oa-core (= 0.0.3)
oauth (~> 0.4.0)
oauth2 (~> 0.0.10)

GEM
remote: http://rubygems.org/
specs:
addressable (2.2.0)
crack (0.1.8)
faraday (0.4.6)
addressable (>= 2.1.1)
rack (>= 1.0.1)
json (1.4.3)
mg (0.0.8)
rake
multi_json (0.0.4)
nokogiri (1.4.3.1)
oauth (0.4.1)
oauth2 (0.0.10)
faraday (~> 0.4.1)
multi_json (>= 0.0.4)
rack (1.2.1)
rack-test (0.5.4)
rack (>= 1.0)
rake (0.8.7)
rspec (1.3.0)
webmock (1.3.3)
addressable (>= 2.1.1)
crack (>= 0.1.7)

PLATFORMS
ruby

DEPENDENCIES
json (~> 1.4.3)
mg (~> 0.0.8)
oa-core!
oa-oauth!
rack-test (~> 0.5.4)
rake
rspec (~> 1.3.0)
webmock (~> 1.3.3)
50 changes: 50 additions & 0 deletions oa-openid/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
PATH
remote: /Users/mbleigh/gems/omniauth/oa-core
specs:
oa-core (0.0.3)
rack (~> 1.1)

PATH
remote: .
specs:
oa-openid (0.0.3)
oa-core (= 0.0.3)
rack-openid (~> 1.1.1)
ruby-openid-apps-discovery

GEM
remote: http://rubygems.org/
specs:
addressable (2.2.0)
crack (0.1.8)
json (1.4.3)
mg (0.0.8)
rake
rack (1.2.1)
rack-openid (1.1.1)
rack (>= 0.4)
ruby-openid (>= 2.0.3)
rack-test (0.5.4)
rack (>= 1.0)
rake (0.8.7)
rspec (1.3.0)
ruby-openid (2.1.8)
ruby-openid-apps-discovery (1.2.0)
ruby-openid (>= 2.1.7)
webmock (1.3.3)
addressable (>= 2.1.1)
crack (>= 0.1.7)

PLATFORMS
ruby

DEPENDENCIES
json (~> 1.4.3)
mg (~> 0.0.8)
oa-core!
oa-openid!
rack-test (~> 0.5.4)
rake
rspec (~> 1.3.0)
ruby-openid-apps-discovery
webmock (~> 1.3.3)
2 changes: 1 addition & 1 deletion oa-openid/oa-openid.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Gem::Specification.new do |gem|
gem.files = Dir.glob("{lib}/**/*") + %w(README.rdoc LICENSE.rdoc CHANGELOG.rdoc)

gem.add_dependency 'oa-core', version
gem.add_dependency 'rack-openid', '~> 1.0.3'
gem.add_dependency 'rack-openid', '~> 1.1.1'
gem.add_dependency 'ruby-openid-apps-discovery'

eval File.read(File.join(File.dirname(__FILE__), '../development_dependencies.rb'))
Expand Down
2 changes: 1 addition & 1 deletion omniauth/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ source "http://rubygems.org"

gem 'oa-core', :path => File.expand_path('../../oa-core/', __FILE__)
gem 'oa-basic', :path => File.expand_path('../../oa-basic/', __FILE__)
gem 'oa-corporate', :path => File.expand_path('../../oa-corporate/', __FILE__)
gem 'oa-enterprise', :path => File.expand_path('../../oa-enterprise/', __FILE__)
gem 'oa-oauth', :path => File.expand_path('../../oa-oauth/', __FILE__)
gem 'oa-openid', :path => File.expand_path('../../oa-openid/', __FILE__)

Expand Down
Loading

0 comments on commit 0bfb996

Please sign in to comment.