dossier 2.12.2 → 2.13.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +31 -6
- data/Rakefile +12 -5
- data/VERSION +1 -0
- data/app/controllers/dossier/reports_controller.rb +1 -1
- data/app/views/dossier/reports/show.html.haml +1 -1
- data/lib/dossier.rb +1 -1
- data/lib/dossier/client.rb +4 -1
- data/lib/dossier/configuration.rb +10 -5
- data/lib/dossier/{naming.rb → model.rb} +10 -2
- data/lib/dossier/multi_report.rb +1 -1
- data/lib/dossier/query.rb +1 -1
- data/lib/dossier/report.rb +13 -10
- data/lib/dossier/responder.rb +2 -0
- data/lib/dossier/result.rb +29 -12
- data/lib/dossier/version.rb +1 -1
- data/lib/generators/dossier/views/templates/show.html.haml +1 -1
- data/spec/dossier/adapter/active_record_spec.rb +4 -4
- data/spec/dossier/client_spec.rb +19 -19
- data/spec/dossier/configuration_spec.rb +29 -9
- data/spec/dossier/{naming_spec.rb → model_spec.rb} +6 -1
- data/spec/dossier/query_spec.rb +12 -12
- data/spec/dossier/report_spec.rb +7 -7
- data/spec/dossier/responder_spec.rb +5 -5
- data/spec/dossier/result_spec.rb +5 -5
- data/spec/dossier/stream_csv_spec.rb +5 -3
- data/spec/dossier/version_spec.rb +8 -0
- data/spec/dossier_spec.rb +4 -4
- data/spec/dummy/Rakefile +4 -0
- data/spec/dummy/app/controllers/application_controller.rb +3 -0
- data/spec/dummy/app/reports/cats/are/super_fun_report.rb +13 -1
- data/spec/dummy/app/reports/employee_report.rb +14 -1
- data/spec/dummy/app/reports/employee_with_custom_view_report.rb +5 -1
- data/spec/dummy/bin/rails +4 -0
- data/spec/dummy/bin/rake +4 -0
- data/spec/dummy/config/application.rb +30 -0
- data/spec/dummy/config/database.yml +6 -5
- data/spec/dummy/db/{test.sqlite3 → dossier_test.sqlite3} +0 -0
- data/spec/dummy/log/development.log +0 -0
- data/spec/dummy/log/test.log +21983 -0
- data/spec/features/employee_spec.rb +13 -4
- data/spec/fixtures/db/postgresql.yml +4 -0
- data/spec/fixtures/db/postgresql.yml.example +5 -0
- data/spec/fixtures/db/postgresql.yml.travis +4 -0
- data/spec/fixtures/db/sqlite3.yml +1 -1
- data/spec/fixtures/reports/employee.csv +3 -3
- data/spec/fixtures/reports/employee.xls +3 -3
- data/spec/generators/dossier/views/views_spec.rb +17 -10
- data/spec/routing/dossier_routes_spec.rb +1 -1
- data/spec/spec_helper.rb +7 -10
- data/spec/support/factory.rb +38 -0
- metadata +57 -44
- data/spec/dummy/config/database.yml.example +0 -13
- data/spec/dummy/config/database.yml.travis +0 -5