Skip to content
Proyectos

evilmartians/terraforming-rails

Ver en GitHub

Acerca de

Guías y herramientas para terraformar aplicaciones Rails heredadas

Aprendizaje y educación

Cómo se miden estas cifras

Crecimiento de estrellas medido

in 24h
0
in 7 days
0
in 15 days
-1
in 1 month
Recopilando historial

Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.

README.md

Original

Terraforming Rails

A collection of tools and guides to help you turn legacy code into legendary code.

Based on the RailsConf 2019 talk "Terraforming legacy Rails applications" (slides, video).


Evil Martians logo This project is brought to you by Evil Martians, an American design and engineering consultancy for developer tools, AI, and cybersecurity startups.

Tools

Unreleased scripts

These scripts have been created during the development of different Rails projects at Evil Martians.

They're not universal enough to be extracted into libraries (some depend on particular Rails version or rely on project-specific assumptions), but they could be used a starting point for building tools for your project.

Gems

Tests

  • TestProf – analyze and improve test suite performance

Security

  • bundler-audit – check dependencies for known CVEs
  • brakeman – detect the app code's security issues

Database

Dead code elimination

  • traceroute – detect unused routes/controller actions
  • factory_trace – detect unused FactoryBot factories/traits

Configuration

  • anyway_config – transparently use multiple sources of configuration at once

Analysis

Automation Tools

  • lefthook – language-agnostic git hook manager
  • danger – code review automation helper
  • pronto – linters runner to run checks only for the relevant changes

Examples

Resources/Guides

License

The code is available as open source under the terms of the MIT License.

Explorar proyectos relacionados

Cargando…