kpm 0.0.15 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +43 -22
- data/Rakefile +8 -2
- data/lib/kpm.rb +4 -1
- data/lib/kpm/base_artifact.rb +77 -34
- data/lib/kpm/base_installer.rb +183 -0
- data/lib/kpm/installer.rb +51 -85
- data/lib/kpm/killbill_server_artifact.rb +51 -0
- data/lib/kpm/plugins_directory.rb +19 -5
- data/lib/kpm/plugins_directory.yml +119 -15
- data/lib/kpm/plugins_manager.rb +110 -0
- data/lib/kpm/tasks.rb +16 -2
- data/lib/kpm/tomcat_manager.rb +62 -0
- data/lib/kpm/utils.rb +7 -1
- data/lib/kpm/version.rb +1 -1
- data/spec/kpm/remote/base_artifact_spec.rb +4 -2
- data/spec/kpm/remote/installer_spec.rb +35 -22
- data/spec/kpm/remote/killbill_server_artifact_spec.rb +10 -0
- data/spec/kpm/remote/tomcat_manager_spec.rb +21 -0
- data/spec/kpm/unit/base_artifact_spec.rb +92 -0
- data/spec/kpm/unit/plugins_directory_spec.rb +45 -0
- data/spec/kpm/unit/plugins_manager_spec.rb +100 -0
- data/spec/kpm/unit/sha1_checker_spec.rb +1 -4
- metadata +51 -52
@@ -10,7 +10,6 @@ describe KPM::Sha1Checker do
|
|
10
10
|
init_config = File.join(File.dirname(__FILE__), 'sha1_test.yml')
|
11
11
|
FileUtils.copy(init_config, tmp_destination_dir)
|
12
12
|
@tmp_config = File.join(tmp_destination_dir, 'sha1_test.yml')
|
13
|
-
puts "tmp config = #{@tmp_config}"
|
14
13
|
@sha1_checker = KPM::Sha1Checker.from_file(@tmp_config)
|
15
14
|
end
|
16
15
|
|
@@ -81,6 +80,4 @@ describe KPM::Sha1Checker do
|
|
81
80
|
existing.should_not be_nil
|
82
81
|
existing.should == 'abc068c3fd5f95646ce0d09852f43ff67f06f111'
|
83
82
|
end
|
84
|
-
|
85
|
-
|
86
|
-
end
|
83
|
+
end
|
metadata
CHANGED
@@ -1,85 +1,85 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kpm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.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: 2015-
|
11
|
+
date: 2015-12-07 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: rake
|
57
|
-
|
57
|
+
version_requirements: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - '>='
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: 10.0.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: 10.0.0
|
67
|
+
prerelease: false
|
68
|
+
type: :development
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rspec
|
71
|
-
|
71
|
+
version_requirements: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- -
|
73
|
+
- - ~>
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: 2.12.0
|
76
|
-
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
76
|
+
requirement: !ruby/object:Gem::Requirement
|
79
77
|
requirements:
|
80
|
-
- -
|
78
|
+
- - ~>
|
81
79
|
- !ruby/object:Gem::Version
|
82
80
|
version: 2.12.0
|
81
|
+
prerelease: false
|
82
|
+
type: :development
|
83
83
|
description: A package manager for Kill Bill.
|
84
84
|
email: killbilling-users@googlegroups.com
|
85
85
|
executables:
|
@@ -87,8 +87,8 @@ executables:
|
|
87
87
|
extensions: []
|
88
88
|
extra_rdoc_files: []
|
89
89
|
files:
|
90
|
-
-
|
91
|
-
-
|
90
|
+
- .gemrelease
|
91
|
+
- .gitignore
|
92
92
|
- Gemfile
|
93
93
|
- README.md
|
94
94
|
- Rakefile
|
@@ -97,6 +97,7 @@ files:
|
|
97
97
|
- kpm.gemspec
|
98
98
|
- lib/kpm.rb
|
99
99
|
- lib/kpm/base_artifact.rb
|
100
|
+
- lib/kpm/base_installer.rb
|
100
101
|
- lib/kpm/cli.rb
|
101
102
|
- lib/kpm/installer.rb
|
102
103
|
- lib/kpm/kaui_artifact.rb
|
@@ -104,8 +105,10 @@ files:
|
|
104
105
|
- lib/kpm/killbill_server_artifact.rb
|
105
106
|
- lib/kpm/plugins_directory.rb
|
106
107
|
- lib/kpm/plugins_directory.yml
|
108
|
+
- lib/kpm/plugins_manager.rb
|
107
109
|
- lib/kpm/sha1_checker.rb
|
108
110
|
- lib/kpm/tasks.rb
|
111
|
+
- lib/kpm/tomcat_manager.rb
|
109
112
|
- lib/kpm/utils.rb
|
110
113
|
- lib/kpm/version.rb
|
111
114
|
- spec/kpm/remote/base_artifact_spec.rb
|
@@ -113,6 +116,10 @@ files:
|
|
113
116
|
- spec/kpm/remote/kaui_artifact_spec.rb
|
114
117
|
- spec/kpm/remote/killbill_plugin_artifact_spec.rb
|
115
118
|
- spec/kpm/remote/killbill_server_artifact_spec.rb
|
119
|
+
- spec/kpm/remote/tomcat_manager_spec.rb
|
120
|
+
- spec/kpm/unit/base_artifact_spec.rb
|
121
|
+
- spec/kpm/unit/plugins_directory_spec.rb
|
122
|
+
- spec/kpm/unit/plugins_manager_spec.rb
|
116
123
|
- spec/kpm/unit/sha1_checker_spec.rb
|
117
124
|
- spec/kpm/unit/sha1_test.yml
|
118
125
|
- spec/spec_helper.rb
|
@@ -120,34 +127,26 @@ homepage: http://kill-bill.org
|
|
120
127
|
licenses:
|
121
128
|
- Apache License (2.0)
|
122
129
|
metadata: {}
|
123
|
-
post_install_message:
|
130
|
+
post_install_message:
|
124
131
|
rdoc_options:
|
125
|
-
-
|
126
|
-
-
|
132
|
+
- --exclude
|
133
|
+
- .
|
127
134
|
require_paths:
|
128
135
|
- lib
|
129
136
|
required_ruby_version: !ruby/object:Gem::Requirement
|
130
137
|
requirements:
|
131
|
-
- -
|
138
|
+
- - '>='
|
132
139
|
- !ruby/object:Gem::Version
|
133
140
|
version: 1.8.6
|
134
141
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
135
142
|
requirements:
|
136
|
-
- -
|
143
|
+
- - '>='
|
137
144
|
- !ruby/object:Gem::Version
|
138
145
|
version: '0'
|
139
146
|
requirements: []
|
140
|
-
rubyforge_project:
|
141
|
-
rubygems_version: 2.
|
142
|
-
signing_key:
|
147
|
+
rubyforge_project:
|
148
|
+
rubygems_version: 2.1.9
|
149
|
+
signing_key:
|
143
150
|
specification_version: 4
|
144
151
|
summary: Kill Bill package manager.
|
145
|
-
test_files:
|
146
|
-
- spec/kpm/remote/base_artifact_spec.rb
|
147
|
-
- spec/kpm/remote/installer_spec.rb
|
148
|
-
- spec/kpm/remote/kaui_artifact_spec.rb
|
149
|
-
- spec/kpm/remote/killbill_plugin_artifact_spec.rb
|
150
|
-
- spec/kpm/remote/killbill_server_artifact_spec.rb
|
151
|
-
- spec/kpm/unit/sha1_checker_spec.rb
|
152
|
-
- spec/kpm/unit/sha1_test.yml
|
153
|
-
- spec/spec_helper.rb
|
152
|
+
test_files: []
|