├── .dockerignore ├── .editorconfig ├── .gitignore ├── .rspec ├── .ruby-gemset ├── .ruby-version ├── .travis.yml ├── AUTHORS ├── COPYING ├── Dockerfile ├── Dockerfile.dev ├── Gemfile ├── Gemfile.lock ├── Guardfile ├── Procfile ├── README.md ├── Rakefile ├── app ├── assets │ ├── images │ │ ├── favicon.png │ │ ├── peba_logo.png │ │ ├── peba_logo_navbar.png │ │ ├── peba_logo_og.png │ │ └── teresinahc.png │ ├── javascripts │ │ ├── application.js │ │ ├── application │ │ │ ├── bootstrap.js │ │ │ ├── modules │ │ │ │ └── estatisticas │ │ │ │ │ ├── graficos │ │ │ │ │ ├── _recursos-por-mes.js │ │ │ │ │ └── gasto-total-por-mes.js │ │ │ │ │ └── init.js │ │ │ └── utils │ │ │ │ └── highcharts-ptbr.js │ │ └── extensions │ │ │ └── application-helpers.js │ └── stylesheets │ │ ├── _bootstrap-overrides.scss │ │ ├── _mixins.scss │ │ ├── _pagination.scss │ │ ├── _variables.scss │ │ ├── application.scss │ │ ├── footer.scss │ │ ├── layout.scss │ │ ├── politico.scss │ │ └── search.scss ├── chewy │ └── deputados_index.rb ├── controllers │ ├── application_controller.rb │ ├── concerns │ │ └── .keep │ ├── deputados │ │ └── despesas_controller.rb │ ├── deputados_controller.rb │ └── home_controller.rb ├── helpers │ ├── application_helper.rb │ ├── deputados_helper.rb │ ├── despesas_helper.rb │ ├── home_helper.rb │ └── invoices_helper.rb ├── mailers │ └── .keep ├── models │ ├── concerns │ │ └── .keep │ ├── deputado.rb │ ├── despesa.rb │ └── versao_web_service.rb └── views │ ├── deputados │ ├── _deputado.html.erb │ ├── _deputado.json.jbuilder │ ├── despesas │ │ ├── index.html.erb │ │ └── index.json.jbuilder │ ├── index.html.erb │ ├── index.json.jbuilder │ ├── show.html.erb │ └── show.json.jbuilder │ ├── home │ ├── gasto_total.json.jbuilder │ └── index.html.erb │ ├── layouts │ └── application.html.erb │ ├── partials │ ├── _common_links.html.erb │ ├── _footer.html.erb │ ├── _navbar.html.erb │ ├── _opengraph_tags.html.erb │ ├── _search_cover.html.erb │ ├── _search_form.html.erb │ └── _social.html.erb │ └── sitemap │ └── index.xml.erb ├── bin ├── bundle ├── rails ├── rake ├── setup └── spring ├── config.ru ├── config ├── application.rb ├── boot.rb ├── chewy.yml.template ├── chewy.yml.travis ├── database.yml.template ├── database.yml.travis ├── environment.rb ├── environments │ ├── development.rb │ ├── production.rb │ └── test.rb ├── initializers │ ├── active_model_serializer.rb │ ├── assets.rb │ ├── backtrace_silencers.rb │ ├── chewy.rb │ ├── cookies_serializer.rb │ ├── filter_parameter_logging.rb │ ├── inflections.rb │ ├── mime_types.rb │ ├── session_store.rb │ └── wrap_parameters.rb ├── locales │ ├── en.yml │ ├── expenses.pt-BR.yml │ ├── pt-BR.yml │ └── will_paginate.pt-BR.yml ├── puma.rb ├── routes.rb └── secrets.yml ├── db ├── migrate │ ├── 20150214045005_create_deputados.rb │ ├── 20150214045012_create_despesas.rb │ ├── 20150222153510_add_uf_to_deputados.rb │ ├── 20150222175909_add_descricao_to_despesas.rb │ ├── 20150222222245_add_column_id_de_cadastro.rb │ ├── 20150224014247_create_versao_web_services.rb │ ├── 20150224160045_nome_parlamentar_to_deputados.rb │ ├── 20150301000601_add_column_nome_parlamentar_to_despesa.rb │ ├── 20150301010755_add_column_valor_documento.rb │ ├── 20150302225214_add_column_num_lote_to_despesa.rb │ ├── 20150304035647_add_numero_to_despesas.rb │ ├── 20150304042419_add_url_to_despesas.rb │ ├── 20150311133737_add_column_total_votos_to_deputados.rb │ ├── 20150311155131_add_column_situacao_candidatura_and_porcentagem_votos_to_deputados.rb │ ├── 20150319131731_add_index_to_num_ano_num_mes_on_despesas.rb │ ├── 20160421185813_add_ide_documento_to_despesas.rb │ └── 20160924193748_add_nu_deputado_id_to_despesas.rb ├── schema.rb └── seeds.rb ├── docker-compose.yml.template ├── fun.jpg ├── lib ├── assets │ └── .keep ├── camara │ ├── base_collector.rb │ ├── camara_collector.rb │ ├── camara_parser.rb │ └── camara_updater.rb ├── core_extensions │ └── string.rb └── tasks │ ├── .keep │ └── crawler.rake ├── log └── .keep ├── public ├── 404.html ├── 422.html ├── 500.html ├── favicon.ico └── robots.txt ├── spec ├── controllers │ ├── deputados_spec.rb │ ├── despesas_spec.rb │ └── home_spec.rb ├── extensions │ └── string_extension_spec.rb ├── factories │ ├── deputado.rb │ └── despesa.rb ├── fixtures │ └── empty-file ├── helpers │ ├── application_helper_spec.rb │ ├── deputados_helper_spec.rb │ ├── despesas_helper_spec.rb │ └── invoices_helper_spec.rb ├── models │ ├── deputado_spec.rb │ ├── despesa_spec.rb │ └── versao_web_service_spec.rb ├── rails_helper.rb ├── spec_helper.rb └── support │ ├── capybara.rb │ ├── chewy.rb │ ├── database_cleaner.rb │ ├── factory_girl.rb │ ├── helpers.rb │ └── helpers │ └── feature_helpers.rb └── vendor └── assets ├── javascripts └── whatsapp-button.js └── stylesheets └── .keep /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/.dockerignore -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/.gitignore -------------------------------------------------------------------------------- /.rspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/.rspec -------------------------------------------------------------------------------- /.ruby-gemset: -------------------------------------------------------------------------------- 1 | peba 2 | -------------------------------------------------------------------------------- /.ruby-version: -------------------------------------------------------------------------------- 1 | 2.2.1 2 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/.travis.yml -------------------------------------------------------------------------------- /AUTHORS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/AUTHORS -------------------------------------------------------------------------------- /COPYING: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/COPYING -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/Dockerfile -------------------------------------------------------------------------------- /Dockerfile.dev: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/Dockerfile.dev -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/Gemfile -------------------------------------------------------------------------------- /Gemfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/Gemfile.lock -------------------------------------------------------------------------------- /Guardfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/Guardfile -------------------------------------------------------------------------------- /Procfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/Procfile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/Rakefile -------------------------------------------------------------------------------- /app/assets/images/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/app/assets/images/favicon.png -------------------------------------------------------------------------------- /app/assets/images/peba_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/app/assets/images/peba_logo.png -------------------------------------------------------------------------------- /app/assets/images/peba_logo_navbar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/app/assets/images/peba_logo_navbar.png -------------------------------------------------------------------------------- /app/assets/images/peba_logo_og.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/app/assets/images/peba_logo_og.png -------------------------------------------------------------------------------- /app/assets/images/teresinahc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/app/assets/images/teresinahc.png -------------------------------------------------------------------------------- /app/assets/javascripts/application.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/app/assets/javascripts/application.js -------------------------------------------------------------------------------- /app/assets/javascripts/application/bootstrap.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/app/assets/javascripts/application/bootstrap.js -------------------------------------------------------------------------------- /app/assets/javascripts/application/modules/estatisticas/graficos/_recursos-por-mes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/app/assets/javascripts/application/modules/estatisticas/graficos/_recursos-por-mes.js -------------------------------------------------------------------------------- /app/assets/javascripts/application/modules/estatisticas/graficos/gasto-total-por-mes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/app/assets/javascripts/application/modules/estatisticas/graficos/gasto-total-por-mes.js -------------------------------------------------------------------------------- /app/assets/javascripts/application/modules/estatisticas/init.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/app/assets/javascripts/application/modules/estatisticas/init.js -------------------------------------------------------------------------------- /app/assets/javascripts/application/utils/highcharts-ptbr.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/app/assets/javascripts/application/utils/highcharts-ptbr.js -------------------------------------------------------------------------------- /app/assets/javascripts/extensions/application-helpers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/app/assets/javascripts/extensions/application-helpers.js -------------------------------------------------------------------------------- /app/assets/stylesheets/_bootstrap-overrides.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/app/assets/stylesheets/_bootstrap-overrides.scss -------------------------------------------------------------------------------- /app/assets/stylesheets/_mixins.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/assets/stylesheets/_pagination.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/app/assets/stylesheets/_pagination.scss -------------------------------------------------------------------------------- /app/assets/stylesheets/_variables.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/app/assets/stylesheets/_variables.scss -------------------------------------------------------------------------------- /app/assets/stylesheets/application.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/app/assets/stylesheets/application.scss -------------------------------------------------------------------------------- /app/assets/stylesheets/footer.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/app/assets/stylesheets/footer.scss -------------------------------------------------------------------------------- /app/assets/stylesheets/layout.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/app/assets/stylesheets/layout.scss -------------------------------------------------------------------------------- /app/assets/stylesheets/politico.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/app/assets/stylesheets/politico.scss -------------------------------------------------------------------------------- /app/assets/stylesheets/search.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/app/assets/stylesheets/search.scss -------------------------------------------------------------------------------- /app/chewy/deputados_index.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/app/chewy/deputados_index.rb -------------------------------------------------------------------------------- /app/controllers/application_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/app/controllers/application_controller.rb -------------------------------------------------------------------------------- /app/controllers/concerns/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/controllers/deputados/despesas_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/app/controllers/deputados/despesas_controller.rb -------------------------------------------------------------------------------- /app/controllers/deputados_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/app/controllers/deputados_controller.rb -------------------------------------------------------------------------------- /app/controllers/home_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/app/controllers/home_controller.rb -------------------------------------------------------------------------------- /app/helpers/application_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/app/helpers/application_helper.rb -------------------------------------------------------------------------------- /app/helpers/deputados_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/app/helpers/deputados_helper.rb -------------------------------------------------------------------------------- /app/helpers/despesas_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/app/helpers/despesas_helper.rb -------------------------------------------------------------------------------- /app/helpers/home_helper.rb: -------------------------------------------------------------------------------- 1 | module HomeHelper 2 | end 3 | -------------------------------------------------------------------------------- /app/helpers/invoices_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/app/helpers/invoices_helper.rb -------------------------------------------------------------------------------- /app/mailers/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/models/concerns/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/models/deputado.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/app/models/deputado.rb -------------------------------------------------------------------------------- /app/models/despesa.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/app/models/despesa.rb -------------------------------------------------------------------------------- /app/models/versao_web_service.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/app/models/versao_web_service.rb -------------------------------------------------------------------------------- /app/views/deputados/_deputado.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/app/views/deputados/_deputado.html.erb -------------------------------------------------------------------------------- /app/views/deputados/_deputado.json.jbuilder: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/app/views/deputados/_deputado.json.jbuilder -------------------------------------------------------------------------------- /app/views/deputados/despesas/index.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/app/views/deputados/despesas/index.html.erb -------------------------------------------------------------------------------- /app/views/deputados/despesas/index.json.jbuilder: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/app/views/deputados/despesas/index.json.jbuilder -------------------------------------------------------------------------------- /app/views/deputados/index.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/app/views/deputados/index.html.erb -------------------------------------------------------------------------------- /app/views/deputados/index.json.jbuilder: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/app/views/deputados/index.json.jbuilder -------------------------------------------------------------------------------- /app/views/deputados/show.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/app/views/deputados/show.html.erb -------------------------------------------------------------------------------- /app/views/deputados/show.json.jbuilder: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/app/views/deputados/show.json.jbuilder -------------------------------------------------------------------------------- /app/views/home/gasto_total.json.jbuilder: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/app/views/home/gasto_total.json.jbuilder -------------------------------------------------------------------------------- /app/views/home/index.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/app/views/home/index.html.erb -------------------------------------------------------------------------------- /app/views/layouts/application.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/app/views/layouts/application.html.erb -------------------------------------------------------------------------------- /app/views/partials/_common_links.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/app/views/partials/_common_links.html.erb -------------------------------------------------------------------------------- /app/views/partials/_footer.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/app/views/partials/_footer.html.erb -------------------------------------------------------------------------------- /app/views/partials/_navbar.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/app/views/partials/_navbar.html.erb -------------------------------------------------------------------------------- /app/views/partials/_opengraph_tags.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/app/views/partials/_opengraph_tags.html.erb -------------------------------------------------------------------------------- /app/views/partials/_search_cover.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/app/views/partials/_search_cover.html.erb -------------------------------------------------------------------------------- /app/views/partials/_search_form.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/app/views/partials/_search_form.html.erb -------------------------------------------------------------------------------- /app/views/partials/_social.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/app/views/partials/_social.html.erb -------------------------------------------------------------------------------- /app/views/sitemap/index.xml.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/app/views/sitemap/index.xml.erb -------------------------------------------------------------------------------- /bin/bundle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/bin/bundle -------------------------------------------------------------------------------- /bin/rails: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/bin/rails -------------------------------------------------------------------------------- /bin/rake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/bin/rake -------------------------------------------------------------------------------- /bin/setup: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/bin/setup -------------------------------------------------------------------------------- /bin/spring: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/bin/spring -------------------------------------------------------------------------------- /config.ru: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/config.ru -------------------------------------------------------------------------------- /config/application.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/config/application.rb -------------------------------------------------------------------------------- /config/boot.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/config/boot.rb -------------------------------------------------------------------------------- /config/chewy.yml.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/config/chewy.yml.template -------------------------------------------------------------------------------- /config/chewy.yml.travis: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/config/chewy.yml.travis -------------------------------------------------------------------------------- /config/database.yml.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/config/database.yml.template -------------------------------------------------------------------------------- /config/database.yml.travis: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/config/database.yml.travis -------------------------------------------------------------------------------- /config/environment.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/config/environment.rb -------------------------------------------------------------------------------- /config/environments/development.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/config/environments/development.rb -------------------------------------------------------------------------------- /config/environments/production.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/config/environments/production.rb -------------------------------------------------------------------------------- /config/environments/test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/config/environments/test.rb -------------------------------------------------------------------------------- /config/initializers/active_model_serializer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/config/initializers/active_model_serializer.rb -------------------------------------------------------------------------------- /config/initializers/assets.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/config/initializers/assets.rb -------------------------------------------------------------------------------- /config/initializers/backtrace_silencers.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/config/initializers/backtrace_silencers.rb -------------------------------------------------------------------------------- /config/initializers/chewy.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/config/initializers/chewy.rb -------------------------------------------------------------------------------- /config/initializers/cookies_serializer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/config/initializers/cookies_serializer.rb -------------------------------------------------------------------------------- /config/initializers/filter_parameter_logging.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/config/initializers/filter_parameter_logging.rb -------------------------------------------------------------------------------- /config/initializers/inflections.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/config/initializers/inflections.rb -------------------------------------------------------------------------------- /config/initializers/mime_types.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/config/initializers/mime_types.rb -------------------------------------------------------------------------------- /config/initializers/session_store.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/config/initializers/session_store.rb -------------------------------------------------------------------------------- /config/initializers/wrap_parameters.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/config/initializers/wrap_parameters.rb -------------------------------------------------------------------------------- /config/locales/en.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/config/locales/en.yml -------------------------------------------------------------------------------- /config/locales/expenses.pt-BR.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/config/locales/expenses.pt-BR.yml -------------------------------------------------------------------------------- /config/locales/pt-BR.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/config/locales/pt-BR.yml -------------------------------------------------------------------------------- /config/locales/will_paginate.pt-BR.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/config/locales/will_paginate.pt-BR.yml -------------------------------------------------------------------------------- /config/puma.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/config/puma.rb -------------------------------------------------------------------------------- /config/routes.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/config/routes.rb -------------------------------------------------------------------------------- /config/secrets.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/config/secrets.yml -------------------------------------------------------------------------------- /db/migrate/20150214045005_create_deputados.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/db/migrate/20150214045005_create_deputados.rb -------------------------------------------------------------------------------- /db/migrate/20150214045012_create_despesas.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/db/migrate/20150214045012_create_despesas.rb -------------------------------------------------------------------------------- /db/migrate/20150222153510_add_uf_to_deputados.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/db/migrate/20150222153510_add_uf_to_deputados.rb -------------------------------------------------------------------------------- /db/migrate/20150222175909_add_descricao_to_despesas.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/db/migrate/20150222175909_add_descricao_to_despesas.rb -------------------------------------------------------------------------------- /db/migrate/20150222222245_add_column_id_de_cadastro.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/db/migrate/20150222222245_add_column_id_de_cadastro.rb -------------------------------------------------------------------------------- /db/migrate/20150224014247_create_versao_web_services.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/db/migrate/20150224014247_create_versao_web_services.rb -------------------------------------------------------------------------------- /db/migrate/20150224160045_nome_parlamentar_to_deputados.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/db/migrate/20150224160045_nome_parlamentar_to_deputados.rb -------------------------------------------------------------------------------- /db/migrate/20150301000601_add_column_nome_parlamentar_to_despesa.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/db/migrate/20150301000601_add_column_nome_parlamentar_to_despesa.rb -------------------------------------------------------------------------------- /db/migrate/20150301010755_add_column_valor_documento.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/db/migrate/20150301010755_add_column_valor_documento.rb -------------------------------------------------------------------------------- /db/migrate/20150302225214_add_column_num_lote_to_despesa.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/db/migrate/20150302225214_add_column_num_lote_to_despesa.rb -------------------------------------------------------------------------------- /db/migrate/20150304035647_add_numero_to_despesas.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/db/migrate/20150304035647_add_numero_to_despesas.rb -------------------------------------------------------------------------------- /db/migrate/20150304042419_add_url_to_despesas.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/db/migrate/20150304042419_add_url_to_despesas.rb -------------------------------------------------------------------------------- /db/migrate/20150311133737_add_column_total_votos_to_deputados.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/db/migrate/20150311133737_add_column_total_votos_to_deputados.rb -------------------------------------------------------------------------------- /db/migrate/20150311155131_add_column_situacao_candidatura_and_porcentagem_votos_to_deputados.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/db/migrate/20150311155131_add_column_situacao_candidatura_and_porcentagem_votos_to_deputados.rb -------------------------------------------------------------------------------- /db/migrate/20150319131731_add_index_to_num_ano_num_mes_on_despesas.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/db/migrate/20150319131731_add_index_to_num_ano_num_mes_on_despesas.rb -------------------------------------------------------------------------------- /db/migrate/20160421185813_add_ide_documento_to_despesas.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/db/migrate/20160421185813_add_ide_documento_to_despesas.rb -------------------------------------------------------------------------------- /db/migrate/20160924193748_add_nu_deputado_id_to_despesas.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/db/migrate/20160924193748_add_nu_deputado_id_to_despesas.rb -------------------------------------------------------------------------------- /db/schema.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/db/schema.rb -------------------------------------------------------------------------------- /db/seeds.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/db/seeds.rb -------------------------------------------------------------------------------- /docker-compose.yml.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/docker-compose.yml.template -------------------------------------------------------------------------------- /fun.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/fun.jpg -------------------------------------------------------------------------------- /lib/assets/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /lib/camara/base_collector.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/lib/camara/base_collector.rb -------------------------------------------------------------------------------- /lib/camara/camara_collector.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/lib/camara/camara_collector.rb -------------------------------------------------------------------------------- /lib/camara/camara_parser.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/lib/camara/camara_parser.rb -------------------------------------------------------------------------------- /lib/camara/camara_updater.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/lib/camara/camara_updater.rb -------------------------------------------------------------------------------- /lib/core_extensions/string.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/lib/core_extensions/string.rb -------------------------------------------------------------------------------- /lib/tasks/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /lib/tasks/crawler.rake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/lib/tasks/crawler.rake -------------------------------------------------------------------------------- /log/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /public/404.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/public/404.html -------------------------------------------------------------------------------- /public/422.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/public/422.html -------------------------------------------------------------------------------- /public/500.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/public/500.html -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/public/robots.txt -------------------------------------------------------------------------------- /spec/controllers/deputados_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/spec/controllers/deputados_spec.rb -------------------------------------------------------------------------------- /spec/controllers/despesas_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/spec/controllers/despesas_spec.rb -------------------------------------------------------------------------------- /spec/controllers/home_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/spec/controllers/home_spec.rb -------------------------------------------------------------------------------- /spec/extensions/string_extension_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/spec/extensions/string_extension_spec.rb -------------------------------------------------------------------------------- /spec/factories/deputado.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/spec/factories/deputado.rb -------------------------------------------------------------------------------- /spec/factories/despesa.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/spec/factories/despesa.rb -------------------------------------------------------------------------------- /spec/fixtures/empty-file: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spec/helpers/application_helper_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/spec/helpers/application_helper_spec.rb -------------------------------------------------------------------------------- /spec/helpers/deputados_helper_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/spec/helpers/deputados_helper_spec.rb -------------------------------------------------------------------------------- /spec/helpers/despesas_helper_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/spec/helpers/despesas_helper_spec.rb -------------------------------------------------------------------------------- /spec/helpers/invoices_helper_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/spec/helpers/invoices_helper_spec.rb -------------------------------------------------------------------------------- /spec/models/deputado_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/spec/models/deputado_spec.rb -------------------------------------------------------------------------------- /spec/models/despesa_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/spec/models/despesa_spec.rb -------------------------------------------------------------------------------- /spec/models/versao_web_service_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/spec/models/versao_web_service_spec.rb -------------------------------------------------------------------------------- /spec/rails_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/spec/rails_helper.rb -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/spec/spec_helper.rb -------------------------------------------------------------------------------- /spec/support/capybara.rb: -------------------------------------------------------------------------------- 1 | Capybara.asset_host = 'http://localhost:3000' 2 | -------------------------------------------------------------------------------- /spec/support/chewy.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/spec/support/chewy.rb -------------------------------------------------------------------------------- /spec/support/database_cleaner.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/spec/support/database_cleaner.rb -------------------------------------------------------------------------------- /spec/support/factory_girl.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/spec/support/factory_girl.rb -------------------------------------------------------------------------------- /spec/support/helpers.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/spec/support/helpers.rb -------------------------------------------------------------------------------- /spec/support/helpers/feature_helpers.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/spec/support/helpers/feature_helpers.rb -------------------------------------------------------------------------------- /vendor/assets/javascripts/whatsapp-button.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/peba/HEAD/vendor/assets/javascripts/whatsapp-button.js -------------------------------------------------------------------------------- /vendor/assets/stylesheets/.keep: -------------------------------------------------------------------------------- 1 | --------------------------------------------------------------------------------