killbill 6.1.0 → 6.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -14
- data/lib/killbill/creator.rb +8 -4
- data/lib/killbill/plugin.rb +1 -0
- data/lib/killbill/version.rb +1 -1
- metadata +111 -153
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4678fe1b69bb7bbd2bf61070becc7444c9e9edd0
|
4
|
+
data.tar.gz: 65ae696647dc72d836334e8f552ac02638675917
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 39be87afca60a286551cfcf4c98e1139636e2adbb882516138b11132ca7172bcffbc48b15fb36eeffe90c6dd3825f59ea0f531af296568be051c81d4e22f76c4
|
7
|
+
data.tar.gz: 28fc3cf25a2782b948cf3c64a761247aa4d8a0de437e2ff859bdabe258aac1b293729b4f6b3941159f8228e2fe8092d187c4a7c2555df6b611cedf32e455d82f
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
killbill (6.
|
4
|
+
killbill (6.2.0)
|
5
5
|
rack (>= 1.5.2)
|
6
6
|
sinatra (~> 1.3.4)
|
7
7
|
typhoeus (~> 0.6.9)
|
@@ -34,9 +34,6 @@ GEM
|
|
34
34
|
activemodel (= 4.1.10)
|
35
35
|
activesupport (= 4.1.10)
|
36
36
|
arel (~> 5.0.0)
|
37
|
-
activerecord-bogacs (0.4.0)
|
38
|
-
activerecord-jdbc-adapter (1.3.18)
|
39
|
-
activerecord (>= 2.2)
|
40
37
|
activesupport (4.1.10)
|
41
38
|
i18n (~> 0.6, >= 0.6.9)
|
42
39
|
json (~> 1.7, >= 1.7.7)
|
@@ -50,13 +47,10 @@ GEM
|
|
50
47
|
ethon (0.8.0)
|
51
48
|
ffi (>= 1.3.0)
|
52
49
|
ffi (1.9.10)
|
53
|
-
ffi (1.9.10-java)
|
54
50
|
i18n (0.7.0)
|
55
51
|
jbundler (0.4.3)
|
56
52
|
maven-tools (~> 0.32.1)
|
57
53
|
ruby-maven (~> 3.0.4)
|
58
|
-
jdbc-mariadb (1.1.9)
|
59
|
-
jdbc-sqlite3 (3.8.10.1)
|
60
54
|
json (1.8.2)
|
61
55
|
json (1.8.2-java)
|
62
56
|
maven-tools (0.32.5)
|
@@ -98,6 +92,7 @@ GEM
|
|
98
92
|
rack (~> 1.4)
|
99
93
|
rack-protection (~> 1.3)
|
100
94
|
tilt (~> 1.3, >= 1.3.3)
|
95
|
+
sqlite3 (1.3.11)
|
101
96
|
thor (0.19.1)
|
102
97
|
thread_safe (0.3.5)
|
103
98
|
thread_safe (0.3.5-java)
|
@@ -116,19 +111,13 @@ DEPENDENCIES
|
|
116
111
|
actionview (~> 4.1.0)
|
117
112
|
activemerchant (~> 1.48.0)
|
118
113
|
activerecord (~> 4.1.0)
|
119
|
-
activerecord-bogacs (~> 0.3)
|
120
|
-
activerecord-jdbc-adapter (~> 1.3)
|
121
114
|
jbundler (~> 0.4.3)
|
122
|
-
jdbc-mariadb (~> 1.1.8)
|
123
|
-
jdbc-sqlite3 (~> 3.7)
|
124
115
|
killbill!
|
125
116
|
monetize (~> 1.1.0)
|
126
117
|
money (~> 6.5.1)
|
127
118
|
offsite_payments (~> 2.1.0)
|
128
119
|
rake (>= 10.0.0)
|
129
120
|
rspec (~> 2.12.0)
|
121
|
+
sqlite3 (~> 1.3.7)
|
130
122
|
thor (~> 0.19.1)
|
131
123
|
thread_safe (~> 0.3.4)
|
132
|
-
|
133
|
-
BUNDLED WITH
|
134
|
-
1.10.6
|
data/lib/killbill/creator.rb
CHANGED
@@ -19,13 +19,17 @@ module Killbill
|
|
19
19
|
real_class = @target_class_name.to_class
|
20
20
|
|
21
21
|
plugin_delegate = real_class.new
|
22
|
-
plugin_delegate.root = services
|
22
|
+
plugin_delegate.root = services["root"]
|
23
|
+
plugin_delegate.logger = services["logger"]
|
24
|
+
plugin_delegate.conf_dir = services["conf_dir"]
|
25
|
+
plugin_delegate.clock = services["clock"]
|
26
|
+
|
23
27
|
plugin_delegate.plugin_name = extract_plugin_name(plugin_delegate.root)
|
24
|
-
|
25
|
-
plugin_delegate.conf_dir = services.delete("conf_dir")
|
28
|
+
|
26
29
|
# At this point we removed everything from the map which is not API, so we can build the APIs
|
27
|
-
kb_apis = KillbillApi.new(@target_class_name, services)
|
30
|
+
kb_apis = KillbillApi.new(@target_class_name, services["kb_apis"])
|
28
31
|
plugin_delegate.kb_apis = kb_apis
|
32
|
+
|
29
33
|
plugin_delegate
|
30
34
|
end
|
31
35
|
|
data/lib/killbill/plugin.rb
CHANGED
data/lib/killbill/version.rb
CHANGED
metadata
CHANGED
@@ -1,303 +1,261 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: killbill
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.
|
4
|
+
version: 6.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kill Bill core team
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-12-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sinatra
|
15
|
-
version_requirements: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - ~>
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: 1.3.4
|
20
15
|
requirement: !ruby/object:Gem::Requirement
|
21
16
|
requirements:
|
22
|
-
- - ~>
|
17
|
+
- - "~>"
|
23
18
|
- !ruby/object:Gem::Version
|
24
19
|
version: 1.3.4
|
25
|
-
prerelease: false
|
26
20
|
type: :runtime
|
27
|
-
|
28
|
-
name: rack
|
21
|
+
prerelease: false
|
29
22
|
version_requirements: !ruby/object:Gem::Requirement
|
30
23
|
requirements:
|
31
|
-
- -
|
24
|
+
- - "~>"
|
32
25
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.
|
26
|
+
version: 1.3.4
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rack
|
34
29
|
requirement: !ruby/object:Gem::Requirement
|
35
30
|
requirements:
|
36
|
-
- -
|
31
|
+
- - ">="
|
37
32
|
- !ruby/object:Gem::Version
|
38
33
|
version: 1.5.2
|
39
|
-
prerelease: false
|
40
34
|
type: :runtime
|
41
|
-
|
42
|
-
name: typhoeus
|
35
|
+
prerelease: false
|
43
36
|
version_requirements: !ruby/object:Gem::Requirement
|
44
37
|
requirements:
|
45
|
-
- -
|
38
|
+
- - ">="
|
46
39
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
40
|
+
version: 1.5.2
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: typhoeus
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
44
|
requirements:
|
50
|
-
- - ~>
|
45
|
+
- - "~>"
|
51
46
|
- !ruby/object:Gem::Version
|
52
47
|
version: 0.6.9
|
53
|
-
prerelease: false
|
54
48
|
type: :runtime
|
55
|
-
|
56
|
-
name: tzinfo
|
49
|
+
prerelease: false
|
57
50
|
version_requirements: !ruby/object:Gem::Requirement
|
58
51
|
requirements:
|
59
|
-
- - ~>
|
52
|
+
- - "~>"
|
60
53
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
54
|
+
version: 0.6.9
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: tzinfo
|
62
57
|
requirement: !ruby/object:Gem::Requirement
|
63
58
|
requirements:
|
64
|
-
- - ~>
|
59
|
+
- - "~>"
|
65
60
|
- !ruby/object:Gem::Version
|
66
61
|
version: 1.2.0
|
67
|
-
prerelease: false
|
68
62
|
type: :runtime
|
69
|
-
|
70
|
-
name: thread_safe
|
63
|
+
prerelease: false
|
71
64
|
version_requirements: !ruby/object:Gem::Requirement
|
72
65
|
requirements:
|
73
|
-
- - ~>
|
66
|
+
- - "~>"
|
74
67
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
68
|
+
version: 1.2.0
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: thread_safe
|
76
71
|
requirement: !ruby/object:Gem::Requirement
|
77
72
|
requirements:
|
78
|
-
- - ~>
|
73
|
+
- - "~>"
|
79
74
|
- !ruby/object:Gem::Version
|
80
75
|
version: 0.3.4
|
81
|
-
prerelease: false
|
82
76
|
type: :development
|
83
|
-
|
84
|
-
name: activerecord
|
77
|
+
prerelease: false
|
85
78
|
version_requirements: !ruby/object:Gem::Requirement
|
86
79
|
requirements:
|
87
|
-
- - ~>
|
80
|
+
- - "~>"
|
88
81
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
82
|
+
version: 0.3.4
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: activerecord
|
90
85
|
requirement: !ruby/object:Gem::Requirement
|
91
86
|
requirements:
|
92
|
-
- - ~>
|
87
|
+
- - "~>"
|
93
88
|
- !ruby/object:Gem::Version
|
94
89
|
version: 4.1.0
|
95
|
-
prerelease: false
|
96
90
|
type: :development
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: activerecord-bogacs
|
99
|
-
version_requirements: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - ~>
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: '0.3'
|
104
|
-
requirement: !ruby/object:Gem::Requirement
|
105
|
-
requirements:
|
106
|
-
- - ~>
|
107
|
-
- !ruby/object:Gem::Version
|
108
|
-
version: '0.3'
|
109
91
|
prerelease: false
|
110
|
-
type: :development
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
|
-
name: activerecord-jdbc-adapter
|
113
92
|
version_requirements: !ruby/object:Gem::Requirement
|
114
93
|
requirements:
|
115
|
-
- - ~>
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: '1.3'
|
118
|
-
requirement: !ruby/object:Gem::Requirement
|
119
|
-
requirements:
|
120
|
-
- - ~>
|
94
|
+
- - "~>"
|
121
95
|
- !ruby/object:Gem::Version
|
122
|
-
version:
|
123
|
-
prerelease: false
|
124
|
-
type: :development
|
96
|
+
version: 4.1.0
|
125
97
|
- !ruby/object:Gem::Dependency
|
126
|
-
name:
|
127
|
-
version_requirements: !ruby/object:Gem::Requirement
|
128
|
-
requirements:
|
129
|
-
- - ~>
|
130
|
-
- !ruby/object:Gem::Version
|
131
|
-
version: 1.1.8
|
98
|
+
name: actionpack
|
132
99
|
requirement: !ruby/object:Gem::Requirement
|
133
100
|
requirements:
|
134
|
-
- - ~>
|
101
|
+
- - "~>"
|
135
102
|
- !ruby/object:Gem::Version
|
136
|
-
version:
|
137
|
-
prerelease: false
|
103
|
+
version: 4.1.0
|
138
104
|
type: :development
|
139
|
-
|
140
|
-
name: actionpack
|
105
|
+
prerelease: false
|
141
106
|
version_requirements: !ruby/object:Gem::Requirement
|
142
107
|
requirements:
|
143
|
-
- - ~>
|
108
|
+
- - "~>"
|
144
109
|
- !ruby/object:Gem::Version
|
145
110
|
version: 4.1.0
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: actionview
|
146
113
|
requirement: !ruby/object:Gem::Requirement
|
147
114
|
requirements:
|
148
|
-
- - ~>
|
115
|
+
- - "~>"
|
149
116
|
- !ruby/object:Gem::Version
|
150
117
|
version: 4.1.0
|
151
|
-
prerelease: false
|
152
118
|
type: :development
|
153
|
-
|
154
|
-
name: actionview
|
119
|
+
prerelease: false
|
155
120
|
version_requirements: !ruby/object:Gem::Requirement
|
156
121
|
requirements:
|
157
|
-
- - ~>
|
122
|
+
- - "~>"
|
158
123
|
- !ruby/object:Gem::Version
|
159
124
|
version: 4.1.0
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: activemerchant
|
160
127
|
requirement: !ruby/object:Gem::Requirement
|
161
128
|
requirements:
|
162
|
-
- - ~>
|
129
|
+
- - "~>"
|
163
130
|
- !ruby/object:Gem::Version
|
164
|
-
version:
|
165
|
-
prerelease: false
|
131
|
+
version: 1.48.0
|
166
132
|
type: :development
|
167
|
-
|
168
|
-
name: activemerchant
|
133
|
+
prerelease: false
|
169
134
|
version_requirements: !ruby/object:Gem::Requirement
|
170
135
|
requirements:
|
171
|
-
- - ~>
|
136
|
+
- - "~>"
|
172
137
|
- !ruby/object:Gem::Version
|
173
138
|
version: 1.48.0
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: offsite_payments
|
174
141
|
requirement: !ruby/object:Gem::Requirement
|
175
142
|
requirements:
|
176
|
-
- - ~>
|
143
|
+
- - "~>"
|
177
144
|
- !ruby/object:Gem::Version
|
178
|
-
version: 1.
|
179
|
-
prerelease: false
|
145
|
+
version: 2.1.0
|
180
146
|
type: :development
|
181
|
-
|
182
|
-
name: offsite_payments
|
147
|
+
prerelease: false
|
183
148
|
version_requirements: !ruby/object:Gem::Requirement
|
184
149
|
requirements:
|
185
|
-
- - ~>
|
150
|
+
- - "~>"
|
186
151
|
- !ruby/object:Gem::Version
|
187
152
|
version: 2.1.0
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: monetize
|
188
155
|
requirement: !ruby/object:Gem::Requirement
|
189
156
|
requirements:
|
190
|
-
- - ~>
|
157
|
+
- - "~>"
|
191
158
|
- !ruby/object:Gem::Version
|
192
|
-
version:
|
193
|
-
prerelease: false
|
159
|
+
version: 1.1.0
|
194
160
|
type: :development
|
195
|
-
|
196
|
-
name: monetize
|
161
|
+
prerelease: false
|
197
162
|
version_requirements: !ruby/object:Gem::Requirement
|
198
163
|
requirements:
|
199
|
-
- - ~>
|
164
|
+
- - "~>"
|
200
165
|
- !ruby/object:Gem::Version
|
201
166
|
version: 1.1.0
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: money
|
202
169
|
requirement: !ruby/object:Gem::Requirement
|
203
170
|
requirements:
|
204
|
-
- - ~>
|
171
|
+
- - "~>"
|
205
172
|
- !ruby/object:Gem::Version
|
206
|
-
version:
|
207
|
-
prerelease: false
|
173
|
+
version: 6.5.1
|
208
174
|
type: :development
|
209
|
-
|
210
|
-
name: money
|
175
|
+
prerelease: false
|
211
176
|
version_requirements: !ruby/object:Gem::Requirement
|
212
177
|
requirements:
|
213
|
-
- - ~>
|
178
|
+
- - "~>"
|
214
179
|
- !ruby/object:Gem::Version
|
215
180
|
version: 6.5.1
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: jbundler
|
216
183
|
requirement: !ruby/object:Gem::Requirement
|
217
184
|
requirements:
|
218
|
-
- - ~>
|
185
|
+
- - "~>"
|
219
186
|
- !ruby/object:Gem::Version
|
220
|
-
version:
|
221
|
-
prerelease: false
|
187
|
+
version: 0.4.3
|
222
188
|
type: :development
|
223
|
-
|
224
|
-
name: jbundler
|
189
|
+
prerelease: false
|
225
190
|
version_requirements: !ruby/object:Gem::Requirement
|
226
191
|
requirements:
|
227
|
-
- - ~>
|
192
|
+
- - "~>"
|
228
193
|
- !ruby/object:Gem::Version
|
229
194
|
version: 0.4.3
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: rake
|
230
197
|
requirement: !ruby/object:Gem::Requirement
|
231
198
|
requirements:
|
232
|
-
- -
|
199
|
+
- - ">="
|
233
200
|
- !ruby/object:Gem::Version
|
234
|
-
version: 0.
|
235
|
-
prerelease: false
|
201
|
+
version: 10.0.0
|
236
202
|
type: :development
|
237
|
-
|
238
|
-
name: rake
|
203
|
+
prerelease: false
|
239
204
|
version_requirements: !ruby/object:Gem::Requirement
|
240
205
|
requirements:
|
241
|
-
- -
|
206
|
+
- - ">="
|
242
207
|
- !ruby/object:Gem::Version
|
243
208
|
version: 10.0.0
|
209
|
+
- !ruby/object:Gem::Dependency
|
210
|
+
name: rspec
|
244
211
|
requirement: !ruby/object:Gem::Requirement
|
245
212
|
requirements:
|
246
|
-
- -
|
213
|
+
- - "~>"
|
247
214
|
- !ruby/object:Gem::Version
|
248
|
-
version:
|
249
|
-
prerelease: false
|
215
|
+
version: 2.12.0
|
250
216
|
type: :development
|
251
|
-
|
252
|
-
name: rspec
|
217
|
+
prerelease: false
|
253
218
|
version_requirements: !ruby/object:Gem::Requirement
|
254
219
|
requirements:
|
255
|
-
- - ~>
|
220
|
+
- - "~>"
|
256
221
|
- !ruby/object:Gem::Version
|
257
222
|
version: 2.12.0
|
223
|
+
- !ruby/object:Gem::Dependency
|
224
|
+
name: thor
|
258
225
|
requirement: !ruby/object:Gem::Requirement
|
259
226
|
requirements:
|
260
|
-
- - ~>
|
227
|
+
- - "~>"
|
261
228
|
- !ruby/object:Gem::Version
|
262
|
-
version:
|
263
|
-
prerelease: false
|
229
|
+
version: 0.19.1
|
264
230
|
type: :development
|
265
|
-
|
266
|
-
name: thor
|
231
|
+
prerelease: false
|
267
232
|
version_requirements: !ruby/object:Gem::Requirement
|
268
233
|
requirements:
|
269
|
-
- - ~>
|
234
|
+
- - "~>"
|
270
235
|
- !ruby/object:Gem::Version
|
271
236
|
version: 0.19.1
|
237
|
+
- !ruby/object:Gem::Dependency
|
238
|
+
name: sqlite3
|
272
239
|
requirement: !ruby/object:Gem::Requirement
|
273
240
|
requirements:
|
274
|
-
- - ~>
|
241
|
+
- - "~>"
|
275
242
|
- !ruby/object:Gem::Version
|
276
|
-
version:
|
277
|
-
prerelease: false
|
243
|
+
version: 1.3.7
|
278
244
|
type: :development
|
279
|
-
|
280
|
-
name: jdbc-sqlite3
|
245
|
+
prerelease: false
|
281
246
|
version_requirements: !ruby/object:Gem::Requirement
|
282
247
|
requirements:
|
283
|
-
- - ~>
|
248
|
+
- - "~>"
|
284
249
|
- !ruby/object:Gem::Version
|
285
|
-
version:
|
286
|
-
requirement: !ruby/object:Gem::Requirement
|
287
|
-
requirements:
|
288
|
-
- - ~>
|
289
|
-
- !ruby/object:Gem::Version
|
290
|
-
version: '3.7'
|
291
|
-
prerelease: false
|
292
|
-
type: :development
|
250
|
+
version: 1.3.7
|
293
251
|
description: Base classes to write plugins.
|
294
252
|
email: killbilling-users@googlegroups.com
|
295
253
|
executables: []
|
296
254
|
extensions: []
|
297
255
|
extra_rdoc_files: []
|
298
256
|
files:
|
299
|
-
- .gitignore
|
300
|
-
- .travis.yml
|
257
|
+
- ".gitignore"
|
258
|
+
- ".travis.yml"
|
301
259
|
- Gemfile
|
302
260
|
- Gemfile.head
|
303
261
|
- Gemfile.lock
|
@@ -575,28 +533,28 @@ homepage: http://killbill.io
|
|
575
533
|
licenses:
|
576
534
|
- Apache License (2.0)
|
577
535
|
metadata: {}
|
578
|
-
post_install_message:
|
536
|
+
post_install_message:
|
579
537
|
rdoc_options:
|
580
|
-
- --exclude
|
581
|
-
- .
|
538
|
+
- "--exclude"
|
539
|
+
- "."
|
582
540
|
require_paths:
|
583
541
|
- lib
|
584
542
|
required_ruby_version: !ruby/object:Gem::Requirement
|
585
543
|
requirements:
|
586
|
-
- -
|
544
|
+
- - ">="
|
587
545
|
- !ruby/object:Gem::Version
|
588
546
|
version: 1.9.3
|
589
547
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
590
548
|
requirements:
|
591
|
-
- -
|
549
|
+
- - ">="
|
592
550
|
- !ruby/object:Gem::Version
|
593
551
|
version: '0'
|
594
552
|
requirements:
|
595
553
|
- jar 'org.kill-bill.billing:killbill-api'
|
596
554
|
- jar 'org.kill-bill.billing:killbill-util:tests'
|
597
|
-
rubyforge_project:
|
598
|
-
rubygems_version: 2.
|
599
|
-
signing_key:
|
555
|
+
rubyforge_project:
|
556
|
+
rubygems_version: 2.2.2
|
557
|
+
signing_key:
|
600
558
|
specification_version: 4
|
601
559
|
summary: Framework to write Kill Bill plugins in Ruby.
|
602
560
|
test_files:
|