prey / gdpr_rails

Rails Engine for the GDPR compliance
https://preyproject.com
MIT License
626 stars 62 forks source link

Action view renderer & JSON support #16

Closed michelson closed 6 years ago

michelson commented 6 years ago

This PR introduces a more Rails-ish way to render the views. using the ActionView renderer method from rails 5. Also this PR introduces the JSON support.

coveralls commented 6 years ago

Pull Request Test Coverage Report for Build 55


Changes Missing Coverage Covered Lines Changed/Added Lines %
lib/policy_manager/exporter/view.rb 11 12 91.67%
lib/policy_manager/exporter/handler.rb 14 15 93.33%
lib/policy_manager/config.rb 0 2 0.0%
lib/policy_manager/exporter/json_view.rb 25 27 92.59%
app/helpers/policy_manager/exporter_helper.rb 14 17 82.35%
lib/policy_manager/exporter/json_link.rb 5 9 55.56%
<!-- Total: 78 91 85.71% -->
Totals Coverage Status
Change from base Build 48: 10.3%
Covered Lines: 797
Relevant Lines: 874

💛 - Coveralls