forked from puppetlabs/puppet
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(maint) Switch AppVeyor to Ruby 2.4 from 2.3
- Now that RubyInstaller has produced an installer for Ruby 2.4.1 on Windows and AppVeyor has integrated it into their workflow per appveyor/ci#1350 we can move from 2.3 to 2.4 given Puppet 5 will be shipping against 2.4 - Update tests that behave differently under Ruby 2.4: * Ruby has changed how ~ resolves when no HOME, HOMEDRIVE or USERPROFILE has set. It no longer fails to resolve / causes an exception thanks to https://bugs.ruby-lang.org/issues/12695 puppetlabs#5653 was the first pass in f4f5ccb but was incomplete. * Ruby has changed the implementation of sort_by! so that items already in order will not be returned in the same order. For instance, compare the behaviors between Ruby 2.3 and 2.4: [[1.0, 'a'], [1.0, 'b'], [1.0, 'c']].sort_by! { |i| i[0] } Ruby 2.3: [[1.0, "a"], [1.0, "b"], [1.0, "c"]] Ruby 2.4: [[1.0, "b"], [1.0, "c"], [1.0, "a"]] [[1.0, 'c'], [1.0, 'b'], [1.0, 'a']].sort_by! { |i| i[0] } Ruby 2.3: [[1.0, "c"], [1.0, "b"], [1.0, "a"]] Ruby 2.4: [[1.0, "b"], [1.0, "a"], [1.0, "c"]]
- Loading branch information
Showing
4 changed files
with
8 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters