adyen 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- data/adyen.gemspec +4 -4
- data/lib/adyen/form.rb +1 -1
- metadata +10 -10
data/adyen.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'adyen'
|
3
|
-
s.version = "0.3.
|
4
|
-
s.date = "2010-01-
|
3
|
+
s.version = "0.3.4"
|
4
|
+
s.date = "2010-01-06"
|
5
5
|
|
6
6
|
s.summary = "Integrate Adyen payment services in you Ruby on Rails application."
|
7
7
|
s.description = <<-EOS
|
@@ -25,6 +25,6 @@ Gem::Specification.new do |s|
|
|
25
25
|
s.rdoc_options << '--title' << s.name << '--main' << 'README.rdoc' << '--line-numbers' << '--inline-source'
|
26
26
|
s.extra_rdoc_files = ['README.rdoc']
|
27
27
|
|
28
|
-
s.files = %w(spec/spec_helper.rb lib/adyen/form.rb .gitignore
|
29
|
-
s.test_files = %w(spec/
|
28
|
+
s.files = %w(spec/spec_helper.rb spec/adyen_spec.rb lib/adyen/form.rb .gitignore spec/notification_spec.rb lib/adyen/soap.rb LICENSE spec/soap_spec.rb init.rb adyen.gemspec Rakefile spec/form_spec.rb README.rdoc lib/adyen/notification.rb lib/adyen/formatter.rb tasks/github-gem.rake lib/adyen/encoding.rb lib/adyen/matchers.rb lib/adyen.rb)
|
29
|
+
s.test_files = %w(spec/adyen_spec.rb spec/notification_spec.rb spec/soap_spec.rb spec/form_spec.rb)
|
30
30
|
end
|
data/lib/adyen/form.rb
CHANGED
@@ -137,7 +137,7 @@ module Adyen
|
|
137
137
|
raise "YENs are not yet supported!" if parameters[:currency_code] == 'JPY' # TODO: fixme
|
138
138
|
|
139
139
|
parameters.replace(default_parameters.merge(parameters))
|
140
|
-
parameters[:recurring_contract] = '
|
140
|
+
parameters[:recurring_contract] = 'RECURRING' if parameters.delete(:recurring) == true
|
141
141
|
parameters[:order_data] = Adyen::Encoding.gzip_base64(parameters.delete(:order_data_raw)) if parameters[:order_data_raw]
|
142
142
|
parameters[:ship_before_date] = Adyen::Formatter::DateTime.fmt_date(parameters[:ship_before_date])
|
143
143
|
parameters[:session_validity] = Adyen::Formatter::DateTime.fmt_time(parameters[:session_validity])
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: adyen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Willem van Bergen
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2010-01-
|
13
|
+
date: 2010-01-06 00:00:00 +01:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
@@ -45,24 +45,24 @@ extra_rdoc_files:
|
|
45
45
|
- README.rdoc
|
46
46
|
files:
|
47
47
|
- spec/spec_helper.rb
|
48
|
+
- spec/adyen_spec.rb
|
48
49
|
- lib/adyen/form.rb
|
49
50
|
- .gitignore
|
50
|
-
- LICENSE
|
51
|
-
- spec/soap_spec.rb
|
52
51
|
- spec/notification_spec.rb
|
53
52
|
- lib/adyen/soap.rb
|
53
|
+
- LICENSE
|
54
|
+
- spec/soap_spec.rb
|
54
55
|
- init.rb
|
55
|
-
- spec/adyen_spec.rb
|
56
56
|
- adyen.gemspec
|
57
57
|
- Rakefile
|
58
|
-
- tasks/github-gem.rake
|
59
58
|
- spec/form_spec.rb
|
60
59
|
- README.rdoc
|
61
60
|
- lib/adyen/notification.rb
|
62
|
-
- lib/adyen/matchers.rb
|
63
61
|
- lib/adyen/formatter.rb
|
64
|
-
-
|
62
|
+
- tasks/github-gem.rake
|
65
63
|
- lib/adyen/encoding.rb
|
64
|
+
- lib/adyen/matchers.rb
|
65
|
+
- lib/adyen.rb
|
66
66
|
has_rdoc: true
|
67
67
|
homepage: http://wiki.github.com/wvanbergen/adyen
|
68
68
|
licenses: []
|
@@ -99,7 +99,7 @@ signing_key:
|
|
99
99
|
specification_version: 3
|
100
100
|
summary: Integrate Adyen payment services in you Ruby on Rails application.
|
101
101
|
test_files:
|
102
|
-
- spec/soap_spec.rb
|
103
|
-
- spec/notification_spec.rb
|
104
102
|
- spec/adyen_spec.rb
|
103
|
+
- spec/notification_spec.rb
|
104
|
+
- spec/soap_spec.rb
|
105
105
|
- spec/form_spec.rb
|