Skip to content

Commit

Permalink
Initial commit, extraction of iDEAL gateway code from ActiveMerchant …
Browse files Browse the repository at this point in the history
…(fork made by Alloy)
  • Loading branch information
dovadi committed Mar 23, 2010
1 parent 78de9b1 commit 80d50b8
Show file tree
Hide file tree
Showing 13 changed files with 1,787 additions and 39 deletions.
2 changes: 1 addition & 1 deletion LICENSE
@@ -1,4 +1,4 @@
Copyright (c) 2009 Frank Oxener
Copyright (c) 2010 Frank Oxener - Agile Dovadi B.V.

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
Expand Down
17 changes: 0 additions & 17 deletions README.rdoc

This file was deleted.

43 changes: 43 additions & 0 deletions README.textile
@@ -0,0 +1,43 @@
h2. Active_merchant_ideal

Download: http://github.com/dovadi/active_merchant_ideal or clone

* git clone git://github.com/dovadi/active_merchant_ideal.git

h2. Description:

iDEAL payment gateway for ActiveMerchant (see http://www.ideal.nl and http://www.activemerchant.org/).

h2. History:

In 2006 an iDEAL payment library was written in Ruby for a web shop build in Rails for selling mobile phone credits. It was basically a translation of the PHP example given by the iDEAL organization (see iDEAL Advanced Integration Manual PHP). Is was released as the ideal-on-rails library (see http://dev.dovadi.com/projects/ideal).

In 2007 this code was refactored as a patch for the ActiveMerchant library, this was mainly done by "Fingertips":http://www.fngtps.com/ for a client project. This patch was never accepted due to the fact it was too different (and maybe too obscure) from the 'normal' credit card gateways.

In 2009 Fingertips forked the ActiveMerchant library and added an iDEAL gateway (presumable based on the first ActiveMerchant patch) to a new ideal branch.

In 2010 this code was extracted and converted into a separate gem, so it can be more easily used in combination with the latest version of ActiveMerchant. This library is just an extraction, nothing more and nothing less. There are no fundamental changes between the code from the ideal branch and the code of this gem.

h2. Install:

<pre>
As a gem:

* sudo gem install active_merchant_ideal
* Add the following to your environment.rb:

config.gem 'active_merchant_ideal'

As a plugin:

* ./script/plugin install git://github.com/dovadi/active_merchant_ideal.git
</pre>

h2. Test

* You can run the tests from this gem with rake test.
* For running the seven remote test transaction use rake test:remote

h2. Credits

This gem is maintained by "Agile Dovadi BV":http://dovadi.com, contact "Frank Oxener":mailto:frank@dovadi.com
22 changes: 9 additions & 13 deletions Rakefile
Expand Up @@ -5,11 +5,11 @@ begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "active_merchant_ideal"
gem.summary = %Q{TODO: one-line summary of your gem}
gem.description = %Q{TODO: longer description of your gem}
gem.summary = %Q{iDEAL gateway for ActiveMerchant}
gem.description = %Q{iDEAL payment gateway for ActiveMerchant (see http://www.ideal.nl and http://www.activemerchant.org/)}
gem.email = "frank.oxener@gmail.com"
gem.homepage = "http://github.com/dovadi/active_merchant_ideal"
gem.authors = ["Frank Oxener"]
gem.authors = ["Soemirno Kartosoewito, Matthijs Kadijk, Aloy Duran, Frank Oxener"]
gem.add_development_dependency "thoughtbot-shoulda", ">= 0"
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
end
Expand All @@ -25,16 +25,12 @@ Rake::TestTask.new(:test) do |test|
test.verbose = true
end

begin
require 'rcov/rcovtask'
Rcov::RcovTask.new do |test|
test.libs << 'test'
test.pattern = 'test/**/test_*.rb'
test.verbose = true
end
rescue LoadError
task :rcov do
abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
namespace :test do
desc "Run the remote tests for iDEAL gateway"
Rake::TestTask.new(:remote) do |t|
t.libs << "test"
t.test_files = FileList['remote_ideal_test.rb']
t.verbose = true
end
end

Expand Down
2 changes: 1 addition & 1 deletion VERSION
@@ -1 +1 @@
0.1.0
0.0.0
1 change: 1 addition & 0 deletions init.rb
@@ -0,0 +1 @@
require 'active_mechant_ideal'
3 changes: 3 additions & 0 deletions lib/active_merchant_ideal.rb
@@ -0,0 +1,3 @@
require 'active_merchant'
require 'active_merchant_ideal/ideal.rb'
require 'active_merchant_ideal/ideal_response.rb'

0 comments on commit 80d50b8

Please sign in to comment.