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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 113cfbf53e802d9bfec1b966b9f5cca7dcf6fed7
4
- data.tar.gz: 6068c9022e8d5db98475da37ca65b548e8738217
3
+ metadata.gz: efd76145a08d1a8a77e25c8db7354c35e577693f
4
+ data.tar.gz: 781141fa8366ac46b03c0812a2fdefa02a376c8b
5
5
  SHA512:
6
- metadata.gz: 31e1dbccafc37933ced4ce8b6a8690488e5ed1584c524718122b1aa215e59ff6ab67af8e9d132d2c2c650831a419125ccbf2ed2957640694ee8276c189d0ce78
7
- data.tar.gz: aeea59c943a90ceea1f99bbd7c20e381432989e97a08b1aca516b39eb5cc31ed456336f5dc3de58be7d595083e869a1c6c17e394450b8022be045f081c07e76a
6
+ metadata.gz: 4ac6204c17a9c0cbf4f80ac5e9324b0272ac5ea536cacf614269dad648d8ce63858e78a5b8c59d45c177c286e02f01cee3f33cc6ebc1e62031fed34a773a7d20
7
+ data.tar.gz: 75c27c9904bfd3ab6169b55eead9a8f4c061a11ab47d634d45e5fbbcb1af094db38ba49b47f5635bba00e42a2f3757080894e6b2d733b214de1e45473cad16bc
data/Gemfile CHANGED
@@ -1,3 +1,4 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
3
  gemspec
4
+ #gem 'killbill', :github => 'killbill/killbill-plugin-framework-ruby'
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- killbill-invoice-test (0.1.1)
5
- killbill (~> 7.0)
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.8.0)
20
+ ethon (0.9.1)
21
21
  ffi (>= 1.3.0)
22
- ffi (1.9.10-java)
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 (7.0.0)
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.4)
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.10.6
78
+ 1.11.2
data/Jarfile CHANGED
@@ -1,11 +1,12 @@
1
- jar 'org.kill-bill.billing:killbill-api', '0.32'
2
- jar 'org.kill-bill.billing.plugin:killbill-plugin-api-currency', '0.18'
3
- jar 'org.kill-bill.billing.plugin:killbill-plugin-api-invoice', '0.18'
4
- jar 'org.kill-bill.billing.plugin:killbill-plugin-api-notification', '0.18'
5
- jar 'org.kill-bill.billing.plugin:killbill-plugin-api-payment', '0.18'
6
- jar 'org.kill-bill.billing.plugin:killbill-plugin-api-control', '0.18'
7
- jar 'org.kill-bill.billing.plugin:killbill-plugin-api-catalog', '0.18'
8
- jar 'org.kill-bill.billing.plugin:killbill-plugin-api-entitlement', '0.18'
9
- jar 'org.kill-bill.billing:killbill-util:tests', '0.15.10'
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'
@@ -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
- - org.slf4j:slf4j-api:jar:1.7.12
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.billing:killbill-util:jar:tests:0.15.10
18
- - org.kill-bill.billing.plugin:killbill-plugin-api-currency:jar:0.18
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
- - com.fasterxml.jackson.dataformat:jackson-dataformat-csv:jar:2.4.3
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.kill-bill.commons:killbill-clock:jar:0.11
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
- - org.kill-bill.billing:killbill-platform-api:jar:0.15
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.commons:killbill-jdbi:jar:0.11
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-platform-osgi-api:jar:0.15
45
- - org.kill-bill.billing.plugin:killbill-plugin-api-payment:jar:0.18
46
- - com.fasterxml.jackson.core:jackson-databind:jar:2.4.3
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-locker:jar:0.11
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-queue:jar:0.11
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
- - com.fasterxml.jackson.datatype:jackson-datatype-joda:jar:2.4.3
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.billing.plugin:killbill-plugin-api-invoice:jar:0.18
59
- - org.kill-bill.billing:killbill-api:jar:0.32
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.1
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', '~> 7.0'
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'
@@ -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.1.1</version>
30
+ <version>0.2.0</version>
31
31
  <name>invoice-test-plugin</name>
32
32
  <description></description>
33
33
  <scm>
@@ -6,7 +6,7 @@ describe InvoiceTest::InvoicePlugin do
6
6
  class FakeJavaInvoiceUserApi
7
7
  attr_accessor :invoices
8
8
 
9
- def get_invoices_by_account(accountId, context)
9
+ def get_invoices_by_account(accountId, includesMigrated, context)
10
10
  @invoices
11
11
  end
12
12
  end
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.1.1
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-01-14 00:00:00.000000000 Z
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: '7.0'
19
+ version: '8.0'
20
20
  requirement: !ruby/object:Gem::Requirement
21
21
  requirements:
22
22
  - - ~>
23
23
  - !ruby/object:Gem::Version
24
- version: '7.0'
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.1.9
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.