kpm 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/kpm/plugins_directory.rb +1 -2
- data/lib/kpm/plugins_directory.yml +8 -10
- data/lib/kpm/version.rb +1 -1
- data/spec/kpm/remote/installer_spec.rb +1 -1
- data/spec/kpm/unit/plugins_directory_spec.rb +0 -9
- metadata +52 -69
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b42b6f7f972639d9d77219a8c71a264aed4dcf2a
|
4
|
+
data.tar.gz: 0daccb639ec05876021be054065399a4af7795f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f111bad2072e8181201355bd573c840babefc629e12419c8abe6c43d22f527a1fd162871e236c641673a7fc028d8aa766575812888627c6a1c1a587fc86717a
|
7
|
+
data.tar.gz: dd37865c6074b5cbb672be6b679d2be2d9e0424feea5dd74a0facf0df9823d1e77382fb15c670ed29790712a9f7251734081d7527dbfb62cf89ca42dd6aacab5
|
@@ -36,10 +36,9 @@ module KPM
|
|
36
36
|
if raw_kb_version == 'LATEST'
|
37
37
|
version = 'LATEST'
|
38
38
|
else
|
39
|
-
# Keep supporting the deprecated key :stable_version for now
|
40
39
|
captures = raw_kb_version.nil? ? [] : raw_kb_version.scan(/(\d+\.\d+)(\.\d)?/)
|
41
40
|
if captures.empty? || captures.first.nil? || captures.first.first.nil?
|
42
|
-
version =
|
41
|
+
version = 'LATEST'
|
43
42
|
else
|
44
43
|
kb_version = captures.first.first
|
45
44
|
version = (plugin[:versions] || {})[kb_version.to_sym] || 'LATEST'
|
@@ -14,7 +14,7 @@
|
|
14
14
|
:0.14: 0.1.0
|
15
15
|
:0.15: 0.2.1
|
16
16
|
:0.16: 0.3.2
|
17
|
-
:0.17: 0.4.
|
17
|
+
:0.17: 0.4.9
|
18
18
|
:require:
|
19
19
|
- :org.killbill.billing.plugin.adyen.merchantAccount
|
20
20
|
- :org.killbill.billing.plugin.adyen.username
|
@@ -26,14 +26,13 @@
|
|
26
26
|
:0.14: 1.0.3
|
27
27
|
:0.15: 2.0.1
|
28
28
|
:0.16: 3.0.2
|
29
|
-
|
29
|
+
:0.17: 4.0.5
|
30
30
|
:avatax:
|
31
31
|
:type: :java
|
32
32
|
:versions:
|
33
33
|
:0.14: 0.1.0
|
34
34
|
:0.15: 0.2.0
|
35
35
|
:0.16: 0.3.0
|
36
|
-
:stable_version: 0.2.0
|
37
36
|
:require:
|
38
37
|
- :org.killbill.billing.plugin.avatax.url
|
39
38
|
- :org.killbill.billing.plugin.avatax.accountNumber
|
@@ -43,7 +42,6 @@
|
|
43
42
|
:versions:
|
44
43
|
:0.14: 0.0.1
|
45
44
|
:0.16: 0.2.1
|
46
|
-
:stable_version: 0.1.0
|
47
45
|
:require:
|
48
46
|
- :merchant_id
|
49
47
|
- :public_key
|
@@ -58,8 +56,7 @@
|
|
58
56
|
:versions:
|
59
57
|
:0.14: 1.0.0
|
60
58
|
:0.15: 3.3.0
|
61
|
-
:0.16: 4.0.
|
62
|
-
:stable_version: 0.0.4
|
59
|
+
:0.16: 4.0.11
|
63
60
|
:require:
|
64
61
|
- :login
|
65
62
|
- :password
|
@@ -69,7 +66,6 @@
|
|
69
66
|
:versions:
|
70
67
|
:0.14: 0.1.0
|
71
68
|
:0.16: 0.2.0
|
72
|
-
:stable_version: 0.1.0
|
73
69
|
:firstdata_e4:
|
74
70
|
:type: :ruby
|
75
71
|
:artifact_id: firstdata-e4-plugin
|
@@ -101,7 +97,6 @@
|
|
101
97
|
:versions:
|
102
98
|
:0.14: 2.0.0
|
103
99
|
:0.16: 3.0.0
|
104
|
-
:stable_version: 1.10.0
|
105
100
|
:require:
|
106
101
|
- :account_id
|
107
102
|
- :merchant_id
|
@@ -124,6 +119,11 @@
|
|
124
119
|
- :org.killbill.billing.plugin.payeezy.token
|
125
120
|
- :org.killbill.billing.plugin.payeezy.secret
|
126
121
|
- :org.killbill.billing.plugin.payeezy.paymentUrl
|
122
|
+
:payment-retries:
|
123
|
+
:type: :java
|
124
|
+
:versions:
|
125
|
+
:0.16: 0.0.1
|
126
|
+
:0.17: 0.1.0
|
127
127
|
:paypal:
|
128
128
|
:type: :ruby
|
129
129
|
:artifact_id: paypal-express-plugin
|
@@ -131,7 +131,6 @@
|
|
131
131
|
:0.14: 2.0.0
|
132
132
|
:0.15: 3.0.0
|
133
133
|
:0.16: 4.1.5
|
134
|
-
:stable_version: 2.0.0
|
135
134
|
:require:
|
136
135
|
- :signature
|
137
136
|
- :login
|
@@ -160,7 +159,6 @@
|
|
160
159
|
:0.15: 2.0.0
|
161
160
|
:0.16: 3.0.3
|
162
161
|
:0.17: 4.0.0
|
163
|
-
:stable_version: 2.0.0
|
164
162
|
:require:
|
165
163
|
- :api_secret_key
|
166
164
|
:zendesk:
|
data/lib/kpm/version.rb
CHANGED
@@ -139,7 +139,7 @@ describe KPM::Installer do
|
|
139
139
|
plugin_identifiers['stripe']['group_id'].should == 'org.kill-bill.billing.plugin.ruby'
|
140
140
|
plugin_identifiers['stripe']['artifact_id'].should == 'stripe-plugin'
|
141
141
|
plugin_identifiers['stripe']['packaging'].should == 'tar.gz'
|
142
|
-
plugin_identifiers['stripe']['version'].should
|
142
|
+
plugin_identifiers['stripe']['version'].should >= '4.0.0'
|
143
143
|
plugin_identifiers['stripe']['language'].should == 'ruby'
|
144
144
|
end
|
145
145
|
end
|
@@ -7,15 +7,6 @@ describe KPM::PluginsDirectory do
|
|
7
7
|
directory.size.should > 0
|
8
8
|
end
|
9
9
|
|
10
|
-
it 'should lookup plugins (legacy way)' do
|
11
|
-
group_id, artifact_id, packaging, classifier, version, type = KPM::PluginsDirectory.lookup('analytics', false)
|
12
|
-
group_id.should == 'org.kill-bill.billing.plugin.java'
|
13
|
-
artifact_id.should == 'analytics-plugin'
|
14
|
-
packaging.should == 'jar'
|
15
|
-
classifier.should be_nil
|
16
|
-
version.should == '2.0.2'
|
17
|
-
type.should == :java
|
18
|
-
end
|
19
10
|
|
20
11
|
it 'should lookup plugins' do
|
21
12
|
group_id, artifact_id, packaging, classifier, version, type = KPM::PluginsDirectory.lookup('analytics', false, '0.14')
|
metadata
CHANGED
@@ -1,105 +1,105 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kpm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kill Bill core team
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-11-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: highline
|
15
|
-
|
15
|
+
version_requirements: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 1.6.21
|
20
|
-
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
20
|
+
requirement: !ruby/object:Gem::Requirement
|
23
21
|
requirements:
|
24
|
-
- -
|
22
|
+
- - ~>
|
25
23
|
- !ruby/object:Gem::Version
|
26
24
|
version: 1.6.21
|
25
|
+
prerelease: false
|
26
|
+
type: :runtime
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: nexus_cli
|
29
|
-
|
29
|
+
version_requirements: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ~>
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: 4.1.0
|
34
|
-
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
34
|
+
requirement: !ruby/object:Gem::Requirement
|
37
35
|
requirements:
|
38
|
-
- -
|
36
|
+
- - ~>
|
39
37
|
- !ruby/object:Gem::Version
|
40
38
|
version: 4.1.0
|
39
|
+
prerelease: false
|
40
|
+
type: :runtime
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: thor
|
43
|
-
|
43
|
+
version_requirements: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ~>
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: 0.19.1
|
48
|
-
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
51
49
|
requirements:
|
52
|
-
- -
|
50
|
+
- - ~>
|
53
51
|
- !ruby/object:Gem::Version
|
54
52
|
version: 0.19.1
|
53
|
+
prerelease: false
|
54
|
+
type: :runtime
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rubyzip
|
57
|
-
|
57
|
+
version_requirements: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - ~>
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: 1.2.0
|
62
|
-
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
62
|
+
requirement: !ruby/object:Gem::Requirement
|
65
63
|
requirements:
|
66
|
-
- -
|
64
|
+
- - ~>
|
67
65
|
- !ruby/object:Gem::Version
|
68
66
|
version: 1.2.0
|
67
|
+
prerelease: false
|
68
|
+
type: :runtime
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rake
|
71
|
-
|
71
|
+
version_requirements: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- -
|
73
|
+
- - '>='
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: 10.0.0
|
76
|
-
- -
|
76
|
+
- - <
|
77
77
|
- !ruby/object:Gem::Version
|
78
78
|
version: 11.0.0
|
79
|
-
|
80
|
-
prerelease: false
|
81
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirement: !ruby/object:Gem::Requirement
|
82
80
|
requirements:
|
83
|
-
- -
|
81
|
+
- - '>='
|
84
82
|
- !ruby/object:Gem::Version
|
85
83
|
version: 10.0.0
|
86
|
-
- -
|
84
|
+
- - <
|
87
85
|
- !ruby/object:Gem::Version
|
88
86
|
version: 11.0.0
|
87
|
+
prerelease: false
|
88
|
+
type: :development
|
89
89
|
- !ruby/object:Gem::Dependency
|
90
90
|
name: rspec
|
91
|
-
|
91
|
+
version_requirements: !ruby/object:Gem::Requirement
|
92
92
|
requirements:
|
93
|
-
- -
|
93
|
+
- - ~>
|
94
94
|
- !ruby/object:Gem::Version
|
95
95
|
version: 2.12.0
|
96
|
-
|
97
|
-
prerelease: false
|
98
|
-
version_requirements: !ruby/object:Gem::Requirement
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
99
97
|
requirements:
|
100
|
-
- -
|
98
|
+
- - ~>
|
101
99
|
- !ruby/object:Gem::Version
|
102
100
|
version: 2.12.0
|
101
|
+
prerelease: false
|
102
|
+
type: :development
|
103
103
|
description: A package manager for Kill Bill.
|
104
104
|
email: killbilling-users@googlegroups.com
|
105
105
|
executables:
|
@@ -107,8 +107,8 @@ executables:
|
|
107
107
|
extensions: []
|
108
108
|
extra_rdoc_files: []
|
109
109
|
files:
|
110
|
-
-
|
111
|
-
-
|
110
|
+
- .gemrelease
|
111
|
+
- .gitignore
|
112
112
|
- Gemfile
|
113
113
|
- README.md
|
114
114
|
- Rakefile
|
@@ -157,43 +157,26 @@ homepage: http://kill-bill.org
|
|
157
157
|
licenses:
|
158
158
|
- Apache License (2.0)
|
159
159
|
metadata: {}
|
160
|
-
post_install_message:
|
160
|
+
post_install_message:
|
161
161
|
rdoc_options:
|
162
|
-
-
|
163
|
-
-
|
162
|
+
- --exclude
|
163
|
+
- .
|
164
164
|
require_paths:
|
165
165
|
- lib
|
166
166
|
required_ruby_version: !ruby/object:Gem::Requirement
|
167
167
|
requirements:
|
168
|
-
- -
|
168
|
+
- - '>='
|
169
169
|
- !ruby/object:Gem::Version
|
170
170
|
version: 1.8.6
|
171
171
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
172
172
|
requirements:
|
173
|
-
- -
|
173
|
+
- - '>='
|
174
174
|
- !ruby/object:Gem::Version
|
175
175
|
version: '0'
|
176
176
|
requirements: []
|
177
|
-
rubyforge_project:
|
178
|
-
rubygems_version: 2.
|
179
|
-
signing_key:
|
177
|
+
rubyforge_project:
|
178
|
+
rubygems_version: 2.4.6
|
179
|
+
signing_key:
|
180
180
|
specification_version: 4
|
181
181
|
summary: Kill Bill package manager.
|
182
|
-
test_files:
|
183
|
-
- spec/kpm/remote/base_artifact_spec.rb
|
184
|
-
- spec/kpm/remote/base_installer_spec.rb
|
185
|
-
- spec/kpm/remote/installer_spec.rb
|
186
|
-
- spec/kpm/remote/kaui_artifact_spec.rb
|
187
|
-
- spec/kpm/remote/killbill_plugin_artifact_spec.rb
|
188
|
-
- spec/kpm/remote/killbill_server_artifact_spec.rb
|
189
|
-
- spec/kpm/remote/migrations_spec.rb
|
190
|
-
- spec/kpm/remote/tomcat_manager_spec.rb
|
191
|
-
- spec/kpm/unit/base_artifact_spec.rb
|
192
|
-
- spec/kpm/unit/inspector_spec.rb
|
193
|
-
- spec/kpm/unit/installer_spec.rb
|
194
|
-
- spec/kpm/unit/plugins_directory_spec.rb
|
195
|
-
- spec/kpm/unit/plugins_manager_spec.rb
|
196
|
-
- spec/kpm/unit/sha1_checker_spec.rb
|
197
|
-
- spec/kpm/unit/sha1_test.yml
|
198
|
-
- spec/kpm/unit/uninstaller_spec.rb
|
199
|
-
- spec/spec_helper.rb
|
182
|
+
test_files: []
|