decode 0.21.2 → 0.21.3

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: f7558d10e649a1fd354ad0b411643dc303342b99320ea53ca4cc8aab003ee6cd
4
- data.tar.gz: 5102ed855db41a639b36c1f3a6d1c5fff0ff505527bc137580d64ec7ddffcf02
3
+ metadata.gz: b24ce7436a54ffabd1a2e6fcd59f4e3446a431e979c523f3c6d35c9684d5139e
4
+ data.tar.gz: 3220855e4866ec42eadc5f8b90ff3477b173493d850dc3c4de9c6fe8171c14ed
5
5
  SHA512:
6
- metadata.gz: eed9aa58656ce12fd46efaad0de9d64c0f78abcc4b61c9f7d88db8cb316dcdce1d334af5241317dd18e1294c89c72ff040fbe799edae826db2a007b48dba04b6
7
- data.tar.gz: 10b5f6232f533af57cdb04c256b3322094bb45e6fa64c05add9b95e30bce3fc0f7c89e00e45c60f1a4e0f2dd673f7dab0ead15b700c1035cdf81f2851ce25b9b
6
+ metadata.gz: c3f5a3e86a1a92f3c5e1f2fb7cb92fb5e2566ab656791acc5644daad90ceb19f1954199487aad6b7c9ea7375f78b422e2d9a10a958d940f4f80fe479463fe8f9
7
+ data.tar.gz: d6954d9e0a7eb6f4ec6c60daec050f91554e6b62851900bd2740d5fdbd30c287a8f922cf3d9601f3123c1e498b1da5307267f4970f55059d07d486ad4fa9282e
checksums.yaml.gz.sig CHANGED
Binary file
data/bake/decode/index.rb CHANGED
@@ -3,14 +3,17 @@
3
3
  # Released under the MIT License.
4
4
  # Copyright, 2020, by Samuel Williams.
5
5
 
6
+ def initialize(...)
7
+ super
8
+
9
+ require 'decode/index'
10
+ require 'set'
11
+ end
12
+
6
13
  # Process the given source root and report on comment coverage.
7
14
  # @parameter root [String] The root path to index.
8
15
  def coverage(root)
9
- require 'build/files/glob'
10
- require 'decode/index'
11
- require 'set'
12
-
13
- paths = Build::Files::Path.expand(root).glob("**/*")
16
+ paths = Dir.glob(File.join(root, "**/*"))
14
17
 
15
18
  index = Decode::Index.new
16
19
  index.update(paths)
@@ -61,10 +64,7 @@ end
61
64
  # Process the given source root and report on symbols.
62
65
  # @parameter root [String] The root path to index.
63
66
  def symbols(root)
64
- require 'build/files/glob'
65
- require 'decode/index'
66
-
67
- paths = Build::Files::Path.expand(root).glob("**/*")
67
+ paths = Dir.glob(File.join(root, "**/*"))
68
68
 
69
69
  index = Decode::Index.new
70
70
  index.update(paths)
@@ -84,10 +84,7 @@ end
84
84
  # Print documentation for all definitions.
85
85
  # @parameter root [String] The root path to index.
86
86
  def documentation(root)
87
- require 'build/files/glob'
88
- require 'decode/index'
89
-
90
- paths = Build::Files::Path.expand(root).glob("**/*")
87
+ paths = Dir.glob(File.join(root, "**/*"))
91
88
 
92
89
  index = Decode::Index.new
93
90
  index.update(paths)
@@ -4,5 +4,5 @@
4
4
  # Copyright, 2020-2022, by Samuel Williams.
5
5
 
6
6
  module Decode
7
- VERSION = "0.21.2"
7
+ VERSION = "0.21.3"
8
8
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decode
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.21.2
4
+ version: 0.21.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
metadata.gz.sig CHANGED
Binary file