labimotion 2.0.0.rc5 → 2.0.0.rc6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a48b13c9036bfeb9b2a827cfa78179cf2244e9dc839aa2102d6811113f5274a7
4
- data.tar.gz: 7425f00a429413c91f26bfd9c75dbb66dbfd30cacbbe58e361a985e1d17ae85b
3
+ metadata.gz: b55a7bdf8c25fd127bd7a7bab35676d74e3f3523cb55e03516cc28d3e2df738c
4
+ data.tar.gz: a28bad0092a10adc3befb26c3803d5f969d40bf9e387a7015890c2f81cd3089e
5
5
  SHA512:
6
- metadata.gz: 59781f646145406ab451be32166cf03a32707456c3896754db074d853bbfe31f3a60cc0e69f59fbda2344863a98b2e8f41fe2bcdb79513924935a70bbda4ded0
7
- data.tar.gz: c7efaf38bcb81bebf9c61111e63fca0c935723ac15064c58018ad26510608de3e9c4fdbc3cd3b52a645b153485e0c04fb9e080bfa2eaa50ffa4492505887124a
6
+ metadata.gz: 94b3f84c3b2588b08f19c66bafdd17fb9eef3674040bd3dc0683132a4b5709c11f643e81afda2109741da24e4a38c6b407c4eff279c00c9292ef0942611c4ec8
7
+ data.tar.gz: 19082b803643920e698b9f14c1ce89b68aac5121a5adeab473d86c16c7129ba1d9e024e1bcec83b7c802ed79409183e1129967881295b66c363912652d563191
@@ -58,6 +58,9 @@ module Labimotion
58
58
  after_create :update_counter
59
59
  before_destroy :delete_attachment
60
60
 
61
+ def user_labels
62
+ tag&.taggable_data&.fetch('user_labels', nil)
63
+ end
61
64
 
62
65
  def attachments
63
66
  Attachment.where(attachable_id: self.id, attachable_type: self.class.name)
@@ -2,5 +2,5 @@
2
2
 
3
3
  ## Labimotion Version
4
4
  module Labimotion
5
- VERSION = '2.0.0.rc5'
5
+ VERSION = '2.0.0.rc6'
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: labimotion
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.rc5
4
+ version: 2.0.0.rc6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chia-Lin Lin