Skip to content

Commit

Permalink
Added Jeweler task.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Bleigh committed Mar 20, 2009
1 parent 7b764bb commit 290b3ef
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 7 deletions.
14 changes: 8 additions & 6 deletions Rakefile
Expand Up @@ -13,12 +13,14 @@ end
begin
require 'jeweler'
Jeweler::Tasks.new do |s|
s.name = "the-perfect-gem"
s.summary = "TODO"
s.email = "josh@technicalpickles.com"
s.homepage = "http://github.com/technicalpickles/the-perfect-gem"
s.description = "TODO"
s.authors = ["Josh Nichols"]
s.name = "twitter-auth"
s.summary = "TwitterAuth is a Rails plugin gem that provides Single Sign-On capabilities for Rails applications via Twitter."
s.email = "michael@intridea.com"
s.homepage = "http://github.com/mbleigh/twitter-auth"
s.description = "TwitterAuth is a Rails plugin gem that provides Single Sign-On capabilities for Rails applications via Twitter. Both OAuth and HTTP Basic are supported."
s.authors = ["Michael Bleigh"]
s.add_dependency('oauth', '>= 0.3.1')
s.add_dependency('ezcrypto', '>= 0.7.2')
end
rescue LoadError
puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
Expand Down
1 change: 0 additions & 1 deletion rails/init.rb
@@ -1,7 +1,6 @@
# Gem Dependencies
config.gem 'oauth'
config.gem 'ezcrypto'
config.gem 'twitter'

require 'json'
require 'twitter_auth'
Expand Down
36 changes: 36 additions & 0 deletions twitter-auth.gemspec
@@ -0,0 +1,36 @@
# -*- encoding: utf-8 -*-

Gem::Specification.new do |s|
s.name = %q{twitter-auth}
s.version = "0.1.0"

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Michael Bleigh"]
s.date = %q{2009-03-20}
s.description = %q{TwitterAuth is a Rails plugin gem that provides Single Sign-On capabilities for Rails applications via Twitter. Both OAuth and HTTP Basic are supported.}
s.email = %q{michael@intridea.com}
s.extra_rdoc_files = ["README.markdown"]
s.files = ["README.markdown", "VERSION.yml", "generators/twitter_auth", "generators/twitter_auth/templates", "generators/twitter_auth/templates/migration.rb", "generators/twitter_auth/templates/twitter_auth.yml", "generators/twitter_auth/templates/user.rb", "generators/twitter_auth/twitter_auth_generator.rb", "generators/twitter_auth/USAGE", "lib/twitter_auth", "lib/twitter_auth/controller_extensions.rb", "lib/twitter_auth/cryptify.rb", "lib/twitter_auth/dispatcher", "lib/twitter_auth/dispatcher/basic.rb", "lib/twitter_auth/dispatcher/oauth.rb", "lib/twitter_auth.rb", "lib/twitteresque", "spec/controllers", "spec/controllers/controller_extensions_spec.rb", "spec/controllers/sessions_controller_spec.rb", "spec/debug.log", "spec/fixtures", "spec/fixtures/config", "spec/fixtures/config/twitter_auth.yml", "spec/fixtures/factories.rb", "spec/fixtures/fakeweb.rb", "spec/fixtures/twitter", "spec/fixtures/twitter/account", "spec/fixtures/twitter.rb", "spec/models", "spec/models/twitter_auth", "spec/models/twitter_auth/basic_user_spec.rb", "spec/models/twitter_auth/generic_user_spec.rb", "spec/models/twitter_auth/oauth_user_spec.rb", "spec/schema.rb", "spec/spec.opts", "spec/spec_helper.rb", "spec/twitter_auth", "spec/twitter_auth/cryptify_spec.rb", "spec/twitter_auth/dispatcher", "spec/twitter_auth/dispatcher/basic_spec.rb", "spec/twitter_auth/dispatcher/oauth_spec.rb", "spec/twitter_auth_spec.rb"]
s.has_rdoc = true
s.homepage = %q{http://github.com/mbleigh/twitter-auth}
s.rdoc_options = ["--inline-source", "--charset=UTF-8"]
s.require_paths = ["lib"]
s.rubygems_version = %q{1.3.1}
s.summary = %q{TwitterAuth is a Rails plugin gem that provides Single Sign-On capabilities for Rails applications via Twitter.}

if s.respond_to? :specification_version then
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
s.specification_version = 2

if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency(%q<oauth>, [">= 0.3.1"])
s.add_runtime_dependency(%q<ezcrypto>, [">= 0.7.2"])
else
s.add_dependency(%q<oauth>, [">= 0.3.1"])
s.add_dependency(%q<ezcrypto>, [">= 0.7.2"])
end
else
s.add_dependency(%q<oauth>, [">= 0.3.1"])
s.add_dependency(%q<ezcrypto>, [">= 0.7.2"])
end
end

0 comments on commit 290b3ef

Please sign in to comment.