buildpack-packager 2.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +14 -0
- data/.rspec +2 -0
- data/Gemfile +5 -0
- data/LICENSE +176 -0
- data/README.md +180 -0
- data/Rakefile +6 -0
- data/bin/buildpack-packager +79 -0
- data/buildpack-packager.gemspec +33 -0
- data/doc/disconnected_environments.md +50 -0
- data/lib/buildpack/manifest_dependency.rb +14 -0
- data/lib/buildpack/manifest_validator.rb +88 -0
- data/lib/buildpack/packager.rb +55 -0
- data/lib/buildpack/packager/default_versions_presenter.rb +38 -0
- data/lib/buildpack/packager/dependencies_presenter.rb +41 -0
- data/lib/buildpack/packager/manifest_schema.yml +67 -0
- data/lib/buildpack/packager/package.rb +139 -0
- data/lib/buildpack/packager/table_presentation.rb +21 -0
- data/lib/buildpack/packager/version.rb +5 -0
- data/lib/buildpack/packager/zip_file_excluder.rb +31 -0
- data/lib/kwalify/parser/yaml-patcher.rb +70 -0
- data/spec/buildpack/packager_spec.rb +7 -0
- data/spec/fixtures/buildpack-with-uri-credentials/VERSION +1 -0
- data/spec/fixtures/buildpack-with-uri-credentials/manifest.yml +36 -0
- data/spec/fixtures/buildpack-without-uri-credentials/VERSION +1 -0
- data/spec/fixtures/buildpack-without-uri-credentials/manifest.yml +36 -0
- data/spec/fixtures/manifests/manifest_invalid-md6.yml +18 -0
- data/spec/fixtures/manifests/manifest_invalid-md6_and_defaults.yml +21 -0
- data/spec/fixtures/manifests/manifest_valid.yml +19 -0
- data/spec/helpers/cache_directory_helpers.rb +15 -0
- data/spec/helpers/fake_binary_hosting_helpers.rb +21 -0
- data/spec/helpers/file_system_helpers.rb +35 -0
- data/spec/integration/bin/buildpack_packager/download_caching_spec.rb +85 -0
- data/spec/integration/bin/buildpack_packager_spec.rb +378 -0
- data/spec/integration/buildpack/directory_name_spec.rb +89 -0
- data/spec/integration/buildpack/packager_spec.rb +454 -0
- data/spec/integration/default_versions_spec.rb +170 -0
- data/spec/integration/output_spec.rb +70 -0
- data/spec/spec_helper.rb +12 -0
- data/spec/unit/buildpack/packager/zip_file_excluder_spec.rb +68 -0
- data/spec/unit/manifest_dependency_spec.rb +41 -0
- data/spec/unit/manifest_validator_spec.rb +35 -0
- data/spec/unit/packager/package_spec.rb +196 -0
- metadata +235 -0
metadata
ADDED
@@ -0,0 +1,235 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: buildpack-packager
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2.3.4
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Cloud Foundry Buildpacks Team
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-11-16 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: activesupport
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '4.1'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '4.1'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: kwalify
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: terminal-table
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '1.4'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '1.4'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: bundler
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '1.7'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '1.7'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rake
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '10.0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '10.0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rspec
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '3.5'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '3.5'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rubyzip
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '1.2'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '1.2'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: rubocop
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: rubocop-rspec
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '1.5'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '1.5'
|
139
|
+
description: Tool that packages your Cloud Foundry buildpacks based on a manifest
|
140
|
+
email:
|
141
|
+
- cf-buildpacks-eng@pivotal.io
|
142
|
+
executables:
|
143
|
+
- buildpack-packager
|
144
|
+
extensions: []
|
145
|
+
extra_rdoc_files: []
|
146
|
+
files:
|
147
|
+
- ".gitignore"
|
148
|
+
- ".rspec"
|
149
|
+
- Gemfile
|
150
|
+
- LICENSE
|
151
|
+
- README.md
|
152
|
+
- Rakefile
|
153
|
+
- bin/buildpack-packager
|
154
|
+
- buildpack-packager.gemspec
|
155
|
+
- doc/disconnected_environments.md
|
156
|
+
- lib/buildpack/manifest_dependency.rb
|
157
|
+
- lib/buildpack/manifest_validator.rb
|
158
|
+
- lib/buildpack/packager.rb
|
159
|
+
- lib/buildpack/packager/default_versions_presenter.rb
|
160
|
+
- lib/buildpack/packager/dependencies_presenter.rb
|
161
|
+
- lib/buildpack/packager/manifest_schema.yml
|
162
|
+
- lib/buildpack/packager/package.rb
|
163
|
+
- lib/buildpack/packager/table_presentation.rb
|
164
|
+
- lib/buildpack/packager/version.rb
|
165
|
+
- lib/buildpack/packager/zip_file_excluder.rb
|
166
|
+
- lib/kwalify/parser/yaml-patcher.rb
|
167
|
+
- spec/buildpack/packager_spec.rb
|
168
|
+
- spec/fixtures/buildpack-with-uri-credentials/VERSION
|
169
|
+
- spec/fixtures/buildpack-with-uri-credentials/manifest.yml
|
170
|
+
- spec/fixtures/buildpack-without-uri-credentials/VERSION
|
171
|
+
- spec/fixtures/buildpack-without-uri-credentials/manifest.yml
|
172
|
+
- spec/fixtures/manifests/manifest_invalid-md6.yml
|
173
|
+
- spec/fixtures/manifests/manifest_invalid-md6_and_defaults.yml
|
174
|
+
- spec/fixtures/manifests/manifest_valid.yml
|
175
|
+
- spec/helpers/cache_directory_helpers.rb
|
176
|
+
- spec/helpers/fake_binary_hosting_helpers.rb
|
177
|
+
- spec/helpers/file_system_helpers.rb
|
178
|
+
- spec/integration/bin/buildpack_packager/download_caching_spec.rb
|
179
|
+
- spec/integration/bin/buildpack_packager_spec.rb
|
180
|
+
- spec/integration/buildpack/directory_name_spec.rb
|
181
|
+
- spec/integration/buildpack/packager_spec.rb
|
182
|
+
- spec/integration/default_versions_spec.rb
|
183
|
+
- spec/integration/output_spec.rb
|
184
|
+
- spec/spec_helper.rb
|
185
|
+
- spec/unit/buildpack/packager/zip_file_excluder_spec.rb
|
186
|
+
- spec/unit/manifest_dependency_spec.rb
|
187
|
+
- spec/unit/manifest_validator_spec.rb
|
188
|
+
- spec/unit/packager/package_spec.rb
|
189
|
+
homepage: https://github.com/cloudfoundry/buildpack-packager
|
190
|
+
licenses:
|
191
|
+
- Apache-2.0
|
192
|
+
metadata: {}
|
193
|
+
post_install_message:
|
194
|
+
rdoc_options: []
|
195
|
+
require_paths:
|
196
|
+
- lib
|
197
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - "~>"
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: '2.2'
|
202
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
203
|
+
requirements:
|
204
|
+
- - ">="
|
205
|
+
- !ruby/object:Gem::Version
|
206
|
+
version: '0'
|
207
|
+
requirements: []
|
208
|
+
rubyforge_project:
|
209
|
+
rubygems_version: 2.6.8
|
210
|
+
signing_key:
|
211
|
+
specification_version: 4
|
212
|
+
summary: Tool that packages your buildpacks based on a manifest
|
213
|
+
test_files:
|
214
|
+
- spec/buildpack/packager_spec.rb
|
215
|
+
- spec/fixtures/buildpack-with-uri-credentials/VERSION
|
216
|
+
- spec/fixtures/buildpack-with-uri-credentials/manifest.yml
|
217
|
+
- spec/fixtures/buildpack-without-uri-credentials/VERSION
|
218
|
+
- spec/fixtures/buildpack-without-uri-credentials/manifest.yml
|
219
|
+
- spec/fixtures/manifests/manifest_invalid-md6.yml
|
220
|
+
- spec/fixtures/manifests/manifest_invalid-md6_and_defaults.yml
|
221
|
+
- spec/fixtures/manifests/manifest_valid.yml
|
222
|
+
- spec/helpers/cache_directory_helpers.rb
|
223
|
+
- spec/helpers/fake_binary_hosting_helpers.rb
|
224
|
+
- spec/helpers/file_system_helpers.rb
|
225
|
+
- spec/integration/bin/buildpack_packager/download_caching_spec.rb
|
226
|
+
- spec/integration/bin/buildpack_packager_spec.rb
|
227
|
+
- spec/integration/buildpack/directory_name_spec.rb
|
228
|
+
- spec/integration/buildpack/packager_spec.rb
|
229
|
+
- spec/integration/default_versions_spec.rb
|
230
|
+
- spec/integration/output_spec.rb
|
231
|
+
- spec/spec_helper.rb
|
232
|
+
- spec/unit/buildpack/packager/zip_file_excluder_spec.rb
|
233
|
+
- spec/unit/manifest_dependency_spec.rb
|
234
|
+
- spec/unit/manifest_validator_spec.rb
|
235
|
+
- spec/unit/packager/package_spec.rb
|