forked from wvanbergen/adyen
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathadyen.gemspec
More file actions
50 lines (39 loc) · 1.87 KB
/
adyen.gemspec
File metadata and controls
50 lines (39 loc) · 1.87 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# -*- encoding: utf-8 -*-
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'adyen/version'
Gem::Specification.new do |s|
s.name = "adyen"
s.version = Adyen::VERSION
s.summary = "Integrate Adyen payment services in your Ruby on Rails application."
s.description = <<-EOS
Package to simplify including the Adyen payments services into a Ruby on Rails application.
The package provides functionality to create payment forms, handling and storing notifications
sent by Adyen and consuming the SOAP services provided by Adyen. Moreover, it contains helper
methods, mocks and matchers to simpify writing tests/specs for your code.
EOS
s.authors = ['Willem van Bergen', 'Michel Barbosa', 'Stefan Borsje', 'Eloy Durán']
s.email = ['willem@vanbergen.org', 'cicaboo@gmail.com', 'mail@sborsje.nl', 'eloy.de.enige@gmail.com']
s.homepage = 'http://github.com/wvanbergen/adyen/wiki'
s.license = 'MIT'
s.add_development_dependency('rake')
s.add_development_dependency('rspec', '~> 2.14')
if RUBY_VERSION < "1.9.3"
s.add_development_dependency('rails', '>= 2.3', '< 4')
else
s.add_development_dependency('rails', '>= 2.3')
end
if RUBY_PLATFORM == 'java'
s.add_development_dependency('nokogiri', '~> 1.4.6')
elsif RUBY_VERSION < "1.9"
s.add_development_dependency('nokogiri', '~> 1.5.0')
else
s.add_development_dependency('nokogiri', '~> 1.6.0')
end
s.add_runtime_dependency('jruby-openssl') if RUBY_PLATFORM == 'java'
s.requirements << 'Having Nokogiri installed will speed up XML handling when using the SOAP API.'
s.rdoc_options << '--title' << s.name << '--main' << 'README.rdoc' << '--line-numbers' << '--inline-source'
s.extra_rdoc_files = ['README.rdoc']
s.files = `git ls-files`.split($/)
s.test_files = s.files.grep(%r{^(test|spec|features)/})
end