Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding toml resource #1924

Merged
merged 2 commits into from
Jun 15, 2017
Merged

Adding toml resource #1924

merged 2 commits into from
Jun 15, 2017

Conversation

nsdavidson
Copy link
Contributor

This adds a toml resource that inherits from the json resource and
behaves the same way as the JSON and YAML resources.

Signed-off-by: Nolan Davidson ndavidson@chef.io

This adds a `toml` resource that inherits from the json resource and
behaves the same way as the JSON and YAML resources.

Signed-off-by: Nolan Davidson <ndavidson@chef.io>
Copy link
Contributor

@chris-rock chris-rock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great addition @nsdavidson Lets just remove the additional comments and we are good to go :-)


# Parses a TOML document
# Usage
# describe toml('default.toml') do
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We do not need the comments, since the example is inline as part of the example

@chris-rock chris-rock requested a review from adamleff June 15, 2017 08:17
Signed-off-by: Nolan Davidson <ndavidson@chef.io>
@nsdavidson
Copy link
Contributor Author

@chris-rock Thanks! Comments removed.

Copy link
Contributor

@adamleff adamleff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nicely done, @nsdavidson!

@adamleff adamleff merged commit 52cc27d into master Jun 15, 2017
@adamleff adamleff deleted the nsdavidson/add-toml-resource branch June 15, 2017 20:54
@adamleff adamleff added Type: New Feature Adds new functionality and removed in progress labels Jun 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: New Feature Adds new functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants