Skip to content

Instantly share code, notes, and snippets.

@joshuawscott
Created July 21, 2016 16:03
Show Gist options
  • Save joshuawscott/11fcc32b15ebc3ed22e378a0c04569b6 to your computer and use it in GitHub Desktop.
Save joshuawscott/11fcc32b15ebc3ed22e378a0c04569b6 to your computer and use it in GitHub Desktop.
Ruby News Rundown, July 2016

News

Rails 5.0 released

Deets:

Rspec 3.5 released

  • Announcement
  • Rails 5 support
  • Controller testing deprecation and fix
  • Some nice updates for metadata/test filtering.

Ruby 2.4 preview released

Deets:

  • Unicode upcase/downcase/swapcase/capitalize support!
    • pass the :ascii argument to use old behavior.
  • Time#to_time preserves timezone
  • Bignum and Fixnum are replaced with Integer
    • possible breaking change
    • Preview 1 turns off Bignum & Fixnum so that you can test, but 2.4 will be backwards compatible
  • Regexp.match? doesn't create global variable, it just matches and returns a boolean :)
  • Optparse makes it easier to get a hash of options now
  • Blogpost with nice rundown

Keep Ruby Weird: Friday Oct. 28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment