killbill-payment-test 1.0.8 → 1.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gitignore +1 -0
- data/Jarfile +2 -2
- data/VERSION +1 -1
- data/killbill-payment-test.gemspec +5 -5
- data/lib/payment_test/api.rb +2 -2
- data/pom.xml +1 -1
- metadata +8 -8
data/.gitignore
CHANGED
data/Jarfile
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
jar 'com.ning.billing:killbill-api', '0.1.
|
|
2
|
-
jar 'com.ning.billing:killbill-util:tests', '0.1.
|
|
1
|
+
jar 'com.ning.billing:killbill-api', '0.1.80'
|
|
2
|
+
jar 'com.ning.billing:killbill-util:tests', '0.1.80'
|
|
3
3
|
jar 'javax.servlet:javax.servlet-api', '3.0.1'
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.9
|
|
@@ -3,16 +3,16 @@ version = File.read(File.expand_path('../VERSION', __FILE__)).strip
|
|
|
3
3
|
Gem::Specification.new do |s|
|
|
4
4
|
s.name = 'killbill-payment-test'
|
|
5
5
|
s.version = version
|
|
6
|
-
s.summary = 'Plugin to test payment plugin api'
|
|
7
|
-
s.description = '
|
|
6
|
+
s.summary = 'Plugin to test the payment plugin api.'
|
|
7
|
+
s.description = 'Kill Bill Plugin to test the payment plugin api.'
|
|
8
8
|
|
|
9
9
|
s.required_ruby_version = '>= 1.9.3'
|
|
10
10
|
|
|
11
11
|
s.license = 'Apache License (2.0)'
|
|
12
12
|
|
|
13
|
-
s.author = '
|
|
13
|
+
s.author = 'Kill Bill core team'
|
|
14
14
|
s.email = 'killbilling-users@googlegroups.com'
|
|
15
|
-
s.homepage = 'http://
|
|
15
|
+
s.homepage = 'http://kill-bill.org'
|
|
16
16
|
|
|
17
17
|
s.files = `git ls-files`.split("\n")
|
|
18
18
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
|
@@ -22,7 +22,7 @@ Gem::Specification.new do |s|
|
|
|
22
22
|
|
|
23
23
|
s.rdoc_options << '--exclude' << '.'
|
|
24
24
|
|
|
25
|
-
s.add_dependency 'killbill', '~> 1.0.
|
|
25
|
+
s.add_dependency 'killbill', '~> 1.0.19'
|
|
26
26
|
s.add_dependency 'sinatra', '~> 1.3.4'
|
|
27
27
|
|
|
28
28
|
s.add_development_dependency 'jbundler', '~> 0.4.1'
|
data/lib/payment_test/api.rb
CHANGED
|
@@ -45,14 +45,14 @@ module PaymentTest
|
|
|
45
45
|
end
|
|
46
46
|
|
|
47
47
|
def get_payment_method_detail(kb_account_id, kb_payment_method_id, tenant_context, options = {})
|
|
48
|
-
Killbill::Plugin::Model::PaymentMethodPlugin.new("
|
|
48
|
+
Killbill::Plugin::Model::PaymentMethodPlugin.new("external_payment_method_id", false, [], nil, "Test", "cc_name", "cc_type", "cc_expiration_month", "cc_expiration_year", "cc_last4", "address1", "address2", "city", "state", "zip", "country")
|
|
49
49
|
end
|
|
50
50
|
|
|
51
51
|
def set_default_payment_method(kb_account_id, kb_payment_method_id, call_context, options = {})
|
|
52
52
|
end
|
|
53
53
|
|
|
54
54
|
def get_payment_methods(kb_account_id, refresh_from_gateway, call_context, options = {})
|
|
55
|
-
[Killbill::Plugin::Model::PaymentMethodInfoPlugin.new(kb_account_id, kb_account_id,
|
|
55
|
+
[Killbill::Plugin::Model::PaymentMethodInfoPlugin.new(kb_account_id, kb_account_id, false, "external_payment_method_id")]
|
|
56
56
|
end
|
|
57
57
|
|
|
58
58
|
def reset_payment_methods(kb_account_id, payment_methods)
|
data/pom.xml
CHANGED
metadata
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: killbill-payment-test
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.9
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
8
|
-
-
|
|
8
|
+
- Kill Bill core team
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2013-
|
|
12
|
+
date: 2013-06-03 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: killbill
|
|
@@ -17,13 +17,13 @@ dependencies:
|
|
|
17
17
|
requirements:
|
|
18
18
|
- - "~>"
|
|
19
19
|
- !ruby/object:Gem::Version
|
|
20
|
-
version: 1.0.
|
|
20
|
+
version: 1.0.19
|
|
21
21
|
none: false
|
|
22
22
|
requirement: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
24
|
- - "~>"
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: 1.0.
|
|
26
|
+
version: 1.0.19
|
|
27
27
|
none: false
|
|
28
28
|
prerelease: false
|
|
29
29
|
type: :runtime
|
|
@@ -91,7 +91,7 @@ dependencies:
|
|
|
91
91
|
none: false
|
|
92
92
|
prerelease: false
|
|
93
93
|
type: :development
|
|
94
|
-
description:
|
|
94
|
+
description: Kill Bill Plugin to test the payment plugin api.
|
|
95
95
|
email: killbilling-users@googlegroups.com
|
|
96
96
|
executables: []
|
|
97
97
|
extensions: []
|
|
@@ -111,7 +111,7 @@ files:
|
|
|
111
111
|
- release.sh
|
|
112
112
|
- spec/payment_test/base_plugin_spec.rb
|
|
113
113
|
- spec/spec_helper.rb
|
|
114
|
-
homepage: http://
|
|
114
|
+
homepage: http://kill-bill.org
|
|
115
115
|
licenses:
|
|
116
116
|
- Apache License (2.0)
|
|
117
117
|
post_install_message:
|
|
@@ -141,7 +141,7 @@ rubyforge_project:
|
|
|
141
141
|
rubygems_version: 1.8.24
|
|
142
142
|
signing_key:
|
|
143
143
|
specification_version: 3
|
|
144
|
-
summary: Plugin to test payment plugin api
|
|
144
|
+
summary: Plugin to test the payment plugin api.
|
|
145
145
|
test_files:
|
|
146
146
|
- spec/payment_test/base_plugin_spec.rb
|
|
147
147
|
- spec/spec_helper.rb
|