{"id":17268145,"url":"https://github.com/tute/refactoring-workshop","last_synced_at":"2025-07-26T00:34:42.203Z","repository":{"id":12075397,"uuid":"14662742","full_name":"tute/refactoring-workshop","owner":"tute","description":"Refactoring Workshop","archived":false,"fork":false,"pushed_at":"2022-04-20T19:56:16.000Z","size":29387,"stargazers_count":47,"open_issues_count":0,"forks_count":39,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-27T22:04:45.000Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tute.png","metadata":{"files":{"readme":"README.es.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-11-24T14:38:12.000Z","updated_at":"2023-03-20T04:29:28.000Z","dependencies_parsed_at":"2022-08-19T07:00:58.287Z","dependency_job_id":null,"html_url":"https://github.com/tute/refactoring-workshop","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tute%2Frefactoring-workshop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tute%2Frefactoring-workshop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tute%2Frefactoring-workshop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tute%2Frefactoring-workshop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tute","download_url":"https://codeload.github.com/tute/refactoring-workshop/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248845649,"owners_count":21170830,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-15T08:12:37.575Z","updated_at":"2025-04-14T08:31:43.730Z","avatar_url":"https://github.com/tute.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Taller de Refactorización\n\nRequerimientos: Ruby \u003e= 2.7, git, bundler.\n\nCada carpeta lleva por nombre el patrón de refactoring a practicar, y los\nsiguientes archivos:\n\n* `app.rb` código sobre el que trabajaremos.\n* `setup.rb` código de inicialización necesario para `app.rb` (sería el\n  \"framework\", o el resto de la aplicación). No necesitamos conocerlo o editarlo,\n  a no ser que sea por curiosidad.\n* `test_app.rb` el nombre lo explica. Necesarios para la vida, especialmente si\n    pensamos refactorizar.\n\nEjecutar `bundle` para asegurarse de tener las rubygems necesarias para correr\ntests.\n\nEjecutar tests via `rake`:\n\n```bash\n$ rake\nRun options: --seed 61694\n\n# Running:\n\n..........\n\nFinished in 0.016857s, 593.2254 runs/s, 1423.7409 assertions/s.\n\n10 runs, 24 assertions, 0 failures, 0 errors, 0 skips\n```\n\n# Patrones de Refactorización\n\n## 1. Intention Revealing Method\n\n## 2. Special Case Object\n\n## 3. Replace Method with Method Object\n\nNota de implementación: contiene dos archivos adicionales necesarios para los\ntests: `fixtures/input.csv` y `fixtures/output.csv`, y no contiene `setup.rb`.\n\n## 4. Service Object\n\n\n# Slides\n\n* [Slides (English)](https://github.com/tute/refactoring-workshop-slides-sep-2015/)\n* [Slides (Español)](https://www.tutecosta.com/refactoring-workshop-slides-sep-2015/#/) [repo](https://github.com/tute/refactoring-workshop-slides-sep-2015/tree/es)\n\n# In English\n\n[English version of this doc available](https://github.com/tute/refactoring-workshop/blob/master/README.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftute%2Frefactoring-workshop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftute%2Frefactoring-workshop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftute%2Frefactoring-workshop/lists"}