Skip to content

Instantly share code, notes, and snippets.

@febuiles
Last active September 14, 2015 18:10
Show Gist options
  • Save febuiles/467099a4d71dceb43fa8 to your computer and use it in GitHub Desktop.
Save febuiles/467099a4d71dceb43fa8 to your computer and use it in GitHub Desktop.
Google Summer of Code Wrap up: Ruby on Rails
<h1>Google Summer of Code Wrap up: Ruby on Rails</h1>
<p>Rails is a Ruby framework that includes everything needed to create web applications. This was
our fourth Summer of Code participation, and in this post we'd like to tell you a bit about this
year's projects.</p>
<h2>Asset Source Maps (<a href="https://github.com/Andreis13">Andrei Istratii</a>)</h2>
<p>Andrei has added support for several types of <a href="https://developer.mozilla.org/en-US/docs/Tools/Debugger/How_to/Use_a_source_map">Source
Maps</a> to
Sprockets 4. With Source Maps users can see a readable version of their code inside Developer
Tools (Javascript, CSS, etc.) after it's been minified or compiled. Check out Andrei's
<a href="https://github.com/Andreis13/sprockets-rails/commits/master">sprockets</a> and
<a href="https://github.com/Andreis13/sass-rails/commits/master">sass-rails</a> repositories to find out more about
the project updates.</p>
<h2>Test Failure Prediction (<a href="https://github.com/genki-s">Genki Sugimoto</a>)</h2>
<p>Genki Sugimoto created a testing library called <a href="https://github.com/Genki-S/ttnt">ttnt</a>. It suggests
which tests are relevant to a particular commit inside your application, allowing you to skip full
test suite runs when possible.</p>
<h2>Web Console (<a href="https://github.com/sh19910711">Hiroyuki Sano</a>)</h2>
<p>The <a href="https://github.com/rails/web-console">Rails Web Console</a> helps Rails developers debug
running applications inside the browser. This project was created in 2013 by
Genadi Samokovarov as part of that year's GSoC. In 2015 Hiroyuki Sano improved it by
creating a <a href="https://github.com/rails/web-console/pull/151">browser extension</a> so you can use the
console inside the Developer Tools.</p>
<h2>Performance Enhancements for the Asset Pipeline (<a href="https://github.com/malida">Martha De Luque</a>)</h2>
<p>Martha focused on finding and addressing performance issues inside
our asset generation pipeline. With her work we now have support for <a href="https://github.com/rails/sprockets/pull/80">faster asset compilation
libraries</a>, and thanks to her benchmarks we now know
where to focus our future optimization efforts.</p>
<h2>Evented File System Monitoring (<a href="https://github.com/puneet24">Puneet Agarwal</a>)</h2>
<p>Rails monitors application files when running in development mode, if any change
is detected the application code is reloaded on the next request. Currently Rails walks the
application tree to detect said changes,
<a href="https://github.com/rails/rails/pull/20785">Puneet's contribution</a> implements an
alternative using native operating system events.</p>
<h2>Refactoring Rails Cookie Internals (<a href="https://github.com/sbhatore">Siddharth Bhatore</a>)</h2>
<p>Siddharth worked on <a href="https://github.com/rails/rails/pull/20856">laying the infrastructure</a> for a more robust implementation of cookies in Rails. Some of his changes
include support for <a href="https://tools.ietf.org/html/draft-ietf-jose-json-web-encryption">JSON Web Encryption
(JWE)</a> and <a href="https://tools.ietf.org/html/draft-ietf-jose-json-web-signature-41">JSON Web Signatures
(JWS)</a>. With these changes in
place we can add cool features like cookie purposes and coherent expiration.</p>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment