kpm 0.8.1 → 0.8.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.rubocop.yml +3 -0
- data/lib/kpm/account.rb +1 -1
- data/lib/kpm/database.rb +5 -1
- data/lib/kpm/plugins_directory.yml +9 -5
- data/lib/kpm/version.rb +1 -1
- data/pom.xml +1 -1
- data/spec/kpm/remote/installer_spec.rb +15 -14
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: df289be332b4f05a4bbef990e189e237d7abef620b4f2318c3e2baadef91d6ce
|
4
|
+
data.tar.gz: d07e97f59cf97689ee44a5a6bcd1d9474765432db76fdafb47f999c9d6c10b50
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 80003066d5993ad352c661061c68282f128c52c975b2d9d027b8d0aa177629646e0c6789d3bbdd585ea4393713474f817fb09ae9faa48d7ddbb68eb5d87fc812
|
7
|
+
data.tar.gz: d1e570789b7d818606df5e5072183e4c76d2ad807bc0ed5ca2aeac0fc68769fe3b11081babd56623efaca7109954b504961e5fecf20047c9cb59e47e72b51832
|
data/.rubocop.yml
CHANGED
data/lib/kpm/account.rb
CHANGED
data/lib/kpm/database.rb
CHANGED
@@ -44,7 +44,11 @@ module KPM
|
|
44
44
|
@logger.error "\e[91;1mTransaction that fails to be executed (first 1,000 chars)\e[0m"
|
45
45
|
# Queries can be really big (bulk imports)
|
46
46
|
@logger.error "\e[91m#{query[0..1000]}\e[0m"
|
47
|
-
|
47
|
+
if response.include?('Table') && response.include?('doesn\'t exist')
|
48
|
+
@logger.warn "Skipping unknown table #{table_name}...."
|
49
|
+
else
|
50
|
+
raise Interrupt, "Importing table #{table_name}...... \e[91;1m#{response}\e[0m"
|
51
|
+
end
|
48
52
|
end
|
49
53
|
|
50
54
|
if response.include? 'LAST_INSERT_ID'
|
@@ -34,11 +34,16 @@
|
|
34
34
|
:versions:
|
35
35
|
:0.18: 0.3.1
|
36
36
|
:0.20: 0.5.1
|
37
|
-
:0.22: 0.6.
|
37
|
+
:0.22: 0.6.1
|
38
38
|
:forte:
|
39
39
|
:type: :java
|
40
40
|
:versions:
|
41
41
|
:0.18: 0.3.0
|
42
|
+
:kpm:
|
43
|
+
:type: :ruby
|
44
|
+
:versions:
|
45
|
+
:0.18: 1.1.2
|
46
|
+
:0.20: 1.3.0
|
42
47
|
:orbital:
|
43
48
|
:type: :ruby
|
44
49
|
:versions:
|
@@ -60,11 +65,10 @@
|
|
60
65
|
:0.18: 5.0.15
|
61
66
|
:0.20: 6.0.0
|
62
67
|
:payment-test:
|
63
|
-
:type: :
|
68
|
+
:type: :java
|
64
69
|
:artifact_id: payment-test-plugin
|
65
70
|
:versions:
|
66
|
-
:0.
|
67
|
-
:0.20: 6.0.0
|
71
|
+
:0.22: 7.0.4
|
68
72
|
:securenet:
|
69
73
|
:type: :ruby
|
70
74
|
:versions:
|
@@ -72,4 +76,4 @@
|
|
72
76
|
:stripe:
|
73
77
|
:type: :java
|
74
78
|
:versions:
|
75
|
-
:0.22: 7.0.
|
79
|
+
:0.22: 7.0.4
|
data/lib/kpm/version.rb
CHANGED
data/pom.xml
CHANGED
@@ -26,7 +26,7 @@
|
|
26
26
|
<groupId>org.kill-bill.billing.installer</groupId>
|
27
27
|
<artifactId>kpm</artifactId>
|
28
28
|
<packaging>pom</packaging>
|
29
|
-
<version>0.8.
|
29
|
+
<version>0.8.2</version>
|
30
30
|
<name>KPM</name>
|
31
31
|
<url>http://github.com/killbill/killbill-cloud</url>
|
32
32
|
<description>KPM: the Kill Bill Package Manager</description>
|
@@ -60,17 +60,16 @@ describe KPM::Installer do
|
|
60
60
|
'java' => [{
|
61
61
|
'name' => 'analytics',
|
62
62
|
'version' => '0.7.1'
|
63
|
+
}, {
|
64
|
+
'name' => 'stripe',
|
65
|
+
'version' => '7.0.0'
|
63
66
|
}],
|
64
67
|
'ruby' => [{
|
65
68
|
'name' => 'payment-test-plugin',
|
66
69
|
'artifact_id' => 'payment-test-plugin',
|
67
70
|
'group_id' => 'org.kill-bill.billing.plugin.ruby',
|
68
71
|
'version' => '1.8.7'
|
69
|
-
}
|
70
|
-
{
|
71
|
-
'name' => 'stripe',
|
72
|
-
'version' => '3.0.3'
|
73
|
-
}]
|
72
|
+
}]
|
74
73
|
}
|
75
74
|
},
|
76
75
|
'kaui' => {
|
@@ -105,10 +104,11 @@ describe KPM::Installer do
|
|
105
104
|
plugins_dir + '/plugins/java',
|
106
105
|
plugins_dir + '/plugins/java/analytics-plugin',
|
107
106
|
plugins_dir + '/plugins/java/analytics-plugin/0.7.1',
|
107
|
+
plugins_dir + '/plugins/java/stripe-plugin',
|
108
|
+
plugins_dir + '/plugins/java/stripe-plugin/7.0.0',
|
108
109
|
plugins_dir + '/plugins/ruby',
|
109
110
|
plugins_dir + '/plugins/ruby/killbill-payment-test',
|
110
|
-
plugins_dir + '/plugins/ruby/killbill-payment-test/1.8.7'
|
111
|
-
plugins_dir + '/plugins/ruby/killbill-stripe'
|
111
|
+
plugins_dir + '/plugins/ruby/killbill-payment-test/1.8.7'
|
112
112
|
].each do |dir|
|
113
113
|
File.directory?(dir).should be_true
|
114
114
|
end
|
@@ -119,6 +119,7 @@ describe KPM::Installer do
|
|
119
119
|
plugins_dir + '/platform/jruby.jar',
|
120
120
|
plugins_dir + '/plugins/plugin_identifiers.json',
|
121
121
|
plugins_dir + '/plugins/java/analytics-plugin/0.7.1/analytics-plugin-0.7.1.jar',
|
122
|
+
plugins_dir + '/plugins/java/stripe-plugin/7.0.0/stripe-plugin-7.0.0.jar',
|
122
123
|
plugins_dir + '/plugins/ruby/killbill-payment-test/1.8.7/killbill.properties'
|
123
124
|
].each do |file|
|
124
125
|
File.file?(file).should be_true
|
@@ -137,18 +138,18 @@ describe KPM::Installer do
|
|
137
138
|
plugin_identifiers['analytics']['version'].should eq '0.7.1'
|
138
139
|
plugin_identifiers['analytics']['language'].should eq 'java'
|
139
140
|
|
141
|
+
plugin_identifiers['stripe']['plugin_name'].should eq 'stripe-plugin'
|
142
|
+
plugin_identifiers['stripe']['group_id'].should eq 'org.kill-bill.billing.plugin.java'
|
143
|
+
plugin_identifiers['stripe']['artifact_id'].should eq 'stripe-plugin'
|
144
|
+
plugin_identifiers['stripe']['packaging'].should eq 'jar'
|
145
|
+
plugin_identifiers['stripe']['version'].should eq '7.0.0'
|
146
|
+
plugin_identifiers['stripe']['language'].should eq 'java'
|
147
|
+
|
140
148
|
plugin_identifiers['payment-test-plugin']['plugin_name'].should eq 'killbill-payment-test'
|
141
149
|
plugin_identifiers['payment-test-plugin']['group_id'].should eq 'org.kill-bill.billing.plugin.ruby'
|
142
150
|
plugin_identifiers['payment-test-plugin']['artifact_id'].should eq 'payment-test-plugin'
|
143
151
|
plugin_identifiers['payment-test-plugin']['packaging'].should eq 'tar.gz'
|
144
152
|
plugin_identifiers['payment-test-plugin']['version'].should eq '1.8.7'
|
145
153
|
plugin_identifiers['payment-test-plugin']['language'].should eq 'ruby'
|
146
|
-
|
147
|
-
plugin_identifiers['stripe']['plugin_name'].should eq 'killbill-stripe'
|
148
|
-
plugin_identifiers['stripe']['group_id'].should eq 'org.kill-bill.billing.plugin.ruby'
|
149
|
-
plugin_identifiers['stripe']['artifact_id'].should eq 'stripe-plugin'
|
150
|
-
plugin_identifiers['stripe']['packaging'].should eq 'tar.gz'
|
151
|
-
plugin_identifiers['stripe']['version'].should eq '3.0.3'
|
152
|
-
plugin_identifiers['stripe']['language'].should eq 'ruby'
|
153
154
|
end
|
154
155
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kpm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.2
|
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: 2020-
|
11
|
+
date: 2020-07-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: highline
|
@@ -210,8 +210,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
210
210
|
- !ruby/object:Gem::Version
|
211
211
|
version: '0'
|
212
212
|
requirements: []
|
213
|
-
|
214
|
-
rubygems_version: 2.6.14
|
213
|
+
rubygems_version: 3.0.8
|
215
214
|
signing_key:
|
216
215
|
specification_version: 4
|
217
216
|
summary: Kill Bill package manager.
|