active_merchant_ideal 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
data/.document ADDED
@@ -0,0 +1,5 @@
1
+ README.rdoc
2
+ lib/**/*.rb
3
+ bin/*
4
+ features/**/*.feature
5
+ LICENSE
data/.gitignore ADDED
@@ -0,0 +1,21 @@
1
+ ## MAC OS
2
+ .DS_Store
3
+
4
+ ## TEXTMATE
5
+ *.tmproj
6
+ tmtags
7
+
8
+ ## EMACS
9
+ *~
10
+ \#*
11
+ .\#*
12
+
13
+ ## VIM
14
+ *.swp
15
+
16
+ ## PROJECT::GENERAL
17
+ coverage
18
+ rdoc
19
+ pkg
20
+
21
+ ## PROJECT::SPECIFIC
data/LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2010 Frank Oxener - Agile Dovadi B.V.
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.textile ADDED
@@ -0,0 +1,43 @@
1
+ h2. Active_merchant_ideal
2
+
3
+ Download: http://github.com/dovadi/active_merchant_ideal or clone
4
+
5
+ * git clone git://github.com/dovadi/active_merchant_ideal.git
6
+
7
+ h2. Description:
8
+
9
+ iDEAL payment gateway for ActiveMerchant (see http://www.ideal.nl and http://www.activemerchant.org/).
10
+
11
+ h2. History:
12
+
13
+ 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).
14
+
15
+ 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.
16
+
17
+ In 2009 Fingertips forked the ActiveMerchant library and added an iDEAL gateway (presumable based on the first ActiveMerchant patch) to a new ideal branch.
18
+
19
+ 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.
20
+
21
+ h2. Install:
22
+
23
+ <pre>
24
+ As a gem:
25
+
26
+ * sudo gem install active_merchant_ideal
27
+ * Add the following to your environment.rb:
28
+
29
+ config.gem 'active_merchant_ideal'
30
+
31
+ As a plugin:
32
+
33
+ * ./script/plugin install git://github.com/dovadi/active_merchant_ideal.git
34
+ </pre>
35
+
36
+ h2. Test
37
+
38
+ * You can run the tests from this gem with rake test.
39
+ * For running the seven remote test transaction use rake test:remote
40
+
41
+ h2. Credits
42
+
43
+ This gem is maintained by "Agile Dovadi BV":http://dovadi.com, contact "Frank Oxener":mailto:frank@dovadi.com
data/Rakefile ADDED
@@ -0,0 +1,50 @@
1
+ require 'rubygems'
2
+ require 'rake'
3
+
4
+ begin
5
+ require 'jeweler'
6
+ Jeweler::Tasks.new do |gem|
7
+ gem.name = "active_merchant_ideal"
8
+ gem.summary = %Q{iDEAL gateway for ActiveMerchant}
9
+ gem.description = %Q{iDEAL payment gateway for ActiveMerchant (see http://www.ideal.nl and http://www.activemerchant.org/)}
10
+ gem.email = "frank.oxener@gmail.com"
11
+ gem.homepage = "http://github.com/dovadi/active_merchant_ideal"
12
+ gem.authors = ["Soemirno Kartosoewito, Matthijs Kadijk, Aloy Duran, Frank Oxener"]
13
+ gem.add_dependency('active_merchant', '>= 1.5.1')
14
+ gem.add_development_dependency "mocha", ">= 0.9.7"
15
+ # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
16
+ end
17
+ Jeweler::GemcutterTasks.new
18
+ rescue LoadError
19
+ puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
20
+ end
21
+
22
+ require 'rake/testtask'
23
+ Rake::TestTask.new(:test) do |test|
24
+ test.libs << 'lib' << 'test'
25
+ test.pattern = 'test/**/test_*.rb'
26
+ test.verbose = true
27
+ end
28
+
29
+ namespace :test do
30
+ desc "Run the remote tests for iDEAL gateway"
31
+ Rake::TestTask.new(:remote) do |t|
32
+ t.libs << "test"
33
+ t.test_files = FileList['remote_ideal_test.rb']
34
+ t.verbose = true
35
+ end
36
+ end
37
+
38
+ task :test => :check_dependencies
39
+
40
+ task :default => :test
41
+
42
+ require 'rake/rdoctask'
43
+ Rake::RDocTask.new do |rdoc|
44
+ version = File.exist?('VERSION') ? File.read('VERSION') : ""
45
+
46
+ rdoc.rdoc_dir = 'rdoc'
47
+ rdoc.title = "active_merchant_ideal #{version}"
48
+ rdoc.rdoc_files.include('README*')
49
+ rdoc.rdoc_files.include('lib/**/*.rb')
50
+ end
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.1.0
@@ -0,0 +1,63 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{active_merchant_ideal}
8
+ s.version = "0.1.0"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Soemirno Kartosoewito, Matthijs Kadijk, Aloy Duran, Frank Oxener"]
12
+ s.date = %q{2010-03-23}
13
+ s.description = %q{iDEAL payment gateway for ActiveMerchant (see http://www.ideal.nl and http://www.activemerchant.org/)}
14
+ s.email = %q{frank.oxener@gmail.com}
15
+ s.extra_rdoc_files = [
16
+ "LICENSE",
17
+ "README.textile"
18
+ ]
19
+ s.files = [
20
+ ".document",
21
+ ".gitignore",
22
+ "LICENSE",
23
+ "README.textile",
24
+ "Rakefile",
25
+ "VERSION",
26
+ "active_merchant_ideal.gemspec",
27
+ "init.rb",
28
+ "lib/active_merchant_ideal.rb",
29
+ "lib/active_merchant_ideal/ideal.rb",
30
+ "lib/active_merchant_ideal/ideal_response.rb",
31
+ "test/fixtures.yml",
32
+ "test/helper.rb",
33
+ "test/remote_ideal_test.rb",
34
+ "test/test_active_merchant_ideal.rb"
35
+ ]
36
+ s.homepage = %q{http://github.com/dovadi/active_merchant_ideal}
37
+ s.rdoc_options = ["--charset=UTF-8"]
38
+ s.require_paths = ["lib"]
39
+ s.rubygems_version = %q{1.3.6}
40
+ s.summary = %q{iDEAL gateway for ActiveMerchant}
41
+ s.test_files = [
42
+ "test/helper.rb",
43
+ "test/remote_ideal_test.rb",
44
+ "test/test_active_merchant_ideal.rb"
45
+ ]
46
+
47
+ if s.respond_to? :specification_version then
48
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
49
+ s.specification_version = 3
50
+
51
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
52
+ s.add_runtime_dependency(%q<active_merchant>, [">= 1.5.1"])
53
+ s.add_development_dependency(%q<mocha>, [">= 0.9.7"])
54
+ else
55
+ s.add_dependency(%q<active_merchant>, [">= 1.5.1"])
56
+ s.add_dependency(%q<mocha>, [">= 0.9.7"])
57
+ end
58
+ else
59
+ s.add_dependency(%q<active_merchant>, [">= 1.5.1"])
60
+ s.add_dependency(%q<mocha>, [">= 0.9.7"])
61
+ end
62
+ end
63
+
data/init.rb ADDED
@@ -0,0 +1 @@
1
+ require 'active_mechant_ideal'