berkshelf_ext 1.0.18 → 1.0.20

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.
@@ -1,3 +1,6 @@
1
+ ## v1.0.20
2
+ * Include `--nested-depth` option on `install` command
3
+
1
4
  ## v1.0.18
2
5
  * Include full source loading all the time (missed when extracting from the 302 PR)
3
6
 
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
@@ -2,6 +2,6 @@ module BerkshelfExt
2
2
  class Version < Gem::Version
3
3
  end
4
4
 
5
- VERSION = Version.new('1.0.18')
5
+ VERSION = Version.new('1.0.20')
6
6
  BERKSHELF_CONSTRAINT = '~> 1.3.1'
7
7
  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.18
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-26 00:00:00.000000000 Z
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