berksfiler 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 68fcffa72ba55c03391ba385fcd96cf206005575
4
- data.tar.gz: 8386dffe63a6ee156b0c5cb2b27978d5ec3940f1
3
+ metadata.gz: 0a3f6ceabf0fc60128603257034f488725c410b2
4
+ data.tar.gz: d06b21924f4b1dc28830c6db4ca12309389e2f34
5
5
  SHA512:
6
- metadata.gz: db2e60c2c04dbacf4d7d86bd40132bdbb7a14adc9c52df98726df3d8e6c584d18df8bb5b9c8a001701d9bc891371ce4e9e615ff195d618f1a19b9ac8fbeb99a9
7
- data.tar.gz: c9e8f0486b6f39c655457a16685dcba40d09d3867104699cd88091fec55b06286519bbf7b381473d5a77ab171140fdcfb3320552199622e195ea1a08328075f3
6
+ metadata.gz: c6b24a9e1edeb7be4b9eb25ceb75a5d17744bcf73724480cf669780878b1ed78a73f3aa4e5608c2ac22b156fdcd98463b374bd1290415e27a082682801ab6bd8
7
+ data.tar.gz: bac56572ae9565567634ae92820619fb1e61a698508d460fbdbf1264f8aaa35af94570679ea21bb213c65f1925e86008dca0c9abd920adfab2dc2ede0559dc86
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # Berksfiler
2
2
 
3
3
  [![Build Status](https://travis-ci.org/mgreensmith/berksfiler.svg)](https://travis-ci.org/mgreensmith/berksfiler)
4
- [![Gem Version](https://badge.fury.io/rb/berksfiler.png)](http://badge.fury.io/rb/berksfiler)
4
+ [![Gem Version](https://badge.fury.io/rb/berksfiler.svg)](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
- 2. if `/cookbooks/foo/metadata.rb` contains the following dependencies:
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
- 3. And using the example config file displayed above, running
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.
@@ -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 = "http://github.com/mgreensmith/berksfiler"
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
@@ -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
@@ -1,4 +1,4 @@
1
1
  # Berksfiler programmatically generates Berksfiles with correct dependencies
2
2
  module Berksfiler
3
- VERSION = '0.1.0'
3
+ VERSION = '0.1.1'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: berksfiler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Greensmith