cyberark / conjur-policy-parser

Parser library for Conjur Policy YAML
MIT License
0 stars 1 forks source link

Update tests to verify against Ruby versions 2.3, 2.4, and 2.5 #10

Closed micahlee closed 6 years ago

micahlee commented 6 years ago

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/