fpm-cookery 0.19.0 → 0.20.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/.gitignore +1 -0
- data/.travis.yml +2 -2
- data/CHANGELOG.md +6 -0
- data/Rakefile +4 -7
- data/fpm-cookery.gemspec +1 -1
- data/lib/fpm/cookery/book.rb +1 -1
- data/lib/fpm/cookery/cli.rb +8 -1
- data/lib/fpm/cookery/config.rb +2 -1
- data/lib/fpm/cookery/package/package.rb +1 -0
- data/lib/fpm/cookery/recipe.rb +16 -8
- data/lib/fpm/cookery/version.rb +1 -1
- data/spec/config_spec.rb +48 -20
- data/spec/facts_spec.rb +11 -11
- data/spec/package_maintainer_spec.rb +22 -44
- data/spec/package_spec.rb +34 -26
- data/spec/package_version_spec.rb +20 -20
- data/spec/path_helper_spec.rb +19 -19
- data/spec/path_spec.rb +17 -17
- data/spec/recipe_spec.rb +95 -56
- data/spec/source_integrity_check_spec.rb +39 -52
- data/spec/source_spec.rb +7 -7
- data/spec/spec_helper.rb +11 -8
- metadata +23 -24
- data/.autotest +0 -21
data/.autotest
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
require 'autotest/restart'
|
2
|
-
|
3
|
-
Autotest.add_hook :initialize do |at|
|
4
|
-
at.testlib = 'minitest/autorun'
|
5
|
-
at.order = :natural
|
6
|
-
at.libs = '.:lib:spec'
|
7
|
-
|
8
|
-
at.clear_mappings
|
9
|
-
|
10
|
-
at.add_mapping(%r{^spec/.*_spec\.rb$}) do |filename, _|
|
11
|
-
filename
|
12
|
-
end
|
13
|
-
|
14
|
-
at.add_mapping(%r{^lib/(.*)\.rb$}) do |_, m|
|
15
|
-
["spec/#{m[1].gsub('fpm/cookery/', '')}_spec.rb"]
|
16
|
-
end
|
17
|
-
|
18
|
-
at.add_mapping(%r{^spec/spec_helper\.rb$}) do
|
19
|
-
at.files_matching %r{^spec/.*_spec\.rb$}
|
20
|
-
end
|
21
|
-
end
|