berksfiler 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +5 -7
- data/berksfiler.gemspec +1 -1
- data/lib/berksfiler.rb +1 -1
- data/lib/berksfiler/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0a3f6ceabf0fc60128603257034f488725c410b2
|
|
4
|
+
data.tar.gz: d06b21924f4b1dc28830c6db4ca12309389e2f34
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c6b24a9e1edeb7be4b9eb25ceb75a5d17744bcf73724480cf669780878b1ed78a73f3aa4e5608c2ac22b156fdcd98463b374bd1290415e27a082682801ab6bd8
|
|
7
|
+
data.tar.gz: bac56572ae9565567634ae92820619fb1e61a698508d460fbdbf1264f8aaa35af94570679ea21bb213c65f1925e86008dca0c9abd920adfab2dc2ede0559dc86
|
data/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Berksfiler
|
|
2
2
|
|
|
3
3
|
[](https://travis-ci.org/mgreensmith/berksfiler)
|
|
4
|
-
[](http://badge.fury.io/rb/berksfiler)
|
|
5
5
|
|
|
6
6
|
Berksfiler programatically generates [Berkshelf](http://berkshelf.com/) Berksfiles for your [Chef](https://www.chef.io/) cookbooks.
|
|
7
7
|
|
|
@@ -73,9 +73,7 @@ Berksfiler should be run from the root of your Chef repository.
|
|
|
73
73
|
|
|
74
74
|
## Example
|
|
75
75
|
|
|
76
|
-
Given:
|
|
77
|
-
|
|
78
|
-
1. In the cookbook tree:
|
|
76
|
+
Given a set of local cookbooks:
|
|
79
77
|
```
|
|
80
78
|
/cookbooks
|
|
81
79
|
/foo
|
|
@@ -83,7 +81,7 @@ Given:
|
|
|
83
81
|
/baz
|
|
84
82
|
```
|
|
85
83
|
|
|
86
|
-
|
|
84
|
+
assuming `/cookbooks/foo/metadata.rb` contains the following dependencies:
|
|
87
85
|
```
|
|
88
86
|
depends 'artifact'
|
|
89
87
|
depends 'bar'
|
|
@@ -92,7 +90,7 @@ depends 'some_public_cookbook'
|
|
|
92
90
|
depends 'some_other_public_cookbook'
|
|
93
91
|
```
|
|
94
92
|
|
|
95
|
-
|
|
93
|
+
and using the example config file displayed above, running:
|
|
96
94
|
```
|
|
97
95
|
$ berksfiler -b foo
|
|
98
96
|
```
|
|
@@ -116,4 +114,4 @@ cookbook 'baz', path: '../baz'
|
|
|
116
114
|
## Copyright
|
|
117
115
|
|
|
118
116
|
Copyright (c) 2014-2015 Matt Greensmith and Cozy Services Ltd. See [LICENSE.txt](LICENSE.txt) for
|
|
119
|
-
further details.
|
|
117
|
+
further details.
|
data/berksfiler.gemspec
CHANGED
|
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
|
|
|
12
12
|
spec.description = spec.summary
|
|
13
13
|
spec.homepage = ''
|
|
14
14
|
spec.license = 'MIT'
|
|
15
|
-
spec.homepage =
|
|
15
|
+
spec.homepage = 'http://github.com/mgreensmith/berksfiler'
|
|
16
16
|
|
|
17
17
|
spec.files = `git ls-files -z`.split("\x0")
|
|
18
18
|
spec.executables = spec.name
|
data/lib/berksfiler.rb
CHANGED
|
@@ -71,7 +71,7 @@ module Berksfiler
|
|
|
71
71
|
# dependencies and programmatically generate a Berksfile for that cookbook
|
|
72
72
|
# which takes into account the correct sources for all dependencies.
|
|
73
73
|
def self::run
|
|
74
|
-
local_cookbooks - excluded_cookbooks.each do |cb|
|
|
74
|
+
(local_cookbooks - excluded_cookbooks).each do |cb|
|
|
75
75
|
emplace_berksfile(cb)
|
|
76
76
|
end
|
|
77
77
|
end
|
data/lib/berksfiler/version.rb
CHANGED