app/models/spin.rb
# Refresh tags of spin
# TODO: add tags from GitHub
#
# == Returns
# Nothing
# == Logs
# tags added + validation in the spin
#
Refresh tags of spin
TODO: add tags from GitHub

Returns
Nothing
Logs
tags added + validation in the spin
Refresh tags of spin TODO : add tags from GitHub Returns Nothing Logs tags added + validation in the spin
def refresh_tags
    taggings.delete_all
    metadata['tags'].each do |tag|
      new_tag = Tag.find_or_create_by(name: tag.parameterize)
      tags << new_tag
      validation = new_tag.find_similar
      spin_log(validation) unless validation.nil?
    end
  end
def refresh_tags taggings . delete_all metadata [ 'tags' ] . each do | tag | new_tag = Tag . find_or_create_by ( name : tag . parameterize ) tags << new_tag validation = new_tag . find_similar spin_log ( validation ) unless validation . nil? end end
Refresh tags of spin
TODO: add tags from GitHub
Refresh tags of spin TODO : add tags from GitHub