forked from paulca/realex
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
4 changed files
with
101 additions
and
0 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 | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
pkg/* |
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 | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
require 'rake' | ||
require 'spec/rake/spectask' | ||
|
||
desc 'Default: run specs.' | ||
task :default => :spec | ||
|
||
desc 'Run the specs' | ||
Spec::Rake::SpecTask.new(:spec) do |t| | ||
t.spec_opts = ['--colour --format progress --loadby mtime --reverse'] | ||
t.spec_files = FileList['spec/**/*_spec.rb'] | ||
end | ||
|
||
PKG_FILES = FileList[ | ||
'[a-zA-Z]*', | ||
'lib/**/*', | ||
'rails/**/*' | ||
] | ||
|
||
begin | ||
require 'jeweler' | ||
Jeweler::Tasks.new do |gemspec| | ||
gemspec.name = "realex" | ||
gemspec.summary = "Ruby interface to http://realexpayments.com" | ||
gemspec.description = "A Ruby library to make use of the payments API at http://realexpayments.com" | ||
gemspec.email = "paul@rslw.com" | ||
gemspec.homepage = "http://github.com/paulca/realex" | ||
gemspec.authors = ["Paul Campbell"] | ||
gemspec.version = "0.1.0" | ||
end | ||
rescue LoadError | ||
puts "Jeweler not available. Install it with: gem install jeweler" | ||
end | ||
|
||
Jeweler::GemcutterTasks.new |
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 | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
require 'real_ex' |
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 | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
# Generated by jeweler | ||
# DO NOT EDIT THIS FILE DIRECTLY | ||
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command | ||
# -*- encoding: utf-8 -*- | ||
|
||
Gem::Specification.new do |s| | ||
s.name = %q{realex} | ||
s.version = "0.1.0" | ||
|
||
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= | ||
s.authors = ["Paul Campbell"] | ||
s.date = %q{2010-02-24} | ||
s.description = %q{A Ruby library to make use of the payments API at http://realexpayments.com} | ||
s.email = %q{paul@rslw.com} | ||
s.extra_rdoc_files = [ | ||
"README.md" | ||
] | ||
s.files = [ | ||
"README.md", | ||
"lib/real_ex.rb", | ||
"lib/real_ex/address.rb", | ||
"lib/real_ex/card.rb", | ||
"lib/real_ex/client.rb", | ||
"lib/real_ex/config.rb", | ||
"lib/real_ex/initializer.rb", | ||
"lib/real_ex/recurring.rb", | ||
"lib/real_ex/response.rb", | ||
"lib/real_ex/transaction.rb", | ||
"spec/address_spec.rb", | ||
"spec/card_spec.rb", | ||
"spec/config_spec.rb", | ||
"spec/real_ex_spec.rb", | ||
"spec/recurring_spec.rb", | ||
"spec/response_spec.rb", | ||
"spec/spec.opts", | ||
"spec/spec_helper.rb", | ||
"spec/transaction_spec.rb" | ||
] | ||
s.homepage = %q{http://github.com/paulca/realex} | ||
s.rdoc_options = ["--charset=UTF-8"] | ||
s.require_paths = ["lib"] | ||
s.rubygems_version = %q{1.3.5} | ||
s.summary = %q{Ruby interface to http://realexpayments.com} | ||
s.test_files = [ | ||
"spec/address_spec.rb", | ||
"spec/card_spec.rb", | ||
"spec/config_spec.rb", | ||
"spec/real_ex_spec.rb", | ||
"spec/recurring_spec.rb", | ||
"spec/response_spec.rb", | ||
"spec/spec_helper.rb", | ||
"spec/transaction_spec.rb" | ||
] | ||
|
||
if s.respond_to? :specification_version then | ||
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION | ||
s.specification_version = 3 | ||
|
||
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then | ||
else | ||
end | ||
else | ||
end | ||
end | ||
|