-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
28 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,3 @@ | |||
pkg/* | |||
*.gem | |||
.bundle |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,4 @@ | |||
source "http://rubygems.org" | |||
|
|||
# Specify your gem's dependencies in devise_paypal.gemspec | |||
gemspec |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,40 +1,2 @@ | |||
require 'rake' | require 'bundler' | ||
require 'rake/testtask' | Bundler::GemHelper.install_tasks | ||
require 'rake/rdoctask' | |||
|
|||
desc 'Default: run unit tests.' | |||
task :default => :test | |||
|
|||
desc 'Test the Devise Paypal plugin.' | |||
Rake::TestTask.new(:test) do |t| | |||
t.libs << 'lib' | |||
t.libs << 'spec' | |||
t.libs << 'features' | |||
t.pattern = 'spec/**/*_spec.rb' | |||
t.verbose = true | |||
end | |||
|
|||
begin | |||
require 'jeweler' | |||
Jeweler::Tasks.new do |gemspec| | |||
gemspec.name = "devise_paypal" | |||
gemspec.summary = "Allows login and signup through Paypal's apis" | |||
gemspec.email = "dwilkie@gmail.com" | |||
gemspec.homepage = "http://github.com/dwilkie/devise_paypal" | |||
gemspec.authors = ["David Wilkie"] | |||
gemspec.add_runtime_dependency "devise" | |||
gemspec.add_runtime_dependency "paypal-ipn" | |||
end | |||
rescue LoadError | |||
puts "Jeweler not available. Install it with: gem install jeweler" | |||
end | |||
|
|||
desc 'Generate documentation for the Devise Paypal plugin.' | |||
Rake::RDocTask.new(:rdoc) do |rdoc| | |||
rdoc.rdoc_dir = 'rdoc' | |||
rdoc.title = 'Devise Paypal' | |||
rdoc.options << '--line-numbers' << '--inline-source' | |||
rdoc.rdoc_files.include('README') | |||
rdoc.rdoc_files.include('lib/**/*.rb') | |||
end | |||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,45 +1,22 @@ | |||
# Generated by jeweler | |||
# DO NOT EDIT THIS FILE DIRECTLY | |||
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command | |||
# -*- encoding: utf-8 -*- | # -*- encoding: utf-8 -*- | ||
$:.push File.expand_path("../lib", __FILE__) | |||
require "devise_paypal/version" | |||
|
|
||
Gem::Specification.new do |s| | Gem::Specification.new do |s| | ||
s.name = %q{devise_paypal} | s.name = "devise_paypal" | ||
s.version = "0.0.0" | s.version = DevisePaypal::VERSION | ||
s.platform = Gem::Platform::RUBY | |||
s.authors = ["David Wilkie"] | |||
s.email = ["dwilkie@gmail.com"] | |||
s.homepage = "http://github.com/dwilkie/devise_paypal" | |||
s.summary = %q{Signup or login using Paypal} | |||
s.description = %q{Signup or login using Paypal's Authorization or Permissions api's} | |||
|
|
||
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= | s.rubyforge_project = "devise_paypal" | ||
s.authors = ["David Wilkie"] | |||
s.date = %q{2010-10-05} | |||
s.email = %q{dwilkie@gmail.com} | |||
s.extra_rdoc_files = [ | |||
"README" | |||
] | |||
s.files = [ | |||
"MIT-LICENSE", | |||
"README", | |||
"Rakefile", | |||
"VERSION" | |||
] | |||
s.homepage = %q{http://github.com/dwilkie/devise_paypal} | |||
s.rdoc_options = ["--charset=UTF-8"] | |||
s.require_paths = ["lib"] | |||
s.rubygems_version = %q{1.3.7} | |||
s.summary = %q{Allows login and signup through Paypal's apis} | |||
|
|||
if s.respond_to? :specification_version then | |||
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION | |||
s.specification_version = 3 | |||
|
|
||
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then | s.files = `git ls-files`.split("\n") | ||
s.add_runtime_dependency(%q<devise>, [">= 0"]) | s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") | ||
s.add_runtime_dependency(%q<paypal-ipn>, [">= 0"]) | s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } | ||
else | s.require_paths = ["lib"] | ||
s.add_dependency(%q<devise>, [">= 0"]) | |||
s.add_dependency(%q<paypal-ipn>, [">= 0"]) | |||
end | |||
else | |||
s.add_dependency(%q<devise>, [">= 0"]) | |||
s.add_dependency(%q<paypal-ipn>, [">= 0"]) | |||
end | |||
end | end | ||
|
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,3 @@ | |||
module DevisePaypal | |||
VERSION = "0.0.1" | |||
end |