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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a1bb7261302051361f705cc9c726702f02722e7f55c028e07acf8a84b55ee168
4
- data.tar.gz: 7d3a27cd2a16cfc2bbc513d29d02aff1faa0d9ca9844a45e86b30bf2d417cdd3
3
+ metadata.gz: 1c5aa8cc7a7c428e9e15b9a705b9783cfb977b7d49706d3faf95ef17137b2042
4
+ data.tar.gz: 794988e7fb3451fc307659e6b790cff4b5903bdd708d8172886eaa906bbed716
5
5
  SHA512:
6
- metadata.gz: 0b6602d011acb3d1f3763618cd87452a35ea9835c89f86c985fb34100b3c084d40b08e08f04e8c25e20c5034fc10c1b352579c16cbf1febe70ec8d5cb29d09ca
7
- data.tar.gz: 3381001de7214affe1298bf398c2e19749fa22d098f39f4c2c24f09a4ed14158e981c8654bfa478ea3d6e5c06ea0f29c832c6987fdeaf63c996b57a19216eb53
6
+ metadata.gz: 9f3ba7e70149ad585bdd2c8c615a6d21d5dca3b0004c1b9a50b974f2eeeb36637fab456fa9cdc15cf416122864e55ef5f871d2eafaff6f2b1f38ec7b7a606ea7
7
+ data.tar.gz: 6cd090ae8c0d409e76d830b9370ab292a8678e434c7e13ef49ab24e7aea500a68fab99ac72fac132dd962cf6b1b4a0eb809e8fca79f5e6506f21fb2656842107
@@ -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(8)
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module KDoc
4
- VERSION = '0.0.12'
4
+ VERSION = '0.0.13'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: k_doc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.12
4
+ version: 0.0.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Cruwys