killbill-litle 3.0.0 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fe1a6c3aa0007fc8c349b994915ccd60182ff984
4
- data.tar.gz: 2dbc0dce25dc4941c28c9487da12c120973ed3b3
3
+ metadata.gz: 3feeac6c4934e40e1e120f23d03d634ca8ce4f9b
4
+ data.tar.gz: a2fe47cea194f5de1d982ae645decf45a9ce017c
5
5
  SHA512:
6
- metadata.gz: 8b4e8df7f8be58b7d1ceff24e577d47b26211b1203297d2c24abb8b0b5cb2dfea20aed6002c16ff03489950f8ae9ca29b8c5caa40439ca5396cf4cd3fcef6cc9
7
- data.tar.gz: 07621af9e8951ac5ba877cb7a41783cfb8f0f79f9d9e8096dd7efe60f6af61424755831eef7a2aaa90b1b0bfa9d037a645f42e357410a262bbff604ffc875501
6
+ metadata.gz: 342a414d5b36cdb541ebae2e0a8b98f0ed4f1194e5304718c84beacb29ce23f1f73873ea01522d46c9303e4955c87e406bce1a52680fa5d76571871a4f557403
7
+ data.tar.gz: bf23319301d843a16aacdb538ff28acc01da2026a0551f150c27b9b959ac1bf282f311d40a9f4f1ee5522069e99bc8b0b80b172d5afa8fde3e2ab3020b2aaf79
data/Gemfile.lock CHANGED
@@ -1,15 +1,15 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- killbill-litle (3.0.0)
4
+ killbill-litle (4.0.0)
5
5
  actionpack (~> 4.1.0)
6
6
  actionview (~> 4.1.0)
7
- activemerchant (~> 1.48.0)
7
+ activemerchant (~> 1.55.0)
8
8
  activerecord (~> 4.1.0)
9
9
  activerecord-bogacs (~> 0.3)
10
- activerecord-jdbc-adapter (~> 1.3)
11
- jruby-openssl (~> 0.9.6)
12
- killbill (~> 7.0)
10
+ activerecord-jdbc-adapter (~> 1.3, < 1.5)
11
+ jruby-openssl (~> 0.9.7)
12
+ killbill (~> 8.0)
13
13
  monetize (~> 1.1.0)
14
14
  money (~> 6.5.1)
15
15
  offsite_payments (~> 2.1.0)
@@ -19,34 +19,34 @@ PATH
19
19
  GEM
20
20
  remote: https://rubygems.org/
21
21
  specs:
22
- actionpack (4.1.14)
23
- actionview (= 4.1.14)
24
- activesupport (= 4.1.14)
22
+ actionpack (4.1.16)
23
+ actionview (= 4.1.16)
24
+ activesupport (= 4.1.16)
25
25
  rack (~> 1.5.2)
26
26
  rack-test (~> 0.6.2)
27
- actionview (4.1.14)
28
- activesupport (= 4.1.14)
27
+ actionview (4.1.16)
28
+ activesupport (= 4.1.16)
29
29
  builder (~> 3.1)
30
30
  erubis (~> 2.7.0)
31
31
  active_utils (3.0.0)
32
32
  activesupport (>= 3.2)
33
33
  i18n
34
- activemerchant (1.48.0)
34
+ activemerchant (1.55.0)
35
35
  activesupport (>= 3.2.14, < 5.0.0)
36
36
  builder (>= 2.1.2, < 4.0.0)
37
37
  i18n (>= 0.6.9)
38
38
  nokogiri (~> 1.4)
39
- activemodel (4.1.14)
40
- activesupport (= 4.1.14)
39
+ activemodel (4.1.16)
40
+ activesupport (= 4.1.16)
41
41
  builder (~> 3.1)
42
- activerecord (4.1.14)
43
- activemodel (= 4.1.14)
44
- activesupport (= 4.1.14)
42
+ activerecord (4.1.16)
43
+ activemodel (= 4.1.16)
44
+ activesupport (= 4.1.16)
45
45
  arel (~> 5.0.0)
46
- activerecord-bogacs (0.4.1)
47
- activerecord-jdbc-adapter (1.3.19)
46
+ activerecord-bogacs (0.5.0)
47
+ activerecord-jdbc-adapter (1.3.21)
48
48
  activerecord (>= 2.2)
49
- activesupport (4.1.14)
49
+ activesupport (4.1.16)
50
50
  i18n (~> 0.6, >= 0.6.9)
51
51
  json (~> 1.7, >= 1.7.7)
52
52
  minitest (~> 5.1)
@@ -65,9 +65,9 @@ GEM
65
65
  diff-lcs (1.1.3)
66
66
  equalizer (0.0.11)
67
67
  erubis (2.7.0)
68
- ethon (0.8.0)
68
+ ethon (0.9.1)
69
69
  ffi (>= 1.3.0)
70
- ffi (1.9.10-java)
70
+ ffi (1.9.14-java)
71
71
  i18n (0.7.0)
72
72
  ice_nine (0.11.1)
73
73
  jar-dependencies (0.3.1)
@@ -77,22 +77,23 @@ GEM
77
77
  maven-tools (~> 1.0.10)
78
78
  ruby-maven (~> 3.3, >= 3.3.3)
79
79
  jdbc-mariadb (1.2.3)
80
+ jdbc-postgres (9.4.1206)
80
81
  jdbc-sqlite3 (3.8.11.2)
81
- jruby-openssl (0.9.12-java)
82
+ jruby-openssl (0.9.18-java)
82
83
  json (1.8.3-java)
83
- killbill (7.0.0)
84
+ killbill (8.3.0)
84
85
  rack (>= 1.5.2)
85
86
  sinatra (~> 1.3.4)
86
87
  typhoeus (~> 0.6.9)
87
88
  tzinfo (~> 1.2.0)
88
89
  maven-tools (1.0.13)
89
90
  virtus (~> 1.0)
90
- minitest (5.8.3)
91
+ minitest (5.9.1)
91
92
  monetize (1.1.0)
92
93
  money (~> 6.5.0)
93
94
  money (6.5.1)
94
95
  i18n (>= 0.6.4, <= 0.7.0)
95
- nokogiri (1.6.7.1-java)
96
+ nokogiri (1.6.8.1-java)
96
97
  offsite_payments (2.1.0)
97
98
  actionpack (>= 3.2.20, < 5.0.0)
98
99
  active_utils (~> 3.0.0)
@@ -140,10 +141,11 @@ PLATFORMS
140
141
  DEPENDENCIES
141
142
  jbundler (~> 0.9.2)
142
143
  jdbc-mariadb (~> 1.1)
144
+ jdbc-postgres (~> 9.4)
143
145
  jdbc-sqlite3 (~> 3.7)
144
146
  killbill-litle!
145
147
  rake (>= 10.0.0)
146
148
  rspec (~> 2.12.0)
147
149
 
148
150
  BUNDLED WITH
149
- 1.10.6
151
+ 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'
data/Jarfile.lock CHANGED
@@ -1,63 +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:bcprov-jdk15on:jar:1.55
17
+ - org.bouncycastle:bcpkix-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
23
+ - org.javassist:javassist:jar:3.19.0-GA
22
24
  - 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
25
  - org.apache.commons:commons-email:jar:1.2
26
26
  - org.mockito:mockito-all:jar:1.10.19
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
39
- - org.bouncycastle:bcprov-jdk15on:jar:1.50
37
+ - com.fasterxml.jackson.core:jackson-core:jar:2.4.5
40
38
  - org.apache.felix:org.apache.felix.framework:jar:4.4.1
41
39
  - org.joda:joda-money:jar:0.9
42
- - org.kill-bill.commons:killbill-jdbi:jar:0.11
43
- - org.kill-bill.commons:killbill-embeddeddb-common:jar:0.11
40
+ - org.kill-bill.billing.plugin:killbill-plugin-api-payment:jar:0.23
44
41
  - org.apache.shiro:shiro-core:jar:1.2.3
45
- - org.bouncycastle:bcpkix-jdk15on:jar:1.50
46
- - org.kill-bill.billing:killbill-platform-osgi-api:jar:0.15
47
- - org.kill-bill.billing.plugin:killbill-plugin-api-payment:jar:0.18
48
- - 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
49
46
  - com.google.guava:guava:jar:r09
50
- - org.kill-bill.commons:killbill-locker:jar:0.11
47
+ - org.kill-bill.commons:killbill-queue:jar:0.20
51
48
  - org.osgi:org.osgi.compendium:jar:5.0.0
52
- - org.kill-bill.commons:killbill-queue:jar:0.11
53
- - org.kill-bill.commons:killbill-concurrent:jar:0.11
49
+ - org.kill-bill.commons:killbill-xmlloader:jar:0.20
54
50
  - javax.servlet:javax.servlet-api:jar:3.1.0
51
+ - org.kill-bill.billing:killbill-platform-osgi:jar:0.36.1
52
+ - org.kill-bill.billing:killbill-platform-base:jar:0.36.1
55
53
  - org.apache.shiro:shiro-ehcache:jar:1.2.3
56
54
  - javax.inject:javax.inject:jar:1
57
- - 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
57
+ - org.kill-bill.billing:killbill-platform-osgi-api:jar:0.36.1
58
58
  - com.google.inject.extensions:guice-multibindings:jar:3.0
59
59
  - net.sf.ehcache:ehcache:jar:2.9.1
60
- - org.kill-bill.billing.plugin:killbill-plugin-api-invoice:jar:0.18
61
- - 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
62
62
  - org.apache.shiro:shiro-guice:jar:1.2.3
63
+ - org.kill-bill.commons:killbill-concurrent:jar:0.20
64
+ - org.kill-bill.billing.plugin:killbill-plugin-api-catalog:jar:0.23
65
+ - org.kill-bill.billing.plugin:killbill-plugin-api-notification:jar:0.23
63
66
  - com.google.code.findbugs:annotations:jar:3.0.0
data/NEWS CHANGED
@@ -1,3 +1,6 @@
1
+ 4.0.0
2
+ Initial release for Kill Bill 0.18.x
3
+
1
4
  3.0.0
2
5
  Initial release for Kill Bill 0.16.x
3
6
 
data/README.md CHANGED
@@ -12,6 +12,7 @@ Kill Bill compatibility
12
12
  | -------------: | ----------------: |
13
13
  | 2.x.y | 0.14.z |
14
14
  | 3.x.y | 0.16.z |
15
+ | 4.x.y | 0.18.z |
15
16
 
16
17
  Requirements
17
18
  ------------
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.0
1
+ 4.0.0
@@ -22,20 +22,20 @@ 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_dependency 'sinatra', '~> 1.3.4'
28
28
  s.add_dependency 'thread_safe', '~> 0.3.4'
29
29
  s.add_dependency 'activerecord', '~> 4.1.0'
30
30
  if defined?(JRUBY_VERSION)
31
31
  s.add_dependency 'activerecord-bogacs', '~> 0.3'
32
- s.add_dependency 'activerecord-jdbc-adapter', '~> 1.3'
33
- # Required to avoid errors like java.lang.NoClassDefFoundError: org/bouncycastle/asn1/DERBoolean
34
- s.add_dependency 'jruby-openssl', '~> 0.9.6'
32
+ s.add_dependency 'activerecord-jdbc-adapter', '~> 1.3', '< 1.5'
33
+ s.add_dependency 'jruby-openssl', '~> 0.9.7'
35
34
  end
36
35
  s.add_dependency 'actionpack', '~> 4.1.0'
37
36
  s.add_dependency 'actionview', '~> 4.1.0'
38
- s.add_dependency 'activemerchant', '~> 1.48.0'
37
+ # 1.56.0 and above requires Ruby 2.0
38
+ s.add_dependency 'activemerchant', '~> 1.55.0'
39
39
  s.add_dependency 'offsite_payments', '~> 2.1.0'
40
40
  s.add_dependency 'monetize', '~> 1.1.0'
41
41
  s.add_dependency 'money', '~> 6.5.1'
@@ -46,6 +46,7 @@ Gem::Specification.new do |s|
46
46
  if defined?(JRUBY_VERSION)
47
47
  s.add_development_dependency 'jdbc-sqlite3', '~> 3.7'
48
48
  s.add_development_dependency 'jdbc-mariadb', '~> 1.1'
49
+ s.add_development_dependency 'jdbc-postgres', '~> 9.4'
49
50
  else
50
51
  s.add_development_dependency 'sqlite3', '~> 1.3.7'
51
52
  end
data/lib/litle.rb CHANGED
@@ -40,7 +40,7 @@ module ActiveMerchant #:nodoc:
40
40
  end
41
41
 
42
42
  def add_auth_purchase_params(doc, money, payment_method, options)
43
- doc.orderId(truncated_order_id(options))
43
+ doc.orderId(truncate(options[:order_id], 24))
44
44
  doc.amount(money)
45
45
  add_order_source(doc, payment_method, options)
46
46
  add_billing_address(doc, payment_method, options)
data/pom.xml CHANGED
@@ -26,7 +26,7 @@
26
26
  <groupId>org.kill-bill.billing.plugin.ruby</groupId>
27
27
  <artifactId>litle-plugin</artifactId>
28
28
  <packaging>pom</packaging>
29
- <version>3.0.0</version>
29
+ <version>4.0.0</version>
30
30
  <name>litle-plugin</name>
31
31
  <url>http://github.com/killbill/killbill-litle-plugin</url>
32
32
  <description>Plugin for accessing Litle as a payment gateway</description>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: killbill-litle
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
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-12-18 00:00:00.000000000 Z
11
+ date: 2016-11-16 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
@@ -87,11 +87,17 @@ dependencies:
87
87
  - - ~>
88
88
  - !ruby/object:Gem::Version
89
89
  version: '1.3'
90
+ - - <
91
+ - !ruby/object:Gem::Version
92
+ version: '1.5'
90
93
  requirement: !ruby/object:Gem::Requirement
91
94
  requirements:
92
95
  - - ~>
93
96
  - !ruby/object:Gem::Version
94
97
  version: '1.3'
98
+ - - <
99
+ - !ruby/object:Gem::Version
100
+ version: '1.5'
95
101
  prerelease: false
96
102
  type: :runtime
97
103
  - !ruby/object:Gem::Dependency
@@ -100,12 +106,12 @@ dependencies:
100
106
  requirements:
101
107
  - - ~>
102
108
  - !ruby/object:Gem::Version
103
- version: 0.9.6
109
+ version: 0.9.7
104
110
  requirement: !ruby/object:Gem::Requirement
105
111
  requirements:
106
112
  - - ~>
107
113
  - !ruby/object:Gem::Version
108
- version: 0.9.6
114
+ version: 0.9.7
109
115
  prerelease: false
110
116
  type: :runtime
111
117
  - !ruby/object:Gem::Dependency
@@ -142,12 +148,12 @@ dependencies:
142
148
  requirements:
143
149
  - - ~>
144
150
  - !ruby/object:Gem::Version
145
- version: 1.48.0
151
+ version: 1.55.0
146
152
  requirement: !ruby/object:Gem::Requirement
147
153
  requirements:
148
154
  - - ~>
149
155
  - !ruby/object:Gem::Version
150
- version: 1.48.0
156
+ version: 1.55.0
151
157
  prerelease: false
152
158
  type: :runtime
153
159
  - !ruby/object:Gem::Dependency
@@ -262,6 +268,20 @@ dependencies:
262
268
  version: '1.1'
263
269
  prerelease: false
264
270
  type: :development
271
+ - !ruby/object:Gem::Dependency
272
+ name: jdbc-postgres
273
+ version_requirements: !ruby/object:Gem::Requirement
274
+ requirements:
275
+ - - ~>
276
+ - !ruby/object:Gem::Version
277
+ version: '9.4'
278
+ requirement: !ruby/object:Gem::Requirement
279
+ requirements:
280
+ - - ~>
281
+ - !ruby/object:Gem::Version
282
+ version: '9.4'
283
+ prerelease: false
284
+ type: :development
265
285
  description: Kill Bill payment plugin for Litle & Co.
266
286
  email: killbilling-users@googlegroups.com
267
287
  executables: []
@@ -323,7 +343,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
323
343
  version: '0'
324
344
  requirements: []
325
345
  rubyforge_project:
326
- rubygems_version: 2.1.9
346
+ rubygems_version: 2.4.6
327
347
  signing_key:
328
348
  specification_version: 4
329
349
  summary: Plugin to use Litle & Co. as a gateway.