k_doc 0.0.12 → 0.0.13
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 +4 -4
- data/lib/k_doc/container.rb +1 -1
- data/lib/k_doc/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1c5aa8cc7a7c428e9e15b9a705b9783cfb977b7d49706d3faf95ef17137b2042
|
|
4
|
+
data.tar.gz: 794988e7fb3451fc307659e6b790cff4b5903bdd708d8172886eaa906bbed716
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9f3ba7e70149ad585bdd2c8c615a6d21d5dca3b0004c1b9a50b974f2eeeb36637fab456fa9cdc15cf416122864e55ef5f871d2eafaff6f2b1f38ec7b7a606ea7
|
|
7
|
+
data.tar.gz: 6cd090ae8c0d409e76d830b9370ab292a8678e434c7e13ef49ab24e7aea500a68fab99ac72fac132dd962cf6b1b4a0eb809e8fca79f5e6506f21fb2656842107
|
data/lib/k_doc/container.rb
CHANGED
|
@@ -23,7 +23,7 @@ module KDoc
|
|
|
23
23
|
# @option opts [String|Symbol] namespace Namespace that the container belongs to
|
|
24
24
|
# @option opts [String|Symbol] project_key Project that the container belongs to
|
|
25
25
|
def initialize(**opts)
|
|
26
|
-
@key = opts[:key] || SecureRandom.alphanumeric(
|
|
26
|
+
@key = opts[:key] || SecureRandom.alphanumeric(4)
|
|
27
27
|
@type = opts[:type] || KDoc.opinion.default_document_type
|
|
28
28
|
@namespace = opts[:namespace] || ''
|
|
29
29
|
@project_key = opts[:project_key] || ''
|
data/lib/k_doc/version.rb
CHANGED