killbill-invoice-test 0.1.1 → 0.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 +1 -0
- data/Gemfile.lock +7 -7
- data/Jarfile +10 -9
- data/Jarfile.lock +33 -28
- data/README.md +8 -0
- data/VERSION +1 -1
- data/killbill-invoice-test.gemspec +1 -1
- data/lib/invoice_test/api.rb +1 -1
- data/pom.xml +1 -1
- data/spec/invoice_test/base_plugin_spec.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: efd76145a08d1a8a77e25c8db7354c35e577693f
|
4
|
+
data.tar.gz: 781141fa8366ac46b03c0812a2fdefa02a376c8b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ac6204c17a9c0cbf4f80ac5e9324b0272ac5ea536cacf614269dad648d8ce63858e78a5b8c59d45c177c286e02f01cee3f33cc6ebc1e62031fed34a773a7d20
|
7
|
+
data.tar.gz: 75c27c9904bfd3ab6169b55eead9a8f4c061a11ab47d634d45e5fbbcb1af094db38ba49b47f5635bba00e42a2f3757080894e6b2d733b214de1e45473cad16bc
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
killbill-invoice-test (0.
|
5
|
-
killbill (~>
|
4
|
+
killbill-invoice-test (0.2.0)
|
5
|
+
killbill (~> 8.0)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
@@ -17,9 +17,9 @@ GEM
|
|
17
17
|
thread_safe (~> 0.3, >= 0.3.1)
|
18
18
|
diff-lcs (1.1.3)
|
19
19
|
equalizer (0.0.11)
|
20
|
-
ethon (0.
|
20
|
+
ethon (0.9.1)
|
21
21
|
ffi (>= 1.3.0)
|
22
|
-
ffi (1.9.
|
22
|
+
ffi (1.9.14-java)
|
23
23
|
ice_nine (0.11.1)
|
24
24
|
jar-dependencies (0.3.1)
|
25
25
|
jbundler (0.9.2)
|
@@ -27,14 +27,14 @@ GEM
|
|
27
27
|
jar-dependencies (~> 0.2)
|
28
28
|
maven-tools (~> 1.0.10)
|
29
29
|
ruby-maven (~> 3.3, >= 3.3.3)
|
30
|
-
killbill (
|
30
|
+
killbill (8.3.1)
|
31
31
|
rack (>= 1.5.2)
|
32
32
|
sinatra (~> 1.3.4)
|
33
33
|
typhoeus (~> 0.6.9)
|
34
34
|
tzinfo (~> 1.2.0)
|
35
35
|
maven-tools (1.0.13)
|
36
36
|
virtus (~> 1.0)
|
37
|
-
rack (1.6.
|
37
|
+
rack (1.6.5)
|
38
38
|
rack-protection (1.5.3)
|
39
39
|
rack
|
40
40
|
rake (10.4.2)
|
@@ -75,4 +75,4 @@ DEPENDENCIES
|
|
75
75
|
rspec (~> 2.12.0)
|
76
76
|
|
77
77
|
BUNDLED WITH
|
78
|
-
1.
|
78
|
+
1.11.2
|
data/Jarfile
CHANGED
@@ -1,11 +1,12 @@
|
|
1
|
-
jar 'org.kill-bill.billing:killbill-api', '0.
|
2
|
-
jar 'org.kill-bill.billing.plugin:killbill-plugin-api-currency', '0.
|
3
|
-
jar 'org.kill-bill.billing.plugin:killbill-plugin-api-invoice', '0.
|
4
|
-
jar 'org.kill-bill.billing.plugin:killbill-plugin-api-notification', '0.
|
5
|
-
jar 'org.kill-bill.billing.plugin:killbill-plugin-api-payment', '0.
|
6
|
-
jar 'org.kill-bill.billing.plugin:killbill-plugin-api-control', '0.
|
7
|
-
jar 'org.kill-bill.billing.plugin:killbill-plugin-api-catalog', '0.
|
8
|
-
jar 'org.kill-bill.billing.plugin:killbill-plugin-api-entitlement', '0.
|
9
|
-
jar 'org.kill-bill.billing:killbill-util:tests', '0.
|
1
|
+
jar 'org.kill-bill.billing:killbill-api', '0.50'
|
2
|
+
jar 'org.kill-bill.billing.plugin:killbill-plugin-api-currency', '0.23'
|
3
|
+
jar 'org.kill-bill.billing.plugin:killbill-plugin-api-invoice', '0.23'
|
4
|
+
jar 'org.kill-bill.billing.plugin:killbill-plugin-api-notification', '0.23'
|
5
|
+
jar 'org.kill-bill.billing.plugin:killbill-plugin-api-payment', '0.23'
|
6
|
+
jar 'org.kill-bill.billing.plugin:killbill-plugin-api-control', '0.23'
|
7
|
+
jar 'org.kill-bill.billing.plugin:killbill-plugin-api-catalog', '0.23'
|
8
|
+
jar 'org.kill-bill.billing.plugin:killbill-plugin-api-entitlement', '0.23'
|
9
|
+
jar 'org.kill-bill.billing:killbill-util:tests', '0.18.0'
|
10
|
+
jar 'org.kill-bill.billing:killbill-util', '0.18.0'
|
10
11
|
jar 'org.mockito:mockito-all', '1.10.19'
|
11
12
|
jar 'javax.servlet:javax.servlet-api', '3.1.0'
|
data/Jarfile.lock
CHANGED
@@ -1,61 +1,66 @@
|
|
1
1
|
---
|
2
2
|
:runtime:
|
3
3
|
- io.dropwizard.metrics:metrics-core:jar:3.1.1
|
4
|
-
- org.kill-bill.billing.plugin:killbill-plugin-api-catalog:jar:0.18
|
5
|
-
- com.fasterxml.jackson.core:jackson-core:jar:2.4.3
|
6
4
|
- joda-time:joda-time:jar:2.3
|
7
5
|
- org.weakref:jmxutils:jar:1.18
|
8
|
-
- org.kill-bill.billing.plugin:killbill-plugin-api-notification:jar:0.18
|
9
6
|
- commons-beanutils:commons-beanutils:jar:1.8.3
|
10
|
-
- org.kill-bill.billing:killbill-internal-api:jar:0.15.10
|
11
|
-
- org.kill-bill.commons:killbill-xmlloader:jar:0.11
|
12
|
-
- org.kill-bill.billing.plugin:killbill-plugin-api-entitlement:jar:0.18
|
13
7
|
- com.google.inject:guice:jar:3.0
|
14
8
|
- org.osgi:org.osgi.core:jar:5.0.0
|
15
|
-
-
|
9
|
+
- com.fasterxml.jackson.core:jackson-databind:jar:2.4.5
|
10
|
+
- org.kill-bill.billing.plugin:killbill-plugin-api-currency:jar:0.23
|
11
|
+
- org.kill-bill.billing:killbill-platform-api:jar:0.36.1
|
16
12
|
- com.samskivert:jmustache:jar:1.5
|
17
|
-
- org.kill-bill.
|
18
|
-
- org.kill-bill.billing
|
13
|
+
- org.kill-bill.commons:killbill-clock:jar:0.20
|
14
|
+
- org.kill-bill.billing:killbill-util:jar:0.18.0
|
15
|
+
- com.fasterxml.jackson.dataformat:jackson-dataformat-csv:jar:2.4.5
|
16
|
+
- org.bouncycastle:bcpkix-jdk15on:jar:1.55
|
17
|
+
- org.bouncycastle:bcprov-jdk15on:jar:1.55
|
18
|
+
- org.kill-bill.billing.plugin:killbill-plugin-api-entitlement:jar:0.23
|
19
19
|
- org.bgee.log4jdbc-log4j2:log4jdbc-log4j2-jdbc4:jar:1.16
|
20
20
|
- com.h2database:h2:jar:1.4.186
|
21
|
+
- com.fasterxml.jackson.datatype:jackson-datatype-joda:jar:2.4.5
|
21
22
|
- javax.activation:activation:jar:1.1
|
22
23
|
- org.skife.config:config-magic:jar:0.14
|
23
|
-
-
|
24
|
-
- org.kill-bill.billing.plugin:killbill-plugin-api-control:jar:0.18
|
25
|
-
- org.apache.commons:commons-email:jar:1.2
|
24
|
+
- org.javassist:javassist:jar:3.19.0-GA
|
26
25
|
- org.mockito:mockito-all:jar:1.10.19
|
26
|
+
- org.apache.commons:commons-email:jar:1.2
|
27
27
|
- antlr:antlr:jar:2.7.7
|
28
28
|
- aopalliance:aopalliance:jar:1.0
|
29
|
+
- com.zaxxer:HikariCP-java6:jar:2.3.7
|
30
|
+
- org.slf4j:slf4j-api:jar:1.7.21
|
29
31
|
- com.fasterxml.jackson.core:jackson-annotations:jar:2.4.3
|
30
32
|
- org.antlr:stringtemplate:jar:3.2.1
|
31
|
-
- org.
|
33
|
+
- org.slf4j:jcl-over-slf4j:jar:1.7.21
|
32
34
|
- javax.mail:mail:jar:1.4.1
|
33
|
-
- org.kill-bill.billing:killbill-platform-base:jar:0.15
|
34
35
|
- io.dropwizard.metrics:metrics-ehcache:jar:3.1.1
|
35
|
-
- org.slf4j:jcl-over-slf4j:jar:1.7.12
|
36
36
|
- org.jdbi:jdbi:jar:2.62
|
37
|
-
-
|
38
|
-
- org.kill-bill.billing:killbill-platform-osgi:jar:0.15
|
37
|
+
- com.fasterxml.jackson.core:jackson-core:jar:2.4.5
|
39
38
|
- org.apache.felix:org.apache.felix.framework:jar:4.4.1
|
40
39
|
- org.joda:joda-money:jar:0.9
|
41
|
-
- org.kill-bill.
|
42
|
-
- org.kill-bill.commons:killbill-embeddeddb-common:jar:0.11
|
40
|
+
- org.kill-bill.billing.plugin:killbill-plugin-api-payment:jar:0.23
|
43
41
|
- org.apache.shiro:shiro-core:jar:1.2.3
|
44
|
-
- org.kill-bill.billing:killbill-
|
45
|
-
- org.kill-bill.billing
|
46
|
-
-
|
42
|
+
- org.kill-bill.billing:killbill-internal-api:jar:0.18.0
|
43
|
+
- org.kill-bill.billing:killbill-util:jar:tests:0.18.0
|
44
|
+
- org.kill-bill.billing.plugin:killbill-plugin-api-control:jar:0.23
|
45
|
+
- org.kill-bill.commons:killbill-jdbi:jar:0.20
|
47
46
|
- com.google.guava:guava:jar:r09
|
48
|
-
- org.kill-bill.commons:killbill-
|
47
|
+
- org.kill-bill.commons:killbill-queue:jar:0.20
|
49
48
|
- org.osgi:org.osgi.compendium:jar:5.0.0
|
50
|
-
- org.kill-bill.commons:killbill-
|
51
|
-
- org.kill-bill.commons:killbill-concurrent:jar:0.11
|
49
|
+
- org.kill-bill.commons:killbill-xmlloader:jar:0.20
|
52
50
|
- javax.servlet:javax.servlet-api:jar:3.1.0
|
51
|
+
- org.kill-bill.billing:killbill-platform-osgi:jar:0.36.1
|
53
52
|
- org.apache.shiro:shiro-ehcache:jar:1.2.3
|
53
|
+
- org.kill-bill.billing:killbill-platform-base:jar:0.36.1
|
54
54
|
- javax.inject:javax.inject:jar:1
|
55
|
-
-
|
55
|
+
- org.kill-bill.billing.plugin:killbill-plugin-api-invoice:jar:0.23
|
56
|
+
- org.kill-bill.billing:killbill-api:jar:0.50
|
56
57
|
- com.google.inject.extensions:guice-multibindings:jar:3.0
|
58
|
+
- org.kill-bill.billing:killbill-platform-osgi-api:jar:0.36.1
|
57
59
|
- net.sf.ehcache:ehcache:jar:2.9.1
|
58
|
-
- org.kill-bill.
|
59
|
-
- org.kill-bill.
|
60
|
+
- org.kill-bill.commons:killbill-locker:jar:0.20
|
61
|
+
- org.kill-bill.commons:killbill-embeddeddb-common:jar:0.20
|
60
62
|
- org.apache.shiro:shiro-guice:jar:1.2.3
|
61
63
|
- com.google.code.findbugs:annotations:jar:3.0.0
|
64
|
+
- org.kill-bill.billing.plugin:killbill-plugin-api-notification:jar:0.23
|
65
|
+
- org.kill-bill.billing.plugin:killbill-plugin-api-catalog:jar:0.23
|
66
|
+
- org.kill-bill.commons:killbill-concurrent:jar:0.20
|
data/README.md
CHANGED
@@ -4,3 +4,11 @@ killbill-invoice-test-plugin
|
|
4
4
|
Plugin to test the Kill Bill InvoicePlugin API.
|
5
5
|
|
6
6
|
Release builds are available on [Maven Central](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.kill-bill.billing.plugin.ruby%22%20AND%20a%3A%22invoice-test-plugin%22) with coordinates `org.kill-bill.billing.plugin.ruby:invoice-test-plugin`.
|
7
|
+
|
8
|
+
Kill Bill compatibility
|
9
|
+
-----------------------
|
10
|
+
|
11
|
+
| Plugin version | Kill Bill version |
|
12
|
+
| -------------: | ----------------: |
|
13
|
+
| 0.1.y | 0.16.z |
|
14
|
+
| 0.2.y | 0.18.z |
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.2.0
|
@@ -22,7 +22,7 @@ Gem::Specification.new do |s|
|
|
22
22
|
|
23
23
|
s.rdoc_options << '--exclude' << '.'
|
24
24
|
|
25
|
-
s.add_dependency 'killbill', '~>
|
25
|
+
s.add_dependency 'killbill', '~> 8.0'
|
26
26
|
|
27
27
|
s.add_development_dependency 'jbundler', '~> 0.9.2'
|
28
28
|
s.add_development_dependency 'rake', '>= 10.0.0'
|
data/lib/invoice_test/api.rb
CHANGED
@@ -5,7 +5,7 @@ module InvoiceTest
|
|
5
5
|
# This implementation is idempotent, will apply tax on old invoices if needed
|
6
6
|
# and automatically handle adjustments
|
7
7
|
def get_additional_invoice_items(new_invoice, dry_run, properties, context)
|
8
|
-
all_invoices = @kb_apis.invoice_user_api.get_invoices_by_account(new_invoice.account_id, context)
|
8
|
+
all_invoices = @kb_apis.invoice_user_api.get_invoices_by_account(new_invoice.account_id, false, context)
|
9
9
|
# Workaround for https://github.com/killbill/killbill/issues/265
|
10
10
|
all_invoices << new_invoice unless all_invoices.find { |inv| inv.id == new_invoice.id }
|
11
11
|
|
data/pom.xml
CHANGED
@@ -27,7 +27,7 @@
|
|
27
27
|
<groupId>org.kill-bill.billing.plugin.ruby</groupId>
|
28
28
|
<artifactId>invoice-test-plugin</artifactId>
|
29
29
|
<packaging>pom</packaging>
|
30
|
-
<version>0.
|
30
|
+
<version>0.2.0</version>
|
31
31
|
<name>invoice-test-plugin</name>
|
32
32
|
<description></description>
|
33
33
|
<scm>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: killbill-invoice-test
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.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-
|
11
|
+
date: 2016-11-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: killbill
|
@@ -16,12 +16,12 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '8.0'
|
20
20
|
requirement: !ruby/object:Gem::Requirement
|
21
21
|
requirements:
|
22
22
|
- - ~>
|
23
23
|
- !ruby/object:Gem::Version
|
24
|
-
version: '
|
24
|
+
version: '8.0'
|
25
25
|
prerelease: false
|
26
26
|
type: :runtime
|
27
27
|
- !ruby/object:Gem::Dependency
|
@@ -111,7 +111,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
111
111
|
version: '0'
|
112
112
|
requirements: []
|
113
113
|
rubyforge_project:
|
114
|
-
rubygems_version: 2.
|
114
|
+
rubygems_version: 2.4.6
|
115
115
|
signing_key:
|
116
116
|
specification_version: 4
|
117
117
|
summary: Plugin to test the invoice plugin api.
|