Ruby 2.5 removed the deprecated to_yaml_properties method, causing most of the rspec tests to fail.
What does this PR do?
This PR sorts the parsed YAML data structures during test comparison to make YAML order not be a cause for test failure. It also updates the Jenkins pipeline to test against maintained ruby versions (2.3-2.5)
Background
Ruby 2.5 removed the deprecated
to_yaml_properties
method, causing most of the rspec tests to fail.What does this PR do?
This PR sorts the parsed YAML data structures during test comparison to make YAML order not be a cause for test failure. It also updates the Jenkins pipeline to test against maintained ruby versions (2.3-2.5)
Jenkins Build
https://jenkins.conjur.net/job/conjurinc--conjur-policy-parser/job/test_2_5/