summaryrefslogtreecommitdiff
path: root/spec/functions/deprecation_spec.rb
AgeCommit message (Collapse)Author
2017-03-14(MODULES-4528) Use versioncmp to check Puppet version for 4.10.x compatDominic Cleal
`Puppet.version.to_f` on Puppet 4.10.0 will evaluate to `4.1`, causing test and behavioural changes when conditionals check that the version is equal or greater than versions such as `4.3`. Version comparisons that are vulnerable to this have been changed to use Puppet's versioncmp implementation, while most others only check for for major version boundaries which is safe.
2017-01-24(MODULES-4098) Sync the rest of the filesHunter Haugen
2016-11-29Update deprecation tests to include future parserHelen Campbell
2016-10-03Replace :context with :all in spec testsHelen Campbell
2016-09-05Deprecation function to be mutable in all casesHelen Campbell
2016-08-15(maint) Switch 3.x deprecation() to use Puppet warning loggerDominic Cleal
The deprecation function was calling the `Kernel#warn` function which prints to stderr, rather than the Puppet logger. This causes problems for Puppet module tests on Travis CI, which has a cap on the amount of stdout/err permitted in its logs and also prevents users from finding the deprecation warnings when running under a Puppet master.
2016-08-08(modules-3533) deprecation for 3.x number functiontphoney
2016-07-18(MODULES-3529)add deprecation functiontphoney