killbill 3.2.4 → 4.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +0 -2
- data/.travis.yml +26 -5
- data/Gemfile +1 -1
- data/Gemfile.head +5 -0
- data/Gemfile.lock +125 -0
- data/Jarfile +9 -9
- data/Jarfile.lock +54 -0
- data/NEWS +3 -0
- data/README.md +13 -0
- data/VERSION +1 -1
- data/generators/active_merchant/templates/.gitignore.rb +2 -3
- data/generators/active_merchant/templates/.travis.yml.rb +22 -3
- data/generators/active_merchant/templates/Gemfile.head.rb +5 -0
- data/generators/active_merchant/templates/Gemfile.rb +1 -1
- data/generators/active_merchant/templates/Jarfile.rb +9 -8
- data/generators/active_merchant/templates/LICENSE.rb +2 -2
- data/generators/active_merchant/templates/config.yml.rb +16 -6
- data/generators/active_merchant/templates/lib/plugin.rb +0 -1
- data/generators/active_merchant/templates/plugin.gemspec.rb +17 -15
- data/generators/active_merchant/templates/pom.xml.rb +1 -1
- data/generators/active_merchant/templates/release.sh.rb +34 -14
- data/generators/active_merchant/templates/spec/base_plugin_spec.rb +5 -7
- data/generators/active_merchant/templates/spec/integration_spec.rb +7 -18
- data/killbill.gemspec +21 -15
- data/lib/killbill/ext/active_merchant/typhoeus_connection.rb +3 -4
- data/lib/killbill/gen/api/account.rb +1 -1
- data/lib/killbill/gen/api/account_data.rb +1 -1
- data/lib/killbill/gen/api/audit_log.rb +2 -2
- data/lib/killbill/gen/api/audit_user_api.rb +3 -3
- data/lib/killbill/gen/api/block.rb +1 -1
- data/lib/killbill/gen/api/blocking_state.rb +1 -1
- data/lib/killbill/gen/api/call_context.rb +2 -2
- data/lib/killbill/gen/api/control_tag.rb +2 -2
- data/lib/killbill/gen/api/currency_conversion.rb +1 -1
- data/lib/killbill/gen/api/currency_conversion_api.rb +2 -2
- data/lib/killbill/gen/api/custom_field.rb +1 -1
- data/lib/killbill/gen/api/custom_field_user_api.rb +2 -2
- data/lib/killbill/gen/api/dry_run_arguments.rb +22 -3
- data/lib/killbill/gen/api/duration.rb +1 -1
- data/lib/killbill/gen/api/entitlement.rb +3 -3
- data/lib/killbill/gen/api/entitlement_ao_status_dry_run.rb +3 -3
- data/lib/killbill/gen/api/entitlement_api.rb +25 -7
- data/lib/killbill/gen/api/fixed.rb +1 -1
- data/lib/killbill/gen/api/invoice.rb +1 -1
- data/lib/killbill/gen/api/invoice_formatter.rb +2 -2
- data/lib/killbill/gen/api/invoice_item.rb +2 -2
- data/lib/killbill/gen/api/invoice_item_formatter.rb +2 -2
- data/lib/killbill/gen/api/invoice_payment.rb +3 -3
- data/lib/killbill/gen/api/invoice_user_api.rb +2 -2
- data/lib/killbill/gen/api/migration_plan.rb +1 -1
- data/lib/killbill/gen/api/mutable_account_data.rb +1 -1
- data/lib/killbill/gen/api/payment.rb +1 -1
- data/lib/killbill/gen/api/payment_api.rb +11 -11
- data/lib/killbill/gen/api/payment_transaction.rb +4 -4
- data/lib/killbill/gen/api/plan.rb +1 -1
- data/lib/killbill/gen/api/plan_change_result.rb +2 -2
- data/lib/killbill/gen/api/plan_phase.rb +1 -1
- data/lib/killbill/gen/api/plan_phase_price_override.rb +93 -0
- data/lib/killbill/gen/api/plan_phase_price_overrides_with_call_context.rb +77 -0
- data/lib/killbill/gen/api/plan_phase_specifier.rb +3 -3
- data/lib/killbill/gen/api/plan_specifier.rb +2 -2
- data/lib/killbill/gen/api/price.rb +1 -1
- data/lib/killbill/gen/api/product.rb +1 -1
- data/lib/killbill/gen/api/rate.rb +2 -2
- data/lib/killbill/gen/api/record_id_api.rb +1 -1
- data/lib/killbill/gen/api/recurring.rb +1 -1
- data/lib/killbill/gen/api/refund.rb +2 -2
- data/lib/killbill/gen/api/require_gen.rb +2 -0
- data/lib/killbill/gen/api/static_catalog.rb +2 -2
- data/lib/killbill/gen/api/subscription.rb +3 -3
- data/lib/killbill/gen/api/subscription_event.rb +3 -3
- data/lib/killbill/gen/api/tag.rb +1 -1
- data/lib/killbill/gen/api/tag_definition.rb +1 -1
- data/lib/killbill/gen/api/tag_user_api.rb +6 -6
- data/lib/killbill/gen/api/tiered_block.rb +1 -1
- data/lib/killbill/gen/api/usage.rb +3 -3
- data/lib/killbill/gen/plugin-api/currency_plugin_api.rb +1 -1
- data/lib/killbill/gen/plugin-api/ext_bus_event.rb +2 -2
- data/lib/killbill/gen/plugin-api/payment_transaction_info_plugin.rb +3 -3
- data/lib/killbill/helpers/active_merchant.rb +2 -2
- data/lib/killbill/helpers/active_merchant/active_record.rb +1 -1
- data/lib/killbill/helpers/active_merchant/active_record/active_record_helper.rb +14 -0
- data/lib/killbill/helpers/active_merchant/active_record/models/helpers.rb +8 -0
- data/lib/killbill/helpers/active_merchant/active_record/models/payment_method.rb +10 -8
- data/lib/killbill/helpers/active_merchant/active_record/models/response.rb +16 -3
- data/lib/killbill/helpers/active_merchant/active_record/models/streamy_result_set.rb +1 -3
- data/lib/killbill/helpers/active_merchant/active_record/models/transaction.rb +2 -0
- data/lib/killbill/helpers/active_merchant/configuration.rb +119 -27
- data/lib/killbill/helpers/active_merchant/gateway.rb +40 -27
- data/lib/killbill/helpers/active_merchant/killbill_spec_helper.rb +63 -45
- data/lib/killbill/helpers/active_merchant/payment_plugin.rb +121 -95
- data/lib/killbill/helpers/active_merchant/private_payment_plugin.rb +1 -1
- data/lib/killbill/helpers/active_merchant/properties.rb +9 -2
- data/lib/killbill/helpers/active_merchant/sinatra.rb +4 -8
- data/lib/killbill/helpers/active_merchant/utils.rb +44 -0
- data/lib/killbill/helpers/properties_helper.rb +41 -0
- data/lib/killbill/http_servlet.rb +11 -4
- data/lib/killbill/killbill_api.rb +6 -4
- data/lib/killbill/rake_task.rb +542 -102
- data/spec/killbill/helpers/configuration_spec.rb +117 -33
- data/spec/killbill/helpers/payment_method_spec.rb +20 -17
- data/spec/killbill/helpers/payment_plugin_spec.rb +401 -201
- data/spec/killbill/helpers/private_payment_plugin_spec.rb +3 -16
- data/spec/killbill/helpers/response_spec.rb +92 -22
- data/spec/killbill/helpers/streamy_result_set_spec.rb +3 -2
- data/spec/killbill/helpers/test_payment_method.rb +9 -0
- data/spec/killbill/helpers/test_response.rb +11 -0
- data/spec/killbill/helpers/test_schema.rb +6 -6
- data/spec/killbill/helpers/test_transaction.rb +11 -0
- data/spec/killbill/helpers/transaction_spec.rb +3 -13
- data/spec/killbill/helpers/utils_spec.rb +127 -69
- data/spec/spec_helper.rb +69 -18
- metadata +77 -71
- data/lib/killbill/ext/active_merchant/jdbc_connection.rb +0 -92
- data/lib/killbill/ext/active_merchant/proxy_support.rb +0 -58
- data/spec/killbill/helpers/gateway_spec.rb +0 -36
data/spec/spec_helper.rb
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
require 'java'
|
2
|
-
|
3
1
|
require 'bundler'
|
2
|
+
|
4
3
|
require 'logger'
|
5
4
|
require 'tempfile'
|
5
|
+
require 'tmpdir'
|
6
6
|
|
7
7
|
require 'killbill'
|
8
8
|
require 'killbill/killbill_logger'
|
@@ -18,33 +18,84 @@ require 'killbill/helpers/active_merchant/killbill_spec_helper'
|
|
18
18
|
|
19
19
|
require 'killbill/ext/active_merchant/typhoeus_connection'
|
20
20
|
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
21
|
+
require 'spec/killbill/helpers/test_payment_method'
|
22
|
+
require 'spec/killbill/helpers/test_response'
|
23
|
+
require 'spec/killbill/helpers/test_transaction'
|
24
|
+
|
25
|
+
if defined? JRUBY_VERSION
|
26
|
+
require 'java'
|
27
|
+
%w(
|
28
|
+
MockAccountUserApi
|
29
|
+
).each do |api|
|
30
|
+
begin
|
31
|
+
java_import "org.killbill.billing.mock.api.#{api}"
|
32
|
+
rescue LoadError => e
|
33
|
+
puts e
|
34
|
+
end
|
27
35
|
end
|
28
36
|
end
|
29
37
|
|
30
38
|
require 'rspec'
|
31
39
|
|
40
|
+
module Killbill
|
41
|
+
module Plugin
|
42
|
+
module SpecHelper
|
43
|
+
def with_plugin_yaml_config(file_name, plugin_config, include_db_config = true)
|
44
|
+
if include_db_config
|
45
|
+
plugin_config = plugin_config.dup
|
46
|
+
plugin_config[:database] = database_config
|
47
|
+
end
|
48
|
+
Dir.mktmpdir do |dir|
|
49
|
+
file = File.join(dir, file_name)
|
50
|
+
File.open(file, 'w+') { |f| f.write plugin_config.to_yaml }
|
51
|
+
yield file
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
def database_config
|
56
|
+
ActiveRecord::Base.connection_config.select do |key,_|
|
57
|
+
[ :adapter, :database, :username, :password ].include? key
|
58
|
+
end
|
59
|
+
end
|
60
|
+
|
61
|
+
def reinitialize_active_record
|
62
|
+
require defined?(JRUBY_VERSION) ? 'arjdbc' : 'active_record'
|
63
|
+
db_config = {
|
64
|
+
:adapter => ENV['AR_ADAPTER'] || 'sqlite3',
|
65
|
+
:database => ENV['AR_DATABASE'] || 'test.db',
|
66
|
+
}
|
67
|
+
db_config[:username] = ENV['AR_USERNAME'] if ENV['AR_USERNAME']
|
68
|
+
db_config[:password] = ENV['AR_PASSWORD'] if ENV['AR_PASSWORD']
|
69
|
+
ActiveRecord::Base.establish_connection(db_config)
|
70
|
+
|
71
|
+
# For debugging
|
72
|
+
ActiveRecord::Base.logger = Logger.new(STDOUT)
|
73
|
+
ActiveRecord::Base.logger.level =
|
74
|
+
if level = ENV['LOG_LEVEL']
|
75
|
+
level.to_i.to_s == level ? level.to_i : Logger.const_get(level.upcase)
|
76
|
+
else
|
77
|
+
Logger::INFO
|
78
|
+
end
|
79
|
+
# Create the schema
|
80
|
+
require File.expand_path(File.dirname(__FILE__) + '/killbill/helpers/test_schema.rb')
|
81
|
+
|
82
|
+
# Required to have MySQL store milliseconds
|
83
|
+
Time::DATE_FORMATS.merge!({ db: '%Y-%m-%d %H:%M:%S.%3N' })
|
84
|
+
end
|
85
|
+
end
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
32
89
|
RSpec.configure do |config|
|
33
90
|
config.color_enabled = true
|
34
91
|
config.tty = true
|
35
92
|
config.formatter = 'documentation'
|
93
|
+
config.include Killbill::Plugin::SpecHelper
|
94
|
+
config.before :each do
|
95
|
+
reinitialize_active_record
|
96
|
+
end
|
36
97
|
end
|
37
98
|
|
38
|
-
require 'active_record'
|
39
|
-
ActiveRecord::Base.establish_connection(
|
40
|
-
:adapter => 'sqlite3',
|
41
|
-
:database => 'test.db'
|
42
|
-
)
|
43
|
-
# For debugging
|
44
|
-
#ActiveRecord::Base.logger = Logger.new(STDOUT)
|
45
|
-
# Create the schema
|
46
|
-
require File.expand_path(File.dirname(__FILE__) + '/killbill/helpers/test_schema.rb')
|
47
|
-
|
48
99
|
begin
|
49
100
|
require 'securerandom'
|
50
101
|
SecureRandom.uuid
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: killbill
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 4.0.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: 2015-
|
11
|
+
date: 2015-05-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sinatra
|
@@ -24,6 +24,20 @@ dependencies:
|
|
24
24
|
version: 1.3.4
|
25
25
|
prerelease: false
|
26
26
|
type: :runtime
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rack
|
29
|
+
version_requirements: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 1.5.2
|
34
|
+
requirement: !ruby/object:Gem::Requirement
|
35
|
+
requirements:
|
36
|
+
- - '>='
|
37
|
+
- !ruby/object:Gem::Version
|
38
|
+
version: 1.5.2
|
39
|
+
prerelease: false
|
40
|
+
type: :runtime
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
42
|
name: typhoeus
|
29
43
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -44,14 +58,28 @@ dependencies:
|
|
44
58
|
requirements:
|
45
59
|
- - ~>
|
46
60
|
- !ruby/object:Gem::Version
|
47
|
-
version: 1.
|
61
|
+
version: 1.2.0
|
48
62
|
requirement: !ruby/object:Gem::Requirement
|
49
63
|
requirements:
|
50
64
|
- - ~>
|
51
65
|
- !ruby/object:Gem::Version
|
52
|
-
version: 1.
|
66
|
+
version: 1.2.0
|
53
67
|
prerelease: false
|
54
68
|
type: :runtime
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: thread_safe
|
71
|
+
version_requirements: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ~>
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 0.3.4
|
76
|
+
requirement: !ruby/object:Gem::Requirement
|
77
|
+
requirements:
|
78
|
+
- - ~>
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: 0.3.4
|
81
|
+
prerelease: false
|
82
|
+
type: :development
|
55
83
|
- !ruby/object:Gem::Dependency
|
56
84
|
name: activerecord
|
57
85
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -67,45 +95,45 @@ dependencies:
|
|
67
95
|
prerelease: false
|
68
96
|
type: :development
|
69
97
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
98
|
+
name: activerecord-bogacs
|
71
99
|
version_requirements: !ruby/object:Gem::Requirement
|
72
100
|
requirements:
|
73
101
|
- - ~>
|
74
102
|
- !ruby/object:Gem::Version
|
75
|
-
version: 0.3
|
103
|
+
version: '0.3'
|
76
104
|
requirement: !ruby/object:Gem::Requirement
|
77
105
|
requirements:
|
78
106
|
- - ~>
|
79
107
|
- !ruby/object:Gem::Version
|
80
|
-
version: 0.3
|
108
|
+
version: '0.3'
|
81
109
|
prerelease: false
|
82
110
|
type: :development
|
83
111
|
- !ruby/object:Gem::Dependency
|
84
|
-
name: activerecord-
|
112
|
+
name: activerecord-jdbc-adapter
|
85
113
|
version_requirements: !ruby/object:Gem::Requirement
|
86
114
|
requirements:
|
87
115
|
- - ~>
|
88
116
|
- !ruby/object:Gem::Version
|
89
|
-
version: 1.3
|
117
|
+
version: '1.3'
|
90
118
|
requirement: !ruby/object:Gem::Requirement
|
91
119
|
requirements:
|
92
120
|
- - ~>
|
93
121
|
- !ruby/object:Gem::Version
|
94
|
-
version: 1.3
|
122
|
+
version: '1.3'
|
95
123
|
prerelease: false
|
96
124
|
type: :development
|
97
125
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
126
|
+
name: jdbc-mariadb
|
99
127
|
version_requirements: !ruby/object:Gem::Requirement
|
100
128
|
requirements:
|
101
129
|
- - ~>
|
102
130
|
- !ruby/object:Gem::Version
|
103
|
-
version: 1.
|
131
|
+
version: 1.1.8
|
104
132
|
requirement: !ruby/object:Gem::Requirement
|
105
133
|
requirements:
|
106
134
|
- - ~>
|
107
135
|
- !ruby/object:Gem::Version
|
108
|
-
version: 1.
|
136
|
+
version: 1.1.8
|
109
137
|
prerelease: false
|
110
138
|
type: :development
|
111
139
|
- !ruby/object:Gem::Dependency
|
@@ -142,12 +170,12 @@ dependencies:
|
|
142
170
|
requirements:
|
143
171
|
- - ~>
|
144
172
|
- !ruby/object:Gem::Version
|
145
|
-
version: 1.
|
173
|
+
version: 1.48.0
|
146
174
|
requirement: !ruby/object:Gem::Requirement
|
147
175
|
requirements:
|
148
176
|
- - ~>
|
149
177
|
- !ruby/object:Gem::Version
|
150
|
-
version: 1.
|
178
|
+
version: 1.48.0
|
151
179
|
prerelease: false
|
152
180
|
type: :development
|
153
181
|
- !ruby/object:Gem::Dependency
|
@@ -156,12 +184,12 @@ dependencies:
|
|
156
184
|
requirements:
|
157
185
|
- - ~>
|
158
186
|
- !ruby/object:Gem::Version
|
159
|
-
version: 2.0
|
187
|
+
version: 2.1.0
|
160
188
|
requirement: !ruby/object:Gem::Requirement
|
161
189
|
requirements:
|
162
190
|
- - ~>
|
163
191
|
- !ruby/object:Gem::Version
|
164
|
-
version: 2.0
|
192
|
+
version: 2.1.0
|
165
193
|
prerelease: false
|
166
194
|
type: :development
|
167
195
|
- !ruby/object:Gem::Dependency
|
@@ -170,12 +198,12 @@ dependencies:
|
|
170
198
|
requirements:
|
171
199
|
- - ~>
|
172
200
|
- !ruby/object:Gem::Version
|
173
|
-
version:
|
201
|
+
version: 1.1.0
|
174
202
|
requirement: !ruby/object:Gem::Requirement
|
175
203
|
requirements:
|
176
204
|
- - ~>
|
177
205
|
- !ruby/object:Gem::Version
|
178
|
-
version:
|
206
|
+
version: 1.1.0
|
179
207
|
prerelease: false
|
180
208
|
type: :development
|
181
209
|
- !ruby/object:Gem::Dependency
|
@@ -184,12 +212,12 @@ dependencies:
|
|
184
212
|
requirements:
|
185
213
|
- - ~>
|
186
214
|
- !ruby/object:Gem::Version
|
187
|
-
version: 6.
|
215
|
+
version: 6.5.1
|
188
216
|
requirement: !ruby/object:Gem::Requirement
|
189
217
|
requirements:
|
190
218
|
- - ~>
|
191
219
|
- !ruby/object:Gem::Version
|
192
|
-
version: 6.
|
220
|
+
version: 6.5.1
|
193
221
|
prerelease: false
|
194
222
|
type: :development
|
195
223
|
- !ruby/object:Gem::Dependency
|
@@ -207,59 +235,59 @@ dependencies:
|
|
207
235
|
prerelease: false
|
208
236
|
type: :development
|
209
237
|
- !ruby/object:Gem::Dependency
|
210
|
-
name:
|
238
|
+
name: rake
|
211
239
|
version_requirements: !ruby/object:Gem::Requirement
|
212
240
|
requirements:
|
213
241
|
- - '>='
|
214
242
|
- !ruby/object:Gem::Version
|
215
|
-
version:
|
243
|
+
version: 10.0.0
|
216
244
|
requirement: !ruby/object:Gem::Requirement
|
217
245
|
requirements:
|
218
246
|
- - '>='
|
219
247
|
- !ruby/object:Gem::Version
|
220
|
-
version:
|
248
|
+
version: 10.0.0
|
221
249
|
prerelease: false
|
222
250
|
type: :development
|
223
251
|
- !ruby/object:Gem::Dependency
|
224
|
-
name:
|
252
|
+
name: rspec
|
225
253
|
version_requirements: !ruby/object:Gem::Requirement
|
226
254
|
requirements:
|
227
|
-
- -
|
255
|
+
- - ~>
|
228
256
|
- !ruby/object:Gem::Version
|
229
|
-
version:
|
257
|
+
version: 2.12.0
|
230
258
|
requirement: !ruby/object:Gem::Requirement
|
231
259
|
requirements:
|
232
|
-
- -
|
260
|
+
- - ~>
|
233
261
|
- !ruby/object:Gem::Version
|
234
|
-
version:
|
262
|
+
version: 2.12.0
|
235
263
|
prerelease: false
|
236
264
|
type: :development
|
237
265
|
- !ruby/object:Gem::Dependency
|
238
|
-
name:
|
266
|
+
name: thor
|
239
267
|
version_requirements: !ruby/object:Gem::Requirement
|
240
268
|
requirements:
|
241
269
|
- - ~>
|
242
270
|
- !ruby/object:Gem::Version
|
243
|
-
version:
|
271
|
+
version: 0.19.1
|
244
272
|
requirement: !ruby/object:Gem::Requirement
|
245
273
|
requirements:
|
246
274
|
- - ~>
|
247
275
|
- !ruby/object:Gem::Version
|
248
|
-
version:
|
276
|
+
version: 0.19.1
|
249
277
|
prerelease: false
|
250
278
|
type: :development
|
251
279
|
- !ruby/object:Gem::Dependency
|
252
|
-
name:
|
280
|
+
name: jdbc-sqlite3
|
253
281
|
version_requirements: !ruby/object:Gem::Requirement
|
254
282
|
requirements:
|
255
283
|
- - ~>
|
256
284
|
- !ruby/object:Gem::Version
|
257
|
-
version:
|
285
|
+
version: '3.7'
|
258
286
|
requirement: !ruby/object:Gem::Requirement
|
259
287
|
requirements:
|
260
288
|
- - ~>
|
261
289
|
- !ruby/object:Gem::Version
|
262
|
-
version:
|
290
|
+
version: '3.7'
|
263
291
|
prerelease: false
|
264
292
|
type: :development
|
265
293
|
description: Base classes to write plugins.
|
@@ -271,7 +299,10 @@ files:
|
|
271
299
|
- .gitignore
|
272
300
|
- .travis.yml
|
273
301
|
- Gemfile
|
302
|
+
- Gemfile.head
|
303
|
+
- Gemfile.lock
|
274
304
|
- Jarfile
|
305
|
+
- Jarfile.lock
|
275
306
|
- NEWS
|
276
307
|
- README.md
|
277
308
|
- Rakefile
|
@@ -281,6 +312,7 @@ files:
|
|
281
312
|
- generators/active_merchant/active_merchant_generator.rb
|
282
313
|
- generators/active_merchant/templates/.gitignore.rb
|
283
314
|
- generators/active_merchant/templates/.travis.yml.rb
|
315
|
+
- generators/active_merchant/templates/Gemfile.head.rb
|
284
316
|
- generators/active_merchant/templates/Gemfile.rb
|
285
317
|
- generators/active_merchant/templates/Jarfile.rb
|
286
318
|
- generators/active_merchant/templates/LICENSE.rb
|
@@ -311,8 +343,6 @@ files:
|
|
311
343
|
- lib/killbill.rb
|
312
344
|
- lib/killbill/creator.rb
|
313
345
|
- lib/killbill/currency.rb
|
314
|
-
- lib/killbill/ext/active_merchant/jdbc_connection.rb
|
315
|
-
- lib/killbill/ext/active_merchant/proxy_support.rb
|
316
346
|
- lib/killbill/ext/active_merchant/typhoeus_connection.rb
|
317
347
|
- lib/killbill/gen/api/account.rb
|
318
348
|
- lib/killbill/gen/api/account_api_exception.rb
|
@@ -382,6 +412,8 @@ files:
|
|
382
412
|
- lib/killbill/gen/api/plan.rb
|
383
413
|
- lib/killbill/gen/api/plan_change_result.rb
|
384
414
|
- lib/killbill/gen/api/plan_phase.rb
|
415
|
+
- lib/killbill/gen/api/plan_phase_price_override.rb
|
416
|
+
- lib/killbill/gen/api/plan_phase_price_overrides_with_call_context.rb
|
385
417
|
- lib/killbill/gen/api/plan_phase_specifier.rb
|
386
418
|
- lib/killbill/gen/api/plan_specifier.rb
|
387
419
|
- lib/killbill/gen/api/plugin_config_service_api.rb
|
@@ -437,6 +469,7 @@ files:
|
|
437
469
|
- lib/killbill/gen/plugin-api/require_gen.rb
|
438
470
|
- lib/killbill/helpers/active_merchant.rb
|
439
471
|
- lib/killbill/helpers/active_merchant/active_record.rb
|
472
|
+
- lib/killbill/helpers/active_merchant/active_record/active_record_helper.rb
|
440
473
|
- lib/killbill/helpers/active_merchant/active_record/models/helpers.rb
|
441
474
|
- lib/killbill/helpers/active_merchant/active_record/models/payment_method.rb
|
442
475
|
- lib/killbill/helpers/active_merchant/active_record/models/response.rb
|
@@ -451,6 +484,7 @@ files:
|
|
451
484
|
- lib/killbill/helpers/active_merchant/properties.rb
|
452
485
|
- lib/killbill/helpers/active_merchant/sinatra.rb
|
453
486
|
- lib/killbill/helpers/active_merchant/utils.rb
|
487
|
+
- lib/killbill/helpers/properties_helper.rb
|
454
488
|
- lib/killbill/http_servlet.rb
|
455
489
|
- lib/killbill/invoice.rb
|
456
490
|
- lib/killbill/jplugin.rb
|
@@ -466,14 +500,16 @@ files:
|
|
466
500
|
- spec/killbill/gen_conversions_spec.rb
|
467
501
|
- spec/killbill/helpers/configuration_spec.rb
|
468
502
|
- spec/killbill/helpers/connection_spec.rb
|
469
|
-
- spec/killbill/helpers/gateway_spec.rb
|
470
503
|
- spec/killbill/helpers/killbill_spec_helper_spec.rb
|
471
504
|
- spec/killbill/helpers/payment_method_spec.rb
|
472
505
|
- spec/killbill/helpers/payment_plugin_spec.rb
|
473
506
|
- spec/killbill/helpers/private_payment_plugin_spec.rb
|
474
507
|
- spec/killbill/helpers/response_spec.rb
|
475
508
|
- spec/killbill/helpers/streamy_result_set_spec.rb
|
509
|
+
- spec/killbill/helpers/test_payment_method.rb
|
510
|
+
- spec/killbill/helpers/test_response.rb
|
476
511
|
- spec/killbill/helpers/test_schema.rb
|
512
|
+
- spec/killbill/helpers/test_transaction.rb
|
477
513
|
- spec/killbill/helpers/transaction_spec.rb
|
478
514
|
- spec/killbill/helpers/utils_spec.rb
|
479
515
|
- spec/killbill/invoice_plugin_api_spec.rb
|
@@ -491,7 +527,7 @@ files:
|
|
491
527
|
- spec/killbill/rack_handler_spec.rb
|
492
528
|
- spec/killbill/remote/active_merchant_typhoeus_connection_spec.rb
|
493
529
|
- spec/spec_helper.rb
|
494
|
-
homepage: http://
|
530
|
+
homepage: http://killbill.io
|
495
531
|
licenses:
|
496
532
|
- Apache License (2.0)
|
497
533
|
metadata: {}
|
@@ -515,38 +551,8 @@ requirements:
|
|
515
551
|
- jar 'org.kill-bill.billing:killbill-api'
|
516
552
|
- jar 'org.kill-bill.billing:killbill-util:tests'
|
517
553
|
rubyforge_project:
|
518
|
-
rubygems_version: 2.
|
554
|
+
rubygems_version: 2.1.9
|
519
555
|
signing_key:
|
520
556
|
specification_version: 4
|
521
557
|
summary: Framework to write Kill Bill plugins in Ruby.
|
522
|
-
test_files:
|
523
|
-
- spec/killbill/base_plugin_spec.rb
|
524
|
-
- spec/killbill/config_test.ru
|
525
|
-
- spec/killbill/gen_conversions_spec.rb
|
526
|
-
- spec/killbill/helpers/configuration_spec.rb
|
527
|
-
- spec/killbill/helpers/connection_spec.rb
|
528
|
-
- spec/killbill/helpers/gateway_spec.rb
|
529
|
-
- spec/killbill/helpers/killbill_spec_helper_spec.rb
|
530
|
-
- spec/killbill/helpers/payment_method_spec.rb
|
531
|
-
- spec/killbill/helpers/payment_plugin_spec.rb
|
532
|
-
- spec/killbill/helpers/private_payment_plugin_spec.rb
|
533
|
-
- spec/killbill/helpers/response_spec.rb
|
534
|
-
- spec/killbill/helpers/streamy_result_set_spec.rb
|
535
|
-
- spec/killbill/helpers/test_schema.rb
|
536
|
-
- spec/killbill/helpers/transaction_spec.rb
|
537
|
-
- spec/killbill/helpers/utils_spec.rb
|
538
|
-
- spec/killbill/invoice_plugin_api_spec.rb
|
539
|
-
- spec/killbill/invoice_plugin_spec.rb
|
540
|
-
- spec/killbill/invoice_test.rb
|
541
|
-
- spec/killbill/killbill_integration_spec.rb
|
542
|
-
- spec/killbill/killbill_logger_spec.rb
|
543
|
-
- spec/killbill/killbillapi_spec.rb
|
544
|
-
- spec/killbill/notification_plugin_api_spec.rb
|
545
|
-
- spec/killbill/notification_plugin_spec.rb
|
546
|
-
- spec/killbill/notification_test.rb
|
547
|
-
- spec/killbill/payment_plugin_api_spec.rb
|
548
|
-
- spec/killbill/payment_plugin_spec.rb
|
549
|
-
- spec/killbill/payment_test.rb
|
550
|
-
- spec/killbill/rack_handler_spec.rb
|
551
|
-
- spec/killbill/remote/active_merchant_typhoeus_connection_spec.rb
|
552
|
-
- spec/spec_helper.rb
|
558
|
+
test_files: []
|