cmor_tags 0.0.24.pre → 0.0.25.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: 8a7c80210739ad4e18bf2a4cd7e256f70c12b7caed97a24eb7c7617405620011
|
4
|
+
data.tar.gz: 77d53a738783126eddb18505670a4d9e111a40440dd5042eae1021e91d7010e6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ff3005a554a00eb850981a58cb559fa72ddab51e6d7d1ec95061941b0516ca971022e657c5ee75097733b1a41435f4215edb26aeec4536c6c7f3564cf87a9774
|
7
|
+
data.tar.gz: f2c7c6cc8f7c94a78ded5dc93d0c7ac4d26817b9bbfce9a31b43ebfb259fb6c11a8ae1971d58b3f1fdfa3a20aed50b509f80a5fa900d06574770a8abd55957d8
|
data/lib/cmor_tags.rb
CHANGED
@@ -1,20 +1,7 @@
|
|
1
|
+
require 'responders'
|
1
2
|
require 'cmor_core_frontend'
|
2
3
|
require 'acts-as-taggable-on'
|
3
4
|
require 'rao-service'
|
4
5
|
require 'rao-service_controller'
|
5
6
|
|
6
7
|
require 'cmor/tags'
|
7
|
-
|
8
|
-
# require 'acts_as_taggable_on/tag'
|
9
|
-
# module ActsAsTaggableOn
|
10
|
-
# class Tag
|
11
|
-
# self.table_name = 'cmor_tags_tags'
|
12
|
-
# end
|
13
|
-
# end
|
14
|
-
|
15
|
-
# require 'acts_as_taggable_on/tagging'
|
16
|
-
# module ActsAsTaggableOn
|
17
|
-
# class Tagging
|
18
|
-
# self.table_name = 'cmor_tags_taggings'
|
19
|
-
# end
|
20
|
-
# 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.25.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: 2019-07-
|
11
|
+
date: 2019-07-21 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.25.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.25.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.25.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.25.pre
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: sqlite3
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -362,7 +362,6 @@ files:
|
|
362
362
|
- app/assets/stylesheets/cmor/tags/application.css
|
363
363
|
- app/assets/stylesheets/cmor/tags/application/tag-labels.css
|
364
364
|
- app/assets/stylesheets/cmor_tags.css
|
365
|
-
- app/attribute_renderers/tag_list_renderer.rb
|
366
365
|
- app/concerns/model/cmor/tags/taggable_concern.rb
|
367
366
|
- app/controllers/cmor/tags/searchs_controller.rb
|
368
367
|
- app/helpers/cmor/tags/application_helper.rb
|
@@ -375,7 +374,6 @@ files:
|
|
375
374
|
- app/views/cmor/tags/searchs/_form.html.haml
|
376
375
|
- app/views/cmor/tags/searchs/create.html.haml
|
377
376
|
- app/views/cmor/tags/searchs/new.html.haml
|
378
|
-
- app/views/layouts/cmor/tags/application.html.erb
|
379
377
|
- config/initializers/assets.rb
|
380
378
|
- config/initializers/inject_taggable_concern.rb
|
381
379
|
- config/locales/de.yml
|
@@ -1,8 +0,0 @@
|
|
1
|
-
class TagListRenderer < ResourceRenderer::AttributeRenderer::Base
|
2
|
-
def display(attribute_name, _label, _options = {}, &_block)
|
3
|
-
tag_list = value_for_attribute(attribute_name)
|
4
|
-
output = tag_list.collect do |tag|
|
5
|
-
h.content_tag(:span, tag, class: 'label label-default')
|
6
|
-
end.join(' ').html_safe
|
7
|
-
end
|
8
|
-
end
|
@@ -1,14 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>Tags</title>
|
5
|
-
<%= stylesheet_link_tag "cmor/tags/application", media: "all" %>
|
6
|
-
<%= javascript_include_tag "cmor/tags/application" %>
|
7
|
-
<%= csrf_meta_tags %>
|
8
|
-
</head>
|
9
|
-
<body>
|
10
|
-
|
11
|
-
<%= yield %>
|
12
|
-
|
13
|
-
</body>
|
14
|
-
</html>
|