5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-15 04:11:41 +00:00

serializar con json porque yaml es mas verborragico

This commit is contained in:
f 2019-07-25 14:25:00 -03:00
parent 11cf2cb08b
commit 7570abaf1a
No known key found for this signature in database
GPG key ID: 2AE5A13E321F953D
2 changed files with 2 additions and 2 deletions

View file

@ -3,7 +3,7 @@
# Alojamiento local, solo genera el sitio, con lo que no necesita hacer
# nada más
class DeployLocal < Deploy
store :values, accessors: %i[fqdn destination], coder: YAML
store :values, accessors: %i[fqdn destination], coder: JSON
before_create :fqdn!, :destination!
before_destroy :remove_destination!

View file

@ -4,7 +4,7 @@
#
# TODO: Firmar con minisign
class DeployZip < Deploy
store :values, accessors: %i[fqdn destination file path], coder: YAML
store :values, accessors: %i[fqdn destination file path], coder: JSON
before_create :fqdn!, :destination!
before_create :file!, :path!