cmor_tags 0.0.54.pre → 0.0.59.pre
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2f956452bb1ed7f09778fbd657ce012eeb99f55500ad32f3aea746ccb3da4ebc
|
4
|
+
data.tar.gz: 67b50a63105a033ca52eaf28ad6031e948a4d0725e41f1f949ac2558a02f5418
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d12c82d11f4a492c88e06577b0a8e15cfd3e3379e97b191227f4531a284033efa02d8d50b82f8a223246605454a503dac8a0ab9f6bd3373e8c5c06759aef6450
|
7
|
+
data.tar.gz: 932488b9dc58df6c1ac5044ae5683a4ac28f2f10fff649d163d25662aa1f13c8ec3445c5bd15670358786fc4004dadece61a8430b05254258f661a2be186a932
|
@@ -1,4 +1,4 @@
|
|
1
1
|
%span.tags-for-resource
|
2
2
|
- resource.tags.each do |tag|
|
3
|
-
= link_to(cmor_tags.tag_path(tag_list: CGI::escape(tag.name)), class: '
|
3
|
+
= link_to(cmor_tags.tag_path(tag_list: CGI::escape(tag.name)), class: 'badge badge-default', style: "background-color: #{tag.color}") do
|
4
4
|
= tag.name
|
@@ -12,6 +12,7 @@ module Cmor
|
|
12
12
|
mattr_accessor(:add_submit_button_to_search_box) { true }
|
13
13
|
mattr_accessor(:tag_search_exact_default_value) { false }
|
14
14
|
mattr_accessor(:taggable_class_names) { [] }
|
15
|
+
mattr_accessor(:taggable_factory_name) { :cmor_blog_post }
|
15
16
|
|
16
17
|
def self.taggable_classes
|
17
18
|
@@taggable_class_names.map(&:constantize)
|
@@ -22,4 +22,10 @@ Cmor::Tags.configure do |config|
|
|
22
22
|
# Default: config.taggable_class_names = %w()
|
23
23
|
#
|
24
24
|
config.taggable_class_names = %w()
|
25
|
+
|
26
|
+
# Factory name to use for taggable objects.
|
27
|
+
#
|
28
|
+
# Default: config.taggable_factory_name = :post
|
29
|
+
#
|
30
|
+
config.taggable_factory_name = :post
|
25
31
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cmor_tags
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.59.pre
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Roberto Vasquez Angel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-08-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -30,28 +30,28 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.0.
|
33
|
+
version: 0.0.59.pre
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.0.
|
40
|
+
version: 0.0.59.pre
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: cmor_core_frontend
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - '='
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0.0.
|
47
|
+
version: 0.0.59.pre
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - '='
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0.0.
|
54
|
+
version: 0.0.59.pre
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: sqlite3
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -426,7 +426,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
426
426
|
- !ruby/object:Gem::Version
|
427
427
|
version: 1.3.1
|
428
428
|
requirements: []
|
429
|
-
rubygems_version: 3.1.
|
429
|
+
rubygems_version: 3.1.4
|
430
430
|
signing_key:
|
431
431
|
specification_version: 4
|
432
432
|
summary: CMOR Tags Module
|