berkshelf_ext 1.0.18 → 1.0.20
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +3 -0
- data/berkshelf_ext-1.0.18.gem +0 -0
- data/lib/berkshelf_ext/nested_berksfiles.rb +4 -10
- data/lib/berkshelf_ext/version.rb +1 -1
- metadata +3 -2
data/CHANGELOG.md
CHANGED
Binary file
|
@@ -3,21 +3,15 @@ module BerkshelfExt
|
|
3
3
|
module Cli
|
4
4
|
class << self
|
5
5
|
def included(klass)
|
6
|
-
klass.tasks['upload'].options.update(
|
7
|
-
:nested_berksfiles => Thor::Option.new(
|
8
|
-
'nested_berksfiles', :type => :boolean, :default => false,
|
9
|
-
:desc => 'Use Berksfiles found within cookbooks specifed in Berksfile'
|
10
|
-
),
|
11
|
-
:nested_depth => Thor::Option.new(
|
12
|
-
'nested_depth', :type => :numeric, :default => 0,
|
13
|
-
:desc => 'Restrict nesting to this depth. Defaults to "0" (no restriction)'
|
14
|
-
)
|
15
|
-
)
|
16
6
|
%w{upload install}.each do |cmd|
|
17
7
|
klass.tasks[cmd].options[:nested_berksfiles] = Thor::Option.new(
|
18
8
|
'nested_berksfiles', :type => :boolean, :default => false,
|
19
9
|
:desc => 'Use Berksfiles found within cookbooks specifed in Berksfile'
|
20
10
|
)
|
11
|
+
klass.tasks[cmd].options[:nested_depth] = Thor::Option.new(
|
12
|
+
'nested_depth', :type => :numeric, :default => 0,
|
13
|
+
:desc => 'Restrict nesting to this depth. Defaults to "0" (no restriction)'
|
14
|
+
)
|
21
15
|
end
|
22
16
|
end
|
23
17
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: berkshelf_ext
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.20
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-06-
|
12
|
+
date: 2013-06-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: berkshelf
|
@@ -50,6 +50,7 @@ executables:
|
|
50
50
|
extensions: []
|
51
51
|
extra_rdoc_files: []
|
52
52
|
files:
|
53
|
+
- berkshelf_ext-1.0.18.gem
|
53
54
|
- lib/berkshelf.rb
|
54
55
|
- lib/berkshelf_ext/all.rb
|
55
56
|
- lib/berkshelf_ext/nested_berksfiles.rb
|