Merge branch 'master' into issue_status_changed_notifications
This commit is contained in:
commit
05af5655a7
2 changed files with 2 additions and 1 deletions
|
@ -10,6 +10,7 @@ class Key < ActiveRecord::Base
|
||||||
|
|
||||||
validates :key,
|
validates :key,
|
||||||
presence: true,
|
presence: true,
|
||||||
|
:format => { :with => /ssh-.{3} / },
|
||||||
length: { within: 0..5000 }
|
length: { within: 0..5000 }
|
||||||
|
|
||||||
before_save :set_identifier
|
before_save :set_identifier
|
||||||
|
|
|
@ -77,7 +77,7 @@ FactoryGirl.define do
|
||||||
title
|
title
|
||||||
key do
|
key do
|
||||||
"""
|
"""
|
||||||
AAAAB3NzaC1yc2EAAAABJQAAAIEAiPWx6WM4lhHNedGfBpPJNPpZ7yKu+dnn1SJejgt4
|
ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAIEAiPWx6WM4lhHNedGfBpPJNPpZ7yKu+dnn1SJejgt4
|
||||||
596k6YjzGGphH2TUxwKzxcKDKKezwkpfnxPkSMkuEspGRt/aZZ9wa++Oi7Qkr8prgHc4
|
596k6YjzGGphH2TUxwKzxcKDKKezwkpfnxPkSMkuEspGRt/aZZ9wa++Oi7Qkr8prgHc4
|
||||||
soW6NUlfDzpvZK2H5E7eQaSeP3SAwGmQKUFHCddNaP0L+hM7zhFNzjFvpaMgJw0=
|
soW6NUlfDzpvZK2H5E7eQaSeP3SAwGmQKUFHCddNaP0L+hM7zhFNzjFvpaMgJw0=
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Add table
Reference in a new issue