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

Fix params and properties #10

Merged
merged 2 commits into from
Jan 23, 2018

Conversation

DavidS
Copy link
Contributor

@DavidS DavidS commented Jan 23, 2018

No description provided.

@DavidS DavidS force-pushed the fix-params-and-properties branch from 329e81b to 8951a75 Compare January 23, 2018 11:17
@codecov
Copy link

codecov bot commented Jan 23, 2018

Codecov Report

Merging #10 into master will increase coverage by 0.03%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #10      +/-   ##
==========================================
+ Coverage   98.47%   98.51%   +0.03%     
==========================================
  Files           9        9              
  Lines         328      336       +8     
==========================================
+ Hits          323      331       +8     
  Misses          5        5
Impacted Files Coverage Δ
lib/puppet/resource_api.rb 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4721e31...cbac405. Read the comment docs.

Forwarding comment edit notifications into our internal chat means
that we need to disable codecov comments down to reduce notification
spam.

We've tried using `after_n_builds`, but amending the PR meant that
codecov then notified for each finishing cell.
Properties and Params need to handle newvalue* differently. Properties
need `newvalue` called with an (empty) block. Params are satisfied with
the `newvalues` call without a block.
@DavidS DavidS force-pushed the fix-params-and-properties branch from 8951a75 to cbac405 Compare January 23, 2018 11:36
@DavidS DavidS merged commit e28eb78 into puppetlabs:master Jan 23, 2018
@DavidS DavidS deleted the fix-params-and-properties branch January 23, 2018 11:42
@DavidS DavidS added the bug label Jan 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant