├── .gitignore ├── .travis.yml ├── 1-intention-revealing-method ├── .solucion-tute-2.rb ├── .solucion-tute.rb ├── app.rb ├── setup.rb └── test_app.rb ├── 2-special-case-objects ├── .solucion-tute-2.rb ├── .solucion-tute.rb ├── app.rb ├── setup.rb └── test_app.rb ├── 3-replace-method-with-method-object ├── .solucion-tute-2.rb ├── .solucion-tute-3.rb ├── .solucion-tute.rb ├── app.rb ├── fixtures │ ├── input.csv │ └── output.csv └── test_app.rb ├── 4-service-objects ├── .solucion-tute.rb ├── app.rb ├── setup.rb └── test_app.rb ├── Gemfile ├── LICENSE ├── README.es.md ├── README.md ├── Rakefile └── test_helper.rb /.gitignore: -------------------------------------------------------------------------------- 1 | Gemfile.lock 2 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tute/refactoring-workshop/HEAD/.travis.yml -------------------------------------------------------------------------------- /1-intention-revealing-method/.solucion-tute-2.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tute/refactoring-workshop/HEAD/1-intention-revealing-method/.solucion-tute-2.rb -------------------------------------------------------------------------------- /1-intention-revealing-method/.solucion-tute.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tute/refactoring-workshop/HEAD/1-intention-revealing-method/.solucion-tute.rb -------------------------------------------------------------------------------- /1-intention-revealing-method/app.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tute/refactoring-workshop/HEAD/1-intention-revealing-method/app.rb -------------------------------------------------------------------------------- /1-intention-revealing-method/setup.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tute/refactoring-workshop/HEAD/1-intention-revealing-method/setup.rb -------------------------------------------------------------------------------- /1-intention-revealing-method/test_app.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tute/refactoring-workshop/HEAD/1-intention-revealing-method/test_app.rb -------------------------------------------------------------------------------- /2-special-case-objects/.solucion-tute-2.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tute/refactoring-workshop/HEAD/2-special-case-objects/.solucion-tute-2.rb -------------------------------------------------------------------------------- /2-special-case-objects/.solucion-tute.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tute/refactoring-workshop/HEAD/2-special-case-objects/.solucion-tute.rb -------------------------------------------------------------------------------- /2-special-case-objects/app.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tute/refactoring-workshop/HEAD/2-special-case-objects/app.rb -------------------------------------------------------------------------------- /2-special-case-objects/setup.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tute/refactoring-workshop/HEAD/2-special-case-objects/setup.rb -------------------------------------------------------------------------------- /2-special-case-objects/test_app.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tute/refactoring-workshop/HEAD/2-special-case-objects/test_app.rb -------------------------------------------------------------------------------- /3-replace-method-with-method-object/.solucion-tute-2.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tute/refactoring-workshop/HEAD/3-replace-method-with-method-object/.solucion-tute-2.rb -------------------------------------------------------------------------------- /3-replace-method-with-method-object/.solucion-tute-3.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tute/refactoring-workshop/HEAD/3-replace-method-with-method-object/.solucion-tute-3.rb -------------------------------------------------------------------------------- /3-replace-method-with-method-object/.solucion-tute.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tute/refactoring-workshop/HEAD/3-replace-method-with-method-object/.solucion-tute.rb -------------------------------------------------------------------------------- /3-replace-method-with-method-object/app.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tute/refactoring-workshop/HEAD/3-replace-method-with-method-object/app.rb -------------------------------------------------------------------------------- /3-replace-method-with-method-object/fixtures/input.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tute/refactoring-workshop/HEAD/3-replace-method-with-method-object/fixtures/input.csv -------------------------------------------------------------------------------- /3-replace-method-with-method-object/fixtures/output.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tute/refactoring-workshop/HEAD/3-replace-method-with-method-object/fixtures/output.csv -------------------------------------------------------------------------------- /3-replace-method-with-method-object/test_app.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tute/refactoring-workshop/HEAD/3-replace-method-with-method-object/test_app.rb -------------------------------------------------------------------------------- /4-service-objects/.solucion-tute.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tute/refactoring-workshop/HEAD/4-service-objects/.solucion-tute.rb -------------------------------------------------------------------------------- /4-service-objects/app.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tute/refactoring-workshop/HEAD/4-service-objects/app.rb -------------------------------------------------------------------------------- /4-service-objects/setup.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tute/refactoring-workshop/HEAD/4-service-objects/setup.rb -------------------------------------------------------------------------------- /4-service-objects/test_app.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tute/refactoring-workshop/HEAD/4-service-objects/test_app.rb -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tute/refactoring-workshop/HEAD/Gemfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tute/refactoring-workshop/HEAD/LICENSE -------------------------------------------------------------------------------- /README.es.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tute/refactoring-workshop/HEAD/README.es.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tute/refactoring-workshop/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tute/refactoring-workshop/HEAD/Rakefile -------------------------------------------------------------------------------- /test_helper.rb: -------------------------------------------------------------------------------- 1 | require "minitest/autorun" 2 | --------------------------------------------------------------------------------