├── .gitignore ├── .rspec ├── .ruby-version ├── Gemfile ├── Gemfile.lock ├── LICENSE ├── README.md ├── Rakefile ├── lib ├── adapter │ ├── cliente.rb │ └── validar.rb ├── builder │ └── carro.rb ├── decorator │ ├── adaga.rb │ ├── adaga_magica.rb │ ├── espada_longa.rb │ ├── espada_longa_magica.rb │ └── personagem.rb ├── factory │ ├── busca.rb │ └── criterio_de_busca.rb ├── mediator │ ├── busca_promocao_worker.rb │ ├── notificador_cliente.rb │ ├── notificador_fornecedor.rb │ └── usuario.rb ├── state │ └── maria.rb ├── strategy │ ├── login.rb │ ├── servico_facenote_login.rb │ └── servico_zuiter_login.rb └── template │ ├── email_worker.rb │ └── logger.rb └── spec ├── adapter └── cliente_spec.rb ├── builder └── carro_spec.rb ├── decorator └── personagem_spec.rb ├── factory └── busca_spec.rb ├── mediator └── busca_promocao_worker_spec.rb ├── spec_helper.rb ├── state └── maria_spec.rb ├── strategy ├── login_spec.rb ├── servico_facenote_login_stub.rb └── servico_zuiter_login_stub.rb └── template └── email_worker_spec.rb /.gitignore: -------------------------------------------------------------------------------- 1 | coverage/ 2 | tags 3 | -------------------------------------------------------------------------------- /.rspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcosX/rppr/HEAD/.rspec -------------------------------------------------------------------------------- /.ruby-version: -------------------------------------------------------------------------------- 1 | 2.2.0 2 | -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcosX/rppr/HEAD/Gemfile -------------------------------------------------------------------------------- /Gemfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcosX/rppr/HEAD/Gemfile.lock -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcosX/rppr/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcosX/rppr/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcosX/rppr/HEAD/Rakefile -------------------------------------------------------------------------------- /lib/adapter/cliente.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcosX/rppr/HEAD/lib/adapter/cliente.rb -------------------------------------------------------------------------------- /lib/adapter/validar.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcosX/rppr/HEAD/lib/adapter/validar.rb -------------------------------------------------------------------------------- /lib/builder/carro.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcosX/rppr/HEAD/lib/builder/carro.rb -------------------------------------------------------------------------------- /lib/decorator/adaga.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcosX/rppr/HEAD/lib/decorator/adaga.rb -------------------------------------------------------------------------------- /lib/decorator/adaga_magica.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcosX/rppr/HEAD/lib/decorator/adaga_magica.rb -------------------------------------------------------------------------------- /lib/decorator/espada_longa.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcosX/rppr/HEAD/lib/decorator/espada_longa.rb -------------------------------------------------------------------------------- /lib/decorator/espada_longa_magica.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcosX/rppr/HEAD/lib/decorator/espada_longa_magica.rb -------------------------------------------------------------------------------- /lib/decorator/personagem.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcosX/rppr/HEAD/lib/decorator/personagem.rb -------------------------------------------------------------------------------- /lib/factory/busca.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcosX/rppr/HEAD/lib/factory/busca.rb -------------------------------------------------------------------------------- /lib/factory/criterio_de_busca.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcosX/rppr/HEAD/lib/factory/criterio_de_busca.rb -------------------------------------------------------------------------------- /lib/mediator/busca_promocao_worker.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcosX/rppr/HEAD/lib/mediator/busca_promocao_worker.rb -------------------------------------------------------------------------------- /lib/mediator/notificador_cliente.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcosX/rppr/HEAD/lib/mediator/notificador_cliente.rb -------------------------------------------------------------------------------- /lib/mediator/notificador_fornecedor.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcosX/rppr/HEAD/lib/mediator/notificador_fornecedor.rb -------------------------------------------------------------------------------- /lib/mediator/usuario.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcosX/rppr/HEAD/lib/mediator/usuario.rb -------------------------------------------------------------------------------- /lib/state/maria.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcosX/rppr/HEAD/lib/state/maria.rb -------------------------------------------------------------------------------- /lib/strategy/login.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcosX/rppr/HEAD/lib/strategy/login.rb -------------------------------------------------------------------------------- /lib/strategy/servico_facenote_login.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcosX/rppr/HEAD/lib/strategy/servico_facenote_login.rb -------------------------------------------------------------------------------- /lib/strategy/servico_zuiter_login.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcosX/rppr/HEAD/lib/strategy/servico_zuiter_login.rb -------------------------------------------------------------------------------- /lib/template/email_worker.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcosX/rppr/HEAD/lib/template/email_worker.rb -------------------------------------------------------------------------------- /lib/template/logger.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcosX/rppr/HEAD/lib/template/logger.rb -------------------------------------------------------------------------------- /spec/adapter/cliente_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcosX/rppr/HEAD/spec/adapter/cliente_spec.rb -------------------------------------------------------------------------------- /spec/builder/carro_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcosX/rppr/HEAD/spec/builder/carro_spec.rb -------------------------------------------------------------------------------- /spec/decorator/personagem_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcosX/rppr/HEAD/spec/decorator/personagem_spec.rb -------------------------------------------------------------------------------- /spec/factory/busca_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcosX/rppr/HEAD/spec/factory/busca_spec.rb -------------------------------------------------------------------------------- /spec/mediator/busca_promocao_worker_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcosX/rppr/HEAD/spec/mediator/busca_promocao_worker_spec.rb -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcosX/rppr/HEAD/spec/spec_helper.rb -------------------------------------------------------------------------------- /spec/state/maria_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcosX/rppr/HEAD/spec/state/maria_spec.rb -------------------------------------------------------------------------------- /spec/strategy/login_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcosX/rppr/HEAD/spec/strategy/login_spec.rb -------------------------------------------------------------------------------- /spec/strategy/servico_facenote_login_stub.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcosX/rppr/HEAD/spec/strategy/servico_facenote_login_stub.rb -------------------------------------------------------------------------------- /spec/strategy/servico_zuiter_login_stub.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcosX/rppr/HEAD/spec/strategy/servico_zuiter_login_stub.rb -------------------------------------------------------------------------------- /spec/template/email_worker_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcosX/rppr/HEAD/spec/template/email_worker_spec.rb --------------------------------------------------------------------------------