Skip to content

Commit

Permalink
let me require realex
Browse files Browse the repository at this point in the history
  • Loading branch information
paulca committed Feb 24, 2010
1 parent b952166 commit f41e23b
Show file tree
Hide file tree
Showing 4 changed files with 101 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -0,0 +1 @@
pkg/*
34 changes: 34 additions & 0 deletions Rakefile
@@ -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
1 change: 1 addition & 0 deletions lib/real_ex/realex.rb
@@ -0,0 +1 @@
require 'real_ex'
65 changes: 65 additions & 0 deletions realex.gemspec
@@ -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

0 comments on commit f41e23b

Please sign in to comment.