omnibus 3.2.2 → 4.0.0.beta.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +140 -10
- data/CHANGELOG.md +181 -8
- data/README.md +63 -35
- data/Rakefile +1 -1
- data/docs/omnibus-build-cache.md b/data/docs/Build → Cache.md +0 -0
- data/docs/Building on Debian.md +59 -0
- data/docs/Building on OSX.md +61 -35
- data/docs/Building on RHEL.md +74 -0
- data/docs/Building on Windows.md +40 -81
- data/features/commands/build.feature +1 -2
- data/features/commands/clean.feature +1 -1
- data/lib/omnibus.rb +111 -204
- data/lib/omnibus/build_version.rb +3 -20
- data/lib/omnibus/build_version_dsl.rb +2 -3
- data/lib/omnibus/builder.rb +103 -211
- data/lib/omnibus/cleaner.rb +5 -7
- data/lib/omnibus/cli.rb +1 -4
- data/lib/omnibus/cli/base.rb +9 -16
- data/lib/omnibus/compressor.rb +60 -0
- data/{spec/data/complicated/config/software/version-manifest.rb → lib/omnibus/compressors/base.rb} +17 -12
- data/lib/omnibus/compressors/dmg.rb +312 -0
- data/lib/omnibus/{null_builder.rb → compressors/null.rb} +10 -4
- data/lib/omnibus/compressors/tgz.rb +141 -0
- data/lib/omnibus/config.rb +89 -83
- data/lib/omnibus/core_extensions.rb +1 -0
- data/lib/omnibus/core_extensions/open_uri.rb +58 -0
- data/lib/omnibus/digestable.rb +9 -3
- data/lib/omnibus/exceptions.rb +116 -175
- data/lib/omnibus/fetcher.rb +97 -138
- data/lib/omnibus/fetchers/git_fetcher.rb +130 -165
- data/lib/omnibus/fetchers/net_fetcher.rb +205 -164
- data/lib/omnibus/fetchers/{s3_cache_fetcher.rb → null_fetcher.rb} +27 -17
- data/lib/omnibus/fetchers/path_fetcher.rb +74 -32
- data/lib/omnibus/file_syncer.rb +149 -0
- data/lib/omnibus/generator.rb +103 -32
- data/lib/omnibus/generator_files/.kitchen.yml.erb +5 -1
- data/lib/omnibus/generator_files/Gemfile.erb +13 -7
- data/lib/omnibus/generator_files/config/projects/project.rb.erb +28 -0
- data/lib/omnibus/generator_files/config/software/zlib.rb.erb +55 -0
- data/lib/omnibus/generator_files/omnibus.rb.erb +5 -7
- data/lib/omnibus/git_cache.rb +11 -13
- data/lib/omnibus/logger.rb +76 -22
- data/lib/omnibus/logging.rb +1 -1
- data/lib/omnibus/metadata.rb +264 -0
- data/lib/omnibus/ohai.rb +0 -51
- data/lib/omnibus/package.rb +4 -228
- data/lib/omnibus/packager.rb +71 -0
- data/lib/omnibus/packagers/base.rb +118 -176
- data/lib/omnibus/packagers/bff.rb +136 -0
- data/lib/omnibus/packagers/deb.rb +389 -0
- data/lib/omnibus/packagers/makeself.rb +114 -0
- data/lib/omnibus/packagers/msi.rb +346 -0
- data/lib/omnibus/packagers/pkg.rb +278 -0
- data/lib/omnibus/packagers/rpm.rb +438 -0
- data/lib/omnibus/packagers/solaris.rb +110 -0
- data/lib/omnibus/project.rb +263 -666
- data/lib/omnibus/publisher.rb +3 -3
- data/lib/omnibus/s3_cache.rb +21 -30
- data/lib/omnibus/software.rb +132 -271
- data/lib/omnibus/templating.rb +66 -0
- data/lib/omnibus/thread_pool.rb +109 -0
- data/lib/omnibus/util.rb +137 -15
- data/lib/omnibus/version.rb +1 -1
- data/omnibus.gemspec +2 -2
- data/resources/bff/gen.template.erb +22 -0
- data/resources/bff/postinstall.sh +0 -0
- data/resources/bff/unpostinstall.sh +0 -0
- data/resources/deb/conffiles.erb +3 -0
- data/resources/deb/control.erb +25 -0
- data/resources/deb/md5sums.erb +3 -0
- data/{lib/omnibus/generator_files/mac_dmg → resources/dmg}/background.png +0 -0
- data/resources/dmg/create_dmg.osascript.erb +17 -0
- data/{lib/omnibus/generator_files/mac_dmg → resources/dmg}/icon.png +0 -0
- data/{bin → resources/makeself}/makeself-header.sh +0 -0
- data/{bin → resources/makeself}/makeself.sh +0 -0
- data/{lib/omnibus/generator_files/package_scripts/makeselfinst.erb → resources/makeself/post_extract.sh.erb} +4 -4
- data/{lib/omnibus/generator_files/windows_msi → resources/msi}/assets/LICENSE.rtf +0 -0
- data/{lib/omnibus/generator_files/windows_msi → resources/msi}/assets/banner_background.bmp +0 -0
- data/{lib/omnibus/generator_files/windows_msi → resources/msi}/assets/dialog_background.bmp +0 -0
- data/{lib/omnibus/generator_files/windows_msi → resources/msi}/assets/project.ico +0 -0
- data/{lib/omnibus/generator_files/windows_msi → resources/msi}/assets/project_16x16.ico +0 -0
- data/{lib/omnibus/generator_files/windows_msi → resources/msi}/assets/project_32x32.ico +0 -0
- data/{spec/fixtures/sample/files/windows_msi/Resources/localization-en-us.wxl → resources/msi/localization-en-us.wxl.erb} +3 -4
- data/resources/msi/parameters.wxi.erb +9 -0
- data/{lib/omnibus/generator_files/windows_msi → resources/msi}/source.wxs.erb +14 -15
- data/{lib/omnibus/generator_files/mac_pkg → resources/pkg}/background.png +0 -0
- data/resources/pkg/distribution.xml.erb +21 -0
- data/resources/pkg/license.html.erb +3 -0
- data/resources/pkg/welcome.html.erb +7 -0
- data/resources/rpm/rpmmacros.erb +3 -0
- data/resources/rpm/signing.erb +40 -0
- data/resources/rpm/spec.erb +70 -0
- data/spec/functional/builder_spec.rb +90 -111
- data/spec/functional/fetchers/git_fetcher_spec.rb +130 -0
- data/spec/functional/fetchers/net_fetcher_spec.rb +110 -0
- data/spec/functional/fetchers/path_fetcher_spec.rb +97 -0
- data/spec/functional/file_syncer_spec.rb +206 -0
- data/spec/functional/templating_spec.rb +73 -0
- data/spec/spec_helper.rb +31 -94
- data/spec/support/env_helpers.rb +20 -0
- data/spec/support/examples.rb +56 -0
- data/spec/support/file_helpers.rb +46 -0
- data/spec/support/git_helpers.rb +107 -0
- data/spec/support/logging_helpers.rb +33 -0
- data/spec/support/matchers.rb +36 -0
- data/spec/support/ohai_helpers.rb +22 -0
- data/spec/support/path_helpers.rb +19 -0
- data/spec/support/shell_helpers.rb +14 -0
- data/spec/unit/build_version_dsl_spec.rb +0 -17
- data/spec/unit/build_version_spec.rb +1 -19
- data/spec/unit/builder_spec.rb +158 -46
- data/spec/unit/compressor_spec.rb +45 -0
- data/spec/unit/compressors/base_spec.rb +26 -0
- data/spec/unit/compressors/dmg_spec.rb +291 -0
- data/spec/unit/compressors/null_spec.rb +23 -0
- data/spec/unit/compressors/tgz_spec.rb +67 -0
- data/spec/unit/config_spec.rb +27 -34
- data/spec/unit/digestable_spec.rb +4 -4
- data/spec/unit/fetchers/git_fetcher_spec.rb +110 -39
- data/spec/unit/fetchers/net_fetcher_spec.rb +182 -72
- data/spec/unit/fetchers/path_fetcher_spec.rb +111 -0
- data/spec/unit/generator_spec.rb +137 -0
- data/spec/unit/git_cache_spec.rb +24 -34
- data/spec/unit/library_spec.rb +21 -82
- data/spec/unit/metadata_spec.rb +207 -0
- data/spec/unit/ohai_spec.rb +0 -7
- data/spec/unit/omnibus_spec.rb +41 -36
- data/spec/unit/package_spec.rb +1 -216
- data/spec/unit/packagers/base_spec.rb +76 -190
- data/spec/unit/packagers/bff_spec.rb +160 -0
- data/spec/unit/packagers/deb_spec.rb +324 -0
- data/spec/unit/packagers/makeself_spec.rb +80 -0
- data/spec/unit/packagers/msi_spec.rb +267 -0
- data/spec/unit/packagers/pkg_spec.rb +219 -0
- data/spec/unit/packagers/rpm_spec.rb +328 -0
- data/spec/unit/project_spec.rb +217 -80
- data/spec/unit/publisher_spec.rb +6 -2
- data/spec/unit/publishers/artifactory_publisher_spec.rb +1 -1
- data/spec/unit/publishers/s3_publisher_spec.rb +1 -1
- data/spec/unit/s3_cacher_spec.rb +22 -5
- data/spec/unit/software_spec.rb +89 -232
- data/spec/unit/util_spec.rb +188 -0
- metadata +159 -402
- data/features/commands/_deprecated.feature +0 -84
- data/lib/omnibus/cleanroom.rb +0 -141
- data/lib/omnibus/cli/deprecated.rb +0 -132
- data/lib/omnibus/generator_files/mac_pkg/license.html.erb +0 -1
- data/lib/omnibus/generator_files/mac_pkg/welcome.html.erb +0 -9
- data/lib/omnibus/generator_files/project.rb.erb +0 -20
- data/lib/omnibus/generator_files/software/c-example.rb.erb +0 -42
- data/lib/omnibus/generator_files/software/erlang-example.rb.erb +0 -38
- data/lib/omnibus/generator_files/software/ruby-example.rb.erb +0 -24
- data/lib/omnibus/generator_files/windows_msi/localization-en-us.wxl.erb +0 -20
- data/lib/omnibus/generator_files/windows_msi/parameters.wxi.erb +0 -9
- data/lib/omnibus/packagers/mac_dmg.rb +0 -235
- data/lib/omnibus/packagers/mac_pkg.rb +0 -176
- data/lib/omnibus/packagers/windows_msi.rb +0 -109
- data/spec/data/complicated/config/patches/bzip2/makefile_take_env_vars.patch +0 -15
- data/spec/data/complicated/config/patches/couchdb/patch_for_couchjs_stack.patch +0 -19
- data/spec/data/complicated/config/patches/gd/gd-2.0.33-configure-libpng.patch +0 -100
- data/spec/data/complicated/config/patches/keepalived/keepalived-1.2.9_opscode_centos_5.patch +0 -15
- data/spec/data/complicated/config/patches/libedit/freebsd-vi-fix.patch +0 -24
- data/spec/data/complicated/config/patches/libiconv/libiconv-1.14_srclib_stdio.in.h-remove-gets-declarations.patch +0 -29
- data/spec/data/complicated/config/patches/libwrap/tcp_wrappers-7.6-makefile-dest-fix.patch +0 -35
- data/spec/data/complicated/config/patches/libwrap/tcp_wrappers-7.6-malloc-fix.patch +0 -13
- data/spec/data/complicated/config/patches/libwrap/tcp_wrappers-7.6-shared_lib_plus_plus-1.patch +0 -1035
- data/spec/data/complicated/config/patches/logrotate/logrotate_basedir_override.patch +0 -12
- data/spec/data/complicated/config/patches/ncurses/ncurses-5.9-solaris-xopen_source_extended-detection.patch +0 -11
- data/spec/data/complicated/config/patches/ncurses/ncurses-clang.patch +0 -42
- data/spec/data/complicated/config/patches/ncurses/patch-aa +0 -23
- data/spec/data/complicated/config/patches/ncurses/patch-ab +0 -44
- data/spec/data/complicated/config/patches/ncurses/patch-ac +0 -40
- data/spec/data/complicated/config/patches/ncurses/patch-ad +0 -12
- data/spec/data/complicated/config/patches/ncurses/patch-aix-configure +0 -23
- data/spec/data/complicated/config/patches/ncurses/patch-cxx_cursesf.h +0 -22
- data/spec/data/complicated/config/patches/ncurses/patch-cxx_cursesm.h +0 -22
- data/spec/data/complicated/config/patches/nrpe/fix_for_runit.patch +0 -64
- data/spec/data/complicated/config/patches/openssl/openssl-1.0.1f-do-not-build-docs.patch +0 -101
- data/spec/data/complicated/config/patches/postgresql/postgresql-9.1.2-configure-ncurses-fix.patch +0 -12
- data/spec/data/complicated/config/patches/ruby/patch-configure +0 -103
- data/spec/data/complicated/config/patches/ruby/ruby-aix-configure.patch +0 -10
- data/spec/data/complicated/config/patches/ruby/ruby-openssl-1.0.1c.patch +0 -42
- data/spec/data/complicated/config/patches/ruby/ruby_aix_1_9_3_448_ssl_EAGAIN.patch +0 -57
- data/spec/data/complicated/config/patches/ruby/rvm-cflags.patch +0 -27
- data/spec/data/complicated/config/projects/angrychef.rb +0 -32
- data/spec/data/complicated/config/projects/chef-windows.rb +0 -32
- data/spec/data/complicated/config/projects/chef.rb +0 -32
- data/spec/data/complicated/config/projects/chefdk-windows.rb +0 -41
- data/spec/data/complicated/config/projects/chefdk.rb +0 -44
- data/spec/data/complicated/config/software/appbundler.rb +0 -25
- data/spec/data/complicated/config/software/autoconf.rb +0 -35
- data/spec/data/complicated/config/software/automake.rb +0 -39
- data/spec/data/complicated/config/software/berkshelf.rb +0 -44
- data/spec/data/complicated/config/software/bundler.rb +0 -25
- data/spec/data/complicated/config/software/bzip2.rb +0 -46
- data/spec/data/complicated/config/software/cacerts.rb +0 -44
- data/spec/data/complicated/config/software/chef-client-msi.rb +0 -87
- data/spec/data/complicated/config/software/chef-gem.rb +0 -26
- data/spec/data/complicated/config/software/chef-vault.rb +0 -43
- data/spec/data/complicated/config/software/chef-windows.rb +0 -158
- data/spec/data/complicated/config/software/chef.rb +0 -170
- data/spec/data/complicated/config/software/chefdk.rb +0 -103
- data/spec/data/complicated/config/software/couchdb.rb +0 -53
- data/spec/data/complicated/config/software/curl.rb +0 -48
- data/spec/data/complicated/config/software/erlang.rb +0 -65
- data/spec/data/complicated/config/software/expat.rb +0 -21
- data/spec/data/complicated/config/software/fcgi.rb +0 -56
- data/spec/data/complicated/config/software/fcgiwrap.rb +0 -41
- data/spec/data/complicated/config/software/gd.rb +0 -56
- data/spec/data/complicated/config/software/gdbm.rb +0 -40
- data/spec/data/complicated/config/software/gecode.rb +0 -48
- data/spec/data/complicated/config/software/git.rb +0 -40
- data/spec/data/complicated/config/software/help2man.rb +0 -30
- data/spec/data/complicated/config/software/icu.rb +0 -40
- data/spec/data/complicated/config/software/jre.rb +0 -48
- data/spec/data/complicated/config/software/keepalived.rb +0 -43
- data/spec/data/complicated/config/software/libarchive.rb +0 -50
- data/spec/data/complicated/config/software/libedit.rb +0 -69
- data/spec/data/complicated/config/software/libffi.rb +0 -71
- data/spec/data/complicated/config/software/libgcc.rb +0 -39
- data/spec/data/complicated/config/software/libiconv.rb +0 -55
- data/spec/data/complicated/config/software/libjpeg.rb +0 -39
- data/spec/data/complicated/config/software/libpng.rb +0 -38
- data/spec/data/complicated/config/software/libtool.rb +0 -52
- data/spec/data/complicated/config/software/libwrap.rb +0 -50
- data/spec/data/complicated/config/software/libxml2.rb +0 -51
- data/spec/data/complicated/config/software/libxslt.rb +0 -52
- data/spec/data/complicated/config/software/libyaml-windows.rb +0 -43
- data/spec/data/complicated/config/software/libyaml.rb +0 -62
- data/spec/data/complicated/config/software/logrotate.rb +0 -41
- data/spec/data/complicated/config/software/makedepend.rb +0 -73
- data/spec/data/complicated/config/software/mysql2.rb +0 -42
- data/spec/data/complicated/config/software/nagios-plugins.rb +0 -53
- data/spec/data/complicated/config/software/nagios.rb +0 -66
- data/spec/data/complicated/config/software/ncurses.rb +0 -149
- data/spec/data/complicated/config/software/nginx.rb +0 -40
- data/spec/data/complicated/config/software/nodejs.rb +0 -44
- data/spec/data/complicated/config/software/nokogiri.rb +0 -55
- data/spec/data/complicated/config/software/nrpe.rb +0 -61
- data/spec/data/complicated/config/software/ohai.rb +0 -64
- data/spec/data/complicated/config/software/omnibus-ctl.rb +0 -34
- data/spec/data/complicated/config/software/openresty.rb +0 -67
- data/spec/data/complicated/config/software/openssl.rb +0 -158
- data/spec/data/complicated/config/software/pcre.rb +0 -42
- data/spec/data/complicated/config/software/perl-extutils-embed.rb +0 -15
- data/spec/data/complicated/config/software/perl-extutils-makemaker.rb +0 -15
- data/spec/data/complicated/config/software/perl.rb +0 -48
- data/spec/data/complicated/config/software/perl_pg_driver.rb +0 -12
- data/spec/data/complicated/config/software/php.rb +0 -41
- data/spec/data/complicated/config/software/pip.rb +0 -30
- data/spec/data/complicated/config/software/pkg-config.rb +0 -66
- data/spec/data/complicated/config/software/popt.rb +0 -47
- data/spec/data/complicated/config/software/postgresql.rb +0 -51
- data/spec/data/complicated/config/software/preparation.rb +0 -30
- data/spec/data/complicated/config/software/pygments.rb +0 -25
- data/spec/data/complicated/config/software/python.rb +0 -49
- data/spec/data/complicated/config/software/rabbitmq.rb +0 -36
- data/spec/data/complicated/config/software/rebar.rb +0 -36
- data/spec/data/complicated/config/software/redis.rb +0 -33
- data/spec/data/complicated/config/software/rsync.rb +0 -48
- data/spec/data/complicated/config/software/ruby-windows-devkit.rb +0 -30
- data/spec/data/complicated/config/software/ruby-windows.rb +0 -30
- data/spec/data/complicated/config/software/ruby.rb +0 -162
- data/spec/data/complicated/config/software/rubygems-customization.rb +0 -57
- data/spec/data/complicated/config/software/rubygems.rb +0 -37
- data/spec/data/complicated/config/software/runit.rb +0 -118
- data/spec/data/complicated/config/software/server-jre.rb +0 -46
- data/spec/data/complicated/config/software/setuptools.rb +0 -30
- data/spec/data/complicated/config/software/spawn-fcgi.rb +0 -40
- data/spec/data/complicated/config/software/sphinx.rb +0 -26
- data/spec/data/complicated/config/software/spidermonkey.rb +0 -60
- data/spec/data/complicated/config/software/sqitch.rb +0 -24
- data/spec/data/complicated/config/software/test-kitchen.rb +0 -39
- data/spec/data/complicated/config/software/unicorn.rb +0 -27
- data/spec/data/complicated/config/software/util-macros.rb +0 -46
- data/spec/data/complicated/config/software/xproto.rb +0 -46
- data/spec/data/complicated/config/software/yajl.rb +0 -30
- data/spec/data/complicated/config/software/zlib.rb +0 -67
- data/spec/data/overrides/bad_line.overrides +0 -3
- data/spec/data/overrides/good.overrides +0 -5
- data/spec/data/overrides/with_dupes.overrides +0 -4
- data/spec/data/projects/chefdk.rb +0 -41
- data/spec/data/projects/sample.rb +0 -13
- data/spec/data/software/erchef.rb +0 -42
- data/spec/data/software/zlib.rb +0 -67
- data/spec/fixtures/sample/files/mac_dmg/Resources/background.png +0 -0
- data/spec/fixtures/sample/files/mac_dmg/Resources/icon.png +0 -0
- data/spec/fixtures/sample/files/mac_pkg/Resources/background.png +0 -0
- data/spec/fixtures/sample/files/mac_pkg/Resources/license.html +0 -1
- data/spec/fixtures/sample/files/mac_pkg/Resources/welcome.html +0 -9
- data/spec/fixtures/sample/files/windows_msi/Resources/assets/LICENSE.rtf +0 -8
- data/spec/fixtures/sample/files/windows_msi/Resources/assets/banner_background.bmp +0 -0
- data/spec/fixtures/sample/files/windows_msi/Resources/assets/dialog_background.bmp +0 -0
- data/spec/fixtures/sample/files/windows_msi/Resources/assets/project.ico +0 -0
- data/spec/fixtures/sample/files/windows_msi/Resources/assets/project_16x16.ico +0 -0
- data/spec/fixtures/sample/files/windows_msi/Resources/assets/project_32x32.ico +0 -0
- data/spec/fixtures/sample/files/windows_msi/Resources/parameters.wxi.erb +0 -9
- data/spec/fixtures/sample/files/windows_msi/Resources/source.wxs +0 -74
- data/spec/integration/packagers/mac_spec.rb +0 -58
- data/spec/integration/packagers/windows_spec.rb +0 -70
- data/spec/unit/packagers/mac_pkg_spec.rb +0 -151
@@ -0,0 +1,188 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
module Omnibus
|
4
|
+
describe Util do
|
5
|
+
subject { Class.new { include Util }.new }
|
6
|
+
|
7
|
+
describe '#shellout!' do
|
8
|
+
let(:shellout) do
|
9
|
+
double(Mixlib::ShellOut,
|
10
|
+
command: 'evil command',
|
11
|
+
stdout: 'command failed',
|
12
|
+
stderr: 'The quick brown fox did not jump over the barn!',
|
13
|
+
timeout: 7_200,
|
14
|
+
exitstatus: 32,
|
15
|
+
environment: {
|
16
|
+
'TICKLE_ME' => 'elmo',
|
17
|
+
'I_LOVE_YOU' => 'barney',
|
18
|
+
}
|
19
|
+
)
|
20
|
+
end
|
21
|
+
|
22
|
+
context 'when the command fails' do
|
23
|
+
before do
|
24
|
+
allow(subject).to receive(:shellout)
|
25
|
+
.and_return(shellout)
|
26
|
+
allow(shellout).to receive(:error!)
|
27
|
+
.and_raise(Mixlib::ShellOut::ShellCommandFailed)
|
28
|
+
end
|
29
|
+
|
30
|
+
it 'raises an CommandFailed exception' do
|
31
|
+
expect {
|
32
|
+
subject.shellout!
|
33
|
+
}.to raise_error(CommandFailed) { |error|
|
34
|
+
message = error.message
|
35
|
+
|
36
|
+
expect(message).to include("$ I_LOVE_YOU=barney TICKLE_ME=elmo evil command")
|
37
|
+
expect(message).to include("command failed")
|
38
|
+
expect(message).to include("The quick brown fox did not jump over the barn!")
|
39
|
+
}
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
43
|
+
context 'when the command times out' do
|
44
|
+
before do
|
45
|
+
allow(subject).to receive(:shellout)
|
46
|
+
.and_return(shellout)
|
47
|
+
allow(shellout).to receive(:error!)
|
48
|
+
.and_raise(Mixlib::ShellOut::CommandTimeout)
|
49
|
+
end
|
50
|
+
|
51
|
+
it 'raises an CommandFailed exception' do
|
52
|
+
expect {
|
53
|
+
subject.shellout!
|
54
|
+
}.to raise_error(CommandTimeout) { |error|
|
55
|
+
message = error.message
|
56
|
+
|
57
|
+
expect(message).to include("shell command timed out at 7,200 seconds")
|
58
|
+
expect(message).to include("$ I_LOVE_YOU=barney TICKLE_ME=elmo evil command")
|
59
|
+
expect(message).to include("Please increase the `:timeout' value")
|
60
|
+
}
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
describe '#create_directory' do
|
66
|
+
before { allow(FileUtils).to receive(:mkdir_p) }
|
67
|
+
|
68
|
+
it 'creates the directory' do
|
69
|
+
expect(FileUtils).to receive(:mkdir_p).with('/foo/bar')
|
70
|
+
subject.create_directory('/foo/bar')
|
71
|
+
end
|
72
|
+
|
73
|
+
it 'returns the path' do
|
74
|
+
expect(subject.create_directory('/foo/bar')).to eq('/foo/bar')
|
75
|
+
end
|
76
|
+
|
77
|
+
it 'logs a message' do
|
78
|
+
output = capture_logging { subject.create_directory('/foo/bar') }
|
79
|
+
expect(output).to include("Creating directory `/foo/bar'")
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
describe '#remove_directory' do
|
84
|
+
before { allow(FileUtils).to receive(:rm_rf) }
|
85
|
+
|
86
|
+
it 'remove the directory' do
|
87
|
+
expect(FileUtils).to receive(:rm_rf).with('/foo/bar')
|
88
|
+
subject.remove_directory('/foo/bar')
|
89
|
+
end
|
90
|
+
|
91
|
+
it 'accepts multiple parameters' do
|
92
|
+
expect(FileUtils).to receive(:rm_rf).with('/foo/bar')
|
93
|
+
subject.remove_directory('/foo', 'bar')
|
94
|
+
end
|
95
|
+
|
96
|
+
it 'logs a message' do
|
97
|
+
output = capture_logging { subject.remove_directory('/foo/bar') }
|
98
|
+
expect(output).to include("Remove directory `/foo/bar'")
|
99
|
+
end
|
100
|
+
end
|
101
|
+
|
102
|
+
describe '#copy_file' do
|
103
|
+
before { allow(FileUtils).to receive(:cp) }
|
104
|
+
|
105
|
+
it 'copies the file' do
|
106
|
+
expect(FileUtils).to receive(:cp).with('foo', 'bar')
|
107
|
+
subject.copy_file('foo', 'bar')
|
108
|
+
end
|
109
|
+
|
110
|
+
it 'returns the destination path' do
|
111
|
+
expect(subject.copy_file('foo', 'bar')).to eq('bar')
|
112
|
+
end
|
113
|
+
|
114
|
+
it 'logs a message' do
|
115
|
+
output = capture_logging { subject.copy_file('foo', 'bar') }
|
116
|
+
expect(output).to include("Copying `foo' to `bar'")
|
117
|
+
end
|
118
|
+
end
|
119
|
+
|
120
|
+
describe '#remove_file' do
|
121
|
+
before { allow(FileUtils).to receive(:rm_f) }
|
122
|
+
|
123
|
+
it 'removes the file' do
|
124
|
+
expect(FileUtils).to receive(:rm_f).with('/foo/bar')
|
125
|
+
subject.remove_file('/foo/bar')
|
126
|
+
end
|
127
|
+
|
128
|
+
it 'accepts multiple parameters' do
|
129
|
+
expect(FileUtils).to receive(:rm_f).with('/foo/bar')
|
130
|
+
subject.remove_file('/foo', 'bar')
|
131
|
+
end
|
132
|
+
|
133
|
+
it 'logs a message' do
|
134
|
+
output = capture_logging { subject.remove_file('/foo/bar') }
|
135
|
+
expect(output).to include("Removing file `/foo/bar'")
|
136
|
+
end
|
137
|
+
end
|
138
|
+
|
139
|
+
describe '#create_file' do
|
140
|
+
before do
|
141
|
+
allow(FileUtils).to receive(:mkdir_p)
|
142
|
+
allow(FileUtils).to receive(:touch)
|
143
|
+
allow(File).to receive(:open)
|
144
|
+
end
|
145
|
+
|
146
|
+
it 'creates the containing directory' do
|
147
|
+
expect(FileUtils).to receive(:mkdir_p).with('/foo')
|
148
|
+
subject.create_file('/foo/bar')
|
149
|
+
end
|
150
|
+
|
151
|
+
it 'creates the file' do
|
152
|
+
expect(FileUtils).to receive(:touch).with('/foo/bar')
|
153
|
+
subject.create_file('/foo/bar')
|
154
|
+
end
|
155
|
+
|
156
|
+
it 'accepts multiple parameters' do
|
157
|
+
expect(FileUtils).to receive(:touch).with('/foo/bar')
|
158
|
+
subject.create_file('/foo', 'bar')
|
159
|
+
end
|
160
|
+
|
161
|
+
it 'accepts a block' do
|
162
|
+
expect(File).to receive(:open).with('/foo/bar', 'wb')
|
163
|
+
|
164
|
+
block = Proc.new { 'Some content!' }
|
165
|
+
subject.create_file('/foo', 'bar', &block)
|
166
|
+
end
|
167
|
+
|
168
|
+
it 'logs a message' do
|
169
|
+
output = capture_logging { subject.create_file('/foo/bar') }
|
170
|
+
expect(output).to include("Creating file `/foo/bar'")
|
171
|
+
end
|
172
|
+
end
|
173
|
+
|
174
|
+
describe '#create_link' do
|
175
|
+
before { allow(FileUtils).to receive(:ln_s) }
|
176
|
+
|
177
|
+
it 'creates the directory' do
|
178
|
+
expect(FileUtils).to receive(:ln_s).with('/foo/bar', '/zip/zap')
|
179
|
+
subject.create_link('/foo/bar', '/zip/zap')
|
180
|
+
end
|
181
|
+
|
182
|
+
it 'logs a message' do
|
183
|
+
output = capture_logging { subject.create_link('/foo/bar', '/zip/zap') }
|
184
|
+
expect(output).to include("Linking `/foo/bar' to `/zip/zap'")
|
185
|
+
end
|
186
|
+
end
|
187
|
+
end
|
188
|
+
end
|
metadata
CHANGED
@@ -1,222 +1,195 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omnibus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
5
|
-
prerelease:
|
4
|
+
version: 4.0.0.beta.1
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Chef Software, Inc.
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2014-
|
11
|
+
date: 2014-08-25 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: chef-sugar
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- - ~>
|
17
|
+
- - "~>"
|
20
18
|
- !ruby/object:Gem::Version
|
21
|
-
version: '
|
19
|
+
version: '2.2'
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- - ~>
|
24
|
+
- - "~>"
|
28
25
|
- !ruby/object:Gem::Version
|
29
|
-
version: '
|
26
|
+
version: '2.2'
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
|
-
name:
|
28
|
+
name: cleanroom
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- - ~>
|
31
|
+
- - "~>"
|
36
32
|
- !ruby/object:Gem::Version
|
37
|
-
version: '1.
|
33
|
+
version: '1.0'
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- - ~>
|
38
|
+
- - "~>"
|
44
39
|
- !ruby/object:Gem::Version
|
45
|
-
version: '1.
|
40
|
+
version: '1.0'
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
|
-
name:
|
42
|
+
name: mixlib-shellout
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
|
-
- - ~>
|
45
|
+
- - "~>"
|
52
46
|
- !ruby/object:Gem::Version
|
53
|
-
version: '
|
47
|
+
version: '1.4'
|
54
48
|
type: :runtime
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
|
-
- - ~>
|
52
|
+
- - "~>"
|
60
53
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
54
|
+
version: '1.4'
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
|
-
name:
|
56
|
+
name: ohai
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
|
-
- - ~>
|
59
|
+
- - "~>"
|
68
60
|
- !ruby/object:Gem::Version
|
69
|
-
version: '
|
61
|
+
version: '7.2'
|
70
62
|
type: :runtime
|
71
63
|
prerelease: false
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
65
|
requirements:
|
75
|
-
- - ~>
|
66
|
+
- - "~>"
|
76
67
|
- !ruby/object:Gem::Version
|
77
|
-
version: '
|
68
|
+
version: '7.2'
|
78
69
|
- !ruby/object:Gem::Dependency
|
79
70
|
name: uber-s3
|
80
71
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
72
|
requirements:
|
83
|
-
- -
|
73
|
+
- - ">="
|
84
74
|
- !ruby/object:Gem::Version
|
85
75
|
version: '0'
|
86
76
|
type: :runtime
|
87
77
|
prerelease: false
|
88
78
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
79
|
requirements:
|
91
|
-
- -
|
80
|
+
- - ">="
|
92
81
|
- !ruby/object:Gem::Version
|
93
82
|
version: '0'
|
94
83
|
- !ruby/object:Gem::Dependency
|
95
84
|
name: thor
|
96
85
|
requirement: !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
86
|
requirements:
|
99
|
-
- - ~>
|
87
|
+
- - "~>"
|
100
88
|
- !ruby/object:Gem::Version
|
101
89
|
version: '0.18'
|
102
90
|
type: :runtime
|
103
91
|
prerelease: false
|
104
92
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
none: false
|
106
93
|
requirements:
|
107
|
-
- - ~>
|
94
|
+
- - "~>"
|
108
95
|
- !ruby/object:Gem::Version
|
109
96
|
version: '0.18'
|
110
97
|
- !ruby/object:Gem::Dependency
|
111
98
|
name: bundler
|
112
99
|
requirement: !ruby/object:Gem::Requirement
|
113
|
-
none: false
|
114
100
|
requirements:
|
115
|
-
- -
|
101
|
+
- - ">="
|
116
102
|
- !ruby/object:Gem::Version
|
117
103
|
version: '0'
|
118
104
|
type: :development
|
119
105
|
prerelease: false
|
120
106
|
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
none: false
|
122
107
|
requirements:
|
123
|
-
- -
|
108
|
+
- - ">="
|
124
109
|
- !ruby/object:Gem::Version
|
125
110
|
version: '0'
|
126
111
|
- !ruby/object:Gem::Dependency
|
127
112
|
name: artifactory
|
128
113
|
requirement: !ruby/object:Gem::Requirement
|
129
|
-
none: false
|
130
114
|
requirements:
|
131
|
-
- - ~>
|
115
|
+
- - "~>"
|
132
116
|
- !ruby/object:Gem::Version
|
133
117
|
version: '1.2'
|
134
118
|
type: :development
|
135
119
|
prerelease: false
|
136
120
|
version_requirements: !ruby/object:Gem::Requirement
|
137
|
-
none: false
|
138
121
|
requirements:
|
139
|
-
- - ~>
|
122
|
+
- - "~>"
|
140
123
|
- !ruby/object:Gem::Version
|
141
124
|
version: '1.2'
|
142
125
|
- !ruby/object:Gem::Dependency
|
143
126
|
name: aruba
|
144
127
|
requirement: !ruby/object:Gem::Requirement
|
145
|
-
none: false
|
146
128
|
requirements:
|
147
|
-
- - ~>
|
129
|
+
- - "~>"
|
148
130
|
- !ruby/object:Gem::Version
|
149
131
|
version: '0.5'
|
150
132
|
type: :development
|
151
133
|
prerelease: false
|
152
134
|
version_requirements: !ruby/object:Gem::Requirement
|
153
|
-
none: false
|
154
135
|
requirements:
|
155
|
-
- - ~>
|
136
|
+
- - "~>"
|
156
137
|
- !ruby/object:Gem::Version
|
157
138
|
version: '0.5'
|
158
139
|
- !ruby/object:Gem::Dependency
|
159
140
|
name: fauxhai
|
160
141
|
requirement: !ruby/object:Gem::Requirement
|
161
|
-
none: false
|
162
142
|
requirements:
|
163
|
-
- - ~>
|
143
|
+
- - "~>"
|
164
144
|
- !ruby/object:Gem::Version
|
165
145
|
version: '2.1'
|
166
146
|
type: :development
|
167
147
|
prerelease: false
|
168
148
|
version_requirements: !ruby/object:Gem::Requirement
|
169
|
-
none: false
|
170
149
|
requirements:
|
171
|
-
- - ~>
|
150
|
+
- - "~>"
|
172
151
|
- !ruby/object:Gem::Version
|
173
152
|
version: '2.1'
|
174
153
|
- !ruby/object:Gem::Dependency
|
175
154
|
name: rspec
|
176
155
|
requirement: !ruby/object:Gem::Requirement
|
177
|
-
none: false
|
178
156
|
requirements:
|
179
|
-
- - ~>
|
157
|
+
- - "~>"
|
180
158
|
- !ruby/object:Gem::Version
|
181
159
|
version: '3.0'
|
182
160
|
type: :development
|
183
161
|
prerelease: false
|
184
162
|
version_requirements: !ruby/object:Gem::Requirement
|
185
|
-
none: false
|
186
163
|
requirements:
|
187
|
-
- - ~>
|
164
|
+
- - "~>"
|
188
165
|
- !ruby/object:Gem::Version
|
189
166
|
version: '3.0'
|
190
167
|
- !ruby/object:Gem::Dependency
|
191
168
|
name: rspec-its
|
192
169
|
requirement: !ruby/object:Gem::Requirement
|
193
|
-
none: false
|
194
170
|
requirements:
|
195
|
-
- -
|
171
|
+
- - ">="
|
196
172
|
- !ruby/object:Gem::Version
|
197
173
|
version: '0'
|
198
174
|
type: :development
|
199
175
|
prerelease: false
|
200
176
|
version_requirements: !ruby/object:Gem::Requirement
|
201
|
-
none: false
|
202
177
|
requirements:
|
203
|
-
- -
|
178
|
+
- - ">="
|
204
179
|
- !ruby/object:Gem::Version
|
205
180
|
version: '0'
|
206
181
|
- !ruby/object:Gem::Dependency
|
207
182
|
name: rake
|
208
183
|
requirement: !ruby/object:Gem::Requirement
|
209
|
-
none: false
|
210
184
|
requirements:
|
211
|
-
- -
|
185
|
+
- - ">="
|
212
186
|
- !ruby/object:Gem::Version
|
213
187
|
version: '0'
|
214
188
|
type: :development
|
215
189
|
prerelease: false
|
216
190
|
version_requirements: !ruby/object:Gem::Requirement
|
217
|
-
none: false
|
218
191
|
requirements:
|
219
|
-
- -
|
192
|
+
- - ">="
|
220
193
|
- !ruby/object:Gem::Version
|
221
194
|
version: '0'
|
222
195
|
description: Omnibus is a framework for building self-installing, full-stack software
|
@@ -227,21 +200,20 @@ executables:
|
|
227
200
|
extensions: []
|
228
201
|
extra_rdoc_files: []
|
229
202
|
files:
|
230
|
-
- .gitignore
|
231
|
-
- .rubocop.yml
|
232
|
-
- .travis.yml
|
203
|
+
- ".gitignore"
|
204
|
+
- ".rubocop.yml"
|
205
|
+
- ".travis.yml"
|
233
206
|
- CHANGELOG.md
|
234
207
|
- Gemfile
|
235
208
|
- LICENSE
|
236
209
|
- README.md
|
237
210
|
- Rakefile
|
238
|
-
- bin/makeself-header.sh
|
239
|
-
- bin/makeself.sh
|
240
211
|
- bin/omnibus
|
212
|
+
- docs/Build Cache.md
|
213
|
+
- docs/Building on Debian.md
|
241
214
|
- docs/Building on OSX.md
|
215
|
+
- docs/Building on RHEL.md
|
242
216
|
- docs/Building on Windows.md
|
243
|
-
- docs/omnibus-build-cache.md
|
244
|
-
- features/commands/_deprecated.feature
|
245
217
|
- features/commands/build.feature
|
246
218
|
- features/commands/clean.feature
|
247
219
|
- features/commands/list.feature
|
@@ -257,65 +229,59 @@ files:
|
|
257
229
|
- lib/omnibus/build_version_dsl.rb
|
258
230
|
- lib/omnibus/builder.rb
|
259
231
|
- lib/omnibus/cleaner.rb
|
260
|
-
- lib/omnibus/cleanroom.rb
|
261
232
|
- lib/omnibus/cli.rb
|
262
233
|
- lib/omnibus/cli/base.rb
|
263
234
|
- lib/omnibus/cli/cache.rb
|
264
|
-
- lib/omnibus/cli/deprecated.rb
|
265
235
|
- lib/omnibus/cli/publish.rb
|
236
|
+
- lib/omnibus/compressor.rb
|
237
|
+
- lib/omnibus/compressors/base.rb
|
238
|
+
- lib/omnibus/compressors/dmg.rb
|
239
|
+
- lib/omnibus/compressors/null.rb
|
240
|
+
- lib/omnibus/compressors/tgz.rb
|
266
241
|
- lib/omnibus/config.rb
|
242
|
+
- lib/omnibus/core_extensions.rb
|
243
|
+
- lib/omnibus/core_extensions/open_uri.rb
|
267
244
|
- lib/omnibus/digestable.rb
|
268
245
|
- lib/omnibus/exceptions.rb
|
269
246
|
- lib/omnibus/fetcher.rb
|
270
247
|
- lib/omnibus/fetchers/git_fetcher.rb
|
271
248
|
- lib/omnibus/fetchers/net_fetcher.rb
|
249
|
+
- lib/omnibus/fetchers/null_fetcher.rb
|
272
250
|
- lib/omnibus/fetchers/path_fetcher.rb
|
273
|
-
- lib/omnibus/
|
251
|
+
- lib/omnibus/file_syncer.rb
|
274
252
|
- lib/omnibus/generator.rb
|
275
253
|
- lib/omnibus/generator_files/.kitchen.local.yml.erb
|
276
254
|
- lib/omnibus/generator_files/.kitchen.yml.erb
|
277
255
|
- lib/omnibus/generator_files/Berksfile.erb
|
278
256
|
- lib/omnibus/generator_files/Gemfile.erb
|
279
257
|
- lib/omnibus/generator_files/README.md.erb
|
258
|
+
- lib/omnibus/generator_files/config/projects/project.rb.erb
|
259
|
+
- lib/omnibus/generator_files/config/software/zlib.rb.erb
|
280
260
|
- lib/omnibus/generator_files/gitignore.erb
|
281
|
-
- lib/omnibus/generator_files/mac_dmg/background.png
|
282
|
-
- lib/omnibus/generator_files/mac_dmg/icon.png
|
283
|
-
- lib/omnibus/generator_files/mac_pkg/background.png
|
284
|
-
- lib/omnibus/generator_files/mac_pkg/license.html.erb
|
285
|
-
- lib/omnibus/generator_files/mac_pkg/welcome.html.erb
|
286
261
|
- lib/omnibus/generator_files/omnibus.rb.erb
|
287
|
-
- lib/omnibus/generator_files/package_scripts/makeselfinst.erb
|
288
262
|
- lib/omnibus/generator_files/package_scripts/postinst.erb
|
289
263
|
- lib/omnibus/generator_files/package_scripts/postrm.erb
|
290
264
|
- lib/omnibus/generator_files/package_scripts/preinst.erb
|
291
265
|
- lib/omnibus/generator_files/package_scripts/prerm.erb
|
292
|
-
- lib/omnibus/generator_files/project.rb.erb
|
293
|
-
- lib/omnibus/generator_files/software/c-example.rb.erb
|
294
|
-
- lib/omnibus/generator_files/software/erlang-example.rb.erb
|
295
|
-
- lib/omnibus/generator_files/software/ruby-example.rb.erb
|
296
|
-
- lib/omnibus/generator_files/windows_msi/assets/LICENSE.rtf
|
297
|
-
- lib/omnibus/generator_files/windows_msi/assets/banner_background.bmp
|
298
|
-
- lib/omnibus/generator_files/windows_msi/assets/dialog_background.bmp
|
299
|
-
- lib/omnibus/generator_files/windows_msi/assets/project.ico
|
300
|
-
- lib/omnibus/generator_files/windows_msi/assets/project_16x16.ico
|
301
|
-
- lib/omnibus/generator_files/windows_msi/assets/project_32x32.ico
|
302
|
-
- lib/omnibus/generator_files/windows_msi/localization-en-us.wxl.erb
|
303
|
-
- lib/omnibus/generator_files/windows_msi/parameters.wxi.erb
|
304
|
-
- lib/omnibus/generator_files/windows_msi/source.wxs.erb
|
305
266
|
- lib/omnibus/git_cache.rb
|
306
267
|
- lib/omnibus/health_check.rb
|
307
268
|
- lib/omnibus/instrumentation.rb
|
308
269
|
- lib/omnibus/library.rb
|
309
270
|
- lib/omnibus/logger.rb
|
310
271
|
- lib/omnibus/logging.rb
|
272
|
+
- lib/omnibus/metadata.rb
|
311
273
|
- lib/omnibus/null_argumentable.rb
|
312
|
-
- lib/omnibus/null_builder.rb
|
313
274
|
- lib/omnibus/ohai.rb
|
314
275
|
- lib/omnibus/package.rb
|
276
|
+
- lib/omnibus/packager.rb
|
315
277
|
- lib/omnibus/packagers/base.rb
|
316
|
-
- lib/omnibus/packagers/
|
317
|
-
- lib/omnibus/packagers/
|
318
|
-
- lib/omnibus/packagers/
|
278
|
+
- lib/omnibus/packagers/bff.rb
|
279
|
+
- lib/omnibus/packagers/deb.rb
|
280
|
+
- lib/omnibus/packagers/makeself.rb
|
281
|
+
- lib/omnibus/packagers/msi.rb
|
282
|
+
- lib/omnibus/packagers/pkg.rb
|
283
|
+
- lib/omnibus/packagers/rpm.rb
|
284
|
+
- lib/omnibus/packagers/solaris.rb
|
319
285
|
- lib/omnibus/project.rb
|
320
286
|
- lib/omnibus/publisher.rb
|
321
287
|
- lib/omnibus/publishers/artifactory_publisher.rb
|
@@ -325,173 +291,85 @@ files:
|
|
325
291
|
- lib/omnibus/s3_cache.rb
|
326
292
|
- lib/omnibus/software.rb
|
327
293
|
- lib/omnibus/sugarable.rb
|
294
|
+
- lib/omnibus/templating.rb
|
295
|
+
- lib/omnibus/thread_pool.rb
|
328
296
|
- lib/omnibus/util.rb
|
329
297
|
- lib/omnibus/version.rb
|
330
298
|
- omnibus.gemspec
|
331
|
-
-
|
332
|
-
-
|
333
|
-
-
|
334
|
-
-
|
335
|
-
-
|
336
|
-
-
|
337
|
-
-
|
338
|
-
-
|
339
|
-
-
|
340
|
-
-
|
341
|
-
-
|
342
|
-
-
|
343
|
-
-
|
344
|
-
-
|
345
|
-
-
|
346
|
-
-
|
347
|
-
-
|
348
|
-
-
|
349
|
-
-
|
350
|
-
-
|
351
|
-
-
|
352
|
-
-
|
353
|
-
-
|
354
|
-
-
|
355
|
-
-
|
356
|
-
-
|
357
|
-
-
|
358
|
-
-
|
359
|
-
- spec/data/complicated/config/projects/chef-windows.rb
|
360
|
-
- spec/data/complicated/config/projects/chef.rb
|
361
|
-
- spec/data/complicated/config/projects/chefdk-windows.rb
|
362
|
-
- spec/data/complicated/config/projects/chefdk.rb
|
363
|
-
- spec/data/complicated/config/software/appbundler.rb
|
364
|
-
- spec/data/complicated/config/software/autoconf.rb
|
365
|
-
- spec/data/complicated/config/software/automake.rb
|
366
|
-
- spec/data/complicated/config/software/berkshelf.rb
|
367
|
-
- spec/data/complicated/config/software/bundler.rb
|
368
|
-
- spec/data/complicated/config/software/bzip2.rb
|
369
|
-
- spec/data/complicated/config/software/cacerts.rb
|
370
|
-
- spec/data/complicated/config/software/chef-client-msi.rb
|
371
|
-
- spec/data/complicated/config/software/chef-gem.rb
|
372
|
-
- spec/data/complicated/config/software/chef-vault.rb
|
373
|
-
- spec/data/complicated/config/software/chef-windows.rb
|
374
|
-
- spec/data/complicated/config/software/chef.rb
|
375
|
-
- spec/data/complicated/config/software/chefdk.rb
|
376
|
-
- spec/data/complicated/config/software/couchdb.rb
|
377
|
-
- spec/data/complicated/config/software/curl.rb
|
378
|
-
- spec/data/complicated/config/software/erlang.rb
|
379
|
-
- spec/data/complicated/config/software/expat.rb
|
380
|
-
- spec/data/complicated/config/software/fcgi.rb
|
381
|
-
- spec/data/complicated/config/software/fcgiwrap.rb
|
382
|
-
- spec/data/complicated/config/software/gd.rb
|
383
|
-
- spec/data/complicated/config/software/gdbm.rb
|
384
|
-
- spec/data/complicated/config/software/gecode.rb
|
385
|
-
- spec/data/complicated/config/software/git.rb
|
386
|
-
- spec/data/complicated/config/software/help2man.rb
|
387
|
-
- spec/data/complicated/config/software/icu.rb
|
388
|
-
- spec/data/complicated/config/software/jre.rb
|
389
|
-
- spec/data/complicated/config/software/keepalived.rb
|
390
|
-
- spec/data/complicated/config/software/libarchive.rb
|
391
|
-
- spec/data/complicated/config/software/libedit.rb
|
392
|
-
- spec/data/complicated/config/software/libffi.rb
|
393
|
-
- spec/data/complicated/config/software/libgcc.rb
|
394
|
-
- spec/data/complicated/config/software/libiconv.rb
|
395
|
-
- spec/data/complicated/config/software/libjpeg.rb
|
396
|
-
- spec/data/complicated/config/software/libpng.rb
|
397
|
-
- spec/data/complicated/config/software/libtool.rb
|
398
|
-
- spec/data/complicated/config/software/libwrap.rb
|
399
|
-
- spec/data/complicated/config/software/libxml2.rb
|
400
|
-
- spec/data/complicated/config/software/libxslt.rb
|
401
|
-
- spec/data/complicated/config/software/libyaml-windows.rb
|
402
|
-
- spec/data/complicated/config/software/libyaml.rb
|
403
|
-
- spec/data/complicated/config/software/logrotate.rb
|
404
|
-
- spec/data/complicated/config/software/makedepend.rb
|
405
|
-
- spec/data/complicated/config/software/mysql2.rb
|
406
|
-
- spec/data/complicated/config/software/nagios-plugins.rb
|
407
|
-
- spec/data/complicated/config/software/nagios.rb
|
408
|
-
- spec/data/complicated/config/software/ncurses.rb
|
409
|
-
- spec/data/complicated/config/software/nginx.rb
|
410
|
-
- spec/data/complicated/config/software/nodejs.rb
|
411
|
-
- spec/data/complicated/config/software/nokogiri.rb
|
412
|
-
- spec/data/complicated/config/software/nrpe.rb
|
413
|
-
- spec/data/complicated/config/software/ohai.rb
|
414
|
-
- spec/data/complicated/config/software/omnibus-ctl.rb
|
415
|
-
- spec/data/complicated/config/software/openresty.rb
|
416
|
-
- spec/data/complicated/config/software/openssl.rb
|
417
|
-
- spec/data/complicated/config/software/pcre.rb
|
418
|
-
- spec/data/complicated/config/software/perl-extutils-embed.rb
|
419
|
-
- spec/data/complicated/config/software/perl-extutils-makemaker.rb
|
420
|
-
- spec/data/complicated/config/software/perl.rb
|
421
|
-
- spec/data/complicated/config/software/perl_pg_driver.rb
|
422
|
-
- spec/data/complicated/config/software/php.rb
|
423
|
-
- spec/data/complicated/config/software/pip.rb
|
424
|
-
- spec/data/complicated/config/software/pkg-config.rb
|
425
|
-
- spec/data/complicated/config/software/popt.rb
|
426
|
-
- spec/data/complicated/config/software/postgresql.rb
|
427
|
-
- spec/data/complicated/config/software/preparation.rb
|
428
|
-
- spec/data/complicated/config/software/pygments.rb
|
429
|
-
- spec/data/complicated/config/software/python.rb
|
430
|
-
- spec/data/complicated/config/software/rabbitmq.rb
|
431
|
-
- spec/data/complicated/config/software/rebar.rb
|
432
|
-
- spec/data/complicated/config/software/redis.rb
|
433
|
-
- spec/data/complicated/config/software/rsync.rb
|
434
|
-
- spec/data/complicated/config/software/ruby-windows-devkit.rb
|
435
|
-
- spec/data/complicated/config/software/ruby-windows.rb
|
436
|
-
- spec/data/complicated/config/software/ruby.rb
|
437
|
-
- spec/data/complicated/config/software/rubygems-customization.rb
|
438
|
-
- spec/data/complicated/config/software/rubygems.rb
|
439
|
-
- spec/data/complicated/config/software/runit.rb
|
440
|
-
- spec/data/complicated/config/software/server-jre.rb
|
441
|
-
- spec/data/complicated/config/software/setuptools.rb
|
442
|
-
- spec/data/complicated/config/software/spawn-fcgi.rb
|
443
|
-
- spec/data/complicated/config/software/sphinx.rb
|
444
|
-
- spec/data/complicated/config/software/spidermonkey.rb
|
445
|
-
- spec/data/complicated/config/software/sqitch.rb
|
446
|
-
- spec/data/complicated/config/software/test-kitchen.rb
|
447
|
-
- spec/data/complicated/config/software/unicorn.rb
|
448
|
-
- spec/data/complicated/config/software/util-macros.rb
|
449
|
-
- spec/data/complicated/config/software/version-manifest.rb
|
450
|
-
- spec/data/complicated/config/software/xproto.rb
|
451
|
-
- spec/data/complicated/config/software/yajl.rb
|
452
|
-
- spec/data/complicated/config/software/zlib.rb
|
453
|
-
- spec/data/overrides/bad_line.overrides
|
454
|
-
- spec/data/overrides/good.overrides
|
455
|
-
- spec/data/overrides/with_dupes.overrides
|
456
|
-
- spec/data/projects/chefdk.rb
|
457
|
-
- spec/data/projects/sample.rb
|
458
|
-
- spec/data/software/erchef.rb
|
459
|
-
- spec/data/software/zlib.rb
|
460
|
-
- spec/fixtures/sample/files/mac_dmg/Resources/background.png
|
461
|
-
- spec/fixtures/sample/files/mac_dmg/Resources/icon.png
|
462
|
-
- spec/fixtures/sample/files/mac_pkg/Resources/background.png
|
463
|
-
- spec/fixtures/sample/files/mac_pkg/Resources/license.html
|
464
|
-
- spec/fixtures/sample/files/mac_pkg/Resources/welcome.html
|
465
|
-
- spec/fixtures/sample/files/windows_msi/Resources/assets/LICENSE.rtf
|
466
|
-
- spec/fixtures/sample/files/windows_msi/Resources/assets/banner_background.bmp
|
467
|
-
- spec/fixtures/sample/files/windows_msi/Resources/assets/dialog_background.bmp
|
468
|
-
- spec/fixtures/sample/files/windows_msi/Resources/assets/project.ico
|
469
|
-
- spec/fixtures/sample/files/windows_msi/Resources/assets/project_16x16.ico
|
470
|
-
- spec/fixtures/sample/files/windows_msi/Resources/assets/project_32x32.ico
|
471
|
-
- spec/fixtures/sample/files/windows_msi/Resources/localization-en-us.wxl
|
472
|
-
- spec/fixtures/sample/files/windows_msi/Resources/parameters.wxi.erb
|
473
|
-
- spec/fixtures/sample/files/windows_msi/Resources/source.wxs
|
299
|
+
- resources/bff/gen.template.erb
|
300
|
+
- resources/bff/postinstall.sh
|
301
|
+
- resources/bff/unpostinstall.sh
|
302
|
+
- resources/deb/conffiles.erb
|
303
|
+
- resources/deb/control.erb
|
304
|
+
- resources/deb/md5sums.erb
|
305
|
+
- resources/dmg/background.png
|
306
|
+
- resources/dmg/create_dmg.osascript.erb
|
307
|
+
- resources/dmg/icon.png
|
308
|
+
- resources/makeself/makeself-header.sh
|
309
|
+
- resources/makeself/makeself.sh
|
310
|
+
- resources/makeself/post_extract.sh.erb
|
311
|
+
- resources/msi/assets/LICENSE.rtf
|
312
|
+
- resources/msi/assets/banner_background.bmp
|
313
|
+
- resources/msi/assets/dialog_background.bmp
|
314
|
+
- resources/msi/assets/project.ico
|
315
|
+
- resources/msi/assets/project_16x16.ico
|
316
|
+
- resources/msi/assets/project_32x32.ico
|
317
|
+
- resources/msi/localization-en-us.wxl.erb
|
318
|
+
- resources/msi/parameters.wxi.erb
|
319
|
+
- resources/msi/source.wxs.erb
|
320
|
+
- resources/pkg/background.png
|
321
|
+
- resources/pkg/distribution.xml.erb
|
322
|
+
- resources/pkg/license.html.erb
|
323
|
+
- resources/pkg/welcome.html.erb
|
324
|
+
- resources/rpm/rpmmacros.erb
|
325
|
+
- resources/rpm/signing.erb
|
326
|
+
- resources/rpm/spec.erb
|
474
327
|
- spec/fixtures/sample/package-scripts/sample/postinstall
|
475
328
|
- spec/functional/builder_spec.rb
|
476
|
-
- spec/
|
477
|
-
- spec/
|
329
|
+
- spec/functional/fetchers/git_fetcher_spec.rb
|
330
|
+
- spec/functional/fetchers/net_fetcher_spec.rb
|
331
|
+
- spec/functional/fetchers/path_fetcher_spec.rb
|
332
|
+
- spec/functional/file_syncer_spec.rb
|
333
|
+
- spec/functional/templating_spec.rb
|
478
334
|
- spec/spec_helper.rb
|
335
|
+
- spec/support/env_helpers.rb
|
336
|
+
- spec/support/examples.rb
|
337
|
+
- spec/support/file_helpers.rb
|
338
|
+
- spec/support/git_helpers.rb
|
339
|
+
- spec/support/logging_helpers.rb
|
340
|
+
- spec/support/matchers.rb
|
341
|
+
- spec/support/ohai_helpers.rb
|
342
|
+
- spec/support/path_helpers.rb
|
343
|
+
- spec/support/shell_helpers.rb
|
479
344
|
- spec/unit/build_version_dsl_spec.rb
|
480
345
|
- spec/unit/build_version_spec.rb
|
481
346
|
- spec/unit/builder_spec.rb
|
482
347
|
- spec/unit/cleanroom_spec.rb
|
348
|
+
- spec/unit/compressor_spec.rb
|
349
|
+
- spec/unit/compressors/base_spec.rb
|
350
|
+
- spec/unit/compressors/dmg_spec.rb
|
351
|
+
- spec/unit/compressors/null_spec.rb
|
352
|
+
- spec/unit/compressors/tgz_spec.rb
|
483
353
|
- spec/unit/config_spec.rb
|
484
354
|
- spec/unit/digestable_spec.rb
|
485
355
|
- spec/unit/fetchers/git_fetcher_spec.rb
|
486
356
|
- spec/unit/fetchers/net_fetcher_spec.rb
|
357
|
+
- spec/unit/fetchers/path_fetcher_spec.rb
|
358
|
+
- spec/unit/generator_spec.rb
|
487
359
|
- spec/unit/git_cache_spec.rb
|
488
360
|
- spec/unit/health_check_spec.rb
|
489
361
|
- spec/unit/library_spec.rb
|
362
|
+
- spec/unit/metadata_spec.rb
|
490
363
|
- spec/unit/ohai_spec.rb
|
491
364
|
- spec/unit/omnibus_spec.rb
|
492
365
|
- spec/unit/package_spec.rb
|
493
366
|
- spec/unit/packagers/base_spec.rb
|
494
|
-
- spec/unit/packagers/
|
367
|
+
- spec/unit/packagers/bff_spec.rb
|
368
|
+
- spec/unit/packagers/deb_spec.rb
|
369
|
+
- spec/unit/packagers/makeself_spec.rb
|
370
|
+
- spec/unit/packagers/msi_spec.rb
|
371
|
+
- spec/unit/packagers/pkg_spec.rb
|
372
|
+
- spec/unit/packagers/rpm_spec.rb
|
495
373
|
- spec/unit/project_spec.rb
|
496
374
|
- spec/unit/publisher_spec.rb
|
497
375
|
- spec/unit/publishers/artifactory_publisher_spec.rb
|
@@ -499,37 +377,33 @@ files:
|
|
499
377
|
- spec/unit/s3_cacher_spec.rb
|
500
378
|
- spec/unit/software_spec.rb
|
501
379
|
- spec/unit/sugarable_spec.rb
|
380
|
+
- spec/unit/util_spec.rb
|
502
381
|
homepage: https://github.com/opscode/omnibus
|
503
382
|
licenses:
|
504
383
|
- Apache 2.0
|
384
|
+
metadata: {}
|
505
385
|
post_install_message:
|
506
386
|
rdoc_options: []
|
507
387
|
require_paths:
|
508
388
|
- lib
|
509
389
|
required_ruby_version: !ruby/object:Gem::Requirement
|
510
|
-
none: false
|
511
390
|
requirements:
|
512
|
-
- -
|
391
|
+
- - ">="
|
513
392
|
- !ruby/object:Gem::Version
|
514
393
|
version: 1.9.1
|
515
394
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
516
|
-
none: false
|
517
395
|
requirements:
|
518
|
-
- -
|
396
|
+
- - ">"
|
519
397
|
- !ruby/object:Gem::Version
|
520
|
-
version:
|
521
|
-
segments:
|
522
|
-
- 0
|
523
|
-
hash: -3276913266018303200
|
398
|
+
version: 1.3.1
|
524
399
|
requirements: []
|
525
400
|
rubyforge_project:
|
526
|
-
rubygems_version:
|
401
|
+
rubygems_version: 2.3.0
|
527
402
|
signing_key:
|
528
|
-
specification_version:
|
403
|
+
specification_version: 4
|
529
404
|
summary: Omnibus is a framework for building self-installing, full-stack software
|
530
405
|
builds.
|
531
406
|
test_files:
|
532
|
-
- features/commands/_deprecated.feature
|
533
407
|
- features/commands/build.feature
|
534
408
|
- features/commands/clean.feature
|
535
409
|
- features/commands/list.feature
|
@@ -538,170 +412,52 @@ test_files:
|
|
538
412
|
- features/commands/version.feature
|
539
413
|
- features/step_definitions/generator_steps.rb
|
540
414
|
- features/support/env.rb
|
541
|
-
- spec/data/complicated/config/patches/bzip2/makefile_take_env_vars.patch
|
542
|
-
- spec/data/complicated/config/patches/couchdb/patch_for_couchjs_stack.patch
|
543
|
-
- spec/data/complicated/config/patches/gd/gd-2.0.33-configure-libpng.patch
|
544
|
-
- spec/data/complicated/config/patches/keepalived/keepalived-1.2.9_opscode_centos_5.patch
|
545
|
-
- spec/data/complicated/config/patches/libedit/freebsd-vi-fix.patch
|
546
|
-
- spec/data/complicated/config/patches/libiconv/libiconv-1.14_srclib_stdio.in.h-remove-gets-declarations.patch
|
547
|
-
- spec/data/complicated/config/patches/libwrap/tcp_wrappers-7.6-makefile-dest-fix.patch
|
548
|
-
- spec/data/complicated/config/patches/libwrap/tcp_wrappers-7.6-malloc-fix.patch
|
549
|
-
- spec/data/complicated/config/patches/libwrap/tcp_wrappers-7.6-shared_lib_plus_plus-1.patch
|
550
|
-
- spec/data/complicated/config/patches/logrotate/logrotate_basedir_override.patch
|
551
|
-
- spec/data/complicated/config/patches/ncurses/ncurses-5.9-solaris-xopen_source_extended-detection.patch
|
552
|
-
- spec/data/complicated/config/patches/ncurses/ncurses-clang.patch
|
553
|
-
- spec/data/complicated/config/patches/ncurses/patch-aa
|
554
|
-
- spec/data/complicated/config/patches/ncurses/patch-ab
|
555
|
-
- spec/data/complicated/config/patches/ncurses/patch-ac
|
556
|
-
- spec/data/complicated/config/patches/ncurses/patch-ad
|
557
|
-
- spec/data/complicated/config/patches/ncurses/patch-aix-configure
|
558
|
-
- spec/data/complicated/config/patches/ncurses/patch-cxx_cursesf.h
|
559
|
-
- spec/data/complicated/config/patches/ncurses/patch-cxx_cursesm.h
|
560
|
-
- spec/data/complicated/config/patches/nrpe/fix_for_runit.patch
|
561
|
-
- spec/data/complicated/config/patches/openssl/openssl-1.0.1f-do-not-build-docs.patch
|
562
|
-
- spec/data/complicated/config/patches/postgresql/postgresql-9.1.2-configure-ncurses-fix.patch
|
563
|
-
- spec/data/complicated/config/patches/ruby/patch-configure
|
564
|
-
- spec/data/complicated/config/patches/ruby/ruby-aix-configure.patch
|
565
|
-
- spec/data/complicated/config/patches/ruby/ruby-openssl-1.0.1c.patch
|
566
|
-
- spec/data/complicated/config/patches/ruby/ruby_aix_1_9_3_448_ssl_EAGAIN.patch
|
567
|
-
- spec/data/complicated/config/patches/ruby/rvm-cflags.patch
|
568
|
-
- spec/data/complicated/config/projects/angrychef.rb
|
569
|
-
- spec/data/complicated/config/projects/chef-windows.rb
|
570
|
-
- spec/data/complicated/config/projects/chef.rb
|
571
|
-
- spec/data/complicated/config/projects/chefdk-windows.rb
|
572
|
-
- spec/data/complicated/config/projects/chefdk.rb
|
573
|
-
- spec/data/complicated/config/software/appbundler.rb
|
574
|
-
- spec/data/complicated/config/software/autoconf.rb
|
575
|
-
- spec/data/complicated/config/software/automake.rb
|
576
|
-
- spec/data/complicated/config/software/berkshelf.rb
|
577
|
-
- spec/data/complicated/config/software/bundler.rb
|
578
|
-
- spec/data/complicated/config/software/bzip2.rb
|
579
|
-
- spec/data/complicated/config/software/cacerts.rb
|
580
|
-
- spec/data/complicated/config/software/chef-client-msi.rb
|
581
|
-
- spec/data/complicated/config/software/chef-gem.rb
|
582
|
-
- spec/data/complicated/config/software/chef-vault.rb
|
583
|
-
- spec/data/complicated/config/software/chef-windows.rb
|
584
|
-
- spec/data/complicated/config/software/chef.rb
|
585
|
-
- spec/data/complicated/config/software/chefdk.rb
|
586
|
-
- spec/data/complicated/config/software/couchdb.rb
|
587
|
-
- spec/data/complicated/config/software/curl.rb
|
588
|
-
- spec/data/complicated/config/software/erlang.rb
|
589
|
-
- spec/data/complicated/config/software/expat.rb
|
590
|
-
- spec/data/complicated/config/software/fcgi.rb
|
591
|
-
- spec/data/complicated/config/software/fcgiwrap.rb
|
592
|
-
- spec/data/complicated/config/software/gd.rb
|
593
|
-
- spec/data/complicated/config/software/gdbm.rb
|
594
|
-
- spec/data/complicated/config/software/gecode.rb
|
595
|
-
- spec/data/complicated/config/software/git.rb
|
596
|
-
- spec/data/complicated/config/software/help2man.rb
|
597
|
-
- spec/data/complicated/config/software/icu.rb
|
598
|
-
- spec/data/complicated/config/software/jre.rb
|
599
|
-
- spec/data/complicated/config/software/keepalived.rb
|
600
|
-
- spec/data/complicated/config/software/libarchive.rb
|
601
|
-
- spec/data/complicated/config/software/libedit.rb
|
602
|
-
- spec/data/complicated/config/software/libffi.rb
|
603
|
-
- spec/data/complicated/config/software/libgcc.rb
|
604
|
-
- spec/data/complicated/config/software/libiconv.rb
|
605
|
-
- spec/data/complicated/config/software/libjpeg.rb
|
606
|
-
- spec/data/complicated/config/software/libpng.rb
|
607
|
-
- spec/data/complicated/config/software/libtool.rb
|
608
|
-
- spec/data/complicated/config/software/libwrap.rb
|
609
|
-
- spec/data/complicated/config/software/libxml2.rb
|
610
|
-
- spec/data/complicated/config/software/libxslt.rb
|
611
|
-
- spec/data/complicated/config/software/libyaml-windows.rb
|
612
|
-
- spec/data/complicated/config/software/libyaml.rb
|
613
|
-
- spec/data/complicated/config/software/logrotate.rb
|
614
|
-
- spec/data/complicated/config/software/makedepend.rb
|
615
|
-
- spec/data/complicated/config/software/mysql2.rb
|
616
|
-
- spec/data/complicated/config/software/nagios-plugins.rb
|
617
|
-
- spec/data/complicated/config/software/nagios.rb
|
618
|
-
- spec/data/complicated/config/software/ncurses.rb
|
619
|
-
- spec/data/complicated/config/software/nginx.rb
|
620
|
-
- spec/data/complicated/config/software/nodejs.rb
|
621
|
-
- spec/data/complicated/config/software/nokogiri.rb
|
622
|
-
- spec/data/complicated/config/software/nrpe.rb
|
623
|
-
- spec/data/complicated/config/software/ohai.rb
|
624
|
-
- spec/data/complicated/config/software/omnibus-ctl.rb
|
625
|
-
- spec/data/complicated/config/software/openresty.rb
|
626
|
-
- spec/data/complicated/config/software/openssl.rb
|
627
|
-
- spec/data/complicated/config/software/pcre.rb
|
628
|
-
- spec/data/complicated/config/software/perl-extutils-embed.rb
|
629
|
-
- spec/data/complicated/config/software/perl-extutils-makemaker.rb
|
630
|
-
- spec/data/complicated/config/software/perl.rb
|
631
|
-
- spec/data/complicated/config/software/perl_pg_driver.rb
|
632
|
-
- spec/data/complicated/config/software/php.rb
|
633
|
-
- spec/data/complicated/config/software/pip.rb
|
634
|
-
- spec/data/complicated/config/software/pkg-config.rb
|
635
|
-
- spec/data/complicated/config/software/popt.rb
|
636
|
-
- spec/data/complicated/config/software/postgresql.rb
|
637
|
-
- spec/data/complicated/config/software/preparation.rb
|
638
|
-
- spec/data/complicated/config/software/pygments.rb
|
639
|
-
- spec/data/complicated/config/software/python.rb
|
640
|
-
- spec/data/complicated/config/software/rabbitmq.rb
|
641
|
-
- spec/data/complicated/config/software/rebar.rb
|
642
|
-
- spec/data/complicated/config/software/redis.rb
|
643
|
-
- spec/data/complicated/config/software/rsync.rb
|
644
|
-
- spec/data/complicated/config/software/ruby-windows-devkit.rb
|
645
|
-
- spec/data/complicated/config/software/ruby-windows.rb
|
646
|
-
- spec/data/complicated/config/software/ruby.rb
|
647
|
-
- spec/data/complicated/config/software/rubygems-customization.rb
|
648
|
-
- spec/data/complicated/config/software/rubygems.rb
|
649
|
-
- spec/data/complicated/config/software/runit.rb
|
650
|
-
- spec/data/complicated/config/software/server-jre.rb
|
651
|
-
- spec/data/complicated/config/software/setuptools.rb
|
652
|
-
- spec/data/complicated/config/software/spawn-fcgi.rb
|
653
|
-
- spec/data/complicated/config/software/sphinx.rb
|
654
|
-
- spec/data/complicated/config/software/spidermonkey.rb
|
655
|
-
- spec/data/complicated/config/software/sqitch.rb
|
656
|
-
- spec/data/complicated/config/software/test-kitchen.rb
|
657
|
-
- spec/data/complicated/config/software/unicorn.rb
|
658
|
-
- spec/data/complicated/config/software/util-macros.rb
|
659
|
-
- spec/data/complicated/config/software/version-manifest.rb
|
660
|
-
- spec/data/complicated/config/software/xproto.rb
|
661
|
-
- spec/data/complicated/config/software/yajl.rb
|
662
|
-
- spec/data/complicated/config/software/zlib.rb
|
663
|
-
- spec/data/overrides/bad_line.overrides
|
664
|
-
- spec/data/overrides/good.overrides
|
665
|
-
- spec/data/overrides/with_dupes.overrides
|
666
|
-
- spec/data/projects/chefdk.rb
|
667
|
-
- spec/data/projects/sample.rb
|
668
|
-
- spec/data/software/erchef.rb
|
669
|
-
- spec/data/software/zlib.rb
|
670
|
-
- spec/fixtures/sample/files/mac_dmg/Resources/background.png
|
671
|
-
- spec/fixtures/sample/files/mac_dmg/Resources/icon.png
|
672
|
-
- spec/fixtures/sample/files/mac_pkg/Resources/background.png
|
673
|
-
- spec/fixtures/sample/files/mac_pkg/Resources/license.html
|
674
|
-
- spec/fixtures/sample/files/mac_pkg/Resources/welcome.html
|
675
|
-
- spec/fixtures/sample/files/windows_msi/Resources/assets/LICENSE.rtf
|
676
|
-
- spec/fixtures/sample/files/windows_msi/Resources/assets/banner_background.bmp
|
677
|
-
- spec/fixtures/sample/files/windows_msi/Resources/assets/dialog_background.bmp
|
678
|
-
- spec/fixtures/sample/files/windows_msi/Resources/assets/project.ico
|
679
|
-
- spec/fixtures/sample/files/windows_msi/Resources/assets/project_16x16.ico
|
680
|
-
- spec/fixtures/sample/files/windows_msi/Resources/assets/project_32x32.ico
|
681
|
-
- spec/fixtures/sample/files/windows_msi/Resources/localization-en-us.wxl
|
682
|
-
- spec/fixtures/sample/files/windows_msi/Resources/parameters.wxi.erb
|
683
|
-
- spec/fixtures/sample/files/windows_msi/Resources/source.wxs
|
684
415
|
- spec/fixtures/sample/package-scripts/sample/postinstall
|
685
416
|
- spec/functional/builder_spec.rb
|
686
|
-
- spec/
|
687
|
-
- spec/
|
417
|
+
- spec/functional/fetchers/git_fetcher_spec.rb
|
418
|
+
- spec/functional/fetchers/net_fetcher_spec.rb
|
419
|
+
- spec/functional/fetchers/path_fetcher_spec.rb
|
420
|
+
- spec/functional/file_syncer_spec.rb
|
421
|
+
- spec/functional/templating_spec.rb
|
688
422
|
- spec/spec_helper.rb
|
423
|
+
- spec/support/env_helpers.rb
|
424
|
+
- spec/support/examples.rb
|
425
|
+
- spec/support/file_helpers.rb
|
426
|
+
- spec/support/git_helpers.rb
|
427
|
+
- spec/support/logging_helpers.rb
|
428
|
+
- spec/support/matchers.rb
|
429
|
+
- spec/support/ohai_helpers.rb
|
430
|
+
- spec/support/path_helpers.rb
|
431
|
+
- spec/support/shell_helpers.rb
|
689
432
|
- spec/unit/build_version_dsl_spec.rb
|
690
433
|
- spec/unit/build_version_spec.rb
|
691
434
|
- spec/unit/builder_spec.rb
|
692
435
|
- spec/unit/cleanroom_spec.rb
|
436
|
+
- spec/unit/compressor_spec.rb
|
437
|
+
- spec/unit/compressors/base_spec.rb
|
438
|
+
- spec/unit/compressors/dmg_spec.rb
|
439
|
+
- spec/unit/compressors/null_spec.rb
|
440
|
+
- spec/unit/compressors/tgz_spec.rb
|
693
441
|
- spec/unit/config_spec.rb
|
694
442
|
- spec/unit/digestable_spec.rb
|
695
443
|
- spec/unit/fetchers/git_fetcher_spec.rb
|
696
444
|
- spec/unit/fetchers/net_fetcher_spec.rb
|
445
|
+
- spec/unit/fetchers/path_fetcher_spec.rb
|
446
|
+
- spec/unit/generator_spec.rb
|
697
447
|
- spec/unit/git_cache_spec.rb
|
698
448
|
- spec/unit/health_check_spec.rb
|
699
449
|
- spec/unit/library_spec.rb
|
450
|
+
- spec/unit/metadata_spec.rb
|
700
451
|
- spec/unit/ohai_spec.rb
|
701
452
|
- spec/unit/omnibus_spec.rb
|
702
453
|
- spec/unit/package_spec.rb
|
703
454
|
- spec/unit/packagers/base_spec.rb
|
704
|
-
- spec/unit/packagers/
|
455
|
+
- spec/unit/packagers/bff_spec.rb
|
456
|
+
- spec/unit/packagers/deb_spec.rb
|
457
|
+
- spec/unit/packagers/makeself_spec.rb
|
458
|
+
- spec/unit/packagers/msi_spec.rb
|
459
|
+
- spec/unit/packagers/pkg_spec.rb
|
460
|
+
- spec/unit/packagers/rpm_spec.rb
|
705
461
|
- spec/unit/project_spec.rb
|
706
462
|
- spec/unit/publisher_spec.rb
|
707
463
|
- spec/unit/publishers/artifactory_publisher_spec.rb
|
@@ -709,4 +465,5 @@ test_files:
|
|
709
465
|
- spec/unit/s3_cacher_spec.rb
|
710
466
|
- spec/unit/software_spec.rb
|
711
467
|
- spec/unit/sugarable_spec.rb
|
468
|
+
- spec/unit/util_spec.rb
|
712
469
|
has_rdoc:
|