vagrant-berkshelf 3.0.0 → 3.0.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: ba235a0f7895b6cbc5c0fd7be01af970732d4e28
4
- data.tar.gz: 038ec1525a357000fa2e83f03acfff0da333f275
3
+ metadata.gz: 6756cdfdfc203a867d17dbca91420bb5f360b36c
4
+ data.tar.gz: 9da918a274b2556339f341e39d41c2d803c397d9
5
5
  SHA512:
6
- metadata.gz: 7d8c31d2a18f55550a2b052fc2fa701f847c3c4c2b7a2a5b125e8779eed9ed9c9cd56e19d5a1743571303de85d86703f3a37f8cee994a3a8ca6e86071edef939
7
- data.tar.gz: 18a981a4b199c1bd9ecf51a54b860707764c7d42187f0cc7ae22fac9987507cfda63757d65988e82a48752977af7b80781695afacc54285661672a9b3f40f176
6
+ metadata.gz: 5376cfd45dd23245082bdcbf6088ab4625f8aa4090ce89c1b49471d4a3934c4ca9111db2b80688371771e796aba50b8ab00ae6d0e7d74006504874abca3955d9
7
+ data.tar.gz: 9eed85ed2561b146977d0d4b037281f6d34919e896bdf5fe1d2254ca75836ed6ab727a5c69202c9040ecc88f987a7d677a9b5c60d01eac50d446a357dc9563e9
@@ -1,3 +1,8 @@
1
+ # 3.0.1
2
+
3
+ * Bug Fixes
4
+ * Fix issue loading configuration from a Berkshelf config.json
5
+
1
6
  # 3.0.0
2
7
 
3
8
  * Enhancements
@@ -25,15 +25,16 @@ module Berkshelf::Vagrant
25
25
  # @return [Config]
26
26
  def instance
27
27
  @instance ||= if File.exists?(path) && File.readable?(path)
28
- JSON.parse(File.read(path))
28
+ new(JSON.parse(File.read(path)))
29
29
  else
30
30
  new
31
31
  end
32
32
  end
33
33
  end
34
34
 
35
- def initialize
36
- super(chef: ChefConfig.instance, ssl: ::Vagrant::Util::HashWithIndifferentAccess.new(verify: false))
35
+ def initialize(attributes = {})
36
+ attributes.merge!(chef: ChefConfig.instance, ssl: ::Vagrant::Util::HashWithIndifferentAccess.new(verify: false))
37
+ super(attributes)
37
38
  end
38
39
 
39
40
  def chef
@@ -1,5 +1,5 @@
1
1
  module Berkshelf
2
2
  module Vagrant
3
- VERSION = "3.0.0"
3
+ VERSION = "3.0.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-berkshelf
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jamie Winsor