diff --git a/Gemfile b/Gemfile index 80a51b7..e487517 100644 --- a/Gemfile +++ b/Gemfile @@ -26,6 +26,6 @@ else gem 'puppet', :require => false end -gem 'hocon', '~> 0.9.0', :require => false +gem 'hocon', '~> 0.9.2', :require => false # vim:ft=ruby diff --git a/spec/unit/puppet/provider/conf_setting/ruby_spec.rb b/spec/unit/puppet/provider/conf_setting/ruby_spec.rb index 0cde00b..5feba24 100644 --- a/spec/unit/puppet/provider/conf_setting/ruby_spec.rb +++ b/spec/unit/puppet/provider/conf_setting/ruby_spec.rb @@ -198,7 +198,9 @@ def validate_file(expected_content,tmpfile = tmpfile) #another comment // yet another comment foo: bar -test_key_4 : { huzzah : "shazaam" } +test_key_4 : { + huzzah : "shazaam" +} EOS ) end @@ -209,7 +211,7 @@ def validate_file(expected_content,tmpfile = tmpfile) provider = described_class.new(resource) expect(provider.exists?).to be false provider.create - validate_file(" test_key_1 : { setting1 : \"helloworld\" }\n", emptyfile) + validate_file("test_key_1 : {\n setting1 : \"helloworld\"\n}\n", emptyfile) end it "should be able to handle variables of boolean type" do