k_doc 0.0.22 → 0.0.23
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/k_doc/mixins/guarded.rb +8 -0
- data/lib/k_doc/mixins/taggable.rb +2 -1
- data/lib/k_doc/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3c113abcf9cd5dd3c9a8518c45503afc2fb545e3365b9d0c1ae75dcef02da7c5
|
4
|
+
data.tar.gz: 1c4edfea6d0e82b5f300946a38880bbb3ee85a7ebb8f3979378bd8e755394028
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f35384ccc40360f2fe92f99a994933b5a9060c0b1fcd5cd4a2e67dba4f17b49c2ed07ffeca9844510487aeddbe72afd585dd68b57306dccdc2f666e235f998f
|
7
|
+
data.tar.gz: 594e5175236bdc19405e5ad7d00dc8326d25902dd92e8698e06a778b430172ef6baeb5bf15b0ebcb9a0bcd044fc92ad7e18ffc9bacc7ee5428666d931eac909c
|
data/lib/k_doc/mixins/guarded.rb
CHANGED
@@ -44,6 +44,7 @@ module KDoc
|
|
44
44
|
@type ||= @tag_options.delete(:type) || default_container_type
|
45
45
|
end
|
46
46
|
|
47
|
+
# TODO: rename to area (or area root namespace)
|
47
48
|
# Project name
|
48
49
|
#
|
49
50
|
# Examples
|
@@ -107,8 +108,8 @@ module KDoc
|
|
107
108
|
values = []
|
108
109
|
values << project if project
|
109
110
|
values += namespace
|
110
|
-
values << type if type
|
111
111
|
values << key
|
112
|
+
values << type if type
|
112
113
|
values -= [nil, '']
|
113
114
|
@tag = values.join('_').to_sym
|
114
115
|
end
|
data/lib/k_doc/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: k_doc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.23
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Cruwys
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-12-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|