kpm 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/install_example.yml +4 -4
- data/lib/kpm/base_artifact.rb +4 -4
- data/lib/kpm/installer.rb +1 -1
- data/lib/kpm/version.rb +1 -1
- data/spec/kpm/remote/killbill_server_artifact_spec.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c2ef2e9949503e0e3a521c60b1a8ee567677dceb
|
4
|
+
data.tar.gz: 62dccfbc0b243504d7c41f254302b3bb655f57aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e478dbf85449739ff90b0eff025556c23dcacb9dddc66a7df4a2bcbf1b2b9a03f0240c507c2c861ed0f8879b7d13278e7ba219bae46538664e62236bb3d58dc6
|
7
|
+
data.tar.gz: 222605891555eb6dcea0b3c7d6f7ed9f7a3775ccf472a075a2468f451bcd4b16ccc3d4812239a0c37f977f313c3582c716b74de171330d1143290e70e6083dd9
|
data/install_example.yml
CHANGED
@@ -14,8 +14,8 @@ killbill:
|
|
14
14
|
version: 1.3.0
|
15
15
|
nexus:
|
16
16
|
ssl_verify: false
|
17
|
-
url: https://
|
18
|
-
repository:
|
17
|
+
url: https://oss.sonatype.org
|
18
|
+
repository: releases
|
19
19
|
# You can use https://github.com/reidmorrison/symmetric-encryption for encryption
|
20
20
|
#username: bob
|
21
21
|
#password: bob
|
@@ -25,5 +25,5 @@ kaui:
|
|
25
25
|
webapp_path: /var/tmp/tomcat/webapps/kaui
|
26
26
|
nexus:
|
27
27
|
ssl_verify: false
|
28
|
-
url: https://
|
29
|
-
repository:
|
28
|
+
url: https://oss.sonatype.org
|
29
|
+
repository: releases
|
data/lib/kpm/base_artifact.rb
CHANGED
@@ -15,11 +15,11 @@ module KPM
|
|
15
15
|
|
16
16
|
KILLBILL_ARTIFACT_ID = 'killbill-profiles-killbill'
|
17
17
|
KILLBILL_PACKAGING = 'war'
|
18
|
-
KILLBILL_CLASSIFIER =
|
18
|
+
KILLBILL_CLASSIFIER = nil
|
19
19
|
|
20
20
|
KILLPAY_ARTIFACT_ID = 'killbill-profiles-killpay'
|
21
21
|
KILLPAY_PACKAGING = 'war'
|
22
|
-
KILLPAY_CLASSIFIER =
|
22
|
+
KILLPAY_CLASSIFIER = nil
|
23
23
|
|
24
24
|
KILLBILL_JAVA_PLUGIN_GROUP_ID = 'org.kill-bill.billing.plugin.java'
|
25
25
|
KILLBILL_JAVA_PLUGIN_PACKAGING = 'jar'
|
@@ -46,8 +46,8 @@ module KPM
|
|
46
46
|
|
47
47
|
def nexus_defaults
|
48
48
|
{
|
49
|
-
url: 'https://
|
50
|
-
repository: '
|
49
|
+
url: 'https://oss.sonatype.org',
|
50
|
+
repository: 'releases'
|
51
51
|
}
|
52
52
|
end
|
53
53
|
|
data/lib/kpm/installer.rb
CHANGED
@@ -99,7 +99,7 @@ module KPM
|
|
99
99
|
artifact_id = 'killbill-platform-osgi-bundles-defaultbundles'
|
100
100
|
packaging = 'tar.gz'
|
101
101
|
classifier = nil
|
102
|
-
version = @config['
|
102
|
+
version = @config['default_bundles_version'] || LATEST_VERSION
|
103
103
|
destination = "#{@config['plugins_dir']}/platform"
|
104
104
|
|
105
105
|
info = KPM::BaseArtifact.pull(@logger, group_id, artifact_id, packaging, classifier, version, destination, @nexus_config, @nexus_ssl_verify)
|
data/lib/kpm/version.rb
CHANGED
@@ -17,7 +17,7 @@ describe KPM::KillbillServerArtifact do
|
|
17
17
|
KPM::BaseArtifact::KILLBILL_CLASSIFIER,
|
18
18
|
'LATEST',
|
19
19
|
dir)
|
20
|
-
info[:file_name].should == "killbill-profiles-killbill-#{info[:version]}
|
20
|
+
info[:file_name].should == "killbill-profiles-killbill-#{info[:version]}.war"
|
21
21
|
info[:size].should == File.size(info[:file_path])
|
22
22
|
end
|
23
23
|
end
|
@@ -25,7 +25,7 @@ describe KPM::KillbillServerArtifact do
|
|
25
25
|
it 'should be able to list versions' do
|
26
26
|
versions = KPM::KillbillServerArtifact.versions(KPM::BaseArtifact::KILLBILL_ARTIFACT_ID).to_a
|
27
27
|
versions.size.should >= 2
|
28
|
-
versions[0].should == '0.11.
|
29
|
-
versions[1].should == '0.11.
|
28
|
+
versions[0].should == '0.11.10'
|
29
|
+
versions[1].should == '0.11.11'
|
30
30
|
end
|
31
31
|
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.0.
|
4
|
+
version: 0.0.8
|
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: 2014-
|
11
|
+
date: 2014-11-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: highline
|