Bump acts-as-taggable-on
This commit is contained in:
parent
d8016d39cf
commit
98d165c0c5
3 changed files with 6 additions and 5 deletions
2
Gemfile
2
Gemfile
|
|
@ -175,7 +175,7 @@ gem "rails-assets-diaspora_jsxc", "0.1.5.develop.7", source: "https://rails-asse
|
||||||
|
|
||||||
# Tags
|
# Tags
|
||||||
|
|
||||||
gem "acts-as-taggable-on", "5.0.0"
|
gem "acts-as-taggable-on", "6.0.0"
|
||||||
|
|
||||||
# URIs and HTTP
|
# URIs and HTTP
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -44,8 +44,8 @@ GEM
|
||||||
i18n (>= 0.7, < 2)
|
i18n (>= 0.7, < 2)
|
||||||
minitest (~> 5.1)
|
minitest (~> 5.1)
|
||||||
tzinfo (~> 1.1)
|
tzinfo (~> 1.1)
|
||||||
acts-as-taggable-on (5.0.0)
|
acts-as-taggable-on (6.0.0)
|
||||||
activerecord (>= 4.2.8)
|
activerecord (~> 5.0)
|
||||||
acts_as_api (1.0.1)
|
acts_as_api (1.0.1)
|
||||||
activemodel (>= 3.0.0)
|
activemodel (>= 3.0.0)
|
||||||
activesupport (>= 3.0.0)
|
activesupport (>= 3.0.0)
|
||||||
|
|
@ -763,7 +763,7 @@ PLATFORMS
|
||||||
DEPENDENCIES
|
DEPENDENCIES
|
||||||
active_model_serializers (= 0.9.7)
|
active_model_serializers (= 0.9.7)
|
||||||
activerecord-import (= 0.27.0)
|
activerecord-import (= 0.27.0)
|
||||||
acts-as-taggable-on (= 5.0.0)
|
acts-as-taggable-on (= 6.0.0)
|
||||||
acts_as_api (= 1.0.1)
|
acts_as_api (= 1.0.1)
|
||||||
addressable (= 2.5.2)
|
addressable (= 2.5.2)
|
||||||
asset_sync (= 2.5.0)
|
asset_sync (= 2.5.0)
|
||||||
|
|
|
||||||
|
|
@ -157,8 +157,9 @@ class Profile < ApplicationRecord
|
||||||
end
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
def clearable_fields
|
def clearable_fields
|
||||||
self.attributes.keys - ["id", "created_at", "updated_at", "person_id"]
|
attributes.keys - %w[id created_at updated_at person_id tag_list]
|
||||||
end
|
end
|
||||||
|
|
||||||
def build_image_url(url)
|
def build_image_url(url)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue