Skip to content

Commit

Permalink
Merge pull request #20 from fpringvaldsen/maint/hocon-gem-update
Browse files Browse the repository at this point in the history
(MAINT) Update to hocon 0.9.2
  • Loading branch information
Morgan Haskel committed Jul 13, 2015
2 parents 3367cb0 + f6276b2 commit 0f4448e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 4 additions & 2 deletions spec/unit/puppet/provider/conf_setting/ruby_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 0f4448e

Please sign in to comment.