Skip to content

Commit

Permalink
Reformulating to true 1.0 style.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Bleigh committed Sep 23, 2011
1 parent b05e2cd commit 0e6b9ee
Show file tree
Hide file tree
Showing 10 changed files with 125 additions and 11 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
coverage

12 changes: 12 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
source "http://rubygems.org"

gem 'omniauth', '1.0.0.alpha', :git => 'git://github.com/intridea/omniauth.git'
gemspec

group :development, :test do
gem 'guard'
gem 'guard-rspec'
gem 'guard-bundler'
gem 'growl'
gem 'rb-fsevent'
end
83 changes: 83 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
GIT
remote: git://github.com/intridea/omniauth.git
revision: 98bc2b9a4a91a44908da655c0a2e9a0c5647602b
specs:
omniauth (1.0.0.alpha)
hashie
rack

PATH
remote: .
specs:
omniauth-identity (0.0.1)
omniauth (= 1.0.0.alpha)

GEM
remote: http://rubygems.org/
specs:
activemodel (3.0.10)
activesupport (= 3.0.10)
builder (~> 2.1.2)
i18n (~> 0.5.0)
activerecord (3.0.10)
activemodel (= 3.0.10)
activesupport (= 3.0.10)
arel (~> 2.0.10)
tzinfo (~> 0.3.23)
activesupport (3.0.10)
arel (2.0.10)
bcrypt-ruby (2.1.4)
builder (2.1.2)
diff-lcs (1.1.3)
growl (1.0.3)
guard (0.7.0)
thor (~> 0.14.6)
guard-bundler (0.1.3)
bundler (>= 1.0.0)
guard (>= 0.2.2)
guard-rspec (0.4.5)
guard (>= 0.4.0)
hashie (1.1.0)
i18n (0.5.0)
maruku (0.6.0)
syntax (>= 1.0.0)
multi_json (1.0.3)
rack (1.3.3)
rack-test (0.6.1)
rack (>= 1.0)
rake (0.9.2)
rb-fsevent (0.4.3.1)
rspec (2.6.0)
rspec-core (~> 2.6.0)
rspec-expectations (~> 2.6.0)
rspec-mocks (~> 2.6.0)
rspec-core (2.6.4)
rspec-expectations (2.6.0)
diff-lcs (~> 1.1.2)
rspec-mocks (2.6.0)
simplecov (0.5.3)
multi_json (~> 1.0.3)
simplecov-html (~> 0.5.3)
simplecov-html (0.5.3)
syntax (1.0.0)
thor (0.14.6)
tzinfo (0.3.29)

PLATFORMS
ruby

DEPENDENCIES
activerecord (~> 3.0)
bcrypt-ruby (~> 2.1.4)
growl
guard
guard-bundler
guard-rspec
maruku (~> 0.6)
omniauth (= 1.0.0.alpha)!
omniauth-identity!
rack-test (~> 0.5)
rake (~> 0.8)
rb-fsevent
rspec (~> 2.5)
simplecov (~> 0.4)
10 changes: 10 additions & 0 deletions Guardfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
guard 'rspec', :version => 2 do
watch(%r{^spec/.+_spec\.rb$})
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
watch('spec/spec_helper.rb') { "spec" }
end

guard 'bundler' do
watch('Gemfile')
watch(/^.+\.gemspec/)
end
1 change: 1 addition & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ require 'bundler'
Bundler::GemHelper.install_tasks

require 'rspec/core/rake_task'
desc "Run specs."
RSpec::Core::RakeTask.new(:spec)

task :default => :spec
Expand Down
1 change: 0 additions & 1 deletion lib/oa-identity.rb

This file was deleted.

2 changes: 2 additions & 0 deletions lib/omniauth-identity.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
require 'omniauth-identity/version'
require 'omniauth/identity'
5 changes: 5 additions & 0 deletions lib/omniauth-identity/version.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module OmniAuth
module Identity
VERSION = '0.0.1'
end
end
2 changes: 1 addition & 1 deletion lib/omniauth/identity.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'omniauth/core'
require 'omniauth'

module OmniAuth
module Strategies
Expand Down
18 changes: 9 additions & 9 deletions oa-identity.gemspec → omniauth-identity.gemspec
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
# -*- encoding: utf-8 -*-
require File.expand_path('../../lib/omniauth/version', __FILE__)
require File.dirname(__FILE__) + '/lib/omniauth-identity/version'

Gem::Specification.new do |gem|
gem.add_runtime_dependency 'oa-core', OmniAuth::Version::STRING
gem.add_runtime_dependency 'omniauth', '1.0.0.alpha'

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 'yard', '~> 0.6'
gem.add_development_dependency 'ZenTest', '~> 4.5'
gem.add_development_dependency 'bcrypt-ruby', '~> 2.1.4'
gem.add_development_dependency 'activerecord', '~> 3.0'
gem.name = 'oa-identity'
gem.version = OmniAuth::Version::STRING

gem.name = 'omniauth-identity'
gem.version = OmniAuth::Identity::VERSION
gem.description = %q{Internal authentication handlers for OmniAuth.}
gem.summary = gem.description
gem.email = ['[email protected]', '[email protected]']
gem.homepage = 'http://github.com/intridea/omniauth'
gem.authors = ['Michael Bleigh', 'Erik Michaels-Ober']
gem.email = ['[email protected]']
gem.homepage = 'http://github.com/intridea/omniauth-identity'
gem.authors = ['Michael Bleigh']
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")
Expand Down

0 comments on commit 0e6b9ee

Please sign in to comment.