Commit Graph

7 Commits

Author SHA1 Message Date
Nick Thomas 013f7cd24c
Inherit from ApplicationRecord instead of ActiveRecord::Base 2019-03-28 16:18:23 +00:00
gfyoung 50abbd3e53 Enable frozen string in app/models/*.rb
Partially addresses #47424.
2018-07-26 16:55:41 -07:00
Rubén Dávila 8be06f20fc Remove no longer required methods 2017-10-05 08:26:02 -05:00
Rubén Dávila c50725fecf Address feedback from last code review 2017-10-05 08:25:27 -05:00
Rubén Dávila b27549df97 Add some basic specs and refactor model and validations 2017-10-05 08:25:27 -05:00
Rubén Dávila 9b4990a4d7 Associate GgpSignature with GpgKeySubkey if comes from a subkey
Additionally we're delegating missing method calls on GpgKeySubkey to
GpgKey since most of the info required when verifying a signature is
found on GpgKey which is the parent of GpgKeySubkey
2017-10-05 08:25:27 -05:00
Rubén Dávila 328f4a505b Use a separate model to handle GPG subkeys 2017-10-05 08:25:27 -05:00