- 1 Ruby 2.5
- 1.1 Summary
- 1.2 Owner
- 1.3 Current status
- 1.4 Detailed Description
- 1.5 Benefit to Fedora
- 1.6 Scope
- 1.7 Upgrade/compatibility impact
- 1.8 How To Test
- 1.9 User Experience
- 1.10 Dependencies
- 1.11 Contingency Plan
- 1.12 Documentation
- 1.13 Release Notes
Ruby 2.5 is the latest stable version of Ruby. Many new features and improvements are included for the increasingly diverse and expanding demands for Ruby. With this major update from Ruby 2.4 in Fedora 26 to Ruby 2.5 in Fedora 28, Fedora becomes the superior Ruby development platform.
- Name: Vít Ondruch
- Email: firstname.lastname@example.org
- Release notes owner:
- Targeted release: Fedora 28
- Last updated: 2017-11-06
- Tracker bug: <will be assigned by the Wrangler>
Ruby 2.5 is upstream's new major release of Ruby. Many new features and improvements are included.
- Top-level constant look-up is removed.
- rescue/else/ensure are allowed inside do/end blocks.
- refinements take place in string interpolations.
Other notable changes since 2.4
- Merge Onigmo to 6.1.1. It adds absent operator Note that Ruby 2.4.1 also includes this change.
- Merge bundler to standard libraries.
- Merge rubygems-2.6.13.
- Merge rdoc-6.0.0.beta2. Change lexer IRB based one to Ripper. It much improves the speed of generating document.
- Update supported Unicode version to 10.0.0.
Benefit to Fedora
With a latest release, Ruby language is supporting the newest language features, which enables even faster and easier development of Ruby applications.
- Proposal owners:
- Finish packaging of Ruby 2.5. Current changes available in private-ruby-2.5 branch of ruby package in dist-git.
- Rebuilding of Ruby packages providing native extensions (i.e. packages which depends on libruby).
- Other developers: N/A (not a System Wide Change)
- Rebuild of packages with binary extensions (i.e. packages which depends on libruby) will be handled automatically, but some packages might need fixes/updates to support Ruby 2.5 properly.
- Release engineering: #7142
- Separate Koji tag for package rebuild will be needed.
- List of deliverables: N/A (not needed for this Change)
- Policies and guidelines: N/A (not needed for this Change)
- Trademark approval: N/A (not needed for this Change)
- User specific Ruby binary extensions need to be rebuild.
How To Test
- No special hardware is needed.
- To test, install Ruby 2.5. The test builds are pusblished on Ruby-SIG ML
- Try to locally rebuild your packages using Ruby 2.5.
- Use the packages with your applications previously written in Ruby.
- If something doesn't work as it should, let us know.
The Ruby programs/scripts should behave as they were used to.
$ dnf repoquery --disablerepo=* --enablerepo=rawhide --enablerepo=rawhide-source --arch=src --whatrequires 'ruby-devel' | sort | uniq | wc -l 159
- Contingency mechanism: We would like to get a special buildroot tag to be able to rebuild necessary the packages with Ruby 2.5. If anything goes wrong, the tag could be easily dropped and previous version of Ruby 2.4 and its dependencies stays intact. The tag would be merged into F28 after everything is rebuild.
- Contingency deadline: Mass Rebuild
- Blocks release? No
- Blocks product? No
- The Ruby 2.5 bumps soname, therefore Ruby packages, which use binary extensions, should be rebuilt. Nevertheless, since upstream paid great attention to source compatibility, no changes to your code are needed.