berkshelf_ext 1.0.4 → 1.0.6

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.
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## v1.0.6
2
+ * Add custom resolve to berksfile for dependency_chains to account for reverted changeset
3
+
1
4
  ## v1.0.4
2
5
  * Properly autoload berksfile module in dependency_chains
3
6
 
@@ -6,6 +6,8 @@ module BerkshelfExt
6
6
  klass.class_eval do
7
7
  alias_method :non_dependency_chains_sources, :sources
8
8
  alias_method :sources, :dependency_chains_sources
9
+ alias_method :non_dependency_chains_resolve, :resolve
10
+ alias_method :resolve, :dependency_chains_resolve
9
11
  end
10
12
  end
11
13
  end
@@ -26,6 +28,10 @@ module BerkshelfExt
26
28
  l_sources
27
29
  end
28
30
  end
31
+
32
+ def dependency_chains_resolve(options={})
33
+ resolver(options).resolve(options.fetch(:cookbooks, nil))
34
+ end
29
35
  end
30
36
 
31
37
  module Resolver
@@ -2,6 +2,6 @@ module BerkshelfExt
2
2
  class Version < Gem::Version
3
3
  end
4
4
 
5
- VERSION = Version.new('1.0.4')
5
+ VERSION = Version.new('1.0.6')
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.4
4
+ version: 1.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -62,8 +62,6 @@ files:
62
62
  - README.md
63
63
  - berkshelf_ext.gemspec
64
64
  - bin/berks_ext
65
- - berkshelf_ext-1.0.0.gem
66
- - berkshelf_ext-1.0.2.gem
67
65
  - CHANGELOG.md
68
66
  homepage: http://github.com/chrisroberts/berkshelf_ext
69
67
  licenses: []
Binary file
Binary file