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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2b31bab8d27ebb9b8c3db3a90679c41bdccc8503
|
4
|
+
data.tar.gz: 69c4ff0995b68063b3cd424c19ead1c5a918bf26
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e11d3d7fa11e6c45f8b5c7d325f55f891dcac8ba71dbff26e1a3fab7c2d7313e9982478917675929eb20d4f83a66ecd1cab3bc6ac9a7c3ccef1c68ffe0758e59
|
7
|
+
data.tar.gz: 25274635b4306545df67c42a63245e31d15de9fa77c4261359ddcc1df23d3c1b025bb87e4a23648048888020099c018e087d36b312b35c9c56c959679ac4fb8b
|
data/.gitignore
CHANGED
data/.travis.yml
CHANGED
@@ -1,22 +1,43 @@
|
|
1
1
|
language: ruby
|
2
2
|
|
3
|
+
sudo: false
|
4
|
+
cache:
|
5
|
+
bundler: true
|
6
|
+
directories:
|
7
|
+
- $HOME/.m2
|
8
|
+
|
9
|
+
before_script:
|
10
|
+
- mysql -uroot -e 'create database killbill_test;'
|
11
|
+
|
3
12
|
notifications:
|
4
13
|
email:
|
5
14
|
- kill-bill-commits@googlegroups.com
|
6
15
|
|
16
|
+
env:
|
17
|
+
global:
|
18
|
+
- JRUBY_OPTS='-J-Xmx1024M'
|
19
|
+
matrix:
|
20
|
+
# Need MySQL 5.6 - see https://github.com/travis-ci/travis-ci/issues/1986
|
21
|
+
#- AR_ADAPTER='mariadb' AR_USERNAME='root' AR_PASSWORD='' AR_DATABASE='killbill_test'
|
22
|
+
- AR_ADAPTER='sqlite3' AR_DATABASE='test.db'
|
23
|
+
|
7
24
|
rvm:
|
8
|
-
- jruby-1.7.
|
25
|
+
- jruby-1.7.20
|
9
26
|
- jruby-20mode # latest 1.7.x
|
10
27
|
- jruby-head
|
11
28
|
|
29
|
+
gemfile:
|
30
|
+
- Gemfile
|
31
|
+
- Gemfile.head
|
32
|
+
|
12
33
|
jdk:
|
13
|
-
- openjdk6
|
14
34
|
- openjdk7
|
15
35
|
- oraclejdk7
|
36
|
+
- oraclejdk8
|
16
37
|
|
17
38
|
matrix:
|
18
39
|
allow_failures:
|
19
40
|
- rvm: jruby-head
|
20
|
-
|
21
|
-
-
|
22
|
-
|
41
|
+
- jdk: oraclejdk8
|
42
|
+
- gemfile: Gemfile.head
|
43
|
+
fast_finish: true
|
data/Gemfile
CHANGED
data/Gemfile.head
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,125 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
killbill (4.0.0)
|
5
|
+
rack (>= 1.5.2)
|
6
|
+
sinatra (~> 1.3.4)
|
7
|
+
typhoeus (~> 0.6.9)
|
8
|
+
tzinfo (~> 1.2.0)
|
9
|
+
|
10
|
+
GEM
|
11
|
+
remote: https://rubygems.org/
|
12
|
+
specs:
|
13
|
+
actionpack (4.1.10)
|
14
|
+
actionview (= 4.1.10)
|
15
|
+
activesupport (= 4.1.10)
|
16
|
+
rack (~> 1.5.2)
|
17
|
+
rack-test (~> 0.6.2)
|
18
|
+
actionview (4.1.10)
|
19
|
+
activesupport (= 4.1.10)
|
20
|
+
builder (~> 3.1)
|
21
|
+
erubis (~> 2.7.0)
|
22
|
+
active_utils (3.0.0)
|
23
|
+
activesupport (>= 3.2)
|
24
|
+
i18n
|
25
|
+
activemerchant (1.48.0)
|
26
|
+
activesupport (>= 3.2.14, < 5.0.0)
|
27
|
+
builder (>= 2.1.2, < 4.0.0)
|
28
|
+
i18n (>= 0.6.9)
|
29
|
+
nokogiri (~> 1.4)
|
30
|
+
activemodel (4.1.10)
|
31
|
+
activesupport (= 4.1.10)
|
32
|
+
builder (~> 3.1)
|
33
|
+
activerecord (4.1.10)
|
34
|
+
activemodel (= 4.1.10)
|
35
|
+
activesupport (= 4.1.10)
|
36
|
+
arel (~> 5.0.0)
|
37
|
+
activerecord-bogacs (0.3.0)
|
38
|
+
thread_safe (~> 0.3)
|
39
|
+
activerecord-jdbc-adapter (1.3.16)
|
40
|
+
activerecord (>= 2.2)
|
41
|
+
activesupport (4.1.10)
|
42
|
+
i18n (~> 0.6, >= 0.6.9)
|
43
|
+
json (~> 1.7, >= 1.7.7)
|
44
|
+
minitest (~> 5.1)
|
45
|
+
thread_safe (~> 0.1)
|
46
|
+
tzinfo (~> 1.1)
|
47
|
+
arel (5.0.1.20140414130214)
|
48
|
+
builder (3.2.2)
|
49
|
+
diff-lcs (1.1.3)
|
50
|
+
erubis (2.7.0)
|
51
|
+
ethon (0.7.3)
|
52
|
+
ffi (>= 1.3.0)
|
53
|
+
ffi (1.9.8-java)
|
54
|
+
i18n (0.7.0)
|
55
|
+
jbundler (0.4.3)
|
56
|
+
maven-tools (~> 0.32.1)
|
57
|
+
ruby-maven (~> 3.0.4)
|
58
|
+
jdbc-mariadb (1.1.8)
|
59
|
+
jdbc-sqlite3 (3.8.7)
|
60
|
+
json (1.8.2-java)
|
61
|
+
maven-tools (0.32.5)
|
62
|
+
minitest (5.6.1)
|
63
|
+
monetize (1.1.0)
|
64
|
+
money (~> 6.5.0)
|
65
|
+
money (6.5.1)
|
66
|
+
i18n (>= 0.6.4, <= 0.7.0)
|
67
|
+
nokogiri (1.6.6.2-java)
|
68
|
+
offsite_payments (2.1.0)
|
69
|
+
actionpack (>= 3.2.20, < 5.0.0)
|
70
|
+
active_utils (~> 3.0.0)
|
71
|
+
activesupport (>= 3.2.14, < 5.0.0)
|
72
|
+
builder (>= 2.1.2, < 4.0.0)
|
73
|
+
i18n (~> 0.5)
|
74
|
+
money (>= 5.0.0, < 7.0.0)
|
75
|
+
nokogiri (~> 1.4)
|
76
|
+
rack (1.5.3)
|
77
|
+
rack-protection (1.5.3)
|
78
|
+
rack
|
79
|
+
rack-test (0.6.3)
|
80
|
+
rack (>= 1.0)
|
81
|
+
rake (10.4.2)
|
82
|
+
rspec (2.12.0)
|
83
|
+
rspec-core (~> 2.12.0)
|
84
|
+
rspec-expectations (~> 2.12.0)
|
85
|
+
rspec-mocks (~> 2.12.0)
|
86
|
+
rspec-core (2.12.2)
|
87
|
+
rspec-expectations (2.12.1)
|
88
|
+
diff-lcs (~> 1.1.3)
|
89
|
+
rspec-mocks (2.12.2)
|
90
|
+
ruby-maven (3.0.4.1.4)
|
91
|
+
maven-tools (~> 0.32.3)
|
92
|
+
thor (>= 0.14.6, < 2.0)
|
93
|
+
sinatra (1.3.6)
|
94
|
+
rack (~> 1.4)
|
95
|
+
rack-protection (~> 1.3)
|
96
|
+
tilt (~> 1.3, >= 1.3.3)
|
97
|
+
thor (0.19.1)
|
98
|
+
thread_safe (0.3.5-java)
|
99
|
+
tilt (1.4.1)
|
100
|
+
typhoeus (0.6.9)
|
101
|
+
ethon (>= 0.7.1)
|
102
|
+
tzinfo (1.2.2)
|
103
|
+
thread_safe (~> 0.1)
|
104
|
+
|
105
|
+
PLATFORMS
|
106
|
+
java
|
107
|
+
|
108
|
+
DEPENDENCIES
|
109
|
+
actionpack (~> 4.1.0)
|
110
|
+
actionview (~> 4.1.0)
|
111
|
+
activemerchant (~> 1.48.0)
|
112
|
+
activerecord (~> 4.1.0)
|
113
|
+
activerecord-bogacs (~> 0.3)
|
114
|
+
activerecord-jdbc-adapter (~> 1.3)
|
115
|
+
jbundler (~> 0.4.3)
|
116
|
+
jdbc-mariadb (~> 1.1.8)
|
117
|
+
jdbc-sqlite3 (~> 3.7)
|
118
|
+
killbill!
|
119
|
+
monetize (~> 1.1.0)
|
120
|
+
money (~> 6.5.1)
|
121
|
+
offsite_payments (~> 2.1.0)
|
122
|
+
rake (>= 10.0.0)
|
123
|
+
rspec (~> 2.12.0)
|
124
|
+
thor (~> 0.19.1)
|
125
|
+
thread_safe (~> 0.3.4)
|
data/Jarfile
CHANGED
@@ -1,9 +1,9 @@
|
|
1
|
-
jar 'org.kill-bill.billing:killbill-api', '0.
|
2
|
-
jar 'org.kill-bill.billing.plugin:killbill-plugin-api-
|
3
|
-
jar 'org.kill-bill.billing.plugin:killbill-plugin-api-
|
4
|
-
jar 'org.kill-bill.billing.plugin:killbill-plugin-api-
|
5
|
-
jar 'org.kill-bill.billing.plugin:killbill-plugin-api-
|
6
|
-
jar 'org.kill-bill.billing.plugin:killbill-plugin-api-
|
7
|
-
jar 'org.kill-bill.billing:killbill-util:tests', '0.13.
|
8
|
-
jar 'org.mockito:mockito-all', '1.
|
9
|
-
jar 'javax.servlet:javax.servlet-api', '3.0
|
1
|
+
jar 'org.kill-bill.billing:killbill-api', '0.14'
|
2
|
+
jar 'org.kill-bill.billing.plugin:killbill-plugin-api-currency', '0.9'
|
3
|
+
jar 'org.kill-bill.billing.plugin:killbill-plugin-api-invoice', '0.9'
|
4
|
+
jar 'org.kill-bill.billing.plugin:killbill-plugin-api-notification', '0.9'
|
5
|
+
jar 'org.kill-bill.billing.plugin:killbill-plugin-api-payment', '0.9'
|
6
|
+
jar 'org.kill-bill.billing.plugin:killbill-plugin-api-routing', '0.9'
|
7
|
+
jar 'org.kill-bill.billing:killbill-util:tests', '0.13.7'
|
8
|
+
jar 'org.mockito:mockito-all', '1.10.19'
|
9
|
+
jar 'javax.servlet:javax.servlet-api', '3.1.0'
|
data/Jarfile.lock
ADDED
@@ -0,0 +1,54 @@
|
|
1
|
+
org.kill-bill.billing:killbill-api:jar:0.14
|
2
|
+
com.fasterxml.jackson.core:jackson-annotations:jar:2.4.3
|
3
|
+
joda-time:joda-time:jar:2.3
|
4
|
+
org.kill-bill.billing.plugin:killbill-plugin-api-currency:jar:0.9
|
5
|
+
org.kill-bill.billing.plugin:killbill-plugin-api-invoice:jar:0.9
|
6
|
+
org.kill-bill.billing.plugin:killbill-plugin-api-notification:jar:0.9
|
7
|
+
org.kill-bill.billing.plugin:killbill-plugin-api-payment:jar:0.9
|
8
|
+
org.kill-bill.billing.plugin:killbill-plugin-api-routing:jar:0.9
|
9
|
+
org.kill-bill.billing:killbill-util:jar:tests:0.13.7
|
10
|
+
com.fasterxml.jackson.core:jackson-databind:jar:2.4.3
|
11
|
+
com.fasterxml.jackson.core:jackson-core:jar:2.4.3
|
12
|
+
com.fasterxml.jackson.dataformat:jackson-dataformat-csv:jar:2.4.3
|
13
|
+
com.fasterxml.jackson.datatype:jackson-datatype-joda:jar:2.4.3
|
14
|
+
com.samskivert:jmustache:jar:1.5
|
15
|
+
io.dropwizard.metrics:metrics-core:jar:3.1.1
|
16
|
+
io.dropwizard.metrics:metrics-ehcache:jar:3.1.1
|
17
|
+
net.sf.ehcache:ehcache:jar:2.9.1
|
18
|
+
org.antlr:stringtemplate:jar:3.2.1
|
19
|
+
antlr:antlr:jar:2.7.7
|
20
|
+
org.apache.commons:commons-email:jar:1.2
|
21
|
+
javax.mail:mail:jar:1.4.1
|
22
|
+
javax.activation:activation:jar:1.1
|
23
|
+
org.apache.shiro:shiro-core:jar:1.2.3
|
24
|
+
commons-beanutils:commons-beanutils:jar:1.8.3
|
25
|
+
org.apache.shiro:shiro-ehcache:jar:1.2.3
|
26
|
+
org.apache.shiro:shiro-guice:jar:1.2.3
|
27
|
+
com.google.guava:guava:jar:r09
|
28
|
+
com.google.inject:guice:jar:3.0
|
29
|
+
aopalliance:aopalliance:jar:1.0
|
30
|
+
com.google.inject.extensions:guice-multibindings:jar:3.0
|
31
|
+
org.jdbi:jdbi:jar:2.62
|
32
|
+
org.joda:joda-money:jar:0.9
|
33
|
+
org.kill-bill.billing:killbill-internal-api:jar:0.13.7
|
34
|
+
org.kill-bill.billing:killbill-platform-api:jar:0.2
|
35
|
+
org.kill-bill.billing:killbill-platform-base:jar:0.2
|
36
|
+
com.google.code.findbugs:annotations:jar:3.0.0
|
37
|
+
org.bgee.log4jdbc-log4j2:log4jdbc-log4j2-jdbc4:jar:1.16
|
38
|
+
org.kill-bill.billing:killbill-platform-osgi-api:jar:0.2
|
39
|
+
org.osgi:org.osgi.core:jar:5.0.0
|
40
|
+
org.kill-bill.commons:killbill-clock:jar:0.3
|
41
|
+
org.kill-bill.commons:killbill-concurrent:jar:0.3
|
42
|
+
org.kill-bill.commons:killbill-embeddeddb-common:jar:0.3
|
43
|
+
org.kill-bill.commons:killbill-jdbi:jar:0.3
|
44
|
+
com.h2database:h2:jar:1.4.186
|
45
|
+
javax.inject:javax.inject:jar:1
|
46
|
+
org.kill-bill.commons:killbill-locker:jar:0.3
|
47
|
+
org.kill-bill.commons:killbill-queue:jar:0.3
|
48
|
+
org.kill-bill.commons:killbill-xmlloader:jar:0.3
|
49
|
+
org.skife.config:config-magic:jar:0.14
|
50
|
+
org.slf4j:jcl-over-slf4j:jar:1.7.12
|
51
|
+
org.slf4j:slf4j-api:jar:1.7.12
|
52
|
+
org.weakref:jmxutils:jar:1.12
|
53
|
+
org.mockito:mockito-all:jar:1.10.19
|
54
|
+
javax.servlet:javax.servlet-api:jar:3.1.0
|
data/NEWS
CHANGED
data/README.md
CHANGED
@@ -208,3 +208,16 @@ For quick testing of your plugin, you can use the `deploy` task:
|
|
208
208
|
To debug packaging issues, pass `true` as the third (optional) parameter:
|
209
209
|
|
210
210
|
rake killbill:deploy[false,/path/to/bundles,true]
|
211
|
+
|
212
|
+
|
213
|
+
Development
|
214
|
+
-----------
|
215
|
+
|
216
|
+
To run unit and remote tests:
|
217
|
+
|
218
|
+
rake
|
219
|
+
rake test:remote:spec
|
220
|
+
|
221
|
+
To change the database driver:
|
222
|
+
|
223
|
+
AR_ADAPTER=mariadb AR_USERNAME=root AR_PASSWORD=root AR_DATABASE=kbtest rake
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
4.0.0
|
@@ -1,19 +1,38 @@
|
|
1
1
|
language: ruby
|
2
2
|
|
3
|
+
sudo: false
|
4
|
+
cache: bundler
|
5
|
+
|
6
|
+
script: 'bundle exec rake test:spec test:remote:spec'
|
7
|
+
|
3
8
|
notifications:
|
4
9
|
email:
|
5
10
|
- kill-bill-commits@googlegroups.com
|
6
11
|
|
12
|
+
env:
|
13
|
+
global:
|
14
|
+
- JRUBY_OPTS='-J-Xmx1024M'
|
15
|
+
|
7
16
|
rvm:
|
8
|
-
- jruby-
|
9
|
-
- jruby-20mode
|
17
|
+
- jruby-1.7.20
|
18
|
+
- jruby-20mode # latest 1.7.x
|
10
19
|
- jruby-head
|
11
20
|
|
21
|
+
gemfile:
|
22
|
+
- Gemfile
|
23
|
+
- Gemfile.head
|
24
|
+
|
12
25
|
jdk:
|
13
|
-
- openjdk6
|
14
26
|
- openjdk7
|
15
27
|
- oraclejdk7
|
28
|
+
- oraclejdk8
|
16
29
|
|
17
30
|
matrix:
|
18
31
|
allow_failures:
|
19
32
|
- rvm: jruby-head
|
33
|
+
- jdk: oraclejdk8
|
34
|
+
- gemfile: Gemfile.head
|
35
|
+
fast_finish: true
|
36
|
+
|
37
|
+
after_success:
|
38
|
+
- '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && echo "<settings><servers><server><id>sonatype-nexus-snapshots</id><username>\${env.OSSRH_USER}</username><password>\${env.OSSRH_PASS}</password></server></servers></settings>" > ~/settings.xml && MVN="mvn --settings $HOME/settings.xml" NO_RELEASE=1 travis_retry travis_wait bash release.sh | egrep -v "Download|Install|Upload" ; rm -f ~/settings.xml'
|
@@ -1,8 +1,9 @@
|
|
1
|
-
jar 'org.kill-bill.billing:killbill-api', '0.
|
2
|
-
jar 'org.kill-bill.billing.plugin:killbill-plugin-api-
|
3
|
-
jar 'org.kill-bill.billing.plugin:killbill-plugin-api-
|
4
|
-
jar 'org.kill-bill.billing.plugin:killbill-plugin-api-
|
5
|
-
jar 'org.kill-bill.billing.plugin:killbill-plugin-api-
|
6
|
-
jar 'org.kill-bill.billing.plugin:killbill-plugin-api-
|
7
|
-
jar 'org.kill-bill.billing:killbill-util:tests', '0.
|
8
|
-
jar '
|
1
|
+
jar 'org.kill-bill.billing:killbill-api', '0.14'
|
2
|
+
jar 'org.kill-bill.billing.plugin:killbill-plugin-api-currency', '0.9'
|
3
|
+
jar 'org.kill-bill.billing.plugin:killbill-plugin-api-invoice', '0.9'
|
4
|
+
jar 'org.kill-bill.billing.plugin:killbill-plugin-api-notification', '0.9'
|
5
|
+
jar 'org.kill-bill.billing.plugin:killbill-plugin-api-payment', '0.9'
|
6
|
+
jar 'org.kill-bill.billing.plugin:killbill-plugin-api-routing', '0.9'
|
7
|
+
jar 'org.kill-bill.billing:killbill-util:tests', '0.13.7'
|
8
|
+
jar 'org.mockito:mockito-all', '1.10.19'
|
9
|
+
jar 'javax.servlet:javax.servlet-api', '3.1.0'
|
@@ -186,7 +186,7 @@ Apache License
|
|
186
186
|
same "printed page" as the copyright notice for easier
|
187
187
|
identification within third-party archives.
|
188
188
|
|
189
|
-
Copyright
|
189
|
+
Copyright 2015 The Billing Project, LLC
|
190
190
|
|
191
191
|
Licensed under the Apache License, Version 2.0 (the "License");
|
192
192
|
you may not use this file except in compliance with the License.
|
@@ -198,4 +198,4 @@ Apache License
|
|
198
198
|
distributed under the License is distributed on an "AS IS" BASIS,
|
199
199
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
200
200
|
See the License for the specific language governing permissions and
|
201
|
-
limitations under the License.
|
201
|
+
limitations under the License.
|
@@ -2,16 +2,26 @@
|
|
2
2
|
:test: true
|
3
3
|
|
4
4
|
:database:
|
5
|
+
# SQLite (development)
|
5
6
|
:adapter: sqlite3
|
6
7
|
:database: test.db
|
7
8
|
# For MySQL
|
8
|
-
# :adapter:
|
9
|
+
# :adapter: mysql
|
9
10
|
# :username: 'killbill'
|
10
11
|
# :password: 'killbill'
|
11
|
-
# :
|
12
|
-
#
|
12
|
+
# :database: 'killbill' # or set the URL :
|
13
|
+
# #:url: jdbc:mysql://127.0.0.1:3306/killbill
|
14
|
+
# :driver: org.mariadb.jdbc.Driver # as in KB
|
15
|
+
# :pool: 30 # AR's default is max 5 connections
|
13
16
|
# In Kill Bill
|
14
|
-
# :adapter:
|
17
|
+
# :adapter: mysql
|
15
18
|
# :jndi: 'killbill/osgi/jdbc'
|
16
|
-
# :
|
17
|
-
#
|
19
|
+
# :pool: false # false-pool (JNDI pool's max)
|
20
|
+
# # uncomment if pool does not support JDBC4 :
|
21
|
+
# #:connection_alive_sql: 'select 1'
|
22
|
+
# # MySQL adapter #configure_connection defaults :
|
23
|
+
# # @@SESSION.sql_auto_is_null = 0,
|
24
|
+
# # @@SESSION.wait_timeout = 2147483,
|
25
|
+
# # @@SESSION.sql_mode = 'STRICT_ALL_TABLES'
|
26
|
+
# # ... can be disabled (on AR-JDBC 1.4) using :
|
27
|
+
# :configure_connection: false
|