killbill 8.1.0 → 8.2.0
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.
- checksums.yaml +4 -4
- data/Gemfile.lock +17 -17
- data/Jarfile +3 -3
- data/Jarfile.lock +52 -52
- data/NEWS +6 -0
- data/lib/killbill/gen/api/catalog_entity.rb +57 -0
- data/lib/killbill/gen/api/catalog_user_api.rb +17 -0
- data/lib/killbill/gen/api/invoice_user_api.rb +24 -0
- data/lib/killbill/gen/api/migration_plan.rb +7 -7
- data/lib/killbill/gen/api/mutable_catalog.rb +57 -0
- data/lib/killbill/gen/api/mutable_static_catalog.rb +175 -0
- data/lib/killbill/gen/api/payment.rb +20 -1
- data/lib/killbill/gen/api/payment_api.rb +36 -18
- data/lib/killbill/gen/api/payment_attempt.rb +189 -0
- data/lib/killbill/gen/api/plan.rb +7 -7
- data/lib/killbill/gen/api/plan_phase.rb +7 -7
- data/lib/killbill/gen/api/plan_phase_specifier.rb +8 -9
- data/lib/killbill/gen/api/plan_specifier.rb +8 -9
- data/lib/killbill/gen/api/require_gen.rb +5 -0
- data/lib/killbill/gen/api/simple_plan_descriptor.rb +101 -0
- data/lib/killbill/gen/api/tenant_user_api.rb +14 -0
- data/lib/killbill/helpers/active_merchant/killbill_spec_helper.rb +1 -1
- data/lib/killbill/helpers/active_merchant/payment_plugin.rb +1 -1
- data/lib/killbill/version.rb +1 -1
- metadata +77 -104
@@ -34,12 +34,15 @@ module Killbill
|
|
34
34
|
|
35
35
|
include org.killbill.billing.catalog.api.Plan
|
36
36
|
|
37
|
-
attr_accessor :initial_phases, :product, :price_list_name, :
|
37
|
+
attr_accessor :name, :initial_phases, :product, :price_list_name, :initial_phase_iterator, :final_phase, :recurring_billing_period, :plans_allowed_in_bundle, :all_phases, :effective_date_for_existing_subscriptions
|
38
38
|
|
39
39
|
def initialize()
|
40
40
|
end
|
41
41
|
|
42
42
|
def to_java()
|
43
|
+
# conversion for name [type = java.lang.String]
|
44
|
+
@name = @name.to_s unless @name.nil?
|
45
|
+
|
43
46
|
# conversion for initial_phases [type = org.killbill.billing.catalog.api.PlanPhase[]]
|
44
47
|
tmp = []
|
45
48
|
(@initial_phases || []).each do |m|
|
@@ -55,9 +58,6 @@ module Killbill
|
|
55
58
|
# conversion for price_list_name [type = java.lang.String]
|
56
59
|
@price_list_name = @price_list_name.to_s unless @price_list_name.nil?
|
57
60
|
|
58
|
-
# conversion for name [type = java.lang.String]
|
59
|
-
@name = @name.to_s unless @name.nil?
|
60
|
-
|
61
61
|
# conversion for initial_phase_iterator [type = java.util.Iterator]
|
62
62
|
@initial_phase_iterator = Killbill::Plugin::Model::EnumeratorIterator.new(@initial_phase_iterator)
|
63
63
|
|
@@ -89,6 +89,9 @@ module Killbill
|
|
89
89
|
end
|
90
90
|
|
91
91
|
def to_ruby(j_obj)
|
92
|
+
# conversion for name [type = java.lang.String]
|
93
|
+
@name = j_obj.name
|
94
|
+
|
92
95
|
# conversion for initial_phases [type = org.killbill.billing.catalog.api.PlanPhase[]]
|
93
96
|
@initial_phases = j_obj.initial_phases
|
94
97
|
tmp = []
|
@@ -106,9 +109,6 @@ module Killbill
|
|
106
109
|
# conversion for price_list_name [type = java.lang.String]
|
107
110
|
@price_list_name = j_obj.price_list_name
|
108
111
|
|
109
|
-
# conversion for name [type = java.lang.String]
|
110
|
-
@name = j_obj.name
|
111
|
-
|
112
112
|
# conversion for initial_phase_iterator [type = java.util.Iterator]
|
113
113
|
@initial_phase_iterator = j_obj.initial_phase_iterator
|
114
114
|
|
@@ -34,12 +34,15 @@ module Killbill
|
|
34
34
|
|
35
35
|
include org.killbill.billing.catalog.api.PlanPhase
|
36
36
|
|
37
|
-
attr_accessor :fixed, :recurring, :usages, :
|
37
|
+
attr_accessor :name, :fixed, :recurring, :usages, :duration, :phase_type
|
38
38
|
|
39
39
|
def initialize()
|
40
40
|
end
|
41
41
|
|
42
42
|
def to_java()
|
43
|
+
# conversion for name [type = java.lang.String]
|
44
|
+
@name = @name.to_s unless @name.nil?
|
45
|
+
|
43
46
|
# conversion for fixed [type = org.killbill.billing.catalog.api.Fixed]
|
44
47
|
@fixed = @fixed.to_java unless @fixed.nil?
|
45
48
|
|
@@ -55,9 +58,6 @@ module Killbill
|
|
55
58
|
end
|
56
59
|
@usages = tmp.to_java Java::org.killbill.billing.catalog.api.Usage
|
57
60
|
|
58
|
-
# conversion for name [type = java.lang.String]
|
59
|
-
@name = @name.to_s unless @name.nil?
|
60
|
-
|
61
61
|
# conversion for duration [type = org.killbill.billing.catalog.api.Duration]
|
62
62
|
@duration = @duration.to_java unless @duration.nil?
|
63
63
|
|
@@ -67,6 +67,9 @@ module Killbill
|
|
67
67
|
end
|
68
68
|
|
69
69
|
def to_ruby(j_obj)
|
70
|
+
# conversion for name [type = java.lang.String]
|
71
|
+
@name = j_obj.name
|
72
|
+
|
70
73
|
# conversion for fixed [type = org.killbill.billing.catalog.api.Fixed]
|
71
74
|
@fixed = j_obj.fixed
|
72
75
|
@fixed = Killbill::Plugin::Model::Fixed.new.to_ruby(@fixed) unless @fixed.nil?
|
@@ -85,9 +88,6 @@ module Killbill
|
|
85
88
|
end
|
86
89
|
@usages = tmp
|
87
90
|
|
88
|
-
# conversion for name [type = java.lang.String]
|
89
|
-
@name = j_obj.name
|
90
|
-
|
91
91
|
# conversion for duration [type = org.killbill.billing.catalog.api.Duration]
|
92
92
|
@duration = j_obj.duration
|
93
93
|
@duration = Killbill::Plugin::Model::Duration.new.to_ruby(@duration) unless @duration.nil?
|
@@ -32,18 +32,18 @@ module Killbill
|
|
32
32
|
class PlanPhaseSpecifier
|
33
33
|
|
34
34
|
|
35
|
-
attr_accessor :
|
35
|
+
attr_accessor :plan_name, :product_name, :billing_period, :price_list_name, :phase_type
|
36
36
|
|
37
37
|
def initialize()
|
38
38
|
end
|
39
39
|
|
40
40
|
def to_java()
|
41
|
+
# conversion for plan_name [type = java.lang.String]
|
42
|
+
@plan_name = @plan_name.to_s unless @plan_name.nil?
|
43
|
+
|
41
44
|
# conversion for product_name [type = java.lang.String]
|
42
45
|
@product_name = @product_name.to_s unless @product_name.nil?
|
43
46
|
|
44
|
-
# conversion for product_category [type = org.killbill.billing.catalog.api.ProductCategory]
|
45
|
-
@product_category = Java::org.killbill.billing.catalog.api.ProductCategory.value_of( @product_category.to_s ) unless @product_category.nil?
|
46
|
-
|
47
47
|
# conversion for billing_period [type = org.killbill.billing.catalog.api.BillingPeriod]
|
48
48
|
@billing_period = Java::org.killbill.billing.catalog.api.BillingPeriod.value_of( @billing_period.to_s ) unless @billing_period.nil?
|
49
49
|
|
@@ -52,17 +52,16 @@ module Killbill
|
|
52
52
|
|
53
53
|
# conversion for phase_type [type = org.killbill.billing.catalog.api.PhaseType]
|
54
54
|
@phase_type = Java::org.killbill.billing.catalog.api.PhaseType.value_of( @phase_type.to_s ) unless @phase_type.nil?
|
55
|
-
Java::org.killbill.billing.catalog.api.PlanPhaseSpecifier.new(@
|
55
|
+
Java::org.killbill.billing.catalog.api.PlanPhaseSpecifier.new(@plan_name, @product_name, @billing_period, @price_list_name, @phase_type)
|
56
56
|
end
|
57
57
|
|
58
58
|
def to_ruby(j_obj)
|
59
|
+
# conversion for plan_name [type = java.lang.String]
|
60
|
+
@plan_name = j_obj.plan_name
|
61
|
+
|
59
62
|
# conversion for product_name [type = java.lang.String]
|
60
63
|
@product_name = j_obj.product_name
|
61
64
|
|
62
|
-
# conversion for product_category [type = org.killbill.billing.catalog.api.ProductCategory]
|
63
|
-
@product_category = j_obj.product_category
|
64
|
-
@product_category = @product_category.to_s.to_sym unless @product_category.nil?
|
65
|
-
|
66
65
|
# conversion for billing_period [type = org.killbill.billing.catalog.api.BillingPeriod]
|
67
66
|
@billing_period = j_obj.billing_period
|
68
67
|
@billing_period = @billing_period.to_s.to_sym unless @billing_period.nil?
|
@@ -32,34 +32,33 @@ module Killbill
|
|
32
32
|
class PlanSpecifier
|
33
33
|
|
34
34
|
|
35
|
-
attr_accessor :
|
35
|
+
attr_accessor :plan_name, :product_name, :billing_period, :price_list_name
|
36
36
|
|
37
37
|
def initialize()
|
38
38
|
end
|
39
39
|
|
40
40
|
def to_java()
|
41
|
+
# conversion for plan_name [type = java.lang.String]
|
42
|
+
@plan_name = @plan_name.to_s unless @plan_name.nil?
|
43
|
+
|
41
44
|
# conversion for product_name [type = java.lang.String]
|
42
45
|
@product_name = @product_name.to_s unless @product_name.nil?
|
43
46
|
|
44
|
-
# conversion for product_category [type = org.killbill.billing.catalog.api.ProductCategory]
|
45
|
-
@product_category = Java::org.killbill.billing.catalog.api.ProductCategory.value_of( @product_category.to_s ) unless @product_category.nil?
|
46
|
-
|
47
47
|
# conversion for billing_period [type = org.killbill.billing.catalog.api.BillingPeriod]
|
48
48
|
@billing_period = Java::org.killbill.billing.catalog.api.BillingPeriod.value_of( @billing_period.to_s ) unless @billing_period.nil?
|
49
49
|
|
50
50
|
# conversion for price_list_name [type = java.lang.String]
|
51
51
|
@price_list_name = @price_list_name.to_s unless @price_list_name.nil?
|
52
|
-
Java::org.killbill.billing.catalog.api.PlanSpecifier.new(@
|
52
|
+
Java::org.killbill.billing.catalog.api.PlanSpecifier.new(@plan_name, @product_name, @billing_period, @price_list_name)
|
53
53
|
end
|
54
54
|
|
55
55
|
def to_ruby(j_obj)
|
56
|
+
# conversion for plan_name [type = java.lang.String]
|
57
|
+
@plan_name = j_obj.plan_name
|
58
|
+
|
56
59
|
# conversion for product_name [type = java.lang.String]
|
57
60
|
@product_name = j_obj.product_name
|
58
61
|
|
59
|
-
# conversion for product_category [type = org.killbill.billing.catalog.api.ProductCategory]
|
60
|
-
@product_category = j_obj.product_category
|
61
|
-
@product_category = @product_category.to_s.to_sym unless @product_category.nil?
|
62
|
-
|
63
62
|
# conversion for billing_period [type = org.killbill.billing.catalog.api.BillingPeriod]
|
64
63
|
@billing_period = j_obj.billing_period
|
65
64
|
@billing_period = @billing_period.to_s.to_sym unless @billing_period.nil?
|
@@ -36,6 +36,7 @@ require 'killbill/gen/api/billing_exception_base'
|
|
36
36
|
require 'killbill/gen/api/block'
|
37
37
|
require 'killbill/gen/api/catalog'
|
38
38
|
require 'killbill/gen/api/catalog_api_exception'
|
39
|
+
require 'killbill/gen/api/catalog_entity'
|
39
40
|
require 'killbill/gen/api/catalog_user_api'
|
40
41
|
require 'killbill/gen/api/currency_value_null'
|
41
42
|
require 'killbill/gen/api/duration'
|
@@ -46,6 +47,8 @@ require 'killbill/gen/api/invalid_config_exception'
|
|
46
47
|
require 'killbill/gen/api/limit'
|
47
48
|
require 'killbill/gen/api/listing'
|
48
49
|
require 'killbill/gen/api/migration_plan'
|
50
|
+
require 'killbill/gen/api/mutable_catalog'
|
51
|
+
require 'killbill/gen/api/mutable_static_catalog'
|
49
52
|
require 'killbill/gen/api/plan'
|
50
53
|
require 'killbill/gen/api/plan_change_result'
|
51
54
|
require 'killbill/gen/api/plan_phase'
|
@@ -68,6 +71,7 @@ require 'killbill/gen/api/case_create_alignment'
|
|
68
71
|
require 'killbill/gen/api/case_phase'
|
69
72
|
require 'killbill/gen/api/case_price_list'
|
70
73
|
require 'killbill/gen/api/plan_rules'
|
74
|
+
require 'killbill/gen/api/simple_plan_descriptor'
|
71
75
|
require 'killbill/gen/api/static_catalog'
|
72
76
|
require 'killbill/gen/api/tier'
|
73
77
|
require 'killbill/gen/api/tiered_block'
|
@@ -113,6 +117,7 @@ require 'killbill/gen/api/admin_payment_api'
|
|
113
117
|
require 'killbill/gen/api/payment'
|
114
118
|
require 'killbill/gen/api/payment_api'
|
115
119
|
require 'killbill/gen/api/payment_api_exception'
|
120
|
+
require 'killbill/gen/api/payment_attempt'
|
116
121
|
require 'killbill/gen/api/payment_gateway_api'
|
117
122
|
require 'killbill/gen/api/payment_method'
|
118
123
|
require 'killbill/gen/api/payment_method_plugin'
|
@@ -0,0 +1,101 @@
|
|
1
|
+
#############################################################################################
|
2
|
+
# #
|
3
|
+
# Copyright 2010-2013 Ning, Inc. #
|
4
|
+
# Copyright 2014 Groupon, Inc. #
|
5
|
+
# Copyright 2014 The Billing Project, LLC #
|
6
|
+
# #
|
7
|
+
# The Billing Project licenses this file to you under the Apache License, version 2.0 #
|
8
|
+
# (the "License"); you may not use this file except in compliance with the #
|
9
|
+
# License. You may obtain a copy of the License at: #
|
10
|
+
# #
|
11
|
+
# http://www.apache.org/licenses/LICENSE-2.0 #
|
12
|
+
# #
|
13
|
+
# Unless required by applicable law or agreed to in writing, software #
|
14
|
+
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT #
|
15
|
+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the #
|
16
|
+
# License for the specific language governing permissions and limitations #
|
17
|
+
# under the License. #
|
18
|
+
# #
|
19
|
+
#############################################################################################
|
20
|
+
|
21
|
+
|
22
|
+
#
|
23
|
+
# DO NOT EDIT!!!
|
24
|
+
# File automatically generated by killbill-java-parser (git@github.com:killbill/killbill-java-parser.git)
|
25
|
+
#
|
26
|
+
|
27
|
+
|
28
|
+
module Killbill
|
29
|
+
module Plugin
|
30
|
+
module Model
|
31
|
+
|
32
|
+
java_package 'org.killbill.billing.catalog.api'
|
33
|
+
class SimplePlanDescriptor
|
34
|
+
|
35
|
+
include org.killbill.billing.catalog.api.SimplePlanDescriptor
|
36
|
+
|
37
|
+
attr_accessor :plan_id, :product_name, :currency, :amount, :billing_period, :trial_length, :trial_time_unit
|
38
|
+
|
39
|
+
def initialize()
|
40
|
+
end
|
41
|
+
|
42
|
+
def to_java()
|
43
|
+
# conversion for plan_id [type = java.lang.String]
|
44
|
+
@plan_id = @plan_id.to_s unless @plan_id.nil?
|
45
|
+
|
46
|
+
# conversion for product_name [type = java.lang.String]
|
47
|
+
@product_name = @product_name.to_s unless @product_name.nil?
|
48
|
+
|
49
|
+
# conversion for currency [type = org.killbill.billing.catalog.api.Currency]
|
50
|
+
@currency = Java::org.killbill.billing.catalog.api.Currency.value_of( @currency.to_s ) unless @currency.nil?
|
51
|
+
|
52
|
+
# conversion for amount [type = java.math.BigDecimal]
|
53
|
+
if @amount.nil?
|
54
|
+
@amount = java.math.BigDecimal::ZERO
|
55
|
+
else
|
56
|
+
@amount = java.math.BigDecimal.new(@amount.to_s)
|
57
|
+
end
|
58
|
+
|
59
|
+
# conversion for billing_period [type = org.killbill.billing.catalog.api.BillingPeriod]
|
60
|
+
@billing_period = Java::org.killbill.billing.catalog.api.BillingPeriod.value_of( @billing_period.to_s ) unless @billing_period.nil?
|
61
|
+
|
62
|
+
# conversion for trial_length [type = int]
|
63
|
+
@trial_length = @trial_length
|
64
|
+
|
65
|
+
# conversion for trial_time_unit [type = org.killbill.billing.catalog.api.TimeUnit]
|
66
|
+
@trial_time_unit = Java::org.killbill.billing.catalog.api.TimeUnit.value_of( @trial_time_unit.to_s ) unless @trial_time_unit.nil?
|
67
|
+
self
|
68
|
+
end
|
69
|
+
|
70
|
+
def to_ruby(j_obj)
|
71
|
+
# conversion for plan_id [type = java.lang.String]
|
72
|
+
@plan_id = j_obj.plan_id
|
73
|
+
|
74
|
+
# conversion for product_name [type = java.lang.String]
|
75
|
+
@product_name = j_obj.product_name
|
76
|
+
|
77
|
+
# conversion for currency [type = org.killbill.billing.catalog.api.Currency]
|
78
|
+
@currency = j_obj.currency
|
79
|
+
@currency = @currency.to_s.to_sym unless @currency.nil?
|
80
|
+
|
81
|
+
# conversion for amount [type = java.math.BigDecimal]
|
82
|
+
@amount = j_obj.amount
|
83
|
+
@amount = @amount.nil? ? 0 : BigDecimal.new(@amount.to_s)
|
84
|
+
|
85
|
+
# conversion for billing_period [type = org.killbill.billing.catalog.api.BillingPeriod]
|
86
|
+
@billing_period = j_obj.billing_period
|
87
|
+
@billing_period = @billing_period.to_s.to_sym unless @billing_period.nil?
|
88
|
+
|
89
|
+
# conversion for trial_length [type = int]
|
90
|
+
@trial_length = j_obj.trial_length
|
91
|
+
|
92
|
+
# conversion for trial_time_unit [type = org.killbill.billing.catalog.api.TimeUnit]
|
93
|
+
@trial_time_unit = j_obj.trial_time_unit
|
94
|
+
@trial_time_unit = @trial_time_unit.to_s.to_sym unless @trial_time_unit.nil?
|
95
|
+
self
|
96
|
+
end
|
97
|
+
|
98
|
+
end
|
99
|
+
end
|
100
|
+
end
|
101
|
+
end
|
@@ -124,6 +124,20 @@ module Killbill
|
|
124
124
|
@real_java_api.add_tenant_key_value(key, value, context)
|
125
125
|
end
|
126
126
|
|
127
|
+
java_signature 'Java::void updateTenantKeyValue(Java::java.lang.String, Java::java.lang.String, Java::org.killbill.billing.util.callcontext.CallContext)'
|
128
|
+
def update_tenant_key_value(key, value, context)
|
129
|
+
|
130
|
+
# conversion for key [type = java.lang.String]
|
131
|
+
key = key.to_s unless key.nil?
|
132
|
+
|
133
|
+
# conversion for value [type = java.lang.String]
|
134
|
+
value = value.to_s unless value.nil?
|
135
|
+
|
136
|
+
# conversion for context [type = org.killbill.billing.util.callcontext.CallContext]
|
137
|
+
context = context.to_java unless context.nil?
|
138
|
+
@real_java_api.update_tenant_key_value(key, value, context)
|
139
|
+
end
|
140
|
+
|
127
141
|
java_signature 'Java::void deleteTenantKey(Java::java.lang.String, Java::org.killbill.billing.util.callcontext.CallContext)'
|
128
142
|
def delete_tenant_key(key, context)
|
129
143
|
|
@@ -160,7 +160,7 @@ module Killbill
|
|
160
160
|
kb_payment
|
161
161
|
end
|
162
162
|
|
163
|
-
def get_payment(id, with_plugin_info=false, properties=[], context=nil)
|
163
|
+
def get_payment(id, with_plugin_info=false, with_attempts=false, properties=[], context=nil)
|
164
164
|
@payments.find { |payment| payment.id == id.to_s }
|
165
165
|
end
|
166
166
|
end
|
@@ -430,7 +430,7 @@ module Killbill
|
|
430
430
|
end
|
431
431
|
|
432
432
|
def get_kb_transaction(kb_payment_id, kb_payment_transaction_id, kb_tenant_id)
|
433
|
-
kb_payment = @kb_apis.payment_api.get_payment(kb_payment_id, false, [], @kb_apis.create_context(kb_tenant_id))
|
433
|
+
kb_payment = @kb_apis.payment_api.get_payment(kb_payment_id, false, false, [], @kb_apis.create_context(kb_tenant_id))
|
434
434
|
kb_transaction = kb_payment.transactions.find { |t| t.id == kb_payment_transaction_id }
|
435
435
|
# This should never happen...
|
436
436
|
raise ArgumentError.new("Unable to find Kill Bill transaction for id #{kb_payment_transaction_id}") if kb_transaction.nil?
|
data/lib/killbill/version.rb
CHANGED
metadata
CHANGED
@@ -1,241 +1,242 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: killbill
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 8.
|
4
|
+
version: 8.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kill Bill core team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-07-
|
11
|
+
date: 2016-07-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
+
name: sinatra
|
15
|
+
version_requirements: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ~>
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 1.3.4
|
14
20
|
requirement: !ruby/object:Gem::Requirement
|
15
21
|
requirements:
|
16
22
|
- - ~>
|
17
23
|
- !ruby/object:Gem::Version
|
18
24
|
version: 1.3.4
|
19
|
-
name: sinatra
|
20
25
|
prerelease: false
|
21
26
|
type: :runtime
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rack
|
22
29
|
version_requirements: !ruby/object:Gem::Requirement
|
23
30
|
requirements:
|
24
|
-
- -
|
31
|
+
- - '>='
|
25
32
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.
|
27
|
-
- !ruby/object:Gem::Dependency
|
33
|
+
version: 1.5.2
|
28
34
|
requirement: !ruby/object:Gem::Requirement
|
29
35
|
requirements:
|
30
36
|
- - '>='
|
31
37
|
- !ruby/object:Gem::Version
|
32
38
|
version: 1.5.2
|
33
|
-
name: rack
|
34
39
|
prerelease: false
|
35
40
|
type: :runtime
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: typhoeus
|
36
43
|
version_requirements: !ruby/object:Gem::Requirement
|
37
44
|
requirements:
|
38
|
-
- -
|
45
|
+
- - ~>
|
39
46
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
41
|
-
- !ruby/object:Gem::Dependency
|
47
|
+
version: 0.6.9
|
42
48
|
requirement: !ruby/object:Gem::Requirement
|
43
49
|
requirements:
|
44
50
|
- - ~>
|
45
51
|
- !ruby/object:Gem::Version
|
46
52
|
version: 0.6.9
|
47
|
-
name: typhoeus
|
48
53
|
prerelease: false
|
49
54
|
type: :runtime
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: tzinfo
|
50
57
|
version_requirements: !ruby/object:Gem::Requirement
|
51
58
|
requirements:
|
52
59
|
- - ~>
|
53
60
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
55
|
-
- !ruby/object:Gem::Dependency
|
61
|
+
version: 1.2.0
|
56
62
|
requirement: !ruby/object:Gem::Requirement
|
57
63
|
requirements:
|
58
64
|
- - ~>
|
59
65
|
- !ruby/object:Gem::Version
|
60
66
|
version: 1.2.0
|
61
|
-
name: tzinfo
|
62
67
|
prerelease: false
|
63
68
|
type: :runtime
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: thread_safe
|
64
71
|
version_requirements: !ruby/object:Gem::Requirement
|
65
72
|
requirements:
|
66
73
|
- - ~>
|
67
74
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
69
|
-
- !ruby/object:Gem::Dependency
|
75
|
+
version: 0.3.4
|
70
76
|
requirement: !ruby/object:Gem::Requirement
|
71
77
|
requirements:
|
72
78
|
- - ~>
|
73
79
|
- !ruby/object:Gem::Version
|
74
80
|
version: 0.3.4
|
75
|
-
name: thread_safe
|
76
81
|
prerelease: false
|
77
82
|
type: :development
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: activerecord
|
78
85
|
version_requirements: !ruby/object:Gem::Requirement
|
79
86
|
requirements:
|
80
87
|
- - ~>
|
81
88
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
83
|
-
- !ruby/object:Gem::Dependency
|
89
|
+
version: 4.1.0
|
84
90
|
requirement: !ruby/object:Gem::Requirement
|
85
91
|
requirements:
|
86
92
|
- - ~>
|
87
93
|
- !ruby/object:Gem::Version
|
88
94
|
version: 4.1.0
|
89
|
-
name: activerecord
|
90
95
|
prerelease: false
|
91
96
|
type: :development
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: activerecord-bogacs
|
92
99
|
version_requirements: !ruby/object:Gem::Requirement
|
93
100
|
requirements:
|
94
101
|
- - ~>
|
95
102
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
97
|
-
- !ruby/object:Gem::Dependency
|
103
|
+
version: '0.3'
|
98
104
|
requirement: !ruby/object:Gem::Requirement
|
99
105
|
requirements:
|
100
106
|
- - ~>
|
101
107
|
- !ruby/object:Gem::Version
|
102
108
|
version: '0.3'
|
103
|
-
name: activerecord-bogacs
|
104
109
|
prerelease: false
|
105
110
|
type: :development
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: activerecord-jdbc-adapter
|
106
113
|
version_requirements: !ruby/object:Gem::Requirement
|
107
114
|
requirements:
|
108
115
|
- - ~>
|
109
116
|
- !ruby/object:Gem::Version
|
110
|
-
version: '
|
111
|
-
- !ruby/object:Gem::Dependency
|
117
|
+
version: '1.3'
|
112
118
|
requirement: !ruby/object:Gem::Requirement
|
113
119
|
requirements:
|
114
120
|
- - ~>
|
115
121
|
- !ruby/object:Gem::Version
|
116
122
|
version: '1.3'
|
117
|
-
name: activerecord-jdbc-adapter
|
118
123
|
prerelease: false
|
119
124
|
type: :development
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: jdbc-mariadb
|
120
127
|
version_requirements: !ruby/object:Gem::Requirement
|
121
128
|
requirements:
|
122
129
|
- - ~>
|
123
130
|
- !ruby/object:Gem::Version
|
124
|
-
version:
|
125
|
-
- !ruby/object:Gem::Dependency
|
131
|
+
version: 1.1.8
|
126
132
|
requirement: !ruby/object:Gem::Requirement
|
127
133
|
requirements:
|
128
134
|
- - ~>
|
129
135
|
- !ruby/object:Gem::Version
|
130
136
|
version: 1.1.8
|
131
|
-
name: jdbc-mariadb
|
132
137
|
prerelease: false
|
133
138
|
type: :development
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: actionpack
|
134
141
|
version_requirements: !ruby/object:Gem::Requirement
|
135
142
|
requirements:
|
136
143
|
- - ~>
|
137
144
|
- !ruby/object:Gem::Version
|
138
|
-
version:
|
139
|
-
- !ruby/object:Gem::Dependency
|
145
|
+
version: 4.1.0
|
140
146
|
requirement: !ruby/object:Gem::Requirement
|
141
147
|
requirements:
|
142
148
|
- - ~>
|
143
149
|
- !ruby/object:Gem::Version
|
144
150
|
version: 4.1.0
|
145
|
-
name: actionpack
|
146
151
|
prerelease: false
|
147
152
|
type: :development
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: actionview
|
148
155
|
version_requirements: !ruby/object:Gem::Requirement
|
149
156
|
requirements:
|
150
157
|
- - ~>
|
151
158
|
- !ruby/object:Gem::Version
|
152
159
|
version: 4.1.0
|
153
|
-
- !ruby/object:Gem::Dependency
|
154
160
|
requirement: !ruby/object:Gem::Requirement
|
155
161
|
requirements:
|
156
162
|
- - ~>
|
157
163
|
- !ruby/object:Gem::Version
|
158
164
|
version: 4.1.0
|
159
|
-
name: actionview
|
160
165
|
prerelease: false
|
161
166
|
type: :development
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: activemerchant
|
162
169
|
version_requirements: !ruby/object:Gem::Requirement
|
163
170
|
requirements:
|
164
171
|
- - ~>
|
165
172
|
- !ruby/object:Gem::Version
|
166
|
-
version:
|
167
|
-
- !ruby/object:Gem::Dependency
|
173
|
+
version: 1.48.0
|
168
174
|
requirement: !ruby/object:Gem::Requirement
|
169
175
|
requirements:
|
170
176
|
- - ~>
|
171
177
|
- !ruby/object:Gem::Version
|
172
178
|
version: 1.48.0
|
173
|
-
name: activemerchant
|
174
179
|
prerelease: false
|
175
180
|
type: :development
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: offsite_payments
|
176
183
|
version_requirements: !ruby/object:Gem::Requirement
|
177
184
|
requirements:
|
178
185
|
- - ~>
|
179
186
|
- !ruby/object:Gem::Version
|
180
|
-
version: 1.
|
181
|
-
- !ruby/object:Gem::Dependency
|
187
|
+
version: 2.1.0
|
182
188
|
requirement: !ruby/object:Gem::Requirement
|
183
189
|
requirements:
|
184
190
|
- - ~>
|
185
191
|
- !ruby/object:Gem::Version
|
186
192
|
version: 2.1.0
|
187
|
-
name: offsite_payments
|
188
193
|
prerelease: false
|
189
194
|
type: :development
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: monetize
|
190
197
|
version_requirements: !ruby/object:Gem::Requirement
|
191
198
|
requirements:
|
192
199
|
- - ~>
|
193
200
|
- !ruby/object:Gem::Version
|
194
|
-
version:
|
195
|
-
- !ruby/object:Gem::Dependency
|
201
|
+
version: 1.1.0
|
196
202
|
requirement: !ruby/object:Gem::Requirement
|
197
203
|
requirements:
|
198
204
|
- - ~>
|
199
205
|
- !ruby/object:Gem::Version
|
200
206
|
version: 1.1.0
|
201
|
-
name: monetize
|
202
207
|
prerelease: false
|
203
208
|
type: :development
|
209
|
+
- !ruby/object:Gem::Dependency
|
210
|
+
name: money
|
204
211
|
version_requirements: !ruby/object:Gem::Requirement
|
205
212
|
requirements:
|
206
213
|
- - ~>
|
207
214
|
- !ruby/object:Gem::Version
|
208
|
-
version:
|
209
|
-
- !ruby/object:Gem::Dependency
|
215
|
+
version: 6.5.1
|
210
216
|
requirement: !ruby/object:Gem::Requirement
|
211
217
|
requirements:
|
212
218
|
- - ~>
|
213
219
|
- !ruby/object:Gem::Version
|
214
220
|
version: 6.5.1
|
215
|
-
name: money
|
216
221
|
prerelease: false
|
217
222
|
type: :development
|
223
|
+
- !ruby/object:Gem::Dependency
|
224
|
+
name: jbundler
|
218
225
|
version_requirements: !ruby/object:Gem::Requirement
|
219
226
|
requirements:
|
220
227
|
- - ~>
|
221
228
|
- !ruby/object:Gem::Version
|
222
|
-
version:
|
223
|
-
- !ruby/object:Gem::Dependency
|
229
|
+
version: 0.9.2
|
224
230
|
requirement: !ruby/object:Gem::Requirement
|
225
231
|
requirements:
|
226
232
|
- - ~>
|
227
233
|
- !ruby/object:Gem::Version
|
228
234
|
version: 0.9.2
|
229
|
-
name: jbundler
|
230
235
|
prerelease: false
|
231
236
|
type: :development
|
232
|
-
version_requirements: !ruby/object:Gem::Requirement
|
233
|
-
requirements:
|
234
|
-
- - ~>
|
235
|
-
- !ruby/object:Gem::Version
|
236
|
-
version: 0.9.2
|
237
237
|
- !ruby/object:Gem::Dependency
|
238
|
-
|
238
|
+
name: rake
|
239
|
+
version_requirements: !ruby/object:Gem::Requirement
|
239
240
|
requirements:
|
240
241
|
- - '>='
|
241
242
|
- !ruby/object:Gem::Version
|
@@ -243,10 +244,7 @@ dependencies:
|
|
243
244
|
- - <
|
244
245
|
- !ruby/object:Gem::Version
|
245
246
|
version: 11.0.0
|
246
|
-
|
247
|
-
prerelease: false
|
248
|
-
type: :development
|
249
|
-
version_requirements: !ruby/object:Gem::Requirement
|
247
|
+
requirement: !ruby/object:Gem::Requirement
|
250
248
|
requirements:
|
251
249
|
- - '>='
|
252
250
|
- !ruby/object:Gem::Version
|
@@ -254,48 +252,50 @@ dependencies:
|
|
254
252
|
- - <
|
255
253
|
- !ruby/object:Gem::Version
|
256
254
|
version: 11.0.0
|
255
|
+
prerelease: false
|
256
|
+
type: :development
|
257
257
|
- !ruby/object:Gem::Dependency
|
258
|
+
name: rspec
|
259
|
+
version_requirements: !ruby/object:Gem::Requirement
|
260
|
+
requirements:
|
261
|
+
- - ~>
|
262
|
+
- !ruby/object:Gem::Version
|
263
|
+
version: 2.12.0
|
258
264
|
requirement: !ruby/object:Gem::Requirement
|
259
265
|
requirements:
|
260
266
|
- - ~>
|
261
267
|
- !ruby/object:Gem::Version
|
262
268
|
version: 2.12.0
|
263
|
-
name: rspec
|
264
269
|
prerelease: false
|
265
270
|
type: :development
|
271
|
+
- !ruby/object:Gem::Dependency
|
272
|
+
name: thor
|
266
273
|
version_requirements: !ruby/object:Gem::Requirement
|
267
274
|
requirements:
|
268
275
|
- - ~>
|
269
276
|
- !ruby/object:Gem::Version
|
270
|
-
version:
|
271
|
-
- !ruby/object:Gem::Dependency
|
277
|
+
version: 0.19.1
|
272
278
|
requirement: !ruby/object:Gem::Requirement
|
273
279
|
requirements:
|
274
280
|
- - ~>
|
275
281
|
- !ruby/object:Gem::Version
|
276
282
|
version: 0.19.1
|
277
|
-
name: thor
|
278
283
|
prerelease: false
|
279
284
|
type: :development
|
285
|
+
- !ruby/object:Gem::Dependency
|
286
|
+
name: jdbc-sqlite3
|
280
287
|
version_requirements: !ruby/object:Gem::Requirement
|
281
288
|
requirements:
|
282
289
|
- - ~>
|
283
290
|
- !ruby/object:Gem::Version
|
284
|
-
version:
|
285
|
-
- !ruby/object:Gem::Dependency
|
291
|
+
version: '3.7'
|
286
292
|
requirement: !ruby/object:Gem::Requirement
|
287
293
|
requirements:
|
288
294
|
- - ~>
|
289
295
|
- !ruby/object:Gem::Version
|
290
296
|
version: '3.7'
|
291
|
-
name: jdbc-sqlite3
|
292
297
|
prerelease: false
|
293
298
|
type: :development
|
294
|
-
version_requirements: !ruby/object:Gem::Requirement
|
295
|
-
requirements:
|
296
|
-
- - ~>
|
297
|
-
- !ruby/object:Gem::Version
|
298
|
-
version: '3.7'
|
299
299
|
description: Base classes to write plugins.
|
300
300
|
email: killbilling-users@googlegroups.com
|
301
301
|
executables:
|
@@ -380,6 +380,7 @@ files:
|
|
380
380
|
- lib/killbill/gen/api/case_price_list.rb
|
381
381
|
- lib/killbill/gen/api/catalog.rb
|
382
382
|
- lib/killbill/gen/api/catalog_api_exception.rb
|
383
|
+
- lib/killbill/gen/api/catalog_entity.rb
|
383
384
|
- lib/killbill/gen/api/catalog_user_api.rb
|
384
385
|
- lib/killbill/gen/api/column_info.rb
|
385
386
|
- lib/killbill/gen/api/control_tag.rb
|
@@ -422,6 +423,8 @@ files:
|
|
422
423
|
- lib/killbill/gen/api/listing.rb
|
423
424
|
- lib/killbill/gen/api/migration_plan.rb
|
424
425
|
- lib/killbill/gen/api/mutable_account_data.rb
|
426
|
+
- lib/killbill/gen/api/mutable_catalog.rb
|
427
|
+
- lib/killbill/gen/api/mutable_static_catalog.rb
|
425
428
|
- lib/killbill/gen/api/node_command.rb
|
426
429
|
- lib/killbill/gen/api/node_command_metadata.rb
|
427
430
|
- lib/killbill/gen/api/node_command_property.rb
|
@@ -432,6 +435,7 @@ files:
|
|
432
435
|
- lib/killbill/gen/api/payment.rb
|
433
436
|
- lib/killbill/gen/api/payment_api.rb
|
434
437
|
- lib/killbill/gen/api/payment_api_exception.rb
|
438
|
+
- lib/killbill/gen/api/payment_attempt.rb
|
435
439
|
- lib/killbill/gen/api/payment_gateway_api.rb
|
436
440
|
- lib/killbill/gen/api/payment_method.rb
|
437
441
|
- lib/killbill/gen/api/payment_method_plugin.rb
|
@@ -464,6 +468,7 @@ files:
|
|
464
468
|
- lib/killbill/gen/api/rolled_up_usage.rb
|
465
469
|
- lib/killbill/gen/api/security_api.rb
|
466
470
|
- lib/killbill/gen/api/security_api_exception.rb
|
471
|
+
- lib/killbill/gen/api/simple_plan_descriptor.rb
|
467
472
|
- lib/killbill/gen/api/static_catalog.rb
|
468
473
|
- lib/killbill/gen/api/subscription.rb
|
469
474
|
- lib/killbill/gen/api/subscription_api.rb
|
@@ -610,36 +615,4 @@ rubygems_version: 2.4.6
|
|
610
615
|
signing_key:
|
611
616
|
specification_version: 4
|
612
617
|
summary: Framework to write Kill Bill plugins in Ruby.
|
613
|
-
test_files:
|
614
|
-
- spec/killbill/base_plugin_spec.rb
|
615
|
-
- spec/killbill/config_test.ru
|
616
|
-
- spec/killbill/gen_conversions_spec.rb
|
617
|
-
- spec/killbill/helpers/configuration_spec.rb
|
618
|
-
- spec/killbill/helpers/connection_spec.rb
|
619
|
-
- spec/killbill/helpers/killbill_spec_helper_spec.rb
|
620
|
-
- spec/killbill/helpers/payment_method_spec.rb
|
621
|
-
- spec/killbill/helpers/payment_plugin_spec.rb
|
622
|
-
- spec/killbill/helpers/private_payment_plugin_spec.rb
|
623
|
-
- spec/killbill/helpers/response_spec.rb
|
624
|
-
- spec/killbill/helpers/streamy_result_set_spec.rb
|
625
|
-
- spec/killbill/helpers/test_payment_method.rb
|
626
|
-
- spec/killbill/helpers/test_response.rb
|
627
|
-
- spec/killbill/helpers/test_schema.rb
|
628
|
-
- spec/killbill/helpers/test_transaction.rb
|
629
|
-
- spec/killbill/helpers/transaction_spec.rb
|
630
|
-
- spec/killbill/helpers/utils_spec.rb
|
631
|
-
- spec/killbill/invoice_plugin_api_spec.rb
|
632
|
-
- spec/killbill/invoice_plugin_spec.rb
|
633
|
-
- spec/killbill/invoice_test.rb
|
634
|
-
- spec/killbill/killbill_integration_spec.rb
|
635
|
-
- spec/killbill/killbill_logger_spec.rb
|
636
|
-
- spec/killbill/killbillapi_spec.rb
|
637
|
-
- spec/killbill/notification_plugin_api_spec.rb
|
638
|
-
- spec/killbill/notification_plugin_spec.rb
|
639
|
-
- spec/killbill/notification_test.rb
|
640
|
-
- spec/killbill/payment_plugin_api_spec.rb
|
641
|
-
- spec/killbill/payment_plugin_spec.rb
|
642
|
-
- spec/killbill/payment_test.rb
|
643
|
-
- spec/killbill/rack_handler_spec.rb
|
644
|
-
- spec/killbill/remote/active_merchant_typhoeus_connection_spec.rb
|
645
|
-
- spec/spec_helper.rb
|
618
|
+
test_files: []
|